From: Lilah Tascheter via Guix-patches via <guix-patches@gnu.org>
To: 58208@debbugs.gnu.org
Cc: Lilah Tascheter <lilah@lunabee.space>, ludo@gnu.org
Subject: [bug#58208] [PATCH 7/7] gnu: Add nnls-chroma.
Date: Fri, 30 Sep 2022 19:22:40 -0500 [thread overview]
Message-ID: <9ffc498b9fcafdacf9625c2215b617537211ccb9.1664583143.git.lilah@lunabee.space> (raw)
In-Reply-To: <cover.1664583143.git.lilah@lunabee.space>
* gnu/packages/audio.scm (nnls-chroma): New variable.
---
gnu/packages/audio.scm | 43 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 198e3cb7e8..c9a7829236 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5942,6 +5942,49 @@ (define-public vamp-aubio-plugins
(home-page "https://aubio.org/vamp-aubio-plugins/")
(license license:gpl3+)))
+(define-public nnls-chroma
+ (package
+ (name "nnls-chroma")
+ (version "1.1")
+ (source (origin
+ (method url-fetch)
+ ;; These urls have an "attachment number" :/ which makes this url
+ ;; not generalizable across versions.
+ (uri (string-append
+ "https://code.soundsoftware.ac.uk/attachments/download/"
+ "1691/nnls-chroma-1.1.tar.gz"))
+ (sha256
+ (base32
+ "06n66ff4w4a07rfz1kn0hq2g953dsx8a4cx1bhpvswqds1kb70md"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ;; no tests available
+ #:make-flags
+ (list "-f" "Makefile.linux"
+ (string-append "CC=" ,(cc-for-target))
+ (string-append "VAMP_SDK_DIR=" (assoc-ref %build-inputs "vamp")
+ "/include/vamp-sdk"))
+ #:phases
+ ,#~(modify-phases %standard-phases
+ (delete 'configure) ;; no configure phase
+ (replace 'install ;; no install phase
+ (lambda _
+ (let ((outdir (string-append #$output "/lib/vamp"))
+ (outfile "nnls-chroma.so"))
+ (mkdir-p outdir)
+ (copy-file outfile (string-append outdir "/" outfile))))))))
+ (inputs (list boost vamp))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "VAMP_PATH")
+ (files '("lib/vamp")))))
+ (synopsis "VAMP plugins for audio transcription")
+ (description "A set of three VAMP plugins used for audio transcription: NNLS
+Chroma, providing chromatic transcription, Chordino, providing chord
+transcription, and Tuning, which estimates local and global tuning.")
+ (home-page "http://www.isophonics.net/nnls-chroma/")
+ (license license:gpl2+)))
+
(define-public sonic-visualiser
(package
(name "sonic-visualiser")
--
2.37.2
next prev parent reply other threads:[~2022-10-01 0:26 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-01 0:19 [bug#58208] [PATCH 0/7] Add Sonic Visualiser and VAMP plugins Lilah Tascheter via Guix-patches via
2022-10-01 0:22 ` [bug#58208] [PATCH 1/7] gnu: Add oggz Lilah Tascheter via Guix-patches via
2022-10-27 18:48 ` ( via Guix-patches via
2022-10-01 0:22 ` [bug#58208] [PATCH 2/7] gnu: libkate: Add optional input oggz Lilah Tascheter via Guix-patches via
2022-10-27 18:52 ` ( via Guix-patches via
2022-10-01 0:22 ` [bug#58208] [PATCH 3/7] gnu: Add libfishsound Lilah Tascheter via Guix-patches via
2022-10-27 18:53 ` ( via Guix-patches via
2022-10-01 0:22 ` [bug#58208] [PATCH 4/7] gnu: Add sonic-visualiser Lilah Tascheter via Guix-patches via
2022-10-27 18:57 ` ( via Guix-patches via
2022-10-01 0:22 ` [bug#58208] [PATCH 5/7] gnu: Add VAMP plugins to VAMP_PATH Lilah Tascheter via Guix-patches via
2022-10-27 18:59 ` ( via Guix-patches via
2022-10-01 0:22 ` [bug#58208] [PATCH 6/7] gnu: Add vamp-aubio-plugins Lilah Tascheter via Guix-patches via
2022-10-27 19:05 ` ( via Guix-patches via
2022-10-27 19:12 ` ( via Guix-patches via
2022-10-01 0:22 ` Lilah Tascheter via Guix-patches via [this message]
2022-10-27 19:11 ` [bug#58208] [PATCH 7/7] gnu: Add nnls-chroma ( via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 0/9] Add Sonic Visualiser and VAMP plugins Lilah Tascheter via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 1/9] gnu: Add oggz Lilah Tascheter via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 2/9] gnu: libkate: Add optional input oggz Lilah Tascheter via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 3/9] gnu: Add libfishsound Lilah Tascheter via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 4/9] gnu: Add rubberband-next Lilah Tascheter via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 5/9] gnu: Update vamp Lilah Tascheter via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 6/9] gnu: Add sonic-visualiser Lilah Tascheter via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 7/9] gnu: Register VAMP_PATH with host Lilah Tascheter via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 8/9] gnu: Add vamp-aubio-plugins Lilah Tascheter via Guix-patches via
2023-06-02 5:56 ` [bug#58208] [PATCH v2 9/9] gnu: Add nnls-chroma Lilah Tascheter via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9ffc498b9fcafdacf9625c2215b617537211ccb9.1664583143.git.lilah@lunabee.space \
--to=guix-patches@gnu.org \
--cc=58208@debbugs.gnu.org \
--cc=lilah@lunabee.space \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).