From MFCCs to speaker diarization in one Python library
It wraps audio feature extraction, classification, and segmentation into Python functions and command-line tools so you don't have to wire up single-purpose libraries.

What it does
pyAudioAnalysis is a Python library that covers a wide range of audio analysis tasks. It extracts standard representations like MFCCs, spectrograms, and chromagrams; trains and evaluates segment classifiers; and detects events, strips silence, and segments recordings—including speaker diarization and audio thumbnail extraction. It also supports regression tasks such as emotion recognition and offers command-line access to all core functionality.
The interesting bit
The hook is breadth. You get feature extraction, visualization via dimensionality reduction, and diarization in one academic-backed package that has been citing its own PLOS ONE paper since 2015.
Key highlights
- Extracts MFCCs, spectrograms, and chromagrams.
- Trains classifiers and regression models (e.g., emotion recognition) with parameter tuning.
- Detects audio events, removes silence, and performs supervised and unsupervised segmentation.
- Generates audio thumbnails and visualizes content similarities.
- Provides both Python APIs and command-line interfaces for every task.
Verdict
Developers who need a broad audio analysis toolkit covering features, classification, and segmentation will find it useful. If you are after deep-learning architectures, the authors explicitly point to their separate deep_audio_features repository instead.
Frequently asked
- What is tyiannak/pyAudioAnalysis?
- It wraps audio feature extraction, classification, and segmentation into Python functions and command-line tools so you don't have to wire up single-purpose libraries.
- Is pyAudioAnalysis open source?
- Yes — tyiannak/pyAudioAnalysis is open source, released under the Apache-2.0 license.
- What language is pyAudioAnalysis written in?
- tyiannak/pyAudioAnalysis is primarily written in Python.
- How popular is pyAudioAnalysis?
- tyiannak/pyAudioAnalysis has 6.3k stars on GitHub.
- Where can I find pyAudioAnalysis?
- tyiannak/pyAudioAnalysis is on GitHub at https://github.com/tyiannak/pyAudioAnalysis.