Audio & Music

librosa

Python library for audio and music analysis.

Status
Generally available
Last checked
Checked · Oct 12, 2026
License
Open source
Pricing
Free tier · from $0

What it is

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.

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.

When it fits — and when it doesn’t

A good fit 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.

Look elsewhere if

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

  • Applications where the Python environment is not feasible or preferred.

Known weaknesses

Each one links to the public issue, changelog or docs page it came from, where we have one.

  1. 01

    Frequent breaking changes between versions

    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.

  2. 02

    Limited support for real-time audio processing

    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.

  3. 03

    Resource-intensive operations at scale

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

What it does well

  • 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

Pricing

Free tier
YesOpen source — free to use
Paid from
$0
Model
Flat rate
Enterprise plan
No

Pricing not independently confirmed — check the vendor’s page.

Performance benchmarks

How Fast Is It?

Set up librosa

Setup steps, common gotchas and what to check after 30 days.

Open the setup guide →
Get the badge

A small badge for librosa’s README or site: its name, “Tracked on AI Navigator”, and the availability status and check month from this page. It updates as the catalog does.

librosa — tracked on AI Navigator

Markdown

[![librosa — tracked on AI Navigator](https://navigateaitools.com/badge/librosa.svg)](https://navigateaitools.com/explorer/tool/librosa)

HTML

<a href="https://navigateaitools.com/explorer/tool/librosa"><img src="https://navigateaitools.com/badge/librosa.svg" alt="librosa — tracked on AI Navigator" height="58"></a>