python-soundfile icon indicating copy to clipboard operation
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

Open Jello opened this issue 6 years ago • 0 comments
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.

Jello avatar Feb 27 '19 17:02 Jello