Comparison
PyAudio vs sounddevice
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Cross-platform audio I/O with PortAudio
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install pyaudioPlay and Record Sound with Python
Maintained. Last release 3 months ago, commits in 7 of the last 26 weeks. Weaker on contributor spread.
$
pip install sounddeviceIn short
- PyAudio is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- sounddevice is the most used: 15.5M downloads a month, 14× more than PyAudio.
- sounddevice also has the best Pythie’s Index (61).
- Safe default for a new project: sounddevice.
Side by side
| Metric | PyAudio | sounddevice |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 61 |