Comparison
pyalsaaudio vs PyAudio vs PyAudioWPatch vs sounddevice
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
ALSA bindings
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pyalsaaudioCross-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 pyaudioPortAudio fork with WASAPI loopback support
Maintained. Last release 8 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pyaudiowpatchPlay and Record Sound with Python
Maintained. Last release 3 months ago, commits in 9 of the last 26 weeks. Weaker on contributor spread.
pip install sounddeviceIn short
- pyalsaaudio is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- 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.3M downloads a month, 14× more than PyAudio.
- sounddevice also has the best Pythie’s Index (65).
- PyAudioWPatch is growing fastest: downloads +24% over the last month.
- Safe default for a new project: sounddevice.
Side by side
| Metric | pyalsaaudio | PyAudio | PyAudioWPatch | sounddevice |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | Pythie’s Index: 27 | Pythie’s Index: 48 | Pythie’s Index: 65 |
| Verdict | Slowing down | Slowing down | Maintained | Maintained |
| Downloads / month | 70.4K | 1.1M | 150.8K | 15.3M |
| Downloads, month over month | +1% | -15% | +24% | +7% |
| GitHub stars | – | – | 249 | 1.3K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 20 | 748 | 6 | 954 |
| Last release | May 30, 2024 | Nov 7, 2023 | Oct 6, 2026 | Aug 17, 2026 |
| Releases, 12 months | 0 | 0 | 2 | 3 |
| Weeks with commits | – | – | 2 / 26 | 9 / 26 |
| Recent contributors | – | – | 1 | 11 |
| First release | Jan 2008 | Sep 2015 | Sep 2022 | Jun 2015 |
| Python versions | – | – | – | – |
| License | non-standard | MIT | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.