Hello.
I have had many problems with my patches but this one is the weirdest and I can't seem to find the problem.
I have 3 BeagleboneBlacks in a network,all communicating to each other,sending audio using streamin~ and streamout~ with some FX. All works well for some while,but then, suddenly,for no apparent reason one of my systems makes a glitch where it seems that it reroutes the incoming signal from streamin~ which should go to DAC~ (out to the speaker) to ADC~. To simplify the patch has streamin~ connected to DAC~ (speaker) and ADC~ (microphone) connected to streamout~. But after this glitch/crash happens to signal is comming in from the actual microphone or coming out to the actual speaker, but instead the streamin~ goes directly to streamout~/ DAC~ to ADC~. It seems that it changes something with the sound card or drivers just before it happens because there can be heard some pops and clicks in the speaker for a second.
I am using PD on BeagleboneBlack, with usb sound card and OSS drivers.
Any ideas/simmilar problems?
-
ADC~ and DAC~ weird crash/glitch
-
i'm not familliar with the streamin/out object, but you could try to use the [udpsend~] and [udpreceive~] from the mrpeach externals. i use them to stream audio to my beaglebones inside my audio hardware to avoid cables that immobilize my laptop. never hd any problems with them.
-
Sadly the problem remains.
Any other ideas or maybe somebody has had simmilar glitch?
It really seems that pd sends input to dac~ directly as autput from adc~ after some problem with audio processing or maybe the input in mic being too loud. -
What does "media" .."audio settings" tell you before and after this "crash".
You could use this.... get_audio_parameters.pd in your patch to see some of those same settings. Maybe it is the soundcard driver that is a bit flaky, although I would expect pd to "stop" if there is such a major audio problem.