Python module for audio and music processing
Project description
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.
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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file librosa-1.0.0rc0.tar.gz.
File metadata
- Download URL: librosa-1.0.0rc0.tar.gz
- Upload date:
- Size: 377.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fc8a0c9ac5022e5300d87beae74169754c7606822a2916febec36feafa28c56
|
|
| MD5 |
74a3451d70ece4e0c07fc8b82ec0ac53
|
|
| BLAKE2b-256 |
201aeb4058bb4965fc518e45a12bfc430fdc1934201f451d26883a70ed37d95b
|
Provenance
The following attestation bundles were made for librosa-1.0.0rc0.tar.gz:
Publisher:
publish.yml on librosa/librosa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
librosa-1.0.0rc0.tar.gz -
Subject digest:
4fc8a0c9ac5022e5300d87beae74169754c7606822a2916febec36feafa28c56 - Sigstore transparency entry: 2305131838
- Sigstore integration time:
-
Permalink:
librosa/librosa@44947d40aa78cf81edae290594223fef3abf43c9 -
Branch / Tag:
refs/tags/1.0.0rc0 - Owner: https://github.com/librosa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@44947d40aa78cf81edae290594223fef3abf43c9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file librosa-1.0.0rc0-py3-none-any.whl.
File metadata
- Download URL: librosa-1.0.0rc0-py3-none-any.whl
- Upload date:
- Size: 294.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ba27e2c5baa484b2d47bb9cd86954332dfd71c539c5dbe3bd515f8edf3754e6
|
|
| MD5 |
6403d6880a724f4877abc2d7c9285eb5
|
|
| BLAKE2b-256 |
dadcfc291fe9578bfb4292cdb5d93bdd4ade3bcd00a91ae4d2943874840fd21c
|
Provenance
The following attestation bundles were made for librosa-1.0.0rc0-py3-none-any.whl:
Publisher:
publish.yml on librosa/librosa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
librosa-1.0.0rc0-py3-none-any.whl -
Subject digest:
0ba27e2c5baa484b2d47bb9cd86954332dfd71c539c5dbe3bd515f8edf3754e6 - Sigstore transparency entry: 2305131931
- Sigstore integration time:
-
Permalink:
librosa/librosa@44947d40aa78cf81edae290594223fef3abf43c9 -
Branch / Tag:
refs/tags/1.0.0rc0 - Owner: https://github.com/librosa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@44947d40aa78cf81edae290594223fef3abf43c9 -
Trigger Event:
release
-
Statement type: