--
Olivier, I am not getting your code to work for some reason. No crashes, but also no audio.
-- Robin
Hi Robin,
I think you interpret the Mixer object in pyo as if it behaves like a DAW's mixer... This is not the case. The only purpose of the Mixer object is to sum multiple inputs to arbitrary outputs. It has nothing to do with the samples actually sent to the soundcard. That is the purpose of the out() method (defined in PyoObject). This is why the mysterious line actually makes you hear something. The variable "output" is not used anywhere else in the script, but it hold the reference to the audio object sending samples to the soundcard.
I hope that clears the audio routing in pyo!
Olivier
I am still confused. :-)
I understand that each audio stream has an out() method to output the audio. And the return value of each of these holds the reference to that audio. I also understand that Mixer is an internal summing object.
But what confuses me is that there is no explicit function/method that sends the final output to the sound card. This seems to happen magically! Is it simply the case that the last encountered out() method will do this?
On Saturday, 25 April 2015 01:48:12 UTC+1, bela...@gmail.com wrote:OlivierI hope that clears the audio routing in pyo!Hi Robin,I think you interpret the Mixer object in pyo as if it behaves like a DAW's mixer... This is not the case. The only purpose of the Mixer object is to sum multiple inputs to arbitrary outputs. It has nothing to do with the samples actually sent to the soundcard. That is the purpose of the out() method (defined in PyoObject). This is why the mysterious line actually makes you hear something. The variable "output" is not used anywhere else in the script, but it hold the reference to the audio object sending samples to the soundcard.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyo-discuss/f91c31be-7dda-4402-ae80-c13cb1152b83n%40googlegroups.com.