Generating a sine wave as shown in the first blocks of the sine example in
http://audiostream.readthedocs.org/en/latest/#examples
and changing the number of channels from 1 to 2 or from 2 to 1 changes the frequency (half and double, respectively).
I tried to dive into the code and think it is because the AudioSample class and the AudioOutput class (from audiostream.core) can have different channel settings (variables .channels and .channel, respectively).
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Generating a sine wave as shown in the first blocks of the sine example in
http://audiostream.readthedocs.org/en/latest/#examples
and changing the number of channels from 1 to 2 or from 2 to 1 changes the frequency (half and double, respectively).
I tried to dive into the code and think it is because the AudioSample class and the AudioOutput class (from audiostream.core) can have different channel settings (variables .channels and .channel, respectively).
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.