This commit is contained in:
2026-04-10 15:06:59 +02:00
parent 3031b7153b
commit e5a4711004
7806 changed files with 1918528 additions and 335 deletions

View File

@@ -0,0 +1,15 @@
## ISC License
Copyright (c) 2013--2023, librosa development team.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View File

@@ -0,0 +1,280 @@
Metadata-Version: 2.2
Name: librosa
Version: 0.11.0
Summary: Python module for audio and music processing
Home-page: https://librosa.org
Author: Brian McFee, librosa development team
Author-email: brian.mcfee@nyu.edu
License: ISC
Project-URL: Documentation, https://librosa.org/doc
Project-URL: Download, https://github.com/librosa/librosa/releases
Project-URL: Source, https://github.com/librosa/librosa
Project-URL: Tracker, https://github.com/librosa/librosa/issues
Project-URL: Discussion forum, https://groups.google.com/g/librosa
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Programming Language :: Python
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
Classifier: Framework :: Matplotlib
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8
License-File: LICENSE.md
Requires-Dist: audioread>=2.1.9
Requires-Dist: numba>=0.51.0
Requires-Dist: numpy>=1.22.3
Requires-Dist: scipy>=1.6.0
Requires-Dist: scikit-learn>=1.1.0
Requires-Dist: joblib>=1.0
Requires-Dist: decorator>=4.3.0
Requires-Dist: soundfile>=0.12.1
Requires-Dist: pooch>=1.1
Requires-Dist: soxr>=0.3.2
Requires-Dist: typing_extensions>=4.1.1
Requires-Dist: lazy_loader>=0.1
Requires-Dist: msgpack>=1.0
Requires-Dist: standard-aifc; python_version >= "3.13"
Requires-Dist: standard-sunau; python_version >= "3.13"
Provides-Extra: docs
Requires-Dist: numpydoc; extra == "docs"
Requires-Dist: sphinx!=1.3.1; extra == "docs"
Requires-Dist: sphinx_rtd_theme>=1.2.0; extra == "docs"
Requires-Dist: numba>=0.51; extra == "docs"
Requires-Dist: matplotlib>=3.5.0; extra == "docs"
Requires-Dist: sphinx-multiversion>=0.2.3; extra == "docs"
Requires-Dist: sphinx-gallery>=0.7; extra == "docs"
Requires-Dist: mir_eval>=0.5; extra == "docs"
Requires-Dist: ipython>=7.0; extra == "docs"
Requires-Dist: sphinxcontrib-svg2pdfconverter; extra == "docs"
Requires-Dist: sphinxcontrib-googleanalytics>=0.4; extra == "docs"
Requires-Dist: presets; extra == "docs"
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "docs"
Provides-Extra: tests
Requires-Dist: matplotlib>=3.5.0; extra == "tests"
Requires-Dist: packaging>=20.0; extra == "tests"
Requires-Dist: pytest-mpl; extra == "tests"
Requires-Dist: pytest-cov; extra == "tests"
Requires-Dist: pytest; extra == "tests"
Requires-Dist: samplerate; extra == "tests"
Requires-Dist: resampy>=0.2.2; extra == "tests"
Requires-Dist: types-decorator; extra == "tests"
Provides-Extra: display
Requires-Dist: matplotlib>=3.5.0; extra == "display"
[![librosa logo](docs/img/librosa_logo_text.svg)](https://librosa.org/)
# librosa
A python package for music and audio analysis.
[![PyPI](https://img.shields.io/pypi/v/librosa.svg)](https://pypi.python.org/pypi/librosa)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/librosa/badges/version.svg)](https://anaconda.org/conda-forge/librosa)
[![License](https://img.shields.io/pypi/l/librosa.svg)](https://github.com/librosa/librosa/blob/main/LICENSE.md)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.591533.svg)](https://doi.org/10.5281/zenodo.591533)
[![CI](https://github.com/librosa/librosa/actions/workflows/ci.yml/badge.svg)](https://github.com/librosa/librosa/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/librosa/librosa/branch/main/graph/badge.svg?token=ULWnUHaIJC)](https://codecov.io/gh/librosa/librosa)
[![Docs](https://github.com/librosa/librosa/actions/workflows/docs.yml/badge.svg)](https://librosa.org/doc/latest/index.html)
# Table of Contents
- [Documentation](#Documentation)
- [Installation](#Installation)
- [Using PyPI](#using-pypi)
- [Using Anaconda](#using-anaconda)
- [Building From Source](#building-from-source)
- [Hints for Installation](#hints-for-the-installation)
- [`soundfile`](#soundfile)
- [`audioread`](#audioread-and-mp3-support)
- [Linux (`apt get`)](#linux-apt-get)
- [Linux (`yum`)](#linux-yum)
- [Mac](#mac)
- [Windows](#windows)
- [Discussion](#discussion)
- [Citing](#citing)
---
## Documentation
See https://librosa.org/doc/ for a complete reference manual and introductory tutorials.
The [advanced example gallery](https://librosa.org/doc/latest/advanced.html) should give you a quick sense of the kinds
of things that librosa can do.
---
[Back To Top ↥](#librosa)
## Installation
### Using PyPI
The latest stable release is available on PyPI, and you can install it by saying
```
python -m pip install librosa
```
### Using Anaconda
Anaconda users can install using ```conda-forge```:
```
conda install -c conda-forge librosa
```
### Building from source
To build librosa from source, say
```
python setup.py build
```
Then, to install librosa, say
```
python setup.py install
```
If all went well, you should be able to execute the following commands from a python console:
```
import librosa
librosa.show_versions()
```
This should print out a description of your software environment, along with the installed versions of other packages used by librosa.
📝 OS X users should follow the installation guide given below.
Alternatively, you can download or clone the repository and use `pip` to handle dependencies:
```
unzip librosa.zip
python -m pip install -e librosa
```
or
```
git clone https://github.com/librosa/librosa.git
python -m pip install -e librosa
```
By calling `pip list` you should see `librosa` now as an installed package:
```
librosa (0.x.x, /path/to/librosa)
```
---
[Back To Top ↥](#librosa)
### Hints for the Installation
`librosa` uses `soundfile` and `audioread` to load audio files.
📝 Note that older releases of `soundfile` (prior to 0.11) do not support MP3, which will cause librosa to fall back on the `audioread` library.
### `soundfile`
If you're using `conda` to install librosa, then audio encoding dependencies will be handled automatically.
If you're using `pip` on a Linux environment, you may need to install `libsndfile`
manually. Please refer to the [SoundFile installation documentation](https://python-soundfile.readthedocs.io/#installation) for details.
### `audioread` and MP3 support
To fuel `audioread` with more audio-decoding power (e.g., for reading MP3 files),
you may need to install either *ffmpeg* or *GStreamer*.
📝*Note that on some platforms, `audioread` needs at least one of the programs to work properly.*
If you are using Anaconda, install *ffmpeg* by calling
```
conda install -c conda-forge ffmpeg
```
If you are not using Anaconda, here are some common commands for different operating systems:
- #### Linux (`apt-get`):
```
apt-get install ffmpeg
```
or
```
apt-get install gstreamer1.0-plugins-base gstreamer1.0-plugins-ugly
```
- #### Linux (`yum`):
```
yum install ffmpeg
```
or
```
yum install gstreamer1.0-plugins-base gstreamer1.0-plugins-ugly
```
- #### Mac:
```
brew install ffmpeg
```
or
```
brew install gstreamer
```
- #### Windows:
download ffmpeg binaries from this [website](https://www.gyan.dev/ffmpeg/builds/) or gstreamer binaries from this [website](https://gstreamer.freedesktop.org/)
For GStreamer, you also need to install the Python bindings with
```
python -m pip install pygobject
```
---
[Back To Top ↥](#librosa)
## Discussion
Please direct non-development questions and discussion topics to our web forum at
https://groups.google.com/forum/#!forum/librosa
---
[Back To Top ↥](#librosa)
## Citing
If you want to cite librosa in a scholarly work, there are two ways to do it.
- If you are using the library for your work, for the sake of reproducibility, please cite
the version you used as indexed at Zenodo:
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.591533.svg)](https://doi.org/10.5281/zenodo.591533)
From librosa version 0.10.2 or later, you can also use `librosa.cite()`
to get the DOI link for any version of librosa.
- 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.
---
[Back To Top ↥](#librosa)

View File

@@ -0,0 +1,87 @@
librosa-0.11.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
librosa-0.11.0.dist-info/LICENSE.md,sha256=F0bKMrU_oxlBw4tjqYbkEmq5mOgaL3OlZgAIR6WI4qM,766
librosa-0.11.0.dist-info/METADATA,sha256=Wquga-DyjKHKd2-IhPwJRfdSo4193KJJQDZE1vaFxtM,8668
librosa-0.11.0.dist-info/RECORD,,
librosa-0.11.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
librosa-0.11.0.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
librosa-0.11.0.dist-info/top_level.txt,sha256=b_NtBMAto65lAbgBb27M1HapUgllR2Jx2-gUz5LiR2g,8
librosa/__init__.py,sha256=QbPbC-EoLpcRW1dplyA9dcaNqCYz6Ym5VAi8Dt-zwMg,2935
librosa/__init__.pyi,sha256=1p-DQZK-k57y9HfehacZy6jjqsKY0_r94wz49MlEiqg,3814
librosa/__pycache__/__init__.cpython-312.pyc,,
librosa/__pycache__/_cache.cpython-312.pyc,,
librosa/__pycache__/_typing.cpython-312.pyc,,
librosa/__pycache__/beat.cpython-312.pyc,,
librosa/__pycache__/decompose.cpython-312.pyc,,
librosa/__pycache__/display.cpython-312.pyc,,
librosa/__pycache__/effects.cpython-312.pyc,,
librosa/__pycache__/filters.cpython-312.pyc,,
librosa/__pycache__/onset.cpython-312.pyc,,
librosa/__pycache__/segment.cpython-312.pyc,,
librosa/__pycache__/sequence.cpython-312.pyc,,
librosa/__pycache__/version.cpython-312.pyc,,
librosa/_cache.py,sha256=nVDDnQQZLaPP3Xms9UqasewDbTfIpYvfY4mAEQhJv8E,2785
librosa/_typing.py,sha256=VBV-B8ZCOFwSnbzZKjXinD6lEmKzObB52iUH58OIYRo,2314
librosa/beat.py,sha256=siVUd_bZdHwahauzQGJxBN31Vx-dNnd4UtDCGkWubwA,25312
librosa/core/__init__.py,sha256=6De6GHz6RXqGN7xZ5U_68H7FVBjZn-SEGzsIet-3gro,176
librosa/core/__init__.pyi,sha256=QXnXrg9JX74WGWILwfY1YbfytrRny4CwvIU7NvGuQlA,3504
librosa/core/__pycache__/__init__.cpython-312.pyc,,
librosa/core/__pycache__/audio.cpython-312.pyc,,
librosa/core/__pycache__/constantq.cpython-312.pyc,,
librosa/core/__pycache__/convert.cpython-312.pyc,,
librosa/core/__pycache__/fft.cpython-312.pyc,,
librosa/core/__pycache__/harmonic.cpython-312.pyc,,
librosa/core/__pycache__/intervals.cpython-312.pyc,,
librosa/core/__pycache__/notation.cpython-312.pyc,,
librosa/core/__pycache__/pitch.cpython-312.pyc,,
librosa/core/__pycache__/spectrum.cpython-312.pyc,,
librosa/core/audio.py,sha256=X5NMDeSg2fip54AHWNELVTL9VclQhZr9rRHFiQEloIM,57046
librosa/core/constantq.py,sha256=JBMpJ5WnZADmf6axzZKFWVglixvR083rLzqogS7UrKs,45267
librosa/core/convert.py,sha256=PwZ57rVwZ3F5fdrMQXS_rNEUarrnjopYPZfWqkORmF8,82624
librosa/core/fft.py,sha256=Kaoz3xxdOkEsNz1ivqGiH89nIg3N3UerIUgEUgTZCbU,1614
librosa/core/harmonic.py,sha256=XJyqYOwv12mDPbNfyylraDBf_HHUwnTYdh_3L65EOD8,15957
librosa/core/intervals.msgpack,sha256=-yFZSSSFwXhnmDSauWVcBmXSbWznqYIoVQrczVniqUE,5225
librosa/core/intervals.py,sha256=eBnRPjEmQilO9cL9IC5mfsOQ9moMgGsoHj93MCLdCFE,16002
librosa/core/notation.py,sha256=gGgz5FElm1Uarf23XUThjZRuDCRtKz5x53JNL1Wr7Os,36334
librosa/core/pitch.py,sha256=9FzEKfnaoidtdQ-k8QBkHq5FmR2vbnAFAHMIi4ZRa4c,34438
librosa/core/spectrum.py,sha256=UdZwD7UVw4DhCUIjyW95UpVok5Ti0oN4IaaHh-7SF7c,100040
librosa/decompose.py,sha256=XD04lY1bN4WpqhtxRqeHDInwp3nIjNcrD3PHhYwwEUI,20672
librosa/display.py,sha256=E0TlBs1JL4RnaJhVdz8ebJ9ULiDQOQPV6XwOV2nBpNY,65536
librosa/effects.py,sha256=pdimdjjhkXCVMLzzvv8v8KCWR_4lqd_SR3DGQ70Ft7c,27901
librosa/feature/__init__.py,sha256=tyjItZwCB1YC-aAJc3a_anymmfWCKFuiVSYX0jbx5HQ,968
librosa/feature/__init__.pyi,sha256=5-Ytgcgtd6r58QrutTgYO2BaTqSq1XyNnEMLfjtlHzk,824
librosa/feature/__pycache__/__init__.cpython-312.pyc,,
librosa/feature/__pycache__/inverse.cpython-312.pyc,,
librosa/feature/__pycache__/rhythm.cpython-312.pyc,,
librosa/feature/__pycache__/spectral.cpython-312.pyc,,
librosa/feature/__pycache__/utils.cpython-312.pyc,,
librosa/feature/inverse.py,sha256=iY1WqZXl4nk_pyykL8Iflje3bxRO79rn8hTPXDcE5Mo,13183
librosa/feature/rhythm.py,sha256=58sl-Tr3x65gNKVEIn1IeLWUxj4nFWfl0QV7Yauggcg,24389
librosa/feature/spectral.py,sha256=zW9qAwTqtWl_eGd9qkVmhMhfDzH7gOrJ12xDTCamwxQ,76549
librosa/feature/utils.py,sha256=E1xqtOoQs0reTYUUYxh0LoM9pcnbmO3suPjy7Fj7CJY,9929
librosa/filters.py,sha256=3ykUqyJipbcuWdujIONfuTSgglwxTEiiVCrejCMRbE4,51205
librosa/onset.py,sha256=89eY6j_nwqUzmRwSQ2rpCX4ttYCkztuVCVYPVLPHBCc,21517
librosa/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
librosa/segment.py,sha256=tn8_kCSkYGO37FWLhvQ9eslXhRkqncTt0Ww9xcQKV0I,50865
librosa/sequence.py,sha256=ElOhQnYwUGkohzyC0Arg_fGmo1unZTJS07rY8tNwUuY,69164
librosa/util/__init__.py,sha256=jj2g-VIA2g8JRJgxVmc7O_-NcfzZ-l91zXcqcqteGlQ,1157
librosa/util/__init__.pyi,sha256=vHaZhHhmI-3LMFNpQCIEsngMrRdHTLQD5jUJkFAThb8,1387
librosa/util/__pycache__/__init__.cpython-312.pyc,,
librosa/util/__pycache__/_nnls.cpython-312.pyc,,
librosa/util/__pycache__/decorators.cpython-312.pyc,,
librosa/util/__pycache__/deprecation.cpython-312.pyc,,
librosa/util/__pycache__/exceptions.cpython-312.pyc,,
librosa/util/__pycache__/files.cpython-312.pyc,,
librosa/util/__pycache__/matching.cpython-312.pyc,,
librosa/util/__pycache__/utils.cpython-312.pyc,,
librosa/util/_nnls.py,sha256=Y7ycZj4V7es3Bj6a5mz21xK61Sxu3xpaS9Q3YSmW_CM,5299
librosa/util/decorators.py,sha256=3eDEndaQvNbmG6VGAAV5j9TQacJ3l8FSQGt7kOT7k1s,3148
librosa/util/deprecation.py,sha256=jqv1gqehQhHN2RumSKOc6GMKfrE-cmWpWCbNpk0inmo,1688
librosa/util/example_data/__init__.py,sha256=HASdrkXmPFXQ2mdYE86CyitOxzhwRhSSoKY5aAkQR08,41
librosa/util/example_data/__pycache__/__init__.cpython-312.pyc,,
librosa/util/example_data/index.json,sha256=BNVzOW-7CPdFevd_YrOlbeBb7u1lkCqRunX9WnCd0Wo,1573
librosa/util/example_data/registry.txt,sha256=-67o9woZtUtSJ4K7U5_52ZgEaEfobpSl4Rtj-nrt5iM,4449
librosa/util/exceptions.py,sha256=MKGu3nKaf7abl0nELq2f4_KH_lvTwBe4jKXDBKgqWZw,266
librosa/util/files.py,sha256=5qhamBgboE5UOr6cGgayLiQ_Wo1GelVekxeLGF1KQrA,9455
librosa/util/matching.py,sha256=F8OrdZh5t1fgakiQiV8E5iu3P2FdogY3-aLd8ASxI-Q,12511
librosa/util/utils.py,sha256=iw8teeLiZRn1LCBuUSTny08_GGY1AenXUxFtaOuagUA,76466
librosa/version.py,sha256=H7KOyTvrFDF4mbc6zIueSOtp8OhWW_mBNafkA2xZj0Y,1601

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: setuptools (76.0.0)
Root-Is-Purelib: true
Tag: py3-none-any