librosa: Audio and Music Signal Analysis in Python
Open accessThe DOI matches its Crossref record; 16 of the 16 references it cites were found in a registry or an index.
Abstract
This document describes version 0.4.0 of librosa: a Python package for audio and music signal processing.At a high level, librosa provides implementations of a variety of common functions used throughout the field of music information retrieval.In this document, a brief overview of the library's functionality is provided, along with explanations of the design goals, software development practices, and notational conventions.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Scikit-learn: Machine Learning in Python
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Müller, A., Nothman, J., Louppe, G., et al. (2012) · arXiv · doi:10.48550/arxiv.1201.0490 · Cited by 71,016
Matplotlib: a 2D graphics environment
Hunter, J. D. (2007) · Computing in Science & Engineering · doi:10.1109/mcse.2007.55 · Cited by 39,249
Hierarchical Grouping to Optimize an Objective Function
Ward, J. H. (1963) · Journal of the American Statistical Association · doi:10.1080/01621459.1963.10500845 · Cited by 20,598
Learning the parts of objects by non-negative matrix factorization
Lee, D. D., & Seung, H. S. (1999) · Nature · doi:10.1038/44565 · Cited by 13,868
The NumPy Array: A Structure for Efficient Numerical Computation
van der Walt, S., Colbert, S. C., & Varoquaux, G. (2011) · Computing in Science & Engineering · doi:10.1109/mcse.2011.37 · Cited by 9,381
Waskom, M., Botvinnik, O. B., O'Kane, D., Hobson, P., Ostblom, J., Lukauskas, S., Gemperline, D. C., Augspurger, T., Halchenko, Y., Cole, J. B., et al. (2014) · Zenodo (CERN European Organization for Nuclear Research) · doi:10.5281/zenodo.592845 · Cited by 1,119
A Scale for the Measurement of the Psychological Magnitude Pitch
Stevens, S. S., Volkmann, J., & Newman, E. B. (1937) · The Journal of the Acoustical Society of America · doi:10.1121/1.1915893 · Cited by 1,107
Beat Tracking by Dynamic Programming
Ellis, D. P. W. (2007) · Journal of New Music Research · doi:10.1080/09298210701653344 · Cited by 391
Self-citationMusic type classification by spectral contrast feature
Jiang, D.-N., Lu, L., Zhang, H.-J., Tao, J.-H., & Cai, L.-H. (2003) · Proceedings. IEEE International Conference on Multimedia and Expo · doi:10.1109/icme.2002.1035731 · Cited by 339
Cannam, C., Landone, C., & Sandler, M. (2010) · Proceedings of the 18th ACM international conference on Multimedia · doi:10.1145/1873951.1874248 · Cited by 285
Cited by
PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognition
Kong, Q., Cao, Y., Iqbal, T., Wang, Y., Wang, W., & Plumbley, M. D. (2020) · IEEE/ACM Transactions on Audio, Speech, and Language Processing · doi:10.1109/taslp.2020.3030497 · Cited by 1,235
“We use the torchlibrosa,1 a PyTorch implementation of functions of librosa [46] to build log mel spectrogram extraction into PANNs.”
MethodSpeech emotion recognition using deep 1D & 2D CNN LSTM networks
Zhao, J., Mao, X., & Chen, L. (2019) · Biomedical Signal Processing and Control · doi:10.1016/j.bspc.2018.08.035 · Cited by 1,044
Speech emotion recognition with deep convolutional neural networks
Issa, D., Fatih Demirci, M., & Yazici, A. (2020) · Biomedical Signal Processing and Control · doi:10.1016/j.bspc.2020.101894 · Cited by 619
Convolutional Recurrent Neural Networks for Polyphonic Sound Event Detection
Cakir, E., Parascandolo, G., Heittola, T., Huttunen, H., & Virtanen, T. (2017) · IEEE/ACM Transactions on Audio, Speech, and Language Processing · doi:10.1109/taslp.2017.2690575 · Cited by 604
AI Choreographer: Music Conditioned 3D Dance Generation with AIST++
Li, R., Yang, S., Ross, D. A., & Kanazawa, A. (2021) · 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.01315 · Cited by 553
“We use the publicly available audio processing toolbox Librosa [60] to extract the music features including: 1-dim envelope , 20-dim MFCC , 12-dim chroma , 1-dim one-hot peaks and 1-dim one-hot beats , resulting in a 35-dim music feature.”
MethodInfluentialConvolutional recurrent neural networks for music classification
Choi, K., Fazekas, G., Sandler, M., & Cho, K. (2017) · 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp.2017.7952585 · Cited by 517
CH-SIMS: A Chinese Multimodal Sentiment Analysis Dataset with Fine-grained Annotation of Modality
Yu, W., Xu, H., Meng, F., Zhu, Y., Ma, Y., Wu, J., Zou, J., & Yang, K. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.343 · Cited by 482
Exploring Automatic Diagnosis of COVID-19 from Crowdsourced Respiratory Sound Data
Brown, C., Chauhan, J., Grammenos, A., Han, J., Hasthanasombat, A., Spathis, D., Xia, T., Cicuta, P., & Mascolo, C. (2020) · Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining · doi:10.1145/3394486.3412865 · Cited by 447
“ustrates the data processing pipelines. 4.1 Feature extraction HandcraftedFeatures.The raw sound waveform recorded by the apps is resampled to 22kHz, a standard value for audio tasks. We used librosa [20] as our audio processing library. From the resampled audio various handcrafted features are extracted at the frame…”
MethodInfluentialBalanced Multimodal Learning via On-the-fly Gradient Modulation
Peng, X., Wei, Y., Deng, A., Wang, D., & Hu, D. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.00806 · Cited by 349
Multimodal sentiment analysis based on fusion methods: A survey
Zhu, L., Zhu, Z., Zhang, C., Xu, Y., & Kong, X. (2023) · Information Fusion · doi:10.1016/j.inffus.2023.02.028 · Cited by 347
Accurate and efficient time-domain classification with adaptive spiking recurrent neural networks
Yin, B., Corradi, F., & Bohté, S. M. (2021) · Nature Machine Intelligence · doi:10.1038/s42256-021-00397-w · Cited by 259
Sun, L., Lian, Z., Liu, B., & Tao, J. (2024) · IEEE Transactions on Affective Computing · doi:10.1109/taffc.2023.3274829 · Cited by 258
Does Audio Deepfake Detection Generalize?
Müller, N., Czempin, P., Diekmann, F., Froghyar, A., & Böttinger, K. (2022) · Interspeech 2022 · doi:10.21437/interspeech.2022-108 · Cited by 258
Deep Residual Neural Networks for Audio Spoofing Detection
Alzantot, M., Wang, Z., & Srivastava, M. B. (2019) · Interspeech 2019 · doi:10.21437/interspeech.2019-3174 · Cited by 215
fMRI reveals language-specific predictive coding during naturalistic sentence comprehension
Shain, C., Blank, I. A., van Schijndel, M., Schuler, W., & Fedorenko, E. (2020) · Neuropsychologia · doi:10.1016/j.neuropsychologia.2019.107307 · Cited by 215
Transformer-based Feature Reconstruction Network for Robust Multimodal Sentiment Analysis
Yuan, Z., Li, W., Xu, H., & Yu, W. (2021) · Proceedings of the 29th ACM International Conference on Multimedia · doi:10.1145/3474085.3475585 · Cited by 211
A Survey of Deep Learning-Based Multimodal Emotion Recognition: Speech, Text, and Face
Lian, H., Lu, C., Li, S., Zhao, Y., Tang, C., & Zong, Y. (2023) · Entropy · doi:10.3390/e25101440 · Cited by 224
“In current MER, it is common practice to use OpenSMILE [45], COVAREP [46], Open-EAR [47], and librosa [48] to extract the aforementioned acoustic features that represent the emotional characteristics of the speech modality.”
MethodSpectral images based environmental sound classification using CNN with meaningful data augmentation
Mushtaq, Z., Su, S.-F., & Tran, Q.-V. (2021) · Applied Acoustics · doi:10.1016/j.apacoust.2020.107581 · Cited by 188
LeBien, J., Zhong, M., Campos-Cerqueira, M., Velev, J. P., Dodhia, R., Ferres, J. L., & Aide, T. M. (2020) · Ecological Informatics · doi:10.1016/j.ecoinf.2020.101113 · Cited by 187
“The 1025 frequency bands in our training samples were converted to 128 mel-scaled frequency bands, using the Librosa Python package (McFee et al., 2015) (Fig.”
MethodThe Control of Vocal Pitch in Human Laryngeal Motor Cortex
Dichter, B. K., Breshears, J. D., Leonard, M. K., & Chang, E. F. (2018) · Cell · doi:10.1016/j.cell.2018.05.016 · Cited by 183
“We calculated Mel frequency cepstral coefficients (MFCCs) to temporally align the sentences for each participant (McFee et al., 2015).”
Yao, Z., Wang, Z., Liu, W., Liu, Y., & Pan, J. (2020) · Speech Communication · doi:10.1016/j.specom.2020.03.005 · Cited by 152
Predicting dementia from spontaneous speech using large language models
Agbavor, F., & Liang, H. (2022) · PLOS Digital Health · doi:10.1371/journal.pdig.0000168 · Cited by 147
FluentNet: End-to-End Detection of Stuttered Speech Disfluencies With Deep Learning
Kourkounakis, T., Hajavi, A., & Etemad, A. (2021) · IEEE/ACM Transactions on Audio, Speech, and Language Processing · doi:10.1109/taslp.2021.3110146 · Cited by 109
Coppock, H., Gaskell, A., Tzirakis, P., Baird, A., Jones, L., & Schuller, B. (2021) · BMJ Innovations · doi:10.1136/bmjinnov-2021-000668 · Cited by 108
Using a smartwatch and smartphone to assess early Parkinson’s disease in the WATCH-PD study
Adams, J. L., Kangarloo, T., Tracey, B., O’Donnell, P., Volfson, D., Latzman, R. D., Zach, N., Alexander, R., Bergethon, P., Cosman, J., et al. (2023) · npj Parkinson's Disease · doi:10.1038/s41531-023-00497-x · Cited by 98
“Phonation and reading fi les were processed using custom Python code (available from the authors upon request) with features computed using the Parselmouth interface to Praat and the Librosa library 44,45 .”
CityNet—Deep learning tools for urban ecoacoustic assessment
Fairbrass, A. J., Firman, M., Williams, C., Brostow, G. J., Titheridge, H., & Jones, K. E. (2019) · Methods in Ecology and Evolution · doi:10.1111/2041-210x.13114 · Cited by 98
AudioCaps: Generating Captions for Audios in The Wild
Kim, C. D., Kim, B., Lee, H., & Kim, G. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1011 · Cited by 96
Tag-assisted Multimodal Sentiment Analysis under Uncertain Missing Modalities
Zeng, J., Liu, T., & Zhou, J. (2022) · Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval · doi:10.1145/3477495.3532064 · Cited by 94
Pre-trained models for detection and severity level classification of dysarthria from speech
Javanmardi, F., Kadiri, S. R., & Alku, P. (2024) · Speech Communication · doi:10.1016/j.specom.2024.103047 · Cited by 74
Deep Multimodal Emotion Recognition on Human Speech: A Review
Koromilas, P., & Giannakopoulos, T. (2021) · Applied Sciences · doi:10.3390/app11177962 · Cited by 58
“There is a variety of open-source robust and efficient libraries, such as [22–25], that can be used in order to extract the aforementioned audio features.”
OpenSoundscape: An open‐source bioacoustics analysis package for Python
Lapp, S., Rhinehart, T., Freeland‐Haynes, L., Khilnani, J., Syunkova, A., & Kitzes, J. (2023) · Methods in Ecology and Evolution · doi:10.1111/2041-210x.14196 · Cited by 57
“Key dependencies of OpenSoundscape include the machine learning libraries torch (Paszke et al., 2019), torchvision (Marcel & Rodriguez, 2010) and scikit- learn (Pedregosa et al., 2011); the audio libraries Librosa (McFee et al., 2015) and SoundFile (Bechtold, 2023); the scientific computing libraries Numba (Lam et al.…”
InfluentialA novel hybrid model integrating MFCC and acoustic parameters for voice disorder detection
Verma, V., Benjwal, A., Chhabra, A., Singh, S. K., Kumar, S., Gupta, B. B., Arya, V., & Chui, K. T. (2023) · Scientific Reports · doi:10.1038/s41598-023-49869-6 · Cited by 55
“Several Python libraries, including TensorFlow, NumPy, scikit-learn, XGBoost, Librosa 65 , Pandas, Matplotlib, WFDB 49,66 and Seaborn, were utilized for various tasks.”
MethodWav2vec-based detection and severity level classification of dysarthria from speech
Javanmardi, F., Tirronen, S., Kodali, M., Kadiri, S. R., & Alku, P. (2023) · ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp49357.2023.10094857 · Cited by 53
Attentron: Few-Shot Text-to-Speech Utilizing Attention-Based Variable-Length Embedding
Choi, S., Han, S., Kim, D., & Ha, S. (2020) · Interspeech 2020 · doi:10.21437/interspeech.2020-2096 · Cited by 56
Agbavor, F., & Liang, H. (2022) · Brain Sciences · doi:10.3390/brainsci13010028 · Cited by 47
Enabling Edge Devices that Learn from Each Other: Cross Modal Training for Activity Recognition
Xing, T., Sandha, S. S., Balaji, B., Chakraborty, S., & Srivastava, M. (2018) · Proceedings of the 1st International Workshop on Edge Systems, Analytics and Networking · doi:10.1145/3213344.3213351 · Cited by 35
A Comparative Study on Physical and Perceptual Features for Deepfake Audio Detection
Li, M., Ahmadiadli, Y., & Zhang, X.-P. (2022) · Proceedings of the 1st International Workshop on Deepfake Detection for Audio Multimedia · doi:10.1145/3552466.3556523 · Cited by 35
“Librosa library [20] is used to extract this feature in our experiment.”
Methodmadmom: a new Python Audio and Music Signal Processing Library
Böck, S., Korzeniowski, F., Schlüter, J., Krebs, F., & Widmer, G. (2016) · arXiv · doi:10.48550/arxiv.1605.07008 · Cited by 32
Modular and Parameter-Efficient Multimodal Fusion with Prompting
Liang, S., Zhao, M., & Schütze, H. (2022) · arXiv · doi:10.48550/arxiv.2203.08055 · Cited by 27
“To process audio, we use librosa (McFee et al., 2015) to remove background noise and convert audio to waveform with”
MethodBird and whale species identification using sound images
Nanni, L., Aguiar, R. L., Costa, Y. M. G., Brahnam, S., Silla, C. N., Brattin, R. L., & Zhao, Z. (2018) · IET Computer Vision · doi:10.1049/iet-cvi.2017.0075 · Cited by 22
MultiBench: Multiscale Benchmarks for Multimodal Representation Learning
Liang, P. P., Lyu, Y., Fan, X., Wu, Z., Cheng, Y., Wu, J., Chen, L., Wu, P., Lee, M. A., Zhu, Y., et al. (2021) · arXiv · doi:10.48550/arxiv.2107.07502 · Cited by 85
COALA: Co-Aligned Autoencoders for Learning Semantically Enriched Audio Representations
Favory, X., Drossos, K., Virtanen, T., & Serra, X. (2020) · arXiv · doi:10.48550/arxiv.2006.08386 · Cited by 20
“Similar to (Raghu et al., 2017), we use sounds from the validation set of the pre-training dataset G , and we compute the canonical correlation similarity (CCS) of our audio embedding Z a with statistics of acoustic features computed with the librosa library (McFee et al., 2015).”
Jiang, C., Yang, D., & Chen, X. (2020) · ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp40776.2020.9053257 · Cited by 15
“As the training set may contain key and tempo variations but does not provide annotations about these changes, we use Librosa [20] to simulate these changes.”
MethodVoice Biomarkers of Recovery From Acute Respiratory Illness
Tracey, B., Patel, S., Zhang, Y., Chappie, K., Volfson, D., Parisi, F., Adans-Dester, C., Bertacchi, F., Bonato, P., & Wacnik, P. (2022) · IEEE Journal of Biomedical and Health Informatics · doi:10.1109/jbhi.2021.3137050 · Cited by 10
Kim, Y. E., Dobko, M., Li, H., Shao, T., Periyakoil, P., Tipton, C., Colasacco, C., Serpedin, A., Elemento, O., Sabuncu, M., et al. (2025) · The Laryngoscope · doi:10.1002/lary.32036 · Cited by 9
“12 Our audio samples were converted to Mel-spectrograms using the Librosa package, 20 and resampled to a sampling rate of 48 kHz to ensure high fi delity.”
Pickering, A., Martinez Balvanera, S., Jones, K. E., & Hedwig, D. (2025) · Remote Sensing in Ecology and Conservation · doi:10.1002/rse2.70008 · Cited by 5
“1A) using the librosa package (version 0.10.2) (McFee et al., 2015).”
InfluentialDetecting and Analysing Spontaneous Oral Cancer Speech in the Wild
Halpern, B. M., Son, R. V., Brekel, M. V. D., & Scharenborg, O. (2020) · Interspeech 2020 · doi:10.21437/interspeech.2020-1598 · Cited by 4
Listening forward: emerging roles of bioacoustics in ecology, evolution, and conservation
Zsebők, S. (2026) · Biologia Futura · doi:10.1007/s42977-026-00322-5
“Python libraries like OpenSound-scape, librosa, Parselmouth and scikit-maad now let anyone build modular detection and classification pipelines (Jadoul et al. 2022; Lapp et al. 2023; McFee et al. 2015; Ulloa et al. 2021).”
Joint Audio and Speech Understanding
Gong, Y., Liu, A. H., Luo, H., Karlinsky, L., & Glass, J. (2023) · arXiv · doi:10.48550/arxiv.2309.14405 · Cited by 67
“By unifying all training samples in this format, we not only map all labels to a semantic space, but are also able to train LTU-AS with a variety of different tasks easily.”
Background
Metadata
- Authors
- McFee, B., Raffel, C., Liang, D., Ellis, D., McVicar, M., Battenberg, E., & Nieto, O.
- Venue
- Proceedings of the Python in Science Conference
- Publisher
- SciPy
- Published
- 2015
- Pages
- 18-24
- ISSN
- 2575-9752 (ISSN-L)
- OpenAlex
- W2191779130
- Cited by
- 3,033
- References
- 16
- FWCI
- 34.53
- Type
- conference paper
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.