Skip to main content

librosa logo

librosa

librosa is a Python library for audio and music signal processing. It provides the foundational algorithms and tools required for building music information retrieval (MIR) systems.

PyPI Anaconda-Server Badge License DOI EffVer Versioning Docs Scientific Python Ecosystem Coordination

CI codecov

Documentation

Full documentation is available at:

If you're new to librosa, we recommend starting with the tutorials.

If you're looking for API details, head directly to the API reference.

To see what's new, check out the change log.

Installation

Using PyPI

The latest stable release is available on PyPI, and you can install it by the command

pip install librosa

Using conda

Anaconda users can install using conda-forge:

conda install -c conda-forge librosa

For optional dependencies and advanced setup, see the guide in the documentation.


Citing

There are two ways to cite librosa in scholarly work, depending on whether you are citing it for its use in your work or for its design and motivation.

We additionally encourage you to cite the original publications describing the methods implemented in librosa, in addition to citing librosa itself. References can often be found within function documentation.

Citing for use

If you are citing for use in your own work, please cite the version you used by retrieving the appropriate DOI and citation information from Zenodo.

DOI

This ensures that all contributing authors are credited for the work you are building on.

From librosa version 0.10.2 or later, you can also use librosa.cite() to get the DOI link for any version of librosa:

import librosa
librosa.cite()

And from 1.0 onward, you can directly retrieve the BibTeX entry for the version you are using:

print(librosa.cite(bib=True))

Citing for design

If you wish to cite librosa for its design, motivation, etc., please cite the paper published at SciPy 2015:

McFee, Brian, Colin Raffel, Dawen Liang, Daniel PW Ellis, Matt McVicar, Eric Battenberg, and Oriol Nieto.
"librosa: Audio and music signal analysis in python."
In Proceedings of the 14th python in science conference, pp. 18-25. 2015.

As a rule of thumb:

  • Use a versioned librosa citation to document the software implementation used in your experiments.
  • Cite the original methodological papers for the algorithms that are central to your work.
  • Cite the SciPy paper when discussing librosa itself, its design, or its contribution as a software library.

Release files for librosa 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for librosa 1.0.0
File Size Uploaded
librosa-1.0.0.tar.gz 378.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for librosa 1.0.0
File Interpreter ABI Platform
librosa-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 672.6 kB

Release files / librosa-1.0.0.tar.gz

Download URL librosa-1.0.0.tar.gz
Size 378.0 kB
Tags Source
SHA-256 checksum
How to use checksums
73ed480d4022e436e85dfa6f6b06ff38a259b9210039ac99939cd64854b61a57
BLAKE2b-256 checksum
How to use checksums
8ec1ce66b20953b7370421dd13d22b4e04e401346c824ceacb9f4e722eec84dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release files / librosa-1.0.0-py3-none-any.whl

Download URL librosa-1.0.0-py3-none-any.whl
Size 294.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5910a6c0e1b2e494b92758c1615a7acbd0515a2315e138927ba2982f2af88857
BLAKE2b-256 checksum
How to use checksums
96140b2e4cc8017796dc8f69de740708601832c1e8d5377166eedb4db0a92264
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.11.0

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.4.0-pre

0.3.1

1 release file

0.3.0

1 release file

0.2.1

2 release files

0.2.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page