python-soundfile
python-soundfile copied to clipboard
On OSX, a prior call to sf.blocks with always_2d=True will cause future writes to a Soundfile to have dual mono instead of stereo
trafficstars
Referencing an issue I had here. https://github.com/spatialaudio/python-sounddevice/issues/172
Earlier in my program, I read in a wav file with sf.blocks with always_2d=True set. Later, I open another soundfile to write out a new wav recording with stereo streams, but it outputs dual mono streams that are identical. If I remove the always_2d=True from the call to sf.blocks, the call to soundfile.write will properly write out a wav file with stereo streams. This doesn't seem to happen on Windows, only Mac OSX.