Search code examples
pythonpyo

Pyo - outputting to multiple audio channels


I'm using Pyo to generate sounds and have been having issues outputting the audio to more than one channel.

I've looked through the documentation and can't seem to find a method of sending the output to more than one channel at a time. For example you can specify

sines[n].out(chnl = 0)

or

sines[n].out(chnl = 1)

And this will output it to either the left or right channel.


Solution

  • It seems that by simply duplicating by Sine and ADSR object to have them be two separate objects and simply recording them both at the same time to each respective channel was the solution.