GNU bug report logs -
#52203
[PATCH 1/2] Add python-librosa
Previous Next
Reported by: jgart <jgart <at> dismail.de>
Date: Tue, 30 Nov 2021 17:54:01 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52203 in the body.
You can then email your comments to 52203 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#52203
; Package
guix-patches
.
(Tue, 30 Nov 2021 17:54:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jgart <jgart <at> dismail.de>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 30 Nov 2021 17:54:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guixers,
Here is a patchset for librosa, a python library for music and audio analysis.
https://librosa.org/
all best,
jgart
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52203
; Package
guix-patches
.
(Tue, 30 Nov 2021 18:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 52203 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/audio.scm (python-resampy): New variable.
---
gnu/packages/audio.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 694ea1a21b..cc484c0b67 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -102,6 +102,7 @@ (define-module (gnu packages audio)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages rdf)
@@ -5588,6 +5589,47 @@ (define-public python-pysox
is silent, and much more.")
(license license:bsd-3))))
+(define-public python-resampy
+ (package
+ (name "python-resampy")
+ (version "0.2.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ ;; PyPi does not include tests.
+ (url "https://github.com/bmcfee/resampy")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "tests")))))))
+ (propagated-inputs
+ `(("python-numba" ,python-numba)
+ ("python-numpy" ,python-numpy)
+ ("python-scipy" ,python-scipy)
+ ("python-six" ,python-six)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (home-page "https://github.com/bmcfee/resampy")
+ (synopsis "Efficient signal resampling")
+ (description
+"@code{python-resampy} implements the band-limited sinc interpolation
+method for sampling rate conversion as described by Julius O. Smith at the
+@url{https://ccrma.stanford.edu/~jos/resample/, Digital Audio Resampling
+Home Page}.")
+ (license license:isc)))
+
(define-public mda-lv2
(package
(name "mda-lv2")
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52203
; Package
guix-patches
.
(Tue, 30 Nov 2021 18:01:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 52203 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/audio.scm (python-librosa): New variable.
---
gnu/packages/audio.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index cc484c0b67..b91b97f47e 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -90,6 +90,7 @@ (define-module (gnu packages audio)
#: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
@@ -5630,6 +5631,39 @@ (define-public python-resampy
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
+ `(("python-audioread" ,python-audioread)
+ ("python-decorator" ,python-decorator)
+ ("python-joblib" ,python-joblib)
+ ("python-numba" ,python-numba)
+ ("python-numpy" ,python-numpy)
+ ("python-packaging" ,python-packaging)
+ ("python-pooch" ,python-pooch)
+ ("python-resampy" ,python-resampy)
+ ("python-scikit-learn" ,python-scikit-learn)
+ ("python-scipy" ,python-scipy)
+ ("python-soundfile" ,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.")
+ (license license:isc)))
+
(define-public mda-lv2
(package
(name "mda-lv2")
--
2.34.0
Reply sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
You have taken responsibility.
(Sun, 26 Dec 2021 18:15:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
jgart <jgart <at> dismail.de>
:
bug acknowledged by developer.
(Sun, 26 Dec 2021 18:15:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 52203-done <at> debbugs.gnu.org (full text, mbox):
Hello,
> Here is a patchset for librosa, a python library for music and audio analysis.
Pushed with various cosmetic fixes.
Thanks,
Mathieu
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 24 Jan 2022 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.