librosa

Python library for audio and music analysis.

DecliningOpen SourceLow lock-in

Pricing

Free tier

Flat rate

Adoption

Cooling

License

Open Source

Data freshness

Aging · Jun 8, 2026

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

Capability Radar

Ease of StartEcosystemValueMaturityFlexibilityScale Ready

Honest assessment

Strengths & Weaknesses

↑ Strengths

Efficient audio loading and resamplingmedium

Feature extraction including MFCCs, chroma features, and spectral contrastmedium

Time-frequency analysis with STFT and CQTmedium

Beat tracking and tempo estimationmedium

Chord recognition and pitch detectionmedium

↓ Weaknesses

Steep learning curve for non-Python developershigh

Librosa's API is deeply integrated with Python-specific patterns and idioms, which can be challenging for developers unfamiliar with the language.

Frequent breaking changes between versionsmedium

Historically, major version updates (such as from v0.1 to v0.2) have introduced significant API changes that required substantial code modifications for existing projects.

Limited support for real-time audio processinghigh

Librosa is optimized for offline analysis and lacks built-in support for low-latency, real-time applications, which can be a limitation in interactive or live environments.

Resource-intensive operations at scalemedium

Feature extraction and time-frequency analysis functions can become computationally expensive when processing large audio datasets, leading to increased memory usage and slower performance.

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

Available

Open source — free to use

Starts at

$0

Model

Flat rate

Enterprise

None

Performance benchmarks

How Fast Is It?

Ecosystem

Relationships

Next step

Get Started with librosa

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

View Setup Guide →