pimoroni / pirate-audio

Examples and documentation for the Pirate Audio range of Raspberry Pi add-ons
MIT License
248 stars 50 forks source link

Tools for recording & visualising audio #33

Closed Gadgetoid closed 4 years ago

Gadgetoid commented 4 years ago

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.