> ML_LIBRARY // LIBROSA_v1.0
librosa
Brian McFee / librosa development team — Foundational Python library for music information retrieval and audio feature extraction.
audio-speechv0.10.2ISCqualified
Model Training
This library is a dedicated runtime engine for inference serving and does not train models.
Model Inference
Inference Accelerators:
CPU
Deployment Targets:server
What It Does
- +High-quality audio feature extraction: Mel spectrograms, MFCCs, chroma stft, spectral centroid, zero-crossing rate
- +Music information retrieval: Tempo estimation, beat tracking, pitch detection (pyin), and onset detection
- +Time-frequency representations: Short-Time Fourier Transform (STFT), Constant-Q transform (CQT)
- +Audio signal effects: Pitch shifting, time stretching, and resampling via soxr
What It Does Not Do
- -Natively execute deep neural speech-to-text models like Whisper
- -Accelerate FFT transformations on NVIDIA GPUs (CPU-bound NumPy/SciPy)
- -Stream live microphone buffers under 10ms real-time constraints
>Suitable Work Types
- Preprocessing raw audio files into mel spectrogram images for CNN classifiers
- Music recommendation feature extraction (tempo, key, acousticness)
- Acoustic anomaly detection in industrial machinery sound recordings
>Unsuitable Work Types
- Real-time streaming automatic speech recognition (ASR) pipelines
- Ultra-low latency audio digital signal processing inside a DAW plugin (use C++/JUCE)
Data Residency Implications
Runs strictly locally in server memory. Zero telemetry or external transmission.
Security Considerations
ISC license with permissive commercial rights. Verify audio file decoders (soundfile, audioread) against malformed buffer inputs.
Operational Profile & Known Limitations
Maturity:mature
Learning Curve:low
Ops Complexity:low
Cost Tier:free-oss
> Known Limitations:
- CPU-bound; extracting mel spectrograms for hundreds of thousands of audio files requires multi-process pooling (multiprocessing or Ray).
Associated Incident Patterns (Incidentpedia)
Enforce safeguards and monitoring to guard against these documented real-world failure modes:
> Primary Evidence & Benchmark Citations
librosa Documentationofficial-docs • >=0.10.0, <=0.10.x
2026-09-25HIGH
