Comparison
miniaudio vs PyAudio vs sounddevice
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
python bindings for the miniaudio library and its decoders (mp3, flac, ogg vorbis, wav)
Maintained. Last release 3 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install miniaudioCross-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 9 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.3M downloads a month, 8.3× more than miniaudio.
- Maintenance is comparable: sounddevice 65, miniaudio 57 on Pythie’s Index.
- miniaudio is growing fastest: downloads +57% over the last month.
- Safe default for a new project: sounddevice.
Side by side
| Metric | miniaudio | PyAudio | sounddevice |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 57 | 27 |