Comparison
pyalsaaudio 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 pyalsaaudioPortAudio 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 7 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.
- sounddevice is the most used: 15.5M downloads a month, 105× more than PyAudioWPatch.
- sounddevice also has the best Pythie’s Index (61).
- PyAudioWPatch is growing fastest: downloads +27% over the last month.
- Safe default for a new project: sounddevice.
Side by side
| Metric | pyalsaaudio | PyAudioWPatch | sounddevice |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 48 |