All Tools
S
OtherFreeOpen Source
SOUNDDEVICE
Play and record sound from Python via PortAudio
MIT
ABOUT
Python speech and audio demos need microphone input and playback without dropping into C. sounddevice wraps PortAudio so NumPy arrays stream to and from the sound card, giving ML notebooks a realtime I/O layer without a GUI DAW or custom bindings.
INSTALL
pip install sounddeviceINTEGRATION GUIDE
1. Capture microphone input into a NumPy array for a speech model
2. Play TTS or generated audio from a Python notebook
3. Stream callback-based realtime audio in a local ML demo
4. Record and play through PortAudio without writing C bindings
TAGS
sounddevicepythonaudioportaudioplaybackcapturenumpy