Currently in order to play back recordings via Python's sounddevice, pulseaudio is needed to provide an upmix audio output device that portaudio can see. This feels frustratingly convoluted, but I can't seem to get audio out of sounddevice by any other means, or even get it to open dmix (the only output device it can normally see) at any rate other than 48,000Hz which is... just a little bit huge for a simple clip recorder.
Currently in order to play back recordings via Python's sounddevice, pulseaudio is needed to provide an
upmix
audio output device that portaudio can see. This feels frustratingly convoluted, but I can't seem to get audio out of sounddevice by any other means, or even get it to opendmix
(the only output device it can normally see) at any rate other than 48,000Hz which is... just a little bit huge for a simple clip recorder.