Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

librosa

> DevOps
Open source

Python library for audio and music analysis

8.5K stars0 likes1 views
WebsiteGitHub

About

Python library for audio and music analysis

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:

  • https://librosa.org/doc/

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

bash
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:

python
import librosa
librosa.cite()

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

python
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.

Issues· 51 open

View all issuesOpen on GitHub
  • #2107

    time_stretch/pitch_shift crash on documented STFT kwargs (pad_mode, dtype)

    bugAPI changeUpdated Sep 28, 2026
  • #2099

    feature.spectral_centroid / bandwidth / rolloff / contrast / poly_features upcast float32 spectrogram to float64

    Updated Sep 4, 2026
  • #2021

    Refactor display.py into submodules

    displayUpdated Aug 29, 2026
  • #2094

    feature.mfcc: expose `power_to_db` parameters, as proposed in #1734

    enhancementUpdated Aug 21, 2026
  • #2070

    Discussion: deprecate hybrid and pseudo cqt?

    discussionStagedUpdated Aug 19, 2026
  • #1843

    Librosa on Debian!

    testingdiscussionmanagementUpdated Aug 15, 2026
  • #2076

    [Bug]: chroma_stft (via estimate_tuning/piptrack) leaves unreturned memory in the glibc arena, growing RSS across repeated calls

    Updated Jul 31, 2026
  • #2067

    [ENH]: Extend precise return type annotations to the feature and onset modules

    enhancementTypingUpdated Jul 31, 2026
  • #1503

    Frequency range data

    functionalitygood for beginnersdiscussionUpdated Jul 15, 2026
  • #1540

    Improvements to adaptive waveplot

    enhancementdisplayUpdated Jul 15, 2026

> Tags

Pythonaudiodsplibrosamusic

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理