Official documentation
Play and Record Sound with Python: Usage (python-sounddevice)
Matthias Geier, python-sounddevice documentation, n.d.
Read the originalRead on October 17, 2026
- What it is
- The usage guide of the python-sounddevice package, which records and plays audio through PortAudio into NumPy arrays. It shows how to record from the default input device.
- How much weight it carries
- Official package documentation, read on 2026-10-17. It covers capture, not recognition: the recorded array still has to be passed to a model at the right sample rate.
Facts taken from this source
- The python-sounddevice package records audio from the sound device into a NumPy array with its rec() function.
“To record audio data from your sound device into a NumPy array, you can use rec()” (Recording)