pyAudioAnalysis is a Python library for audio feature extraction, classification, segmentation, and related tasks. It wraps common analysis workflows behind simple function calls.
Overview
Developed at MagCIL (NCSR Demokritos), pyAudioAnalysis covers a wide range of audio analysis problems in one package. Capabilities include MFCCs, spectrograms, chromagrams, supervised and unsupervised segmentation, event detection, and emotion-oriented regression examples.
Users can train and evaluate classifiers on folder-organized WAV data, classify unknown clips, remove silence from long recordings, and perform speaker diarization or thumbnail extraction. Command-line wrappers mirror many library functions for batch use.
The project documents workflows on its wiki and distributes via pip after installing requirements. It is intended as a research and prototyping toolkit rather than a standalone listening application.
MagCIL maintains related multimodal machine learning tools; this library focuses specifically on Python audio analytics.
Key features
- Audio feature extraction
- Classifier training and tuning
- Unknown sound classification
- Event detection and silence removal
- Supervised segmentation
- Unsupervised segmentation and thumbnails
- Audio regression models
- Command-line wrappers
Use cases
- Music versus speech classification
- Long recording segmentation
- Audio event detection
- Research prototypes in Python