diff options
author | jgart <jgart@dismail.de> | 2021-11-30 13:00:00 -0500 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-12-26 19:11:41 +0100 |
commit | 2f0107d8a23cce8fb1074c85e4234e50f00ecf3a (patch) | |
tree | b2ef0a85ddcd66d391e02ba7ae5a3630775afde1 /gnu/packages | |
parent | b615790a5ff41ab173781f98ec796f81a972a11e (diff) | |
download | guix-2f0107d8a23cce8fb1074c85e4234e50f00ecf3a.tar.gz |
gnu: Add python-librosa.
* gnu/packages/audio.scm (python-librosa): New variable. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/audio.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index bf647eabaf..82e9e7ae0f 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -91,6 +91,7 @@ #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) + #:use-module (gnu packages machine-learning) #:use-module (gnu packages man) #:use-module (gnu packages maths) #:use-module (gnu packages mp3) ;taglib @@ -5481,6 +5482,41 @@ method for sampling rate conversion as described by Julius O. Smith at the Home Page}.") (license license:isc))) +(define-public python-librosa + (package + (name "python-librosa") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "librosa" version)) + (sha256 + (base32 "1cx6rhcvak0hy6bx84jwzpxmwgi92m82w77279akwjmfd3khagf5")))) + (build-system python-build-system) + (arguments + ;; Tests require internet connection to download MATLAB scripts for + ;; generating the testing data. + `(#:tests? #f)) + (propagated-inputs + (list python-audioread + python-decorator + python-joblib + python-numba + python-numpy + python-packaging + python-pooch + python-resampy + python-scikit-learn + python-scipy + python-soundfile)) + (home-page "https://librosa.org") + (synopsis "Python module for audio and music processing") + (description + "@code{librosa} is a python package for music and audio analysis. It +provides the building blocks necessary to create music information retrieval +systems.") + (license license:isc))) + (define-public mda-lv2 (package (name "mda-lv2") |