librosa

Python library for audio and music analysis.

EstablishedOpen SourceLow lock-in

Pricing

See website

Flat rate

Adoption

Stable

License

Open Source

Data freshness

Overview

What is librosa?

Librosa is a Python package for music and audio analysis. It provides the building blocks to perform fundamental operations on audio signals, such as loading, resampling, filtering, and feature extraction.

Key differentiator

Librosa stands out for its comprehensive set of tools specifically designed for music and audio analysis, offering a wide range of features that are optimized for efficiency and accuracy in Python.

Capability profile

Strength Radar

Efficient audio …Feature extracti…Time-frequency a…Beat tracking an…Chord recognitio…

Honest assessment

Strengths & Weaknesses

↑ Strengths

Efficient audio loading and resampling

Feature extraction including MFCCs, chroma features, and spectral contrast

Time-frequency analysis with STFT and CQT

Beat tracking and tempo estimation

Chord recognition and pitch detection

Fit analysis

Who is it for?

✓ Best for

Researchers working on music information retrieval projects who need robust feature extraction capabilities.

Developers building real-time audio analysis tools that require efficient signal processing.

Academics studying acoustic scenes and needing precise pitch detection.

✕ Not a fit for

Projects requiring real-time streaming of large audio files due to computational overhead.

Applications where the Python environment is not feasible or preferred.

Cost structure

Pricing

Free Tier

None

Starts at

See website

Model

Flat rate

Enterprise

None

Performance benchmarks

How Fast Is It?

Ecosystem

Relationships

Alternatives

Next step

Get Started with librosa

Step-by-step setup guide with code examples and common gotchas.

View Setup Guide →