$npx skillfedfor your agent

librosa

Python module for audio and music processing

Worth itPyPI AnalysisReleased Aug 202613.6M downloads / moISCPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — librosa-1.0.0-py3-none-any.whl
v1.0.0 · released 2026-08-11 · Python >=3.12 · 11 runtime deps: numba, numpy, scipy, scikit-learn, joblib, decorator, soundfile, pooch

Yes. librosa is production-stable, actively maintained, has low install friction, carries a permissive license, and is the standard Python library for audio and music signal processing. Install it if you need to work with audio features, music analysis, or MIR tasks. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or later; soundfile and soxr may require system audio libraries depending on your platform.
  • Low friction: pure Python wheel available, active maintenance with release 3 days ago, 11 runtime dependencies all widely used (numba, numpy, scipy, scikit-learn, joblib, soundfile, pooch, soxr, decorator, lazy_loader, msgpack).

License · maintenance · safety

ISC (permissive) — ISC license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.

last release 2026-08-11 (3 days) · last repo commit 2026-08-11 · 8,560 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 13,551,389 downloads/mo, #1,274 on PyPI

Verify before relying

pip install librosa

import librosa
y, sr = librosa.load('audio.wav')
S = librosa.feature.melspectrogram(y=y, sr=sr)
  • Whether soxr and soundfile have platform-specific system dependencies that could affect installation on Windows, macOS, or Linux.
  • Performance characteristics when processing very large audio files or real-time streaming scenarios.
Same gist for agents: .md · .json

What it is and what it does

librosa is a foundational Python library for audio and music signal processing, designed to support music information retrieval (MIR) research and applications. It provides algorithms for feature extraction, spectral analysis, and music analysis tasks. The library depends on scientific computing foundations (numpy, scipy, scikit-learn) and uses numba for performance-critical code, plus soundfile and soxr for audio I/O and resampling.

Developers use librosa to extract features from audio (mel-spectrograms, chroma, MFCC, onset detection), analyze musical structure, and build systems that understand or process music. It's production-stable (Development Status 5), actively maintained with a recent release, and widely adopted in music technology and research.

Use it for

  • Extract mel-spectrograms and other acoustic features from audio files for machine learning models.
  • Detect musical onsets, beats, and tempo to analyze rhythm and timing in recordings.
  • Compute chroma features and harmonic/percussive separation for music analysis and transcription tasks.
  • Build music recommendation or similarity systems using librosa feature vectors.
  • Analyze audio for speech processing, environmental sound classification, or audio event detection.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

librosa is production-stable, actively maintained, has low install friction, carries a permissive license, and is the standard Python library for audio and music signal processing. Install it if you need to work with audio features, music analysis, or MIR tasks. No known security vulnerabilities.

Install

librosa on PyPI

Before you install

Low friction: pure Python wheel available, active maintenance with release 3 days ago, 11 runtime dependencies all widely used (numba, numpy, scipy, scikit-learn, joblib, soundfile, pooch, soxr, decorator, lazy_loader, msgpack).

Requires Python 3.12 or later; soundfile and soxr may require system audio libraries depending on your platform.

License in practice

ISC license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.

Quickstart

pip install librosa

import librosa
y, sr = librosa.load('audio.wav')
S = librosa.feature.melspectrogram(y=y, sr=sr)

Verify before relying

  • Whether soxr and soundfile have platform-specific system dependencies that could affect installation on Windows, macOS, or Linux.
  • Performance characteristics when processing very large audio files or real-time streaming scenarios.

Package facts

LicenseISC permissive
Python supportSupports the current Python release >=3.12
Install frictionLow. Pure-Python wheel
Runtime dependencies
11 packages
numbanumpyscipyscikit-learnjoblibdecoratorsoundfilepoochsoxrlazy_loadermsgpack
MaintenanceActively maintained 3 days since the last release
Last repo commit
First released
Downloads13,551,389 / month, #1,274 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: MatplotlibIntended Audience :: DevelopersLicense :: OSI Approved :: ISC License (ISCL)Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Multimedia :: Sound/Audio :: Analysis

Evidence: librosa-1.0.0-py3-none-any.whl

Tags

Capabilities
audio signal processing pythonmusic information retrievalaudio feature extractionmusic analysis libraryspectral analysis audioaudio waveform processingmusic mir tools
Topics
audio-processingmusic-analysissignal-processing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “music information retrieval”

  • librosalibrosa provides audio and music signal processing algorithms and…
  • mir-evalmir_eval computes standard accuracy metrics for music and audio…
  • symusicsymusic parses and transforms MIDI and ABC files at note level with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Analysis packages

pydub With conditions
PyPI · Libraries · released Mar 2021

Pydub provides a high-level Python interface for loading, manipulating, and exporting audio files with simple operations like slicing, concatenation, and format conversion.

However, the abandoned status since 2021-03-10 means no future fixes or compatibility updates—use it only if you can tolerate potential issues with newer Python…

MITpure Pythonabandoned
21.0Mdownloads / mo
soxr Worth it
PyPI · Scientific/Engineering · released May 2026

Performs high-quality sample-rate conversion (resampling) for audio signals, supporting both one-shot and streaming modes via a Python wrapper around libsoxr.

LGPL-2.1-or-latercompiled wheel · 3.9+
11.2Mdownloads / mo
moviepy With conditions
PyPI · Multimedia · released May 2025

MoviePy is a Python library for video editing that reads, processes, and writes video and audio files by converting them to numpy arrays for frame-level manipulation and effect application.

MITpure Pythonaging
8.2Mdownloads / mo
tinytag Worth it
PyPI · WWW/HTTP · released Jul 2026

Reads metadata (artist, title, duration, bitrate, and more) from audio files in formats including MP3, MP4, FLAC, OGG, WAV, and others, without writing or modifying tags.

Install it if you need to extract metadata from audio files without the overhead of a heavier library.

MITpure Python · 3.7+
5.5Mdownloads / mo
kaldiio With conditions
PyPI · Analysis · released Mar 2025

Kaldiio reads and writes Kaldi archive (ark) and script (scp) files in pure Python, handling matrices, vectors, and audio data with support for binary, text, and compressed formats.

However, verify the license status before use in proprietary contexts, and note that maintenance is aging—critical bug fixes may be slow.

license unclearpure Pythonaging
1.2Mdownloads / mo
mir-eval Worth it
PyPI · Analysis · released Feb 2025

mir_eval computes standard accuracy metrics for music and audio information retrieval tasks, enabling transparent evaluation of audio processing algorithms.

Install it if you are evaluating audio or music processing algorithms and need reproducible metric computation.

MITpure Python
229.7Kdownloads / mo

See also pylast · torchlibrosa · pretty-midi · aubio · music21 · symusic · musicbrainzngs · python-stretch · syncedlyrics