1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014, 2019 Eric Bavier <bavier@member.fsf.org>
3 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
4 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
5 ;;; Copyright © 2016 Al McElrath <hello@yrns.org>
6 ;;; Copyright © 2016, 2017, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
7 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
8 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
9 ;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
10 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
11 ;;; Copyright © 2017 nikita <nikita@n0.is>
12 ;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org>
13 ;;; Copyright © 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
14 ;;; Copyright © 2017, 2018, 2019, 2021 Pierre Langlois <pierre.langlois@gmx.com>
15 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
16 ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
17 ;;; Copyright © 2018 nee <nee.git@hidamari.blue>
18 ;;; Copyright © 2018, 2021 Stefan Reichör <stefan@xsteve.at>
19 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
20 ;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
21 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
22 ;;; Copyright © 2019 Gabriel Hondet <gabrielhondet@gmail.com>
23 ;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
24 ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
25 ;;; Copyright © 2019 raingloom <raingloom@protonmail.com>
26 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
27 ;;; Copyright © 2019, 2020, 2021 Alexandros Theodotou <alex@zrythm.org>
28 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
29 ;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
30 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
31 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
32 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
33 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
34 ;;; Copyright © 2019 Riku Viitanen <riku.viitanen0@gmail.com>
35 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
36 ;;; Copyright © 2021 Leo Prikler <leo.prikler@student.tugraz.at>
37 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
38 ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
39 ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
40 ;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
41 ;;; Copyright © 2021 Rovanion Luckey <rovanion.luckey@gmail.com>
42 ;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
44 ;;; This file is part of GNU Guix.
46 ;;; GNU Guix is free software; you can redistribute it and/or modify it
47 ;;; under the terms of the GNU General Public License as published by
48 ;;; the Free Software Foundation; either version 3 of the License, or (at
49 ;;; your option) any later version.
51 ;;; GNU Guix is distributed in the hope that it will be useful, but
52 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
53 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
54 ;;; GNU General Public License for more details.
56 ;;; You should have received a copy of the GNU General Public License
57 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
59 (define-module (gnu packages music)
60 #:use-module (guix utils)
61 #:use-module (guix packages)
62 #:use-module (guix download)
63 #:use-module (guix git-download)
64 #:use-module ((guix licenses) #:prefix license:)
65 #:use-module (guix build-system gnu)
66 #:use-module (guix build-system ant)
67 #:use-module (guix build-system cmake)
68 #:use-module (guix build-system meson)
69 #:use-module (guix build-system perl)
70 #:use-module (guix build-system python)
71 #:use-module (guix build-system scons)
72 #:use-module (guix build-system glib-or-gtk)
73 #:use-module (guix build-system qt)
74 #:use-module (guix build-system waf)
75 #:use-module (guix build-system trivial)
76 #:use-module (guix build-system go)
77 #:use-module (guix build-system qt)
78 #:use-module (gnu packages)
79 #:use-module (gnu packages admin)
80 #:use-module (gnu packages algebra)
81 #:use-module (gnu packages apr)
82 #:use-module (gnu packages audio)
83 #:use-module (gnu packages autotools)
84 #:use-module (gnu packages backup)
85 #:use-module (gnu packages base) ;libbdf
86 #:use-module (gnu packages bash)
87 #:use-module (gnu packages bison)
88 #:use-module (gnu packages boost)
89 #:use-module (gnu packages build-tools)
90 #:use-module (gnu packages cdrom)
91 #:use-module (gnu packages code)
92 #:use-module (gnu packages check)
93 #:use-module (gnu packages cmake)
94 #:use-module (gnu packages compression)
95 #:use-module (gnu packages cpp)
96 #:use-module (gnu packages crypto)
97 #:use-module (gnu packages curl)
98 #:use-module (gnu packages cyrus-sasl)
99 #:use-module (gnu packages datastructures)
100 #:use-module (gnu packages docbook)
101 #:use-module (gnu packages documentation)
102 #:use-module (gnu packages emacs)
103 #:use-module (gnu packages file)
104 #:use-module (gnu packages flex)
105 #:use-module (gnu packages fltk)
106 #:use-module (gnu packages fonts)
107 #:use-module (gnu packages fontutils)
108 #:use-module (gnu packages freedesktop)
109 #:use-module (gnu packages game-development)
110 #:use-module (gnu packages gcc)
111 #:use-module (gnu packages gnupg)
112 #:use-module (gnu packages gettext)
113 #:use-module (gnu packages ghostscript)
114 #:use-module (gnu packages gl)
115 #:use-module (gnu packages glib)
116 #:use-module (gnu packages gnome)
117 #:use-module (gnu packages gpodder)
118 #:use-module (gnu packages graphics)
119 #:use-module (gnu packages graphviz)
120 #:use-module (gnu packages gstreamer)
121 #:use-module (gnu packages gtk)
122 #:use-module (gnu packages guile)
123 #:use-module (gnu packages haskell)
124 #:use-module (gnu packages image)
125 #:use-module (gnu packages imagemagick)
126 #:use-module (gnu packages java)
127 #:use-module (gnu packages libffi)
128 #:use-module (gnu packages libusb)
129 #:use-module (gnu packages linux) ; for alsa-utils
130 #:use-module (gnu packages lirc)
131 #:use-module (gnu packages llvm)
132 #:use-module (gnu packages man)
133 #:use-module (gnu packages mp3)
134 #:use-module (gnu packages mpd)
135 #:use-module (gnu packages ncurses)
136 #:use-module (gnu packages netpbm)
137 #:use-module (gnu packages pcre)
138 #:use-module (gnu packages pdf)
139 #:use-module (gnu packages perl)
140 #:use-module (gnu packages perl-web)
141 #:use-module (gnu packages pkg-config)
142 #:use-module (gnu packages protobuf)
143 #:use-module (gnu packages pulseaudio) ;libsndfile
144 #:use-module (gnu packages python)
145 #:use-module (gnu packages python-check)
146 #:use-module (gnu packages python-web)
147 #:use-module (gnu packages python-xyz)
148 #:use-module (gnu packages qt)
149 #:use-module (gnu packages rdf)
150 #:use-module (gnu packages readline)
151 #:use-module (gnu packages rsync)
152 #:use-module (gnu packages sdl)
153 #:use-module (gnu packages sphinx)
154 #:use-module (gnu packages sqlite)
155 #:use-module (gnu packages stb)
156 #:use-module (gnu packages tcl)
157 #:use-module (gnu packages texinfo)
158 #:use-module (gnu packages tex)
159 #:use-module (gnu packages time)
160 #:use-module (gnu packages tls)
161 #:use-module (gnu packages version-control)
162 #:use-module (gnu packages video)
163 #:use-module (gnu packages vim) ;for 'xxd'
164 #:use-module (gnu packages web)
165 #:use-module (gnu packages webkit)
166 #:use-module (gnu packages wxwidgets)
167 #:use-module (gnu packages xdisorg)
168 #:use-module (gnu packages xml)
169 #:use-module (gnu packages xorg)
170 #:use-module (gnu packages xiph)
171 #:use-module (gnu packages golang)
172 #:use-module (gnu packages lua)
173 #:use-module ((srfi srfi-1) #:select (last)))
175 (define-public audacious
182 (uri (string-append "https://distfiles.audacious-media-player.org/"
183 "audacious-" version ".tar.bz2"))
185 (base32 "028zjgz0p7ys15lk2a30m5zcv9xrx3ga50wjsh4m4zxilgkakbji"))))
186 (build-system gnu-build-system)
189 (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
190 #:tests? #f ; no check target
192 (modify-phases %standard-phases
193 (add-after 'install 'unpack-plugins
194 (lambda* (#:key inputs #:allow-other-keys)
195 (let ((plugins (assoc-ref inputs "audacious-plugins")))
196 (invoke "tar" "xvf" plugins)
198 (add-after 'unpack-plugins 'configure-plugins
199 (lambda* (#:key configure-flags outputs #:allow-other-keys)
200 (let ((out (assoc-ref outputs "out")))
201 (with-directory-excursion
202 (string-append "audacious-plugins-" ,version)
203 (substitute* "configure"
204 (("/bin/sh") (which "sh")))
205 (apply invoke "./configure"
206 (append configure-flags
207 ;; audacious-plugins requires audacious to build.
208 (list (string-append "PKG_CONFIG_PATH="
209 out "/lib/pkgconfig:"
210 (getenv "PKG_CONFIG_PATH"))
211 (string-append "--prefix=" out))))))))
212 (add-after 'configure-plugins 'build-plugins
214 (with-directory-excursion
215 (string-append "audacious-plugins-" ,version)
216 (invoke "make" "-j" (number->string (parallel-job-count))))))
217 (add-after 'build-plugins 'install-plugins
219 (with-directory-excursion
220 (string-append "audacious-plugins-" ,version)
221 (invoke "make" "install")))))))
223 `(("audacious-plugins"
226 (uri (string-append "https://distfiles.audacious-media-player.org/"
227 "audacious-plugins-" version ".tar.bz2"))
229 (base32 "0ny5w1agr9jaz5w3wyyxf1ygmzmd1sivaf97lcm4z4w6529520lz"))))
230 ("gettext" ,gettext-minimal)
231 ("glib:bin" ,glib "bin") ; for gdbus-codegen
232 ("pkg-config" ,pkg-config)))
236 ("qtmultimedia" ,qtmultimedia)
237 ;; Plugin dependencies
238 ("alsa-lib" ,alsa-lib)
243 ("fluidsynth" ,fluidsynth)
247 ("libcdio-paranoia" ,libcdio-paranoia)
249 ("libmodplug" ,libmodplug)
250 ("libnotify" ,libnotify)
252 ("libsamplerate" ,libsamplerate)
253 ("libsndfile" ,libsndfile)
254 ("libvorbis" ,libvorbis)
255 ("libxcomposite" ,libxcomposite)
257 ("libxrender" ,libxrender)
263 ("pulseaudio" ,pulseaudio)
266 ("wavpack" ,wavpack)))
267 (home-page "https://audacious-media-player.org")
268 (synopsis "Modular and skinnable audio player")
270 "Audacious is an audio player descended from XMMS. Drag and drop
271 folders and individual song files, search for artists and albums in
272 your entire music library, or create and edit your own custom
273 playlists. Listen to CD’s or stream music from the Internet. Tweak
274 the sound with the graphical equalizer or experiment with LADSPA
275 effects. Enjoy the modern GTK-themed interface or change things up
276 with Winamp Classic skins. Use the plugins included with Audacious to
277 fetch lyrics for your music, to set an alarm in the morning, and
279 ;; According to COPYING, Audacious and its plugins are licensed
280 ;; under the BSD 2-clause license and libguess is licensed under
281 ;; the BSD 3-clause license.
282 (license (list license:bsd-2
284 ;; Plugin licenses that aren't BSD 2- or 3-clause.
292 (define-public aria-maestosa
294 (name "aria-maestosa")
298 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
299 version "/AriaSrc-" version ".tar.bz2"))
302 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
303 (build-system scons-build-system)
305 `(#:tests? #f ;no tests
307 (list (string-append "prefix=" (assoc-ref %outputs "out")))
308 #:scons ,scons-python2
310 (modify-phases %standard-phases
312 (add-after 'unpack 'scons-propagate-environment
314 ;; By design, SCons does not, by default, propagate
315 ;; environment variables to subprocesses. See:
316 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
317 ;; Here, we modify the SConstruct file to arrange for
318 ;; environment variables to be propagated.
319 (substitute* "SConstruct"
320 (("env = Environment\\(\\)")
321 "env = Environment(ENV=os.environ)")
322 ;; Scons errors out when copying subdirectories from Resources,
323 ;; so we move them instead.
325 ;; We move the "score" and "Documentation" directories at once,
326 ;; so we have to ignore files contained therein.
327 (("if \".svn\" in file" line)
329 " or \"score/\" in file"
330 " or \"Documentation/\" in file")))
332 (add-after 'install 'fix-directory-permissions
333 (lambda* (#:key outputs #:allow-other-keys)
334 (let ((out (assoc-ref outputs "out")))
335 (chmod (string-append out "/share/Aria/Documentation") #o555)
336 (chmod (string-append out "/share/Aria/score") #o555)
339 `(("wxwidgets" ,wxwidgets)
341 ("alsa-lib" ,alsa-lib)))
343 `(("pkg-config" ,pkg-config)))
344 (home-page "http://ariamaestosa.sourceforge.net/")
345 (synopsis "MIDI sequencer and editor")
347 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
348 and play MIDI files with a few clicks in a user-friendly interface offering
349 score, keyboard, guitar, drum and controller views.")
350 (license license:gpl3+)))
352 (define-public clementine
355 (version "1.4.0rc1-450-g2725ef99d")
359 (url "https://github.com/clementine-player/Clementine")
361 (file-name (git-file-name name version))
364 "1pcwwi9b2qcfjn748577gqx6d1hgg7cisw2dn43npwafdvvkdb90"))
365 (modules '((guix build utils)
369 (use-modules ((ice-9 regex)))
372 ;; TODO: The following dependencies are still bundled:
373 ;; - "qxt": Appears to be unmaintained upstream.
375 ;; - "qtsingleapplication"
377 ;; - "qtiocompressor"
378 (let ((bundled '("qsqlite"
379 "qtsingleapplication"
385 (string-append ".?*(" (string-join bundled "|") ")")
387 (delete-file-recursively dir))))
388 (find-files "3rdparty"
390 (string-match "^3rdparty/[^/]*$" file))
393 (build-system cmake-build-system)
395 '(#:test-target "clementine_test"
397 (list ;; Requires unpackaged "projectm"
398 "-DENABLE_VISUALISATIONS=OFF"
399 ;; Otherwise it may try to download a non-free library at run-time.
400 ;; TODO In an origin snippet, remove the code that performs the
402 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
403 ;; Clementine checks that the taglib version is higher than 1.11,
404 ;; because of https://github.com/taglib/taglib/issues/864. Remove
405 ;; this flag when 1.12 is released.
406 "-DUSE_SYSTEM_TAGLIB=TRUE")
408 (modify-phases %standard-phases
409 (add-after 'install 'wrap-program
410 (lambda* (#:key inputs outputs #:allow-other-keys)
411 (let ((out (assoc-ref outputs "out"))
412 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
413 (wrap-program (string-append out "/bin/clementine")
414 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
417 `(("gettext" ,gettext-minimal)
418 ("googletest" ,googletest)
419 ("pkg-config" ,pkg-config)
420 ("qtlinguist" ,qttools)))
423 ("chromaprint" ,chromaprint)
427 ("gstreamer" ,gstreamer)
428 ("gst-plugins-base" ,gst-plugins-base)
429 ("gst-plugins-good" ,gst-plugins-good)
430 ("gst-libav" ,gst-libav)
432 ("libmygpo-qt" ,libmygpo-qt)
433 ;; TODO: Package libgpod.
436 ("protobuf" ,protobuf)
437 ("pulseaudio" ,pulseaudio)
439 ("qtx11extras" ,qtx11extras)
441 ("sparsehash" ,sparsehash)
443 (home-page "https://clementine-player.org")
444 (synopsis "Music player and library organizer")
445 (description "Clementine is a multiplatform music player. It is inspired
446 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
447 playing your music.")
449 ;; clementine and qtiocompressor are under GPLv3.
451 ;; qxt is under CPL1.0.
453 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
455 ;; qocoa is under MIT and CC by-sa for the icons.
456 license:cc-by-sa3.0))))
458 (define-public strawberry
465 (url "https://github.com/strawberrymusicplayer/strawberry")
467 (file-name (git-file-name name version))
470 "0lby5zi66i08s0mcygja8l3rbd97inhaxqbhahj8lfxs52r4grrq"))
471 (modules '((guix build utils)
475 (use-modules ((ice-9 regex)))
478 ;; TODO: The following dependencies are still bundled:
479 ;; - "singleapplication"
480 (let ((bundled '("singleapplication")))
483 (string-append ".?*(" (string-join bundled "|") ")")
485 (delete-file-recursively dir))))
486 (find-files "3rdparty"
488 (string-match "^3rdparty/[^/]*$" file))
491 (build-system cmake-build-system)
493 `(#:test-target "run_strawberry_tests"
495 (modify-phases %standard-phases
496 (add-after 'install 'wrap-program
497 (lambda* (#:key inputs outputs #:allow-other-keys)
498 (let ((out (assoc-ref outputs "out"))
499 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
500 (wrap-program (string-append out "/bin/strawberry")
501 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
503 (add-before 'check 'pre-check
504 (lambda* (#:key inputs #:allow-other-keys)
505 (let ((xorg-server (assoc-ref inputs "xorg-server")))
506 (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
507 (setenv "DISPLAY" ":1")
508 (setenv "HOME" (getcwd))
511 `(("gettext" ,gettext-minimal)
512 ("googletest" ,googletest)
513 ("pkg-config" ,pkg-config)
514 ("qtlinguist" ,qttools)
515 ("xorg-server" ,xorg-server-for-tests)))
517 `(("alsa-lib" ,alsa-lib)
519 ("chromaprint" ,chromaprint)
524 ("gstreamer" ,gstreamer)
525 ("gst-plugins-base" ,gst-plugins-base)
526 ("gst-plugins-good" ,gst-plugins-good)
529 ("protobuf" ,protobuf)
530 ("pulseaudio" ,pulseaudio)
532 ("qtx11extras" ,qtx11extras)
535 (home-page "https://www.strawberrymusicplayer.org/")
536 (synopsis "Music player and library organizer")
537 (description "Strawberry is a music player and music collection organizer.
538 It is a fork of Clementine aimed at music collectors and audiophiles.")
545 license:cc-by-sa3.0))))
554 (url "https://github.com/cmus/cmus")
555 (commit (string-append "v" version))))
556 (file-name (git-file-name name version))
559 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
560 (build-system gnu-build-system)
562 `(#:tests? #f ; cmus does not include tests
564 (modify-phases %standard-phases
566 (lambda* (#:key outputs #:allow-other-keys)
567 (let ((out (assoc-ref outputs "out")))
568 ;; It's an idiosyncratic configure script that doesn't
569 ;; understand --prefix=..; it wants prefix=.. instead.
570 (invoke "./configure"
571 (string-append "prefix=" out))
573 ;; TODO: cmus optionally supports the following formats, which haven't yet
574 ;; been added to Guix:
578 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
579 ;; Guix. See <http://sourceforge.net/projects/discid/>
581 `(("pkg-config" ,pkg-config)))
583 `(("alsa-lib" ,alsa-lib)
590 ("libcdio-paranoia" ,libcdio-paranoia)
593 ("libmodplug" ,libmodplug)
594 ("libmpcdec" ,libmpcdec)
595 ("libsamplerate" ,libsamplerate)
596 ("libvorbis" ,libvorbis)
598 ("opusfile" ,opusfile)
599 ("pulseaudio" ,pulseaudio)
600 ("wavpack" ,wavpack)))
601 (home-page "https://cmus.github.io/")
602 (synopsis "Small console music player")
603 (description "Cmus is a small and fast console music player. It supports
604 many input formats and provides a customisable Vi-style user interface.")
605 (license license:gpl2+)))
607 (define-public denemo
614 (uri (string-append "mirror://gnu/denemo/denemo-" version ".tar.gz"))
616 (base32 "05kwy8894hsxr6123hc854j2qq2sxyjw721zk4g3vzz8pw29p887"))))
617 (build-system gnu-build-system)
620 (modify-phases %standard-phases
622 (lambda* (#:key inputs #:allow-other-keys)
623 ;; Tests require to write $HOME.
624 (setenv "HOME" (getcwd))
625 ;; Replace hard-coded diff file name.
626 (substitute* "tests/integration.c"
628 (string-append (assoc-ref inputs "diffutils") "/bin/diff")))
629 ;; Denemo's documentation says to use this command to run its
631 (invoke "make" "-C" "tests" "check")))
632 (add-before 'build 'set-lilypond
633 ;; This phase sets the default path for lilypond to its current
634 ;; location in the store.
635 (lambda* (#:key inputs #:allow-other-keys)
636 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
638 (substitute* "src/core/prefops.c"
639 (("g_string_new \\(\"lilypond\"\\);")
640 (string-append "g_string_new (\""
645 `(("diffutils" ,diffutils)
646 ("glib:bin" ,glib "bin") ; for gtester
648 ("intltool" ,intltool)
650 ("pkg-config" ,pkg-config)))
652 `(("alsa-lib" ,alsa-lib)
656 ("fluidsynth" ,fluidsynth)
659 ("gtksourceview" ,gtksourceview-3)
662 ("libsndfile" ,libsndfile)
664 ("lilypond" ,lilypond)
665 ("portaudio" ,portaudio)
666 ("portmidi" ,portmidi)
667 ("rubberband" ,rubberband)))
668 (synopsis "Graphical music notation, front-end to GNU Lilypond")
670 "GNU Denemo is a music notation editor that provides a convenient
671 interface to the powerful music engraving program Lilypond. Music can be
672 typed in using the computer keyboard, played in using a MIDI keyboard, or
673 even input via a microphone connected to the sound card. The final product
674 is publication-quality music notation that is continuously generated in the
675 background while you work.")
676 (home-page "http://www.denemo.org")
677 (license license:gpl3+)))
687 (url "https://github.com/kode54/dumb")
690 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
691 (file-name (git-file-name name version))))
692 (build-system cmake-build-system)
694 '(#:tests? #f ; no check target
696 (list "-DBUILD_SHARED_LIBS=ON"
697 "-DBUILD_EXAMPLES=OFF")))
698 (home-page "https://github.com/kode54/dumb")
699 (synopsis "Module audio renderer library")
701 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
702 targets maximum accuracy to the original formats, with low-pass resonant filters
703 for the IT files, accurate timing and pitching, and three resampling quality
704 settings (aliasing, linear interpolation and cubic interpolation).")
705 ;; The DUMB license is a bit peculiar.
706 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
707 ;; the first three clauses for genuine consideration.
708 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
709 ;; license, a known free software license.
710 ;; Therefore, the DUMB license may be considered a free software license.
711 (license (license:fsf-free "file://LICENSE"))))
713 (define-public dumb-allegro4
716 (name "dumb-allegro4")
718 (substitute-keyword-arguments (package-arguments dumb)
719 ((#:configure-flags flags)
720 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
722 `(("allegro" ,allegro-4)))))
724 (define-public hydrogen
732 (url "https://github.com/hydrogen-music/hydrogen")
734 (file-name (git-file-name name version))
736 (base32 "0nhn2njs8yyxcijxv5zgymf3211y6anzm0v9kn4vnd8kai7zwxxp"))))
737 (build-system cmake-build-system)
739 `(#:test-target "tests"
741 (modify-phases %standard-phases
742 (add-after 'unpack 'fix-data-directory
743 (lambda* (#:key outputs #:allow-other-keys)
744 (substitute* "CMakeLists.txt"
745 (("/usr/share/pixmaps")
746 (string-append (assoc-ref outputs "out")
750 `(("cppunit" ,cppunit)
751 ("pkg-config" ,pkg-config)
752 ("qtlinguist" ,qttools)))
754 `(("alsa-lib" ,alsa-lib)
756 ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set
758 ("libarchive" ,libarchive)
760 ("libsndfile" ,libsndfile)
762 ("pulseaudio" ,pulseaudio)
764 ("qtxmlpatterns" ,qtxmlpatterns)
766 (home-page "http://www.hydrogen-music.org")
767 (synopsis "Drum machine")
769 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
770 enable professional yet simple and intuitive pattern-based drum programming.")
771 (license license:gpl2+)))
773 (define-public easytag
779 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
783 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
784 (build-system glib-or-gtk-build-system)
786 `(("desktop-file-utils" ,desktop-file-utils)
788 ("intltool" ,intltool)
790 ("pkg-config" ,pkg-config)
791 ("xmllint" ,libxml2)))
796 ("libid3tag" ,libid3tag)
797 ("libvorbis" ,libvorbis)
798 ("opusfile" ,opusfile)
805 (modify-phases %standard-phases
806 (add-before 'configure 'configure-libid3tag
807 (lambda* (#:key inputs #:allow-other-keys)
808 ;; libid3tag does not provide a .pc file and EasyTAG's configure
809 ;; script healivy relies on pkg-config. Providing a temporary
810 ;; local .pc file is easier than patching the configure script.
811 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
812 (mkdir-p "pkgconfig")
814 "pkgconfig/id3tag.pc"
818 libdir=${prefix}/lib~@
819 includedir=${prefix}/include~@
824 Libs: -L${libdir} -lid3tag -lz~@
825 Cflags: -I${includedir}~%"
827 (setenv "PKG_CONFIG_PATH"
828 (string-append (getenv "PKG_CONFIG_PATH")
829 ":" (getcwd) "/pkgconfig"))
831 (add-after 'unpack 'patch-makefile
833 (substitute* "Makefile.in"
834 ;; The Makefile generates a test-desktop-file-validate.sh
835 ;; script with /bin/sh hard-coded.
836 (("/bin/sh") (which "sh"))
837 ;; Don't create 'icon-theme.cache'.
838 (("gtk-update-icon-cache") "true"))
840 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
841 (synopsis "Simple application for viewing and editing tags in audio files")
843 "EasyTAG is an application for viewing and editing tags in audio files.
844 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
845 MusePack, Monkey's Audio, and WavPack files.")
846 (license license:gpl2+)))
848 (define-public extempore
855 (url "https://github.com/digego/extempore")
856 (commit (string-append "v" version))))
859 "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp"))
860 (file-name (git-file-name name version))
861 (patches (search-patches
862 "extempore-unbundle-external-dependencies.patch"))
863 (modules '((guix build utils)))
866 ;; Remove bundled sources.
867 (map delete-file-recursively
871 (build-system cmake-build-system)
873 `(#:configure-flags (list "-DJACK=ON"
875 "-DEXTERNAL_SHLIBS_AUDIO=OFF"
876 "-DEXTERNAL_SHLIBS_GRAPHICS=OFF"
877 "-DCMAKE_BUILD_TYPE=Release"
878 (string-append "-DEXT_SHARE_DIR="
879 (assoc-ref %outputs "out")
881 #:modules ((ice-9 match)
882 (guix build cmake-build-system)
885 (modify-phases %standard-phases
886 (add-after 'build 'build-aot-libs
888 (for-each (lambda (target)
889 (invoke "make" target))
894 (add-after 'unpack 'patch-install-locations
895 (lambda* (#:key outputs #:allow-other-keys)
896 (substitute* "CMakeLists.txt"
897 (("EXT_SHARE_DIR=\"\\.\"\\)")
898 "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")")
899 (("DESTINATION \"\\.\"\\)") "DESTINATION bin)")
900 (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n"))
902 (add-after 'unpack 'patch-directories
903 (lambda* (#:key outputs #:allow-other-keys)
904 (substitute* "extras/extempore.el"
905 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
906 (string-append "(runtime-directory \""
907 (assoc-ref outputs "out")
908 "/share/extempore/runtime"
911 (add-after 'unpack 'link-with-additional-libs
913 ;; The executable must be linked with libffi and zlib.
914 (substitute* "CMakeLists.txt"
915 (("target_link_libraries\\(extempore PRIVATE dl" line)
916 (string-append line " ffi z")))
918 ;; FIXME: All examples that are used as tests segfault for some
920 (add-after 'unpack 'disable-broken-tests
922 (substitute* "CMakeLists.txt"
923 (("extempore_add_example_as_test\\(.*") ""))
925 (add-after 'unpack 'hardcode-external-lib-paths
926 (lambda* (#:key inputs #:allow-other-keys)
927 (use-modules (ice-9 match))
930 ((file-name lib pkg-name)
931 (substitute* (string-append "libs/external/" file-name ".xtm")
932 ((lib) (string-append (assoc-ref inputs pkg-name)
934 '(("assimp" "libassimp.so" "assimp")
935 ("portmidi" "libportmidi.so" "portmidi")
936 ("sndfile" "libsndfile.so" "libsndfile")
937 ("fft" "libkiss_fft.so" "kiss-fft")
938 ("stb_image" "libstb_image.so" "stb-image")
939 ("nanovg" "libnanovg.so" "nanovg")
940 ("glext" "libGL.so" "mesa")
941 ("glfw3" "libglfw.so" "glfw")
942 ("gl/glcore-directbind" "libGL.so" "mesa")
943 ("gl/glcompat-directbind" "libGL.so" "mesa")))
945 (add-after 'unpack 'use-own-llvm
946 (lambda* (#:key inputs #:allow-other-keys)
947 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
948 ;; Our LLVM builds shared libraries, so Extempore should use
950 (substitute* "CMakeLists.txt"
951 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
953 (add-after 'unpack 'fix-aot-compilation
954 (lambda* (#:key outputs #:allow-other-keys)
955 (substitute* "CMakeLists.txt"
956 ;; Extempore needs to be told where the runtime is to be found.
957 ;; While we're at it we disable automatic tuning for a specific
958 ;; CPU to make binary substitution possible.
959 (("COMMAND extempore" prefix)
960 (string-append prefix " --sharedir " (getcwd)
961 " --mcpu=generic --attr=none")))
967 (name "llvm-for-extempore")
971 (uri (string-append "http://extempore.moso.com.au/extras/"
972 "llvm-3.8.0.src-patched-for-extempore.tar.xz"))
975 "1svdl6fxn8l01ni8mpm0bd5h856ahv3h9sdzgmymr6fayckjvqzs"))))))
978 ("libsndfile" ,libsndfile)
982 ,(let ((revision "1")
983 (commit "152a250a702bf28951bb0220d63bc0c99830c498"))
986 (name "stb-image-for-extempore")
987 (version (git-version "0" revision commit))
989 (origin (method git-fetch)
991 (url "https://github.com/extemporelang/stb")
995 "0y0aa20pj9311x2ii06zg8xs34idg14hfgldqc5ymizc6cf1qiqv"))
996 (file-name (git-file-name name version))))
997 (build-system cmake-build-system)
998 (arguments `(#:tests? #f)) ;no tests included
1000 ("kiss-fft" ,kiss-fft-for-extempore)
1001 ("nanovg" ,nanovg-for-extempore)
1003 ,(let ((version "217")
1005 (commit "8602f548f71daf5ef638b2f7d224753400cb2158"))
1008 (name "portmidi-for-extempore")
1009 (version (git-version version revision commit))
1013 (url "https://github.com/extemporelang/portmidi")
1015 (file-name (git-file-name name version))
1018 "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w"))))
1019 (build-system cmake-build-system)
1020 (arguments `(#:tests? #f)) ;no tests
1021 (native-inputs '()))))
1023 ("alsa-lib" ,alsa-lib)
1024 ("portaudio" ,portaudio)
1030 ("emacs" ,emacs-no-x)))
1031 ;; Extempore refuses to build on architectures other than x86_64
1032 (supported-systems '("x86_64-linux"))
1033 (home-page "https://github.com/digego/extempore")
1034 (synopsis "Programming environment for live coding of multimedia")
1036 "Extempore is a programming language and runtime environment designed
1037 with live programming in mind. It supports interactive programming in a REPL
1038 style, compiling and binding code just-in-time. Although Extempore has its
1039 roots in 'live coding' of audiovisual media art, it is suitable for any task
1040 domain where dynamic run-time modifiability and good numerical performance are
1041 required. Extempore also has strong timing and concurrency semantics, which
1042 are helpful when working in problem spaces where timing is important (such as
1044 (license license:bsd-2)))
1046 (define-public fluida-lv2
1055 (url "https://github.com/brummer10/Fluida.lv2")
1056 (commit (string-append "v" version))
1057 (recursive? #t))) ; references specific commit of libxputty
1058 (file-name (git-file-name name version))
1061 "1v0bh4wcx79y832qigc3my8ixq0r4ica6z5fg2rg946pkh20x1a2"))))
1062 (build-system gnu-build-system)
1064 `(#:tests? #f ; no "check" target
1066 (list (string-append "INSTALL_DIR="
1067 (assoc-ref %outputs "out") "/lib/lv2")
1070 (modify-phases %standard-phases
1071 (delete 'configure))))
1076 ("fluidsynth" ,fluidsynth)))
1078 `(("pkg-config" ,pkg-config)))
1079 (home-page "https://github.com/brummer10/Fluida.lv2")
1080 (synopsis "Fluidsynth as an LV2 audio plugin")
1081 (description "Fluida is an audio plugin in the LV2 format that acts as
1082 a frontend for fluidsynth.")
1083 (license license:gpl2+)))
1085 (define-public surge-synth
1087 (name "surge-synth")
1093 (url "https://github.com/surge-synthesizer/surge")
1094 (commit (string-append "release_" version))
1095 (recursive? #t))) ; build system expects modules to be there
1096 (file-name (git-file-name name version))
1099 "1jhk8iaqh89dnci4446b47315v2lc8gclraygk8m9jl20zpjxl0l"))))
1100 (build-system cmake-build-system)
1102 `(#:tests? #f ; no tests included
1104 (modify-phases %standard-phases
1105 (add-after 'unpack 'replace-python
1106 (lambda* (#:key inputs outputs #:allow-other-keys)
1107 (substitute* "CMakeLists.txt"
1109 (string-append " " (assoc-ref inputs "python")
1112 (add-after 'unpack 'fix-data-directory-name
1113 (lambda* (#:key inputs outputs #:allow-other-keys)
1114 (substitute* "src/common/SurgeStorage.cpp"
1115 (("/usr") (assoc-ref outputs "out")))
1117 (replace 'install ; no install target
1118 (lambda* (#:key inputs outputs #:allow-other-keys)
1119 (let* ((src (assoc-ref inputs "source"))
1120 (out (assoc-ref outputs "out"))
1121 (share (string-append out "/share"))
1122 (lib (string-append out "/lib"))
1123 (lv2 (string-append lib "/lv2"))
1124 (vst3 (string-append lib "/vst3")))
1127 ;; Install LV2 plugin.
1128 (copy-recursively "surge_products/Surge.lv2"
1129 (string-append lv2 "/Surge.lv2"))
1130 ;; Install VST3 plugin.
1131 (copy-recursively "surge_products/Surge.vst3"
1132 (string-append vst3 "/Surge.vst3"))
1134 (copy-recursively (string-append src "/resources/data")
1135 (string-append share "/Surge"))
1139 ("libxkbcommon" ,libxkbcommon)
1141 ("xcb-util" ,xcb-util)
1142 ("xcb-util-cursor" ,xcb-util-cursor)
1143 ("xcb-util-keysyms" ,xcb-util-keysyms)))
1145 `(("pkg-config" ,pkg-config)))
1146 (home-page "https://surge-synthesizer.github.io/")
1147 (synopsis "Synthesizer plugin")
1149 "Surge is a subtractive hybrid digital synthesizer. Each patch contains
1150 two @dfn{scenes} which are separate instances of the entire synthesis
1151 engine (except effects) that can be used for layering or split patches.")
1152 (license license:gpl3+)))
1154 (define-public klick
1160 (uri (string-append "http://das.nasophon.de/download/klick-"
1164 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
1165 (build-system scons-build-system)
1167 `(#:scons-flags (list (string-append "PREFIX=" %output))
1168 #:scons ,scons-python2
1169 #:tests? #f ; no "check" target
1171 (modify-phases %standard-phases
1172 (add-after 'unpack 'be-permissive
1174 (substitute* "SConstruct"
1175 (("'-Wall'") "'-Wall', '-fpermissive'"))
1177 (add-after 'unpack 'replace-removed-scons-syntax
1179 (substitute* "SConstruct"
1180 (("BoolOption") "BoolVariable")
1181 (("PathOption") "PathVariable")
1182 (("Options") "Variables"))
1187 ("libsndfile" ,libsndfile)
1188 ("libsamplerate" ,libsamplerate)
1190 ("rubberband" ,rubberband)))
1192 `(("pkg-config" ,pkg-config)))
1193 (home-page "http://das.nasophon.de/klick/")
1194 (synopsis "Metronome for JACK")
1196 "klick is an advanced command-line based metronome for JACK. It allows
1197 you to define complex tempo maps for entire songs or performances.")
1198 (license license:gpl2+)))
1207 (url "https://github.com/sahib/glyr")
1209 (file-name (git-file-name name version))
1212 "1miwbqzkhg0v3zysrwh60pj9sv6ci4lzq2vq2hhc6pc6hdyh8xyr"))))
1213 (build-system cmake-build-system)
1215 '(#:configure-flags '("-DTEST=true")
1217 (modify-phases %standard-phases
1218 (add-after 'unpack 'patch-tests
1220 (substitute* "spec/capi/check_api.c"
1221 (("fail_unless \\(c != NULL,\"Could not load www.google.de\"\\);")
1225 (lambda* (#:key tests? #:allow-other-keys)
1228 (invoke "bin/check_api")
1229 ;; (invoke "bin/check_opt") TODO Very dependent on the network
1230 (invoke "bin/check_dbc"))
1232 ;; TODO Work out how to run the spec/providers Python tests
1237 ("sqlite" ,sqlite)))
1239 `(("pkg-config" ,pkg-config)
1241 (home-page "https://github.com/sahib/glyr")
1242 (synopsis "Search engine for music related metadata")
1244 "Glyr comes both in a command-line interface tool (@command{glyrc}) and
1245 as a C library (libglyr).
1247 The sort of metadata glyr is searching (and downloading) is usually the data
1248 you see in your musicplayer. And indeed, originally it was written to serve
1249 as internally library for a musicplayer, but has been extended to work as a
1250 standalone program which is able to download cover art, lyrics, photos,
1251 biographies, reviews and more.")
1252 (license license:lgpl3+)))
1254 (define-public gtklick
1260 (uri (string-append "http://das.nasophon.de/download/gtklick-"
1264 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
1265 (build-system python-build-system)
1267 `(#:tests? #f ; no tests
1270 (modify-phases %standard-phases
1271 (add-before 'build 'add-sitedirs
1272 ;; .pth files are not automatically interpreted unless the
1273 ;; directories containing them are added as "sites". The directories
1274 ;; are then added to those in the PYTHONPATH. This is required for
1275 ;; the operation of pygtk.
1277 (substitute* "gtklick/gtklick.py"
1279 "import pygtk, site, sys
1280 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
1281 (add-after 'unpack 'inject-store-path-to-klick
1282 (lambda* (#:key inputs #:allow-other-keys)
1283 (substitute* "gtklick/klick_backend.py"
1284 (("KLICK_PATH = 'klick'")
1285 (string-append "KLICK_PATH = '"
1286 (assoc-ref inputs "klick")
1291 ("python2-pyliblo" ,python2-pyliblo)
1292 ("python2-pygtk" ,python2-pygtk)))
1294 `(("gettext" ,gettext-minimal)))
1295 (home-page "http://das.nasophon.de/gtklick/")
1296 (synopsis "Simple metronome with an easy-to-use graphical interface")
1298 "Gtklick is a simple metronome with an easy-to-use graphical user
1299 interface. It is implemented as a frontend to @code{klick}.")
1300 (license license:gpl2+)))
1302 (define-public libgme
1308 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
1309 "downloads/game-music-emu-" version
1313 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
1314 (build-system cmake-build-system)
1316 '(#:tests? #f)) ; no check target
1317 (home-page "https://bitbucket.org/mpyne/game-music-emu")
1318 (synopsis "Video game music file playback library")
1320 "Game-music-emu is a collection of video game music file emulators that
1321 support the following formats and systems:
1324 ZX Spectrum/Asmtrad CPC
1328 Sega Genesis/Mega Drive
1330 NEC TurboGrafx-16/PC Engine
1332 MSX Home Computer/other Z80 systems (doesn't support FM sound)
1334 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
1336 Atari systems using POKEY sound chip
1338 Super Nintendo/Super Famicom
1340 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
1342 (license (list license:lgpl2.1+
1343 ;; demo and player directories are under the Expat license
1346 (define-public lingot
1354 (url "https://github.com/ibancg/lingot")
1355 (commit (string-append "v" version))))
1356 (file-name (git-file-name name version))
1358 (base32 "04lcjzfhddbyskxr2068z609y6x0s2gjx1wl78w0dkxdi459zrn9"))))
1359 (build-system gnu-build-system)
1361 `(("autoconf" ,autoconf)
1362 ("automake" ,automake)
1364 ("glib" ,glib "bin") ; for glib-compile-resources
1365 ("intltool" ,intltool)
1366 ("libtool" ,libtool)
1367 ("pkg-config" ,pkg-config)))
1369 `(("alsa-lib" ,alsa-lib)
1374 ("pulseaudio" ,pulseaudio)))
1375 (home-page "http://lingot.nongnu.org/")
1376 (synopsis "Accurate & configurable musical instrument tuner")
1378 "LINGOT is a musical instrument tuner. It's accurate, easy to use, and
1379 highly configurable. Originally conceived to tune electric guitars, it can now
1380 be used to tune other instruments.
1382 It looks like an analogue tuner, with a gauge indicating the relative shift to a
1383 certain note, determined automatically as the closest note to the estimated
1385 (license license:gpl2+)))
1387 (define-public ninjas2
1396 (url "https://github.com/clearly-broken-software/ninjas2")
1397 (commit (string-append "v" version))
1398 ;; Bundles a specific commit of the DISTRHO plugin framework.
1400 (file-name (git-file-name name version))
1402 (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
1403 (build-system gnu-build-system)
1405 `(#:tests? #f ;no tests
1407 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1408 (string-append "CC=" ,(cc-for-target)))
1410 (modify-phases %standard-phases
1411 (delete 'configure) ;no configure target
1412 (replace 'install ;no install target
1413 (lambda* (#:key outputs #:allow-other-keys)
1414 (let* ((out (assoc-ref outputs "out"))
1415 (bin (string-append out "/bin"))
1416 (lv2 (string-append out "/lib/lv2")))
1420 (copy-recursively file
1421 (string-append lv2 "/" (basename file))))
1422 (find-files "bin" "\\.lv2$" #:directories? #t))
1423 ;; Install executables.
1426 (install-file file bin))
1430 (equal? (dirname name) "bin")
1431 (not (string-suffix? ".so" name))
1432 (not (string-suffix? ".lv2" name))))))
1436 ("jack" ,jack-1) ; for the standalone JACK application
1437 ("libsamplerate" ,libsamplerate)
1439 ("libsndfile" ,libsndfile)))
1441 `(("ladspa" ,ladspa)
1443 ("pkg-config" ,pkg-config)))
1444 (synopsis "Sample slicer audio plugin")
1446 "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
1447 Its goal is to be an easy to use sample slicer with quick slicing of samples
1448 and auto-mapping slices to MIDI note numbers.")
1449 (home-page "https://github.com/clearly-broken-software/ninjas2")
1450 (license license:gpl3+)))
1452 (define-public lilypond
1459 (uri (string-append "http://lilypond.org/download/sources/"
1460 "v" (version-major+minor version) "/"
1461 "lilypond-" version ".tar.gz"))
1463 (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar"))))
1464 (build-system gnu-build-system)
1466 `(#:tests? #f ;out-test/collated-files.html fails
1468 #:make-flags '("conf=www") ;to generate images for info manuals
1470 (list "CONFIGURATION=www"
1471 (string-append "--with-texgyre-dir="
1472 (assoc-ref %build-inputs "font-tex-gyre")
1473 "/share/fonts/opentype/"))
1475 (modify-phases %standard-phases
1476 (add-after 'unpack 'fix-path-references
1478 (substitute* "scm/backend-library.scm"
1479 (("\\(search-executable '\\(\"gs\"\\)\\)")
1480 (string-append "\"" (which "gs") "\""))
1482 (string-append "\"" (which "sh") "\"")))
1484 (add-before 'configure 'prepare-configuration
1486 (substitute* "configure"
1487 (("SHELL=/bin/sh") "SHELL=sh")
1488 ;; When checking the fontforge version do not consider the
1489 ;; version string that's part of the directory.
1490 (("head -n") "tail -n")
1491 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
1492 (("20110222") "19700101"))
1493 (setenv "out" "www")
1494 (setenv "conf" "www")
1496 (add-after 'install 'install-info
1499 "-j" (number->string (parallel-job-count))
1500 "conf=www" "install-info")
1503 `(("guile" ,guile-1.8)
1504 ("font-dejavu" ,font-dejavu)
1505 ("font-tex-gyre" ,font-tex-gyre)
1506 ("fontconfig" ,fontconfig)
1507 ("freetype" ,freetype)
1508 ("ghostscript" ,ghostscript)
1510 ("python" ,python-2)))
1515 ("fontforge" ,fontforge)
1516 ("dblatex" ,dblatex)
1517 ("gettext" ,gettext-minimal)
1518 ("imagemagick" ,imagemagick)
1519 ("netpbm" ,netpbm) ;for pngtopnm
1520 ("texlive" ,(texlive-updmap.cfg (list texlive-metapost
1521 texlive-generic-epsf
1523 texlive-latex-cyrillic)))
1524 ("texinfo" ,texinfo)
1525 ("texi2html" ,texi2html-1.82)
1527 ("pkg-config" ,pkg-config)
1529 (home-page "http://www.lilypond.org/")
1530 (synopsis "Music typesetting")
1532 "GNU LilyPond is a music typesetter, which produces high-quality sheet
1533 music. Music is input in a text file containing control sequences which are
1534 interpreted by LilyPond to produce the final document. It is extendable with
1536 (license license:gpl3+)
1538 ;; On armhf and mips64el, building the documentation sometimes leads to
1539 ;; more than an hour of silence, so double the max silent time.
1540 (properties `((max-silent-time . 7200)))))
1542 (define-public python-abjad
1544 (name "python-abjad")
1550 (url "https://github.com/Abjad/abjad")
1551 (commit (string-append "v" version))))
1552 (file-name (git-file-name name version))
1555 "1dzf5v7pawbzkb4qxp4s5z4r3gibkk705pag83yvgzkx6fd6jf2g"))))
1556 (build-system python-build-system)
1559 (modify-phases %standard-phases
1560 (add-after 'unpack 'patch-source
1562 (substitute* "setup.py"
1563 (("uqbar>=0.5.1, <0.5.0") "uqbar>=0.5.0"))
1566 (lambda* (#:key tests? #:allow-other-keys)
1568 ;; See: https://stackoverflow.com/a/34140498
1569 (invoke "python" "-m" "pytest" "tests")
1572 `(("lilypond" ,lilypond)
1573 ("python-black" ,python-black)
1574 ("python-flake8" ,python-flake8)
1575 ("python-iniconfig" ,python-iniconfig)
1576 ("python-isort" ,python-isort)
1577 ("python-mypy" ,python-mypy)
1578 ("python-ply" ,python-ply)
1579 ("python-pytest" ,python-pytest)
1580 ("python-pytest-cov" ,python-pytest-cov)
1581 ("python-sphinx-autodoc-typehints" ,python-sphinx-autodoc-typehints)))
1583 `(("python-quicktions" ,python-quicktions)
1584 ("python-roman" ,python-roman)
1585 ("python-six" ,python-six)
1586 ("python-uqbar" ,python-uqbar)))
1587 (home-page "https://abjad.github.io")
1588 (synopsis "Python API for building LilyPond files")
1590 "This package provides a Python API for building LilyPond files.")
1591 (license license:expat)))
1593 (define-public non-sequencer
1594 ;; The latest tagged release is three years old and uses a custom build
1595 ;; system, so we take the last commit.
1596 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1599 (name "non-sequencer")
1600 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
1604 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1608 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
1609 (file-name (string-append name "-" version "-checkout"))))
1610 (build-system waf-build-system)
1612 `(#:tests? #f ;no "check" target
1614 (list "--project=sequencer"
1615 ;; Disable the use of SSE unless on x86_64.
1616 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1617 (%current-system))))
1620 #:python ,python-2))
1623 ("libsigc++" ,libsigc++)
1627 `(("pkg-config" ,pkg-config)))
1628 (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer")
1629 (synopsis "Pattern-based MIDI sequencer")
1631 "The Non Sequencer is a powerful, lightweight, real-time,
1632 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1633 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1634 Sequencer happens on-line, in real-time. Music can be composed live, while the
1635 transport is rolling.")
1636 (license license:gpl2+))))
1638 (define-public non-session-manager
1639 (package (inherit non-sequencer)
1640 (name "non-session-manager")
1642 (substitute-keyword-arguments (package-arguments non-sequencer)
1643 ((#:configure-flags flags)
1644 `(cons "--project=session-manager"
1645 (delete "--project=sequencer" ,flags)))))
1651 `(("pkg-config" ,pkg-config)))
1652 (home-page "https://non.tuxfamily.org/nsm/")
1653 (synopsis "Audio session management")
1655 "The Non Session Manager is an API and an implementation for audio
1656 session management. NSM clients use a well-specified OSC protocol to
1657 communicate with the session management daemon.")
1658 (license license:gpl2+)))
1660 (define-public non-mixer
1661 (package (inherit non-sequencer)
1664 (substitute-keyword-arguments (package-arguments non-sequencer)
1665 ((#:configure-flags flags)
1666 `(cons "--project=mixer"
1667 (delete "--project=sequencer" ,flags)))))
1675 `(("pkg-config" ,pkg-config)))
1676 (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
1677 (synopsis "Modular digital audio mixer")
1679 "The Non Mixer is a powerful, reliable and fast modular digital audio
1680 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1681 toolkit for a fast and lightweight user interface. Non Mixer can be used
1682 alone or in concert with Non Timeline and Non Sequencer to form a complete
1684 (license license:gpl2+)))
1686 (define-public non-timeline
1687 (package (inherit non-sequencer)
1688 (name "non-timeline")
1690 (substitute-keyword-arguments (package-arguments non-sequencer)
1691 ((#:configure-flags flags)
1692 `(cons "--project=timeline"
1693 (delete "--project=sequencer" ,flags)))))
1697 ("libsndfile" ,libsndfile)
1700 `(("pkg-config" ,pkg-config)))
1701 (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
1702 (synopsis "Modular digital audio timeline arranger")
1704 "The Non Timeline is a powerful, reliable and fast modular digital audio
1705 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1706 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1707 be used alone or in concert with Non Mixer and Non Sequencer to form a
1709 (license license:gpl2+)))
1711 (define-public tascam-gtk
1712 ;; This commit represents the latest version at the time of this writing.
1713 (let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
1717 (version (git-version "0.4" revision commit))
1721 (url "https://github.com/onkelDead/tascam-gtk")
1723 (file-name (git-file-name name version))
1726 "07k7rccqqg7lnygkh97a200l1i6s1rl92n01v0q6n4257sinir6f"))))
1727 (build-system gnu-build-system)
1731 ("alsa-lib" ,alsa-lib)
1732 ("libxmlplusplus" ,libxmlplusplus-2.6)))
1734 `(("glib:bin" ,glib "bin")
1735 ("pkg-config" ,pkg-config)))
1736 (home-page "https://github.com/onkelDead/tascam-gtk")
1737 (synopsis "GTK+ based application to control Tascam US-16x08 DSP mixer")
1738 (description "This is a mixer application to control the Tascam US-16x08
1739 audio interface. This device contains about 280 control elements and this
1740 mixer application aims to provide comfortable access to the DSP effects the
1742 (license license:expat))))
1744 (define-public bsequencer
1751 (url "https://github.com/sjaehn/BSEQuencer")
1753 (file-name (git-file-name name version))
1756 "0w7iwzz2r4a699fi24qk71vv2k3jpl9ylzlgmvyc3rlgad0m01k1"))))
1757 (build-system gnu-build-system)
1760 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1761 #:tests? #f ; there are none
1763 (modify-phases %standard-phases
1764 (delete 'configure))))
1768 ("libx11" ,libx11)))
1770 `(("pkg-config" ,pkg-config)))
1771 (home-page "https://github.com/sjaehn/BSEQuencer")
1772 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1774 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1775 with a selectable pattern matrix size.")
1776 (license license:gpl3+)))
1778 (define-public bchoppr
1780 (inherit bsequencer)
1787 (url "https://github.com/sjaehn/BChoppr")
1789 (file-name (git-file-name name version))
1792 "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"))))
1793 (synopsis "Audio stream-chopping LV2 plugin")
1794 (description "B.Choppr cuts the audio input stream into a repeated
1795 sequence of up to 16 chops. Each chop can be leveled up or down (gating).
1796 B.Choppr is the successor of B.Slizr.")
1797 (home-page "https://github.com/sjaehn/BChoppr")
1798 (license license:gpl3+)))
1800 (define-public bshapr
1802 (inherit bsequencer)
1809 (url "https://github.com/sjaehn/BShapr")
1810 (commit (string-append "v" version))))
1811 (file-name (git-file-name name version))
1813 (base32 "04zd3a178i2nivg5rjailzqvc5mlnilmhj1ziygmbhshbrywplri"))))
1814 (synopsis "Beat/envelope shaper LV2 plugin")
1815 (description "B.Shapr is a beat/envelope shaper LV2 plugin.")
1816 (home-page "https://github.com/sjaehn/BShapr")
1817 (license license:gpl3+)))
1819 (define-public bjumblr
1821 (inherit bsequencer)
1828 (url "https://github.com/sjaehn/BJumblr")
1830 (file-name (git-file-name name version))
1833 "0kl6hrxmqrdf0195bfnzsa2h1073fgiqrfhg2276fm1954sm994v"))))
1836 ("libsndfile" ,libsndfile)
1838 (synopsis "Pattern-controlled audio stream/sample re-sequencer LV2 plugin")
1839 (description "B.Jumblr is a pattern-controlled audio stream / sample
1840 re-sequencer LV2 plugin.")
1841 (home-page "https://github.com/sjaehn/BJumblr")
1842 (license license:gpl3+)))
1844 (define-public bschaffl
1846 (inherit bsequencer)
1853 (url "https://github.com/sjaehn/BSchaffl")
1855 (file-name (git-file-name name version))
1858 "1c09acqrbd387ba41f8ch1qykdap5h6cg9if5pgd16i4dmjnpghj"))))
1861 ("fontconfig" ,fontconfig)
1862 ("libsndfile" ,libsndfile)
1865 (home-page "https://github.com/sjaehn/BSchaffl")
1866 (synopsis "Pattern-controlled MIDI amp & time stretch LV2 plugin")
1867 (description "This package provides an LV2 plugin that allows for
1868 pattern-controlled MIDI amp & time stretching to produce shuffle / swing
1871 Key features include:
1874 @item MIDI velocity amplification and timing manipulation plugin
1875 @item Swing and shuffle rhythms
1876 @item Pre-generator dynamics
1878 @item Pattern (sliders) or shape-controlled
1880 @item Smart quantization
1883 (license license:gpl3+)))
1885 (define-public solfege
1892 "mirror://gnu/solfege/solfege-"
1896 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1897 (build-system gnu-build-system)
1899 `(#:tests? #f ; xmllint attempts to download DTD
1900 #:test-target "test"
1902 (modify-phases %standard-phases
1903 (add-after 'unpack 'fix-configuration
1904 (lambda* (#:key inputs #:allow-other-keys)
1905 (substitute* "default.config"
1906 (("/usr/bin/aplay") "aplay")
1907 (("/usr/bin/timidity") "timidity")
1908 (("/usr/bin/mpg123") "mpg123")
1909 (("/usr/bin/ogg123") "ogg123"))
1911 (add-before 'build 'patch-python-shebangs
1913 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1915 (substitute* '("solfege/parsetree.py"
1916 "solfege/presetup.py")
1917 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1919 (add-before 'build 'add-sitedirs
1920 ;; .pth files are not automatically interpreted unless the
1921 ;; directories containing them are added as "sites". The directories
1922 ;; are then added to those in the PYTHONPATH. This is required for
1923 ;; the operation of pygtk and pygobject.
1925 (substitute* "run-solfege.py"
1928 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1930 (add-before 'build 'adjust-config-file-prefix
1931 (lambda* (#:key outputs #:allow-other-keys)
1932 (substitute* "run-solfege.py"
1933 (("prefix = os.path.*$")
1934 (string-append "prefix = " (assoc-ref outputs "out"))))
1936 (add-after 'install 'wrap-program
1937 (lambda* (#:key inputs outputs #:allow-other-keys)
1938 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1939 (let* ((out (assoc-ref outputs "out"))
1940 (path (getenv "GUIX_PYTHONPATH")))
1941 (wrap-program (string-append out "/bin/solfege")
1942 `("GUIX_PYTHONPATH" ":" prefix (,path))))
1945 `(("python" ,python-2)
1946 ("pygtk" ,python2-pygtk)
1947 ("gettext" ,gettext-minimal)
1949 ("lilypond" ,lilypond)))
1951 `(("pkg-config" ,pkg-config)
1952 ("txt2man" ,txt2man)
1953 ("libxml2" ,libxml2) ; for tests
1954 ("ghostscript" ,ghostscript)
1955 ("texinfo" ,texinfo-5)))
1956 (home-page "https://www.gnu.org/software/solfege/")
1957 (synopsis "Ear training")
1959 "GNU Solfege is a program for practicing musical ear-training. With it,
1960 you can practice your recognition of various musical intervals and chords. It
1961 features a statistics overview so you can monitor your progress across several
1962 sessions. Solfege is also designed to be extensible so you can easily write
1964 (license license:gpl3+)))
1966 (define-public powertabeditor
1968 (name "powertabeditor")
1969 (version "2.0.0-alpha14")
1973 (url "https://github.com/powertab/powertabeditor")
1975 (file-name (git-file-name name version))
1978 "1wsvni2aa9h2bpndlic7ckch4n600ahwm56n521y5vxivwjx3jmj"))))
1979 (build-system cmake-build-system)
1982 (modify-phases %standard-phases
1983 (replace 'check (lambda _ (invoke "bin/pte_tests")))
1984 (add-after 'unpack 'fix-pugixml-detection
1986 (substitute* "cmake/third_party/pugixml.cmake"
1987 (("add_library") "#add_library"))
1990 `(("alsa-lib" ,alsa-lib)
1992 ("minizip" ,minizip)
1993 ("pugixml" ,pugixml)
1994 ("qtbase" ,qtbase-5)
1995 ("rapidjson" ,rapidjson)
1997 ("timidity" ,timidity++)
2000 `(("doctest" ,doctest)
2001 ("pkg-config" ,pkg-config)))
2002 (home-page "https://github.com/powertab/powertabedito")
2003 (synopsis "Guitar tablature editor")
2005 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
2006 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
2007 (license license:gpl3+)))
2009 (define-public jalv-select
2011 (name "jalv-select")
2016 (url "https://github.com/brummer10/jalv_select")
2017 (commit (string-append "v" version))))
2018 (file-name (git-file-name name version))
2021 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
2022 (build-system gnu-build-system)
2025 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2027 (modify-phases %standard-phases
2029 (add-after 'unpack 'ignore-PATH
2030 (lambda* (#:key inputs #:allow-other-keys)
2031 (substitute* "jalv.select.cpp"
2032 (("echo \\$PATH.*tr ':'.*xargs ls")
2033 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
2035 (add-before 'reset-gzip-timestamps 'make-manpages-writable
2036 (lambda* (#:key outputs #:allow-other-keys)
2037 (for-each make-file-writable
2038 (find-files (string-append (assoc-ref outputs "out")
2046 ("gtkmm" ,gtkmm-2)))
2048 `(("pkg-config" ,pkg-config)))
2049 (home-page "https://github.com/brummer10/jalv_select")
2050 (synopsis "GUI to select LV2 plugins and run them with jalv")
2052 "The jalv.select package provides a graphical user interface allowing
2053 users to select LV2 plugins and run them with jalv.")
2054 (license license:public-domain)))
2056 (define-public synthv1
2063 (string-append "mirror://sourceforge/synthv1/synthv1/" version
2064 "/synthv1-" version ".tar.gz"))
2067 "0cmxbsfhkkyqn97rc47cb7d3bv6bd9r71xp4z85mi2kl3q4k569i"))))
2068 (build-system gnu-build-system)
2070 `(#:tests? #f)) ; there are no tests
2074 ("alsa-lib" ,alsa-lib)
2075 ("non-session-manager" ,non-session-manager)
2077 ("qtbase" ,qtbase-5)))
2079 `(("pkg-config" ,pkg-config)
2080 ("qttools" ,qttools)))
2081 (home-page "https://synthv1.sourceforge.io")
2082 (synopsis "Polyphonic subtractive synthesizer")
2084 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
2085 oscillators and stereo effects.")
2086 (license license:gpl2+)))
2088 (define-public drumkv1
2095 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
2096 "/drumkv1-" version ".tar.gz"))
2099 "0c13l814f5rhbmpmd4w0a07j1ki5wc092xcgy6p6zj5s03zvcrzy"))))
2100 (build-system gnu-build-system)
2102 `(#:tests? #f)) ; there are no tests
2106 ("libsndfile" ,libsndfile)
2107 ("alsa-lib" ,alsa-lib)
2108 ("non-session-manager" ,non-session-manager)
2110 ("qtbase" ,qtbase-5)))
2112 `(("pkg-config" ,pkg-config)
2113 ("qttools" ,qttools)))
2114 (home-page "https://drumkv1.sourceforge.io")
2115 (synopsis "Drum-kit sampler synthesizer with stereo effects")
2117 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
2119 (license license:gpl2+)))
2121 (define-public samplv1
2128 (string-append "mirror://sourceforge/samplv1/samplv1/" version
2129 "/samplv1-" version ".tar.gz"))
2132 "19ajnwzd5w2jlazflh5r9qm4sflkn2s2zc5zh0vlqywxzvb9dp9g"))))
2133 (build-system gnu-build-system)
2135 `(#:tests? #f)) ; there are no tests
2139 ("libsndfile" ,libsndfile)
2140 ("alsa-lib" ,alsa-lib)
2141 ("non-session-manager" ,non-session-manager)
2143 ("qtbase" ,qtbase-5)))
2145 `(("pkg-config" ,pkg-config)
2146 ("qttools" ,qttools)))
2147 (home-page "https://samplv1.sourceforge.io")
2148 (synopsis "Polyphonic sampler synthesizer with stereo effects")
2150 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
2152 (license license:gpl2+)))
2154 (define-public padthv1
2161 (string-append "mirror://sourceforge/padthv1/padthv1/" version
2162 "/padthv1-" version ".tar.gz"))
2165 "1wky9v91qc3j866di8mcjz0pf3n8ah888lxg8dpvp6ryh1cm6i6x"))))
2166 (build-system gnu-build-system)
2168 `(#:tests? #f)) ; there are no tests
2172 ("alsa-lib" ,alsa-lib)
2173 ("non-session-manager" ,non-session-manager)
2176 ("qtbase" ,qtbase-5)))
2178 `(("pkg-config" ,pkg-config)
2179 ("qttools" ,qttools)))
2180 (home-page "https://padthv1.sourceforge.io")
2181 (synopsis "Polyphonic additive synthesizer")
2183 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
2184 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
2185 special variant of additive synthesis.")
2186 (license license:gpl2+)))
2188 (define-public amsynth
2195 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
2196 "download/release-" version
2197 "/amsynth-" version ".tar.bz2"))
2200 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
2201 (build-system gnu-build-system)
2204 (modify-phases %standard-phases
2205 (add-after 'unpack 'patch-file-names
2207 (substitute* "src/GUI/editor_pane.c"
2208 (("/usr/bin/unzip") (which "unzip")))
2209 (substitute* "src/GUI/GUI.cc"
2210 (("/usr/bin/which") (which "which")))
2213 `(("alsa-lib" ,alsa-lib)
2218 ("libsndfile" ,libsndfile)
2220 ;; External commands invoked at run time.
2224 `(("intltool" ,intltool)
2225 ("pkg-config" ,pkg-config)))
2226 (home-page "https://amsynth.github.io")
2227 (synopsis "Analog modeling synthesizer")
2229 "amsynth is an easy-to-use software synthesizer with a classic
2230 subtractive synthesizer topology. Its features include: dual
2231 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
2232 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
2233 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
2234 which can modulate the oscillators, filter, and amplitude; distortion and
2236 (license license:gpl2+)))
2238 (define-public setbfree
2245 (url "https://github.com/pantherb/setBfree")
2246 (commit (string-append "v" version))))
2247 (file-name (git-file-name name version))
2250 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
2251 (build-system gnu-build-system)
2253 `(#:tests? #f ; no "check" target
2255 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2256 (string-append "FONTFILE="
2257 (assoc-ref %build-inputs "font-bitstream-vera")
2258 "/share/fonts/truetype/VeraBd.ttf")
2259 ;; Disable unsupported optimization flags on non-x86
2260 ,@(let ((system (or (%current-target-system)
2261 (%current-system))))
2262 (if (or (string-prefix? "x86_64" system)
2263 (string-prefix? "i686" system))
2265 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
2267 (modify-phases %standard-phases
2268 (add-before 'build 'set-CC-variable
2269 (lambda _ (setenv "CC" "gcc") #t))
2270 (delete 'configure))))
2274 ("zita-convolver" ,zita-convolver)
2277 ("font-bitstream-vera" ,font-bitstream-vera)))
2279 `(("help2man" ,help2man)
2280 ("pkg-config" ,pkg-config)))
2281 (home-page "http://setbfree.org")
2282 (synopsis "Tonewheel organ")
2284 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
2285 the sound and properties of the electromechanical organs and sound
2286 modification devices that brought world-wide fame to the names and products of
2287 Laurens Hammond and Don Leslie.")
2288 (license license:gpl2+)))
2290 (define-public beast
2296 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
2300 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
2301 (build-system gnu-build-system)
2303 '(#:parallel-build? #f)) ; Race conditions cause build failures
2305 `(("rapicorn" ,rapicorn)
2306 ("guile" ,guile-1.8)
2307 ("python" ,python-2)
2308 ("libgnomecanvas" ,libgnomecanvas)
2312 ("alsa-lib" ,alsa-lib)
2313 ("libvorbis" ,libvorbis)
2314 ("gettext" ,gettext-minimal)))
2316 `(("pkg-config" ,pkg-config)
2317 ("glib:bin" ,glib "bin")
2318 ("cython" ,python2-cython)
2320 ("perl-xml-parser" ,perl-xml-parser)))
2321 (home-page "https://testbit.eu/wiki/Beast_Home")
2322 (synopsis "Music composition and modular synthesis environment")
2324 "Beast is a music composition and modular synthesis application. It
2325 supports a wide range of standards in the field, such as MIDI, various audio
2326 file formats and LADSPA modules. It allows for multitrack editing, real-time
2327 synthesis, 32bit audio rendering, precise timing down to sample granularity,
2328 on-demand and partial loading of wave files, on the fly decoding, stereo
2329 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
2330 (license license:gpl3+)))
2332 (define-public bristol
2338 (uri (string-append "mirror://sourceforge/bristol/bristol/"
2339 (version-major+minor version)
2340 "/bristol-" version ".tar.gz"))
2343 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
2344 (build-system gnu-build-system)
2347 (modify-phases %standard-phases
2348 (add-after 'unpack 'remove-sse-flags
2349 (lambda* (#:key system #:allow-other-keys)
2350 (when (not (or (string-prefix? "x86_64" system)
2351 (string-prefix? "i686" system)))
2352 (substitute* "bristol/Makefile.in"
2353 (("-msse -mfpmath=sse") "")))
2355 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
2356 ;; bristol actually doesn't use it.
2357 (add-after 'unpack 'do-not-use-alsa-iatomic
2359 (substitute* "libbristolaudio/audioEngineJack.c"
2360 (("#include <alsa/iatomic.h>") ""))
2362 ;; We know that Bristol has been linked with JACK and we don't have
2363 ;; ldd, so we can just skip this check.
2364 (add-after 'unpack 'do-not-grep-for-jack
2366 (substitute* "bin/startBristol.in"
2367 (("ldd `which bristol` | grep jack") "echo guix"))
2370 `(("alsa-lib" ,alsa-lib)
2373 ("libx11" ,libx11)))
2375 `(("pkg-config" ,pkg-config)))
2376 (home-page "http://bristol.sourceforge.net/")
2377 (synopsis "Synthesizer emulator")
2379 "Bristol is an emulation package for a number of different @code{classic}
2380 synthesizers including additive and subtractive and a few organs. The
2381 application consists of the engine, which is called bristol, and its own GUI
2382 library called brighton that represents all the emulations. There are
2383 currently more than twenty different emulations; each does sound different
2384 although the author maintains that the quality and accuracy of each emulation
2386 (license license:gpl3+)))
2388 (define-public tuxguitar
2395 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
2396 version "/tuxguitar-" version "-src.tar.gz"))
2399 "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg"))))
2400 (build-system ant-build-system)
2402 `(#:build-target "build"
2404 #:tests? #f ; no tests
2406 (modify-phases %standard-phases
2408 (lambda* (#:key inputs outputs #:allow-other-keys)
2409 (let* ((initial-classpath (getenv "CLASSPATH"))
2410 (build-dir (lambda (dir)
2413 (string-join (cons initial-classpath
2414 (find-files (getcwd) "\\.jar$"))
2416 (with-directory-excursion dir
2417 (if (file-exists? "build.xml")
2418 ((assoc-ref %standard-phases 'build)
2419 #:build-target "build")
2421 ;; Generate default build.xml.
2422 ((@@ (guix build ant-build-system)
2424 (string-append (string-downcase dir) ".jar")
2425 (string-append (assoc-ref outputs "out")
2427 ((assoc-ref %standard-phases 'build))))))))
2428 (map build-dir '("TuxGuitar-lib"
2429 "TuxGuitar-editor-utils"
2430 "TuxGuitar-ui-toolkit"
2431 "TuxGuitar-ui-toolkit-swt"
2434 "TuxGuitar-gm-utils"
2437 "TuxGuitar-midi-ui"))
2439 (add-after 'build 'build-jni
2442 (setenv "CFLAGS" (string-append
2445 "/build-scripts/native-modules/common-include"))
2446 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
2448 (lambda* (#:key inputs outputs #:allow-other-keys)
2449 (let* ((out (assoc-ref outputs "out"))
2450 (bin (string-append out "/bin"))
2451 (share (string-append out "/share"))
2452 (jni-lib (string-append out "/lib"))
2453 (lib (string-append share "/java"))
2454 (swt (assoc-ref inputs "java-swt"))
2455 (mime (string-append share "/mime/packages"))
2456 (app (string-append share "/applications"))
2457 (man (string-append share "/man/man1")))
2460 ;; Install all jars.
2461 (for-each (lambda (file)
2462 (install-file file lib))
2463 (find-files "." "\\.jar$"))
2465 ;; Install jni libraries
2466 (for-each (lambda (file)
2467 (install-file file jni-lib))
2468 (find-files "." "\\-jni.so$"))
2470 ;; Install all resources.
2471 (copy-recursively "./TuxGuitar/share" share)
2473 ;; Install desktop and mime files
2474 (install-file "./misc/tuxguitar.xml" mime)
2475 (install-file "./misc/tuxguitar.desktop" app)
2478 (install-file "./misc/tuxguitar.1" man)
2481 (call-with-output-file (string-append bin "/tuxguitar")
2483 (let ((classpath (string-join (append (find-files lib "\\.jar$")
2484 (find-files swt "\\.jar$"))
2488 (string-append "#!/bin/sh\n"
2491 " -Dtuxguitar.home.path=" out
2492 " -Dtuxguitar.share.path=" out "/share"
2493 " -Dswt.library.path=" swt "/lib"
2494 " -Djava.library.path=" out "/lib"
2495 " org.herac.tuxguitar.app.TGMainSingleton"
2496 " \"$1\" \"$2\"")))))
2497 (chmod (string-append bin "/tuxguitar") #o555)
2500 `(("alsa-lib" ,alsa-lib)
2501 ("java-swt" ,java-swt)))
2502 (home-page "http://tuxguitar.com.ar/")
2503 (synopsis "Multitrack tablature editor and player")
2505 "TuxGuitar is a guitar tablature editor with player support through midi.
2506 It can display scores and multitrack tabs. TuxGuitar provides various
2507 additional features, including autoscrolling while playing, note duration
2508 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
2509 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
2511 (license license:lgpl2.1+)))
2520 (string-append "http://msp.ucsd.edu/Software/pd-"
2521 version ".src.tar.gz"))
2524 "1hgw1ciwr59f4f9s0h7c2l36wcsn3jsddhr1r9qj97vf64c1ynaj"))))
2525 (build-system gnu-build-system)
2527 (let ((wish (string-append "wish" (version-major+minor
2528 (package-version tk)))))
2529 `(#:tests? #f ; no "check" target
2533 (string-append "--with-wish=" (string-append
2534 (assoc-ref %build-inputs "tk")
2537 (modify-phases %standard-phases
2538 (add-before 'configure 'fix-with-path
2540 (substitute* "tcl/pd-gui.tcl"
2541 (("exec wish ") (string-append "exec " (which ,wish) " ")))
2544 `(("autoconf" ,autoconf)
2545 ("automake" ,automake)
2546 ("libtool" ,libtool)
2547 ("gettext" ,gettext-minimal)
2548 ("pkg-config" ,pkg-config)))
2551 ("alsa-lib" ,alsa-lib)
2553 (home-page "https://puredata.info")
2554 (synopsis "Visual programming language for artistic performances")
2556 "Pure Data (aka Pd) is a visual programming language. Pd enables
2557 musicians, visual artists, performers, researchers, and developers to create
2558 software graphically, without writing lines of code. Pd is used to process
2559 and generate sound, video, 2D/3D graphics, and interface sensors, input
2560 devices, and MIDI. Pd can easily work over local and remote networks to
2561 integrate wearable technology, motor systems, lighting rigs, and other
2562 equipment. Pd is suitable for learning basic multimedia processing and visual
2563 programming methods as well as for realizing complex systems for large-scale
2565 (license license:bsd-3)))
2567 (define-public libpd
2574 (url "https://github.com/libpd/libpd")
2576 (recursive? #t))) ; for the 'pure-data' submodule
2577 (file-name (string-append name "-" version "-checkout"))
2580 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
2581 (build-system gnu-build-system)
2583 '(#:tests? #f ; no tests
2584 #:make-flags '("CC=gcc")
2586 (modify-phases %standard-phases
2587 (delete 'configure) ; no configure script
2589 (lambda* (#:key outputs #:allow-other-keys)
2590 (let ((out (assoc-ref outputs "out")))
2591 (invoke "make" "install"
2592 (string-append "prefix=" out)
2593 ;; XXX: Fix the last 2 lines of 'install' target.
2595 "LIBPD_DEF=NO")))))))
2596 (home-page "http://libpd.cc/")
2597 (synopsis "Pure Data as an embeddable audio synthesis library")
2599 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
2600 main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
2601 (license license:bsd-3)))
2603 (define-public portmidi
2609 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
2610 version "/portmidi-src-" version ".zip"))
2613 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
2614 (patches (list (search-patch "portmidi-modular-build.patch")))))
2615 (build-system cmake-build-system)
2617 `(#:tests? #f ; tests cannot be linked
2618 #:build-type "Release" ; needed to have PMALSA set
2620 (list "-DPORTMIDI_ENABLE_JAVA=Off"
2621 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
2623 (modify-phases %standard-phases
2624 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
2625 ;; "libportmidi.so". Distributions get away with it by creating an
2626 ;; appropriate symlink.
2627 (add-after 'install 'add-porttime
2628 (lambda* (#:key outputs #:allow-other-keys)
2629 (let* ((out (assoc-ref outputs "out"))
2630 (lib (string-append out "/lib")))
2631 (with-directory-excursion lib
2632 (symlink "libportmidi.so" "libporttime.so")))))
2633 (add-after 'install 'install-pkg-config
2634 (lambda* (#:key outputs #:allow-other-keys)
2635 (let* ((out (assoc-ref outputs "out"))
2636 (pkg-config-dir (string-append out "/lib/pkgconfig")))
2637 (mkdir-p pkg-config-dir)
2638 (with-output-to-file (string-append pkg-config-dir "/portmidi.pc")
2642 libdir=${prefix}/lib~@
2643 includedir=${prefix}/include~@
2648 Libs: -L${libdir} -lportmidi~@
2649 Cflags: -I${includedir}~%"
2650 out ,version)))))))))
2652 `(("alsa-lib" ,alsa-lib)))
2654 `(("unzip" ,unzip)))
2655 (home-page "http://portmedia.sourceforge.net/portmidi/")
2656 (synopsis "Library for MIDI I/O")
2658 "PortMidi is a library supporting real-time input and output of MIDI data
2659 using a system-independent interface.")
2660 (license license:expat)))
2662 (define-public python-pyportmidi
2664 (name "python-pyportmidi")
2665 (version (package-version portmidi))
2666 (source (package-source portmidi))
2667 (build-system python-build-system)
2669 `(#:tests? #f ; no tests included
2671 (modify-phases %standard-phases
2672 (add-after 'unpack 'enter-dir
2673 (lambda _ (chdir "pm_python") #t))
2674 (add-after 'enter-dir 'fix-setup.py
2676 (substitute* "setup.py"
2677 ;; Use Python 3 syntax
2678 (("print (\".*\")" _ text)
2679 (string-append "print(" text ")\n"))
2680 ;; TODO.txt and CHANGES.txt don't exist
2681 (("CHANGES =.*") "CHANGES = \"\"\n")
2682 (("TODO =.*") "TODO = \"\"\n"))
2685 `(("portmidi" ,portmidi)
2686 ("alsa-lib" ,alsa-lib)))
2688 `(("python-cython" ,python-cython)
2690 (home-page "http://portmedia.sourceforge.net/portmidi/")
2691 (synopsis "Python bindings to PortMidi")
2693 "This package provides Python bindings to the PortMidi library.")
2694 (license license:expat)))
2696 (define-public frescobaldi
2698 (name "frescobaldi")
2704 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2705 version "/frescobaldi-" version ".tar.gz"))
2707 (base32 "1hg9yc8kj445fjsby92g3qf50crcl1pb079zfma18sb7ycv50zww"))))
2708 (build-system python-build-system)
2710 `(#:tests? #f)) ;no tests included
2712 `(("lilypond" ,lilypond)
2713 ("poppler" ,poppler)
2714 ("portmidi" ,portmidi)
2715 ("python-ly" ,python-ly)
2716 ("python-poppler-qt5" ,python-poppler-qt5)
2717 ("python-pyportmidi" ,python-pyportmidi)
2718 ("python-pyqt" ,python-pyqt)
2719 ("python-sip" ,python-sip)))
2720 (home-page "https://www.frescobaldi.org/")
2721 (synopsis "LilyPond sheet music text editor")
2723 "Frescobaldi is a LilyPond sheet music text editor with syntax
2724 highlighting and automatic completion. Among other things, it can render
2725 scores next to the source, can capture input from MIDI or read MusicXML and
2726 ABC files, has a MIDI player for proof-listening, and includes a documentation
2728 (license license:gpl2+)))
2730 (define-public drumstick
2736 (uri (string-append "mirror://sourceforge/drumstick/"
2737 version "/drumstick-" version ".tar.bz2"))
2740 "12haksnf91ra5w5dwnlc3rcw4js8wj4hsl6kzyqrx4q4fnpvjahk"))))
2741 (build-system cmake-build-system)
2743 `(#:tests? #f ; no test target
2745 (modify-phases %standard-phases
2746 (add-before 'configure 'fix-docbook
2747 (lambda* (#:key inputs #:allow-other-keys)
2748 (substitute* "cmake_admin/CreateManpages.cmake"
2749 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2750 (string-append (assoc-ref inputs "docbook-xsl")
2751 "/xml/xsl/docbook-xsl-"
2752 ,(package-version docbook-xsl)
2753 "/manpages/docbook.xsl")))
2756 `(("qtbase" ,qtbase-5)
2758 ("qttools" ,qttools)
2759 ("alsa-lib" ,alsa-lib)))
2761 `(("pkg-config" ,pkg-config)
2762 ("libxslt" ,libxslt) ; for xsltproc
2763 ("docbook-xsl" ,docbook-xsl)
2764 ("doxygen" ,doxygen)
2765 ("graphviz" ,graphviz))) ; for dot
2766 (home-page "https://drumstick.sourceforge.io/")
2767 (synopsis "C++ MIDI library")
2769 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2770 includes a C++ wrapper around the ALSA library sequencer interface. A
2771 complementary library provides classes for processing SMF (Standard MIDI
2772 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2773 multiplatform realtime MIDI I/O library is also provided with various output
2774 backends, including ALSA, OSS, Network and FluidSynth.")
2775 (license license:gpl2+)))
2783 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2784 version "/vmpk-" version ".tar.bz2"))
2787 "0kh8pns9pla9c47y2nwckjpiihczg6rpg96aignsdsd7vkql69s9"))))
2788 (build-system cmake-build-system)
2790 `(#:tests? #f ; no test target
2792 (modify-phases %standard-phases
2793 (add-before 'configure 'fix-docbook
2794 (lambda* (#:key inputs #:allow-other-keys)
2795 (substitute* "cmake_admin/CreateManpages.cmake"
2796 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2797 (string-append (assoc-ref inputs "docbook-xsl")
2798 "/xml/xsl/docbook-xsl-"
2799 ,(package-version docbook-xsl)
2800 "/manpages/docbook.xsl")))
2803 `(("drumstick" ,drumstick)
2804 ("qtbase" ,qtbase-5)
2806 ("qtx11extras" ,qtx11extras)))
2808 `(("libxslt" ,libxslt) ;for xsltproc
2809 ("docbook-xsl" ,docbook-xsl)
2810 ("qttools" ,qttools)
2811 ("pkg-config" ,pkg-config)))
2812 (home-page "https://vmpk.sourceforge.io/")
2813 (synopsis "Virtual MIDI piano keyboard")
2815 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2816 doesn't produce any sound by itself, but can be used to drive a MIDI
2817 synthesizer (either hardware or software, internal or external). You can use
2818 the computer's keyboard to play MIDI notes, and also the mouse. You can use
2819 the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2820 instrument or MIDI file player.")
2821 (license license:gpl3+)))
2823 (define-public zynaddsubfx
2825 (name "zynaddsubfx")
2830 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
2831 version "/zynaddsubfx-" version ".tar.bz2"))
2834 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
2835 (build-system cmake-build-system)
2838 (modify-phases %standard-phases
2839 ;; Move SSE compiler optimization flags from generic target to
2840 ;; athlon64 and core2 targets, because otherwise the build would fail
2841 ;; on non-Intel machines.
2842 (add-after 'unpack 'remove-sse-flags-from-generic-target
2844 (substitute* "src/CMakeLists.txt"
2845 (("-msse -msse2 -mfpmath=sse") "")
2846 (("-march=(athlon64|core2)" flag)
2847 (string-append flag " -msse -msse2 -mfpmath=sse")))
2853 ("alsa-lib" ,alsa-lib)
2856 ("minixml" ,minixml)
2860 `(("pkg-config" ,pkg-config)))
2861 (home-page "http://zynaddsubfx.sf.net/")
2862 (synopsis "Software synthesizer")
2864 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2865 three synthesizer engines, multitimbral and polyphonic synths, microtonal
2866 capabilities, custom envelopes, effects, etc.")
2867 (license license:gpl2)))
2869 (define-public yoshimi
2876 (uri (string-append "mirror://sourceforge/yoshimi/"
2877 (version-major+minor version)
2878 "/yoshimi-" version ".tar.bz2"))
2880 (base32 "0lxfqj4p4njww3n0wa6yfj38zfls16y3wszd47gvc5asmqyg5vjd"))))
2881 (build-system cmake-build-system)
2883 `(#:tests? #f ; there are no tests
2885 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2886 (assoc-ref %outputs "out") "/share"))
2888 (modify-phases %standard-phases
2889 (add-before 'configure 'enter-dir
2890 (lambda _ (chdir "src") #t))
2891 ;; Move SSE compiler optimization flags from generic target to
2892 ;; athlon64 and core2 targets, because otherwise the build would fail
2893 ;; on non-Intel machines.
2894 (add-after 'unpack 'remove-sse-flags-from-generic-target
2896 (substitute* "src/CMakeLists.txt"
2897 (("-msse -msse2 -mfpmath=sse") "")
2898 (("-march=(athlon64|core2)" flag)
2899 (string-append flag " -msse -msse2 -mfpmath=sse")))
2904 ("alsa-lib" ,alsa-lib)
2906 ("fontconfig" ,fontconfig)
2907 ("minixml" ,minixml)
2911 ("readline" ,readline)
2912 ("ncurses" ,ncurses)
2916 `(("pkg-config" ,pkg-config)))
2917 (home-page "http://yoshimi.sourceforge.net/")
2918 (synopsis "Multi-paradigm software synthesizer")
2920 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2921 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2922 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2923 improves on support for JACK features, such as JACK MIDI.")
2924 (license license:gpl2)))
2926 (define-public libgig
2932 (uri (string-append "http://download.linuxsampler.org/packages/"
2933 "libgig-" version ".tar.bz2"))
2936 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
2937 (build-system gnu-build-system)
2939 `(("libuuid" ,util-linux "lib")
2940 ("libsndfile" ,libsndfile)))
2942 `(("pkg-config" ,pkg-config)))
2943 (home-page "https://linuxsampler.org/libgig/")
2944 (synopsis "C++ library for working with Gigasampler (.gig) files")
2946 "Libgig is a C++ library for loading, modifying existing and creating new
2947 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2948 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2949 AKAI sampler data. The package includes a couple of command line tools based
2951 ;; The library and tools are released under the GPL, except the AKAI
2952 ;; classes which are released under the LGPL.
2953 (license (list license:gpl2+ license:lgpl2.1+))))
2955 (define-public jack-keyboard
2957 (name "jack-keyboard")
2962 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2963 version "/jack-keyboard-" version ".tar.gz"))
2966 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2967 (build-system gnu-build-system)
2973 `(("pkg-config" ,pkg-config)))
2974 (home-page "http://jack-keyboard.sourceforge.net/")
2975 (synopsis "Virtual MIDI keyboard")
2976 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2977 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2978 (license license:bsd-2)))
2980 (define-public jack-capture
2982 (name "jack-capture")
2987 (url "https://github.com/kmatheussen/jack_capture")
2989 (file-name (string-append name "-" version "-checkout"))
2992 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2993 (build-system gnu-build-system)
2996 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2997 #:tests? #f ; there are none
2999 (modify-phases %standard-phases
3000 (delete 'configure))))
3002 `(("pkg-config" ,pkg-config)
3010 ("libsndfile" ,libsndfile)))
3011 (home-page "https://github.com/kmatheussen/jack_capture")
3012 (synopsis "Program for recording sound files with JACK")
3013 (description "This is a program for recording sound files with JACK. It
3014 can connect to any JACK port and record the output into a stereo WAV file.")
3015 (license license:gpl2+)))
3017 (define-public jack-select
3019 (name "jack-select")
3023 (uri (pypi-uri "jack-select" version))
3026 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
3027 (build-system gnu-build-system)
3029 `(#:modules ((guix build gnu-build-system)
3030 ((guix build python-build-system) #:prefix python:)
3032 #:imported-modules (,@%gnu-build-system-modules
3033 (guix build python-build-system))
3035 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3036 #:tests? #f ; there are none
3038 (modify-phases %standard-phases
3040 (lambda* (#:key inputs #:allow-other-keys)
3041 ;; python-dbus cannot be found but it's really there. See
3042 ;; https://github.com/SpotlightKid/jack-select/issues/2
3043 (substitute* "setup.py"
3044 (("'dbus-python',") ""))
3045 ;; Fix reference to dlopened libraries.
3046 (substitute* "jackselect/alsainfo.py"
3048 (search-input-file inputs "/lib/libasound.so.2")))))
3050 (assoc-ref python:%standard-phases 'build))
3051 (add-after 'install 'wrap
3052 (assoc-ref python:%standard-phases 'wrap)))))
3054 `(("pkg-config" ,pkg-config)))
3056 `(("alsa-lib" ,alsa-lib)
3057 ("python" ,python-wrapper)
3058 ("python-pyudev" ,python-pyudev)
3059 ("python-pyxdg" ,python-pyxdg)
3060 ("python-dbus" ,python-dbus)
3061 ("python-pygobject" ,python-pygobject)))
3062 (home-page "https://github.com/SpotlightKid/jack-select")
3063 (synopsis "Systray application to quickly change the JACK-DBus configuration")
3064 (description "This application displays an icon in the system tray (also
3065 known as notification area) of your desktop, which shows the status of the
3066 JACK audio server and when you click on it, a menu pops up, which lets you
3067 quickly select from the JACK configuration presets you created with QjackCtl.
3068 When you select a preset, its JACK engine and driver configuration settings
3069 are loaded via DBus into JACK and then the server is restarted. This allows
3070 you to switch between different audio setups with just two mouse clicks.")
3071 (license license:expat)))
3073 (define-public cursynth
3080 (uri (string-append "mirror://gnu/cursynth/cursynth-"
3083 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
3084 (patches (search-patches "cursynth-wave-rand.patch"))))
3085 (build-system gnu-build-system)
3086 (native-inputs `(("pkg-config" ,pkg-config)))
3087 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
3088 ;; prevents us from using pulseaudio
3089 (inputs `(("ncurses" ,ncurses)
3090 ("alsa" ,alsa-lib)))
3091 (home-page "https://www.gnu.org/software/cursynth/")
3092 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
3093 (description "GNU cursynth is a polyphonic synthesizer that runs
3094 graphically in the terminal. It is built on a full-featured subtractive
3095 synthesis engine. Notes and parameter changes may be entered via MIDI or the
3096 computer's keyboard.")
3097 (license license:gpl3+)))
3099 (define-public aj-snapshot
3101 (name "aj-snapshot")
3105 (uri (string-append "mirror://sourceforge/aj-snapshot/"
3106 "aj-snapshot-" version ".tar.bz2"))
3109 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
3110 (build-system gnu-build-system)
3112 `(("minixml" ,minixml)
3114 ("alsa-lib" ,alsa-lib)))
3116 `(("pkg-config" ,pkg-config)))
3117 (home-page "http://aj-snapshot.sourceforge.net/")
3118 (synopsis "Snapshot connections between ALSA and JACK clients")
3119 (description "Aj-snapshot is a small program that can be used to make
3120 snapshots of the connections made between JACK and/or ALSA clients. Because
3121 JACK can provide both audio and MIDI support to programs, aj-snapshot can
3122 store both types of connections for JACK. ALSA, on the other hand, only
3123 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
3124 from the command line.")
3125 (license license:gpl3+)))
3127 (define-public qtractor
3133 (uri (string-append "https://downloads.sourceforge.net/qtractor/"
3134 "qtractor-" version ".tar.gz"))
3137 "0n73xn3205afi9vsy6ianixq36ddp8qv6iaq03ldc6mkkfvn0nc5"))))
3138 (build-system gnu-build-system)
3140 `(#:tests? #f)) ; no "check" target
3143 ("qtx11extras" ,qtx11extras)
3144 ("alsa-lib" ,alsa-lib)
3146 ("libsndfile" ,libsndfile)
3151 ("libsamplerate" ,libsamplerate)
3152 ("libvorbis" ,libvorbis)
3154 ("rubberband" ,rubberband)
3158 `(("pkg-config" ,pkg-config)
3159 ("qttools" ,qttools)))
3160 (home-page "https://qtractor.org/")
3161 (synopsis "Audio/MIDI multi-track sequencer")
3163 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
3164 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
3165 follows a traditional multi-track tape recorder control paradigm.")
3166 (license license:gpl2+)))
3168 (define-public ams-lv2
3176 (url "https://github.com/blablack/ams-lv2")
3177 (commit (string-append "v" version))))
3178 (file-name (git-file-name name version))
3180 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
3181 (build-system waf-build-system)
3184 (modify-phases %standard-phases
3185 (add-after 'unpack 'remove-sse-flags
3186 (lambda* (#:key system #:allow-other-keys)
3187 (unless (or (string-prefix? "x86_64" system)
3188 (string-prefix? "i686" system))
3189 (substitute* "wscript"
3190 (("'-msse', '-mfpmath=sse', ") "")))
3192 #:tests? #f)) ; no tests
3201 `(("pkg-config" ,pkg-config)))
3202 (home-page "https://github.com/blablack/ams-lv2")
3203 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
3204 (description "This set of LV2 plugins is a port of the internal modules
3205 found in Alsa Modular Synth. These plugins are used to create modular
3206 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
3208 (license license:gpl2)))
3210 (define-public gxtuner
3217 (url "https://github.com/brummer10/gxtuner")
3218 (commit (string-append "v" version))))
3219 (file-name (git-file-name name version))
3222 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
3223 (build-system gnu-build-system)
3226 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3227 (string-append "INCLUDE_L_DIR="
3228 (assoc-ref %build-inputs "zita-resampler")
3231 (modify-phases %standard-phases
3232 (delete 'configure))))
3238 ("zita-resampler" ,zita-resampler)))
3240 `(("pkg-config" ,pkg-config)))
3241 (home-page "https://github.com/brummer10/gxtuner")
3242 (synopsis "Guitar tuner")
3243 (description "GXtuner is a simple guitar tuner for JACK with an
3244 analogue-like user interface.")
3245 (license license:gpl2+)))
3247 (define-public mod-host
3248 ;; The last release was in 2014 but since then hundreds of commits have
3250 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
3254 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
3258 (url "https://github.com/moddevices/mod-host")
3262 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
3263 (file-name (string-append name "-" version "-checkout"))))
3264 (build-system gnu-build-system)
3266 `(#:tests? #f ; no tests included
3268 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3271 (modify-phases %standard-phases
3273 (add-after 'unpack 'fix-jack-installation-directory
3275 ;; Do not attempt to install files to output of "jack" package.
3276 (substitute* "Makefile"
3277 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
3286 ("readline" ,readline)))
3288 `(("pkg-config" ,pkg-config)
3289 ("python" ,python-2)))
3290 (home-page "https://github.com/moddevices/mod-host")
3291 (synopsis "LV2 host for Jack controllable via socket or command line")
3292 (description "mod-host is an LV2 plugin host for JACK, controllable via
3293 socket or command line.")
3294 (license license:gpl3+))))
3296 (define-public curseradio
3297 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
3301 (version (git-version "0" revision commit))
3305 (url "https://github.com/chronitis/curseradio")
3307 (file-name (git-file-name name version))
3310 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
3311 (build-system python-build-system)
3314 (modify-phases %standard-phases
3315 (add-after 'unpack 'link-to-mpv
3316 (lambda* (#:key inputs #:allow-other-keys)
3317 (substitute* "curseradio/curseradio.py"
3319 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
3322 `(("python-lxml" ,python-lxml)
3323 ("python-requests" ,python-requests)
3324 ("python-pyxdg" ,python-pyxdg)))
3327 (home-page "https://github.com/chronitis/curseradio")
3328 (synopsis "Command-line Internet radio player")
3329 (description "Curseradio is a Curses-based radio player that uses a
3330 tune-in sender list from @url{http://opml.radiotime.com}.")
3331 (license license:expat))))
3333 (define-public pianobar
3336 (version "2020.11.28")
3340 (url "https://github.com/PromyLOPh/pianobar")
3342 (file-name (git-file-name name version))
3345 "13qx52a1yj2wghf7yd9jf4ar92scbc8zgqdq0kkqf4p9isf1phf3"))))
3346 (build-system gnu-build-system)
3348 `(#:tests? #f ; no tests
3349 #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
3350 #:phases (modify-phases %standard-phases
3351 (delete 'configure))))
3355 ("libgcrypt" ,libgcrypt)
3357 ("ffmpeg" ,ffmpeg)))
3359 `(("pkg-config" ,pkg-config)))
3360 (home-page "https://6xq.net/pianobar/")
3361 (synopsis "Console-based pandora.com player")
3362 (description "pianobar is a console-based music player for the
3363 personalized online radio pandora.com. It has configurable keys for playing
3364 and managing stations, can be controlled remotely via fifo, and can run
3365 event-based scripts for scrobbling, notifications, etc.")
3366 (license license:expat)))
3368 (define-public picard
3375 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
3376 "picard/picard-" version ".tar.gz"))
3379 "1c5l7i43jaj3s4wklc0cba6nn2x9cmpcggk4q4h9m1bci2xilsiy"))
3380 (patches (search-patches "picard-fix-id3-rename-test.patch"))))
3381 (build-system python-build-system)
3383 '(#:use-setuptools? #f
3386 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
3387 "--disable-autoupdate")
3389 (modify-phases %standard-phases
3390 (add-after 'unpack 'patch-source
3391 (lambda* (#:key inputs #:allow-other-keys)
3392 (substitute* "picard/const/__init__.py"
3396 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
3399 `(("gettext" ,gettext-minimal)
3400 ("python-dateutil" ,python-dateutil)))
3402 `(("chromaprint" ,chromaprint)
3403 ("python-discid" ,python-discid)
3404 ("python-pyqt" ,python-pyqt)
3405 ("python-mutagen" ,python-mutagen)))
3406 (home-page "https://picard.musicbrainz.org/")
3407 (synopsis "Graphical music tagging application")
3409 "MusicBrainz Picard is a music tagging application, supporting multiple
3410 formats, looking up tracks through metadata and audio fingerprints.")
3411 (license license:gpl2+)))
3413 (define-public python-mutagen
3415 (name "python-mutagen")
3419 (uri (pypi-uri "mutagen" version))
3422 "1qdk6i8gyhbi1c4j5jmbfpac3q8sff2ysri1pnp7nb9wzcp615v3"))))
3423 (build-system python-build-system)
3425 `(("python-pytest" ,python-pytest)
3426 ("python-hypothesis" ,python-hypothesis)
3427 ("python-flake8" ,python-flake8)))
3428 (home-page "https://bitbucket.org/lazka/mutagen")
3429 (synopsis "Read and write audio tags")
3430 (description "Mutagen is a Python module to handle audio metadata. It
3431 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
3432 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
3433 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
3434 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
3435 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
3436 streams on an individual packet/page level.")
3437 (license license:gpl2))) ; "later version" never mentioned
3439 (define-public python-mediafile
3441 (name "python-mediafile")
3446 (uri (pypi-uri "mediafile" version))
3447 (patches (search-patches "python-mediafile-wavpack.patch"))
3450 "0jmsp3f57xj35ayp8b6didk85nxgl3viw34s5px3l5dwgc055yx3"))))
3451 (build-system python-build-system)
3453 `(("python-mutagen" ,python-mutagen)
3454 ("python-six" ,python-six)
3455 ("python-tox" ,python-tox)))
3456 (home-page "https://github.com/beetbox/mediafile")
3457 (synopsis "Read and write audio file tags")
3459 "MediaFile is a simple interface to the metadata tags for many audio file
3460 formats. It wraps Mutagen, a high-quality library for low-level tag
3461 manipulation, with a high-level, format-independent interface for a common set
3463 (license license:expat)))
3465 (define-public python-musicbrainzngs
3467 (name "python-musicbrainzngs")
3471 (uri (pypi-uri "musicbrainzngs" version))
3474 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
3475 (build-system python-build-system)
3477 '(;; The tests fail suffer from race conditions:
3478 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
3480 (home-page "https://python-musicbrainzngs.readthedocs.org/")
3481 (synopsis "Python bindings for MusicBrainz NGS webservice")
3482 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
3483 web service. This library can be used to retrieve music metadata from the
3484 MusicBrainz database.")
3485 ;; 'musicbrainzngs/compat.py' is ISC licensed.
3486 (license (list license:bsd-2 license:isc))))
3488 (define-public python2-musicbrainzngs
3489 (package-with-python2 python-musicbrainzngs))
3491 (define-public python-isrcsubmit
3493 (name "python-isrcsubmit")
3498 (uri (pypi-uri "isrcsubmit" version))
3501 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
3502 (build-system python-build-system)
3504 `(("python-discid" ,python-discid)
3505 ("python-musicbrainzngs" ,python-musicbrainzngs)))
3506 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
3507 (synopsis "Submit ISRCs from CDs to MusicBrainz")
3508 (description "@code{isrcsubmit} is a tool to extract @dfn{International
3509 Standard Recording Code} (ISRCs) from audio CDs and submit them to
3510 @url{https://musicbrainz.org/, MusicBrainz}.")
3511 (license license:gpl3+)))
3513 (define-public python2-pyechonest
3515 (name "python2-pyechonest")
3519 (uri (pypi-uri "pyechonest" version))
3522 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
3523 (build-system python-build-system)
3525 `(;; Python 3 is not supported:
3526 ;; https://github.com/echonest/pyechonest/issues/42
3527 #:python ,python-2))
3528 (home-page "https://github.com/echonest/pyechonest")
3529 (synopsis "Python interface to The Echo Nest APIs")
3530 (description "Pyechonest is a Python library for the Echo Nest API. With
3531 Pyechonest you have Python access to the entire set of API methods including:
3534 @item artist - search for artists by name, description, or attribute, and get
3535 back detailed information about any artist including audio, similar artists,
3536 blogs, familiarity, hotttnesss, news, reviews, urls and video.
3537 @item song - search songs by artist, title, description, or attribute (tempo,
3538 duration, etc) and get detailed information back about each song, such as
3539 hotttnesss, audio_summary, or tracks.
3540 @item track - upload a track to the Echo Nest and receive summary information
3541 about the track including key, duration, mode, tempo, time signature along with
3542 detailed track info including timbre, pitch, rhythm and loudness information.
3544 (license license:bsd-3)))
3546 (define-public python-pylast
3548 (name "python-pylast")
3552 (uri (pypi-uri "pylast" version))
3555 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
3556 (build-system python-build-system)
3557 ;; Tests require network access. See
3558 ;; https://github.com/pylast/pylast/issues/105
3559 (arguments '(#:tests? #f))
3561 `(("python-coverage" ,python-coverage)
3562 ("python-pycodestyle" ,python-pycodestyle)
3563 ("python-mock" ,python-mock)
3564 ("python-pep8" ,python-pep8)
3565 ("python-pytest" ,python-pytest)
3566 ("python-flaky" ,python-flaky)
3567 ("python-pyflakes" ,python-pyflakes)
3568 ("python-pyyaml" ,python-pyyaml)))
3570 `(("python-six" ,python-six)))
3571 (home-page "https://github.com/pylast/pylast")
3572 (synopsis "Python interface to Last.fm and Libre.fm")
3573 (description "A Python interface to Last.fm and other API-compatible
3574 websites such as Libre.fm.")
3575 (license license:asl2.0)))
3577 (define-public python2-pylast
3578 (package-with-python2 python-pylast))
3580 (define-public instantmusic
3581 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
3584 (name "instantmusic")
3585 (version (git-version "1.0" revision commit))
3589 (url "https://github.com/yask123/Instant-Music-Downloader")
3591 (file-name (git-file-name name version))
3594 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
3595 (build-system python-build-system)
3597 `(("python-requests" ,python-requests)
3599 ("python-beautifulsoup4" ,python-beautifulsoup4)
3600 ("youtube-dl" ,youtube-dl)))
3602 '(#:modules ((guix build python-build-system)
3605 #:phases (modify-phases %standard-phases
3606 (add-before 'build 'change-directory
3608 (chdir "instantmusic-0.1") #t))
3609 (add-before 'install 'fix-file-permissions
3611 ;; Fix some read-only files that would cause a build failure
3612 (for-each (cut chmod <> #o644)
3613 (find-files "instantmusic.egg-info"
3614 "PKG-INFO|.*\\.txt"))
3616 (home-page "https://github.com/yask123/Instant-Music-Downloader")
3617 (synopsis "Command-line program to download a song from YouTube")
3618 (description "InstantMusic downloads a song from YouTube in MP3 format.
3619 Songs can be searched by artist, name or even by a part of the song text.")
3620 (license license:expat))))
3622 (define-public beets
3628 (uri (pypi-uri "beets" version))
3629 (patches (search-patches "beets-werkzeug-compat.patch"))
3632 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3633 (build-system python-build-system)
3636 (modify-phases %standard-phases
3637 ;; Reported upstream: <https://github.com/beetbox/beets/issues/3771>.
3638 ;; Disable the faulty test as the fix is unclear.
3639 (add-after 'unpack 'disable-failing-tests
3641 (substitute* "test/test_mediafile.py"
3642 (("def test_read_audio_properties") "def _test_read_audio_properties"))
3644 (add-after 'unpack 'set-HOME
3646 (setenv "HOME" (string-append (getcwd) "/tmp"))
3650 (invoke "nosetests" "-v")))
3651 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3652 ;; gstreamer plugins.
3653 (add-after 'wrap 'wrap-typelib
3654 (lambda* (#:key outputs #:allow-other-keys)
3655 (let ((prog (string-append (assoc-ref outputs "out")
3657 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3658 (types (getenv "GI_TYPELIB_PATH")))
3660 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3661 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3664 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3665 ("python-flask" ,python-flask)
3666 ("python-mock" ,python-mock)
3667 ("python-mpd2" ,python-mpd2)
3668 ("python-nose" ,python-nose)
3669 ("python-pathlib" ,python-pathlib)
3670 ("python-pyxdg" ,python-pyxdg)
3671 ("python-pylast" ,python-pylast)
3672 ("python-rarfile" ,python-rarfile)
3673 ("python-responses" ,python-responses)))
3674 ;; TODO: Install optional plugins and dependencies.
3676 `(("python-discogs-client" ,python-discogs-client)
3677 ("python-jellyfish" ,python-jellyfish)
3678 ("python-munkres" ,python-munkres)
3679 ("python-musicbrainzngs" ,python-musicbrainzngs)
3680 ("python-mutagen" ,python-mutagen)
3681 ("python-pyacoustid" ,python-pyacoustid)
3682 ("python-pyyaml" ,python-pyyaml)
3683 ("python-unidecode" ,python-unidecode)
3684 ;; For plugin replaygain.
3685 ("python-pygobject" ,python-pygobject)
3686 ("gobject-introspection" ,gobject-introspection)
3687 ("gst-plugins-base" ,gst-plugins-base)
3688 ("gst-plugins-good" ,gst-plugins-good)
3689 ("gstreamer" ,gstreamer)))
3690 (home-page "https://beets.io")
3691 (synopsis "Music organizer")
3692 (description "The purpose of beets is to get your music collection right
3693 once and for all. It catalogs your collection, automatically improving its
3694 metadata as it goes using the MusicBrainz database. Then it provides a variety
3695 of tools for manipulating and accessing your music.")
3696 (license license:expat)))
3698 (define-public beets-next
3699 (let ((commit "04ea754d00e2873ae9aa2d9e07c5cefd790eaee2")
3704 (version (git-version (package-version beets) revision commit))
3708 (url "https://github.com/beetbox/beets")
3710 (file-name (git-file-name "beets" version))
3713 "092a9sss2shhcjmpgbwvscv8brpm5970i5hddkhi81xcff3bg1h4"))))
3716 (modify-phases %standard-phases
3717 ;; XXX: unclear why this fails
3718 (add-after 'unpack 'disable-failing-tests
3720 (substitute* "test/test_zero.py"
3721 (("def test_album_art") "def _test_album_art"))
3723 (add-after 'unpack 'set-HOME
3725 (setenv "HOME" (string-append (getcwd) "/tmp"))
3729 ;; Resources must be writable.
3730 (for-each make-file-writable
3731 (find-files "test/rsrc" "."))
3732 (invoke "nosetests" "-v")))
3733 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3734 ;; gstreamer plugins.
3735 (add-after 'wrap 'wrap-typelib
3736 (lambda* (#:key outputs #:allow-other-keys)
3737 (let ((prog (string-append (assoc-ref outputs "out")
3739 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3740 (types (getenv "GI_TYPELIB_PATH")))
3742 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3743 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3746 `(("python-confuse" ,python-confuse)
3747 ("python-mediafile" ,python-mediafile)
3748 ("python-reflink" ,python-reflink)
3749 ("python-requests-oauthlib" ,python-requests-oauthlib)
3750 ("opusfile" ,opusfile)
3751 ,@(package-inputs beets))))))
3753 (define-public beets-bandcamp
3755 (name "beets-bandcamp")
3759 (uri (pypi-uri "beets-bandcamp" version))
3762 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
3763 (build-system python-build-system)
3764 (arguments '(#:tests? #f)) ; there are no tests
3767 ("python-isodate" ,python-isodate)))
3769 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3770 ("python-requests" ,python-requests)
3771 ("python-six" ,python-six)))
3772 (home-page "https://github.com/unrblt/beets-bandcamp")
3773 (synopsis "Bandcamp plugin for beets")
3775 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3776 https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3777 using the beets FetchArt plugin.")
3778 (license license:gpl2)))
3780 (define-public milkytracker
3782 (name "milkytracker")
3787 (url "https://github.com/milkytracker/MilkyTracker")
3788 (commit (string-append "v" version))))
3789 (file-name (git-file-name name version))
3792 "025fj34gq2kmkpwcswcyx7wdxb89vm944dh685zi4bxx0hz16vvk"))
3793 (modules '((guix build utils)))
3794 ;; Remove non-FSDG compliant sample songs.
3797 (delete-file-recursively "resources/music")
3798 (substitute* "CMakeLists.txt"
3799 (("add_subdirectory\\(resources/music\\)") ""))
3801 (build-system cmake-build-system)
3803 '(#:tests? #f ; no check target
3804 ;; This flag ensures that MilkyTracker links with the JACK library.
3805 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
3807 `(("alsa-lib" ,alsa-lib)
3813 ("zziplib" ,zziplib)))
3815 `(("pkg-config" ,pkg-config)))
3816 (synopsis "Music tracker for working with .MOD/.XM module files")
3817 (description "MilkyTracker is a music application for creating .MOD and .XM
3818 module files. It attempts to recreate the module replay and user experience of
3819 the popular DOS program Fasttracker II, with special playback modes available
3820 for improved Amiga ProTracker 2/3 compatibility.")
3821 (home-page "https://milkytracker.titandemo.org/")
3822 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3823 (license (list license:bsd-3 license:gpl3+))))
3825 (define-public schismtracker
3827 (name "schismtracker")
3828 (version "20190805")
3832 (url "https://github.com/schismtracker/schismtracker")
3834 (file-name (git-file-name name version))
3837 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
3838 (modules '((guix build utils)))
3840 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
3842 (substitute* "schism/version.c"
3843 (("Schism Tracker built %s %s.*$")
3844 (string-append "Schism Tracker version " ,version "\") ;")))
3846 (build-system gnu-build-system)
3849 (modify-phases %standard-phases
3850 (add-before 'configure 'link-libm
3851 (lambda _ (setenv "LIBS" "-lm") #t)))))
3853 `(("autoconf" ,autoconf)
3854 ("automake" ,automake)
3855 ("python" ,python)))
3857 `(("alsa-lib" ,alsa-lib) ; for asound dependency
3859 ("libxext" ,libxext)
3861 (home-page "http://schismtracker.org")
3862 (synopsis "Oldschool sample-based music composition tool")
3864 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3865 create high quality music without the requirements of specialized, expensive
3866 equipment, and with a unique \"finger feel\" that is difficult to replicate in
3867 part. The player is based on a highly modified version of the ModPlug engine,
3868 with a number of bugfixes and changes to improve IT playback.")
3869 (license license:gpl2+)))
3871 (define-public sooperlooper
3873 (name "sooperlooper")
3878 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3881 (base32 "0kbb1pj62rl32c88j6p7dg823kvs0gb5s42qy3bl6yg0wn10dksj"))))
3882 (build-system gnu-build-system)
3885 (modify-phases %standard-phases
3886 (add-after 'unpack 'add-sigc++-includes
3887 (lambda* (#:key inputs #:allow-other-keys)
3888 (let ((sig (assoc-ref inputs "libsigc++"))
3889 (xml (assoc-ref inputs "libxml2"))
3892 (string-append sig "/include/sigc++-2.0:"
3893 sig "/lib/sigc++-2.0/include:"
3894 xml "/include/libxml2/:"
3897 (or (getenv "CPATH") ""))))
3898 (substitute* '("src/control_osc.hpp"
3899 "src/gui/app_frame.hpp"
3900 "src/gui/config_panel.hpp"
3901 "src/gui/keys_panel.hpp"
3902 "src/gui/latency_panel.hpp"
3903 "src/gui/main_panel.hpp"
3904 "src/gui/midi_bind_panel.hpp"
3905 "src/gui/prefs_dialog.hpp")
3906 (("sigc\\+\\+/object.h")
3908 (substitute* '("src/engine.cpp"
3909 "src/gui/latency_panel.cpp"
3910 "src/gui/looper_panel.cpp"
3911 "src/gui/main_panel.cpp")
3912 (("(\\(| )bind " _ pre)
3913 (string-append pre "sigc::bind ")))
3915 (add-after 'unpack 'fix-xpm-warnings
3917 (substitute* (find-files "." "\\.xpm$")
3918 (("static char") "static const char"))
3922 ("alsa-lib" ,alsa-lib)
3923 ("wxwidgets" ,wxwidgets-gtk2)
3924 ("libsndfile" ,libsndfile)
3925 ("libsamplerate" ,libsamplerate)
3927 ("rubberband" ,rubberband)
3928 ("libxml2" ,libxml2)
3929 ("libsigc++" ,libsigc++)
3930 ("ncurses" ,ncurses)))
3932 `(("pkg-config" ,pkg-config)))
3933 (home-page "http://essej.net/sooperlooper/")
3934 (synopsis "Live looping sampler")
3936 "SooperLooper is a live looping sampler capable of immediate loop
3937 recording, overdubbing, multiplying, reversing and more. It allows for
3938 multiple simultaneous multi-channel loops limited only by your computer's
3940 (license license:gpl2+)))
3948 (uri (string-append "http://ftp.daper.net/pub/soft/"
3950 name "-" version ".tar.bz2"))
3953 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
3954 (build-system gnu-build-system)
3956 `(("alsa-lib" ,alsa-lib)
3959 ("ffmpeg" ,ffmpeg-3.4)
3962 ("libid3tag" ,libid3tag)
3963 ("libltdl" ,libltdl)
3964 ("libmodplug" ,libmodplug)
3965 ("libmpcdec" ,libmpcdec)
3968 ("libvorbis" ,libvorbis)
3969 ("ncurses" ,ncurses)
3970 ("openssl" ,openssl)
3971 ("sasl" ,cyrus-sasl)
3974 ("wavpack" ,wavpack)
3977 `(("pkg-config" ,pkg-config)))
3978 (synopsis "Console audio player designed to be powerful and easy to use")
3980 "Music on Console is a console audio player that supports many file
3981 formats, including most audio formats recognized by FFMpeg.")
3982 (home-page "http://moc.daper.net")
3983 (license license:gpl2+)))
3985 (define-public midicsv
3991 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3992 name "-" version ".tar.gz"))
3995 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3996 (build-system gnu-build-system)
3998 `(#:phases (modify-phases %standard-phases (delete 'configure))
3999 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
4000 (synopsis "Convert MIDI files to and from CSV")
4002 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
4003 value file (CSV), which preserves all the information in the MIDI file. The
4004 ASCII CSV file may be loaded into a spreadsheet or database application, or
4005 processed by a program to transform the MIDI data (for example, to key
4006 transpose a composition or extract a track from a multi-track sequence). A
4007 CSV file in the format created by midicsv may be converted back into a
4008 standard MIDI file with the csvmidi program.")
4009 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
4010 (license license:public-domain)))
4012 (define-public gx-guvnor-lv2
4014 (name "gx-guvnor-lv2")
4019 (url "https://github.com/brummer10/GxGuvnor.lv2")
4020 (commit (string-append "v" version))))
4021 (file-name (string-append name "-" version "-checkout"))
4024 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
4025 (build-system gnu-build-system)
4027 `(;; The check target is used only to output a warning.
4030 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
4032 (modify-phases %standard-phases
4035 (substitute* "Makefile"
4036 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
4037 (("install : all") "install :"))
4041 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
4042 (synopsis "Overdrive/distortion pedal simulation")
4043 (description "This package provides the LV2 plugin \"GxGuvnor\", a
4044 simulation of an overdrive or distortion pedal for guitars.")
4045 ;; The LICENSE file says GPLv3 but the license headers in the files say
4046 ;; GPLv2 or later. The whole project is released under GPLv3 or later
4047 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
4048 (license license:gpl3+)))
4050 (define-public gx-vbass-preamp-lv2
4051 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
4053 (package (inherit gx-guvnor-lv2)
4054 (name "gx-vbass-preamp-lv2")
4055 (version (string-append "0-" revision "." (string-take commit 9)))
4059 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
4063 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
4064 (file-name (string-append name "-" version "-checkout"))))
4069 `(("pkg-config" ,pkg-config)))
4070 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
4071 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
4072 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
4073 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
4076 (define-public gx-overdriver-lv2
4077 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
4079 (package (inherit gx-guvnor-lv2)
4080 (name "gx-overdriver-lv2")
4081 (version (string-append "0-" revision "." (string-take commit 9)))
4085 (url "https://github.com/brummer10/GxOverDriver.lv2")
4089 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
4090 (file-name (string-append name "-" version "-checkout"))))
4091 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
4092 (synopsis "Overdrive effect with level and tone control")
4093 (description "This package provides the LV2 plugin \"GxOverDriver\", an
4094 overdrive effect."))))
4096 (define-public gx-tone-mender-lv2
4097 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
4099 (package (inherit gx-guvnor-lv2)
4100 (name "gx-tone-mender-lv2")
4101 (version (string-append "0-" revision "." (string-take commit 9)))
4105 (url "https://github.com/brummer10/GxToneMender.lv2")
4109 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
4110 (file-name (string-append name "-" version "-checkout"))))
4111 (home-page "https://github.com/brummer10/GxToneMender.lv2")
4112 (synopsis "Clean boost with a 3-knob tonestack")
4113 (description "This package provides the LV2 plugin \"GxToneMender\", a
4114 clean boost effect with a 3-knob tonestack."))))
4116 (define-public gx-push-pull-lv2
4117 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
4119 (package (inherit gx-guvnor-lv2)
4120 (name "gx-push-pull-lv2")
4121 (version (string-append "0-" revision "." (string-take commit 9)))
4125 (url "https://github.com/brummer10/GxPushPull.lv2")
4129 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
4130 (file-name (string-append name "-" version "-checkout"))))
4131 (home-page "https://github.com/brummer10/GxPushPull.lv2")
4132 (synopsis "Octave up push pull transistor fuzz simulation")
4133 (description "This package provides the LV2 plugin \"GxPushPull\", a
4134 simulation of a push pull transistor fuzz effect with added high octave."))))
4136 (define-public gx-suppa-tone-bender-lv2
4137 (package (inherit gx-guvnor-lv2)
4138 (name "gx-suppa-tone-bender-lv2")
4143 (url "https://github.com/brummer10/GxSuppaToneBender.lv2")
4144 (commit (string-append "v" version))))
4145 (file-name (string-append name "-" version "-checkout"))
4148 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
4149 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
4150 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
4151 (description "This package provides the LV2 plugin
4152 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
4155 (define-public gx-saturator-lv2
4156 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
4158 (package (inherit gx-vbass-preamp-lv2)
4159 (name "gx-saturator-lv2")
4160 (version (string-append "0-" revision "." (string-take commit 9)))
4164 (url "https://github.com/brummer10/GxSaturator.lv2")
4168 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
4169 (file-name (string-append name "-" version "-checkout"))))
4170 (home-page "https://github.com/brummer10/GxSaturator.lv2")
4171 (synopsis "Saturation effect")
4172 (description "This package provides the LV2 plugin \"GxSaturator\", a
4173 saturation effect."))))
4175 (define-public gx-hyperion-lv2
4176 (package (inherit gx-guvnor-lv2)
4177 (name "gx-hyperion-lv2")
4182 (url "https://github.com/brummer10/GxHyperion.lv2")
4183 (commit (string-append "v" version))))
4184 (file-name (string-append name "-" version "-checkout"))
4187 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
4188 (home-page "https://github.com/brummer10/GxHyperion.lv2")
4189 (synopsis "Simulation of the Hyperion Fuzz pedal")
4190 (description "This package provides the LV2 plugin \"GxHyperion\", a
4191 simulation of the Hyperion Fuzz pedal.")))
4193 (define-public gx-voodoo-fuzz-lv2
4194 (package (inherit gx-guvnor-lv2)
4195 (name "gx-voodoo-fuzz-lv2")
4200 (url "https://github.com/brummer10/GxVoodoFuzz.lv2")
4201 (commit (string-append "v" version))))
4202 (file-name (string-append name "-" version "-checkout"))
4205 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
4206 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
4207 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
4208 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
4209 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
4210 Bosstone circuit, followed by the tone control of the FoxToneMachine in
4211 parallel with a DarkBooster, followed by a volume control.")))
4213 (define-public gx-super-fuzz-lv2
4214 (package (inherit gx-guvnor-lv2)
4215 (name "gx-super-fuzz-lv2")
4220 (url "https://github.com/brummer10/GxSuperFuzz.lv2")
4221 (commit (string-append "v" version))))
4222 (file-name (string-append name "-" version "-checkout"))
4225 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
4226 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
4227 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
4228 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
4229 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
4230 pot, which is usually in the housing, is exposed as a control parameter. It
4231 adjusts the amount of harmonics.")))
4233 (define-public gx-vintage-fuzz-master-lv2
4234 (package (inherit gx-guvnor-lv2)
4235 (name "gx-vintage-fuzz-master-lv2")
4240 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
4241 (commit (string-append "v" version))))
4242 (file-name (string-append name "-" version "-checkout"))
4245 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
4246 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
4247 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
4248 (description "This package provides the LV2 plugin
4249 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
4251 (define-public gx-slow-gear-lv2
4252 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
4254 (package (inherit gx-vbass-preamp-lv2)
4255 (name "gx-slow-gear-lv2")
4256 (version (string-append "0-" revision "." (string-take commit 9)))
4260 (url "https://github.com/brummer10/GxSlowGear.lv2")
4264 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
4265 (file-name (string-append name "-" version "-checkout"))))
4266 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
4267 (synopsis "Slow gear audio effect")
4268 (description "This package provides the LV2 plugin \"GxSlowGear\", a
4269 slow gear audio effect to produce volume swells."))))
4271 (define-public gx-switchless-wah-lv2
4272 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
4274 (package (inherit gx-guvnor-lv2)
4275 (name "gx-switchless-wah-lv2")
4276 (version (string-append "0-" revision "." (string-take commit 9)))
4280 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
4284 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
4285 (file-name (string-append name "-" version "-checkout"))))
4286 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
4287 (synopsis "Wah emulation with switchless activation")
4288 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
4289 a simulation of an analog Wah pedal with switchless activation."))))
4291 (define-public rkrlv2
4292 ;; This commit corresponds to the beta_3 tag
4293 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
4297 (version (git-version "0" revision commit))
4301 (url "https://github.com/ssj71/rkrlv2")
4305 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
4306 (file-name (git-file-name name version))))
4307 (build-system cmake-build-system)
4308 (arguments '(#:tests? #f)) ; there are no tests
4311 ("libsamplerate" ,libsamplerate)
4314 `(("pkg-config" ,pkg-config)))
4315 (home-page "https://github.com/ssj71/rkrlv2")
4316 (synopsis "Rakarrack effects ported to LV2 plugins")
4317 (description "This package provides the Rakarrack effects as LV2
4318 plugins. The ports are done such that hopefully when Rakarrack gets an active
4319 maintainer these will get merged into the original project.")
4320 (license license:gpl2))))
4322 (define-public mod-utilities
4323 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
4326 (name "mod-utilities")
4327 (version (string-append "0-" revision "." (string-take commit 9)))
4331 (url "https://github.com/moddevices/mod-utilities")
4333 (file-name (string-append name "-" version "-checkout"))
4336 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
4337 (build-system gnu-build-system)
4339 `(#:tests? #f ; there are no tests
4341 (list (string-append "INSTALL_PATH="
4342 (assoc-ref %outputs "out")
4344 (string-append "PREFIX=" (assoc-ref %outputs "out"))
4347 (modify-phases %standard-phases
4348 (delete 'configure))))
4351 (home-page "https://github.com/moddevices/mod-utilities")
4352 (synopsis "LV2 utility plugins")
4353 (description "This package provides LV2 audio utility plugins, such as
4354 filters, crossovers, simple gain plugins without zipper noise, switch box
4355 plugins, a switch trigger, a toggle switch, and a peakmeter.")
4356 (license license:gpl2+))))
4358 (define-public ingen
4359 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
4363 (version (string-append "0.0.0-" revision "."
4364 (string-take commit 9)))
4369 (url "https://git.drobilla.net/ingen.git")
4371 (file-name (string-append name "-" version "-checkout"))
4374 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
4375 (build-system waf-build-system)
4377 `(#:python ,python-2
4378 #:tests? #f ; no "check" target
4379 #:configure-flags (list "--no-webkit")
4381 (modify-phases %standard-phases
4382 (add-after 'unpack 'patch-wscript
4383 (lambda* (#:key outputs #:allow-other-keys)
4384 (let ((out (assoc-ref outputs "out")))
4385 (substitute* "wscript"
4386 ;; FIXME: Our version of lv2specgen.py does not behave as
4387 ;; expected. Maybe this requires a development version of
4389 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
4390 ;; Add libraries to RUNPATH.
4391 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
4392 (string-append prefix
4393 "linkflags=[\"-Wl,-rpath="
4394 out "/lib" "\"]," line)))
4395 (substitute* '("src/wscript"
4396 "src/server/wscript")
4397 ;; Add libraries to RUNPATH.
4398 (("bld.env.PTHREAD_LINKFLAGS" line)
4400 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
4401 (substitute* "src/client/wscript"
4402 ;; Add libraries to RUNPATH.
4403 (("^(.+)target.*= 'ingen_client'," line prefix)
4404 (string-append prefix
4405 "linkflags=[\"-Wl,-rpath="
4406 out "/lib" "\"]," line)))
4407 (substitute* "src/gui/wscript"
4408 ;; Add libraries to RUNPATH.
4409 (("^(.+)target.* = 'ingen_gui.*" line prefix)
4410 (string-append prefix
4411 "linkflags=[\"-Wl,-rpath="
4412 out "/lib" "\"]," line))))
4416 ("python-rdflib" ,python-rdflib)
4421 ("raul" ,raul-devel)
4427 ("gtkmm" ,gtkmm-2)))
4429 `(("pkg-config" ,pkg-config)
4430 ("python-pygments" ,python-pygments)))
4431 (home-page "https://drobilla.net/software/ingen")
4432 (synopsis "Modular audio processing system")
4433 (description "Ingen is a modular audio processing system for JACK and
4434 LV2 based systems. Ingen is built around LV2 technology and a strict
4435 separation of engine from user interface. The engine is controlled
4436 exclusively through a protocol, and can execute as a headless process, with an
4437 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
4438 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
4439 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
4440 plugin on any system where Ingen is installed. This allows users to visually
4441 develop custom plugins for use in other applications without programming.")
4442 (license license:agpl3+))))
4444 (define-public qmidiarp
4450 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
4451 version "/qmidiarp-" version ".tar.bz2"))
4454 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
4455 (build-system gnu-build-system)
4458 (list "--enable-qt5")))
4460 `(("qtbase" ,qtbase-5)
4461 ("alsa-lib" ,alsa-lib)
4466 `(("pkg-config" ,pkg-config)
4467 ("qttools" ,qttools)))
4468 (home-page "http://qmidiarp.sourceforge.net/")
4469 (synopsis "MIDI arpeggiator")
4470 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
4471 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
4472 modules running in parallel.")
4473 (license license:gpl2+)))
4475 (define-public qmidiroute
4481 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
4482 version "/qmidiroute-" version ".tar.bz2"))
4485 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
4486 (build-system gnu-build-system)
4489 (list "--enable-qt5")))
4491 `(("qtbase" ,qtbase-5)
4492 ("alsa-lib" ,alsa-lib)))
4494 `(("pkg-config" ,pkg-config)
4495 ("qttools" ,qttools)))
4496 (home-page "http://alsamodular.sourceforge.net/")
4497 (synopsis "MIDI event router and filter")
4498 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
4499 control change, program change and pitch bend events are logged, and can be
4500 filtered, redirected and transformed into other events according to MIDI maps
4501 defined as tabs in the main control surface.")
4502 (license license:gpl2+)))
4504 (define-public seq24
4510 (uri (string-append "https://launchpad.net/seq24/trunk/"
4511 version "/+download/seq24-"
4512 version ".tar.bz2"))
4515 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
4516 (patches (search-patches "seq24-rename-mutex.patch"))))
4517 (build-system gnu-build-system)
4519 `(("gtkmm" ,gtkmm-2)
4520 ("alsa-lib" ,alsa-lib)
4524 `(("pkg-config" ,pkg-config)))
4525 (home-page "https://edge.launchpad.net/seq24/")
4526 (synopsis "Real-time MIDI sequencer")
4527 (description "Seq24 is a real-time MIDI sequencer. It was created to
4528 provide a very simple interface for editing and playing MIDI loops.")
4529 (license license:gpl2+)))
4531 (define-public python-discogs-client
4533 (name "python-discogs-client")
4537 (uri (pypi-uri "discogs-client" version))
4540 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
4541 (build-system python-build-system)
4543 `(("python-oauthlib" ,python-oauthlib)
4544 ("python-requests" ,python-requests)))
4546 `(("python-six" ,python-six)))
4547 (home-page "https://github.com/discogs/discogs_client")
4548 (synopsis "Official Python client for the Discogs API")
4549 (description "This is the official Discogs API client for Python. It enables
4550 you to query the Discogs database for information on artists, releases, labels,
4551 users, Marketplace listings, and more. It also supports OAuth 1.0a
4552 authorization, which allows you to change user data such as profile information,
4553 collections and wantlists, inventory, and orders.")
4554 (license license:bsd-2)))
4556 (define-public python2-discogs-client
4557 (package-with-python2 python-discogs-client))
4559 (define-public libsmf
4566 ;; SF download page says development moved, but the link it points to
4567 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
4568 ;; it but made no release so far (https://github.com/stump/libsmf).
4569 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
4570 version "/libsmf-" version ".tar.gz"))
4573 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
4574 (build-system gnu-build-system)
4576 "static")) ; 88KiB of .a files
4579 (modify-phases %standard-phases
4580 (add-after 'install 'move-static-libraries
4581 (lambda* (#:key outputs #:allow-other-keys)
4582 ;; Move static libraries to the "static" output.
4583 (let* ((out (assoc-ref outputs "out"))
4584 (lib (string-append out "/lib"))
4585 (static (assoc-ref outputs "static"))
4586 (slib (string-append static "/lib")))
4588 (for-each (lambda (file)
4589 (install-file file slib)
4591 (find-files lib "\\.a$"))
4594 `(("readline" ,readline)
4597 `(("doxygen" ,doxygen)
4598 ("pkg-config" ,pkg-config)))
4599 (home-page "http://libsmf.sourceforge.net/")
4600 (synopsis "Standard MIDI File format library")
4602 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
4603 conversions between time and pulses, tempo map handling and more. The only dependencies
4604 are a C compiler and glib. Full API documentation and examples are included.")
4605 (license license:bsd-2)))
4615 (url "https://github.com/LMMS/lmms")
4616 (commit (string-append "v" version))))
4617 (file-name (git-file-name name version))
4620 "11xgf461cnmq0jkgdgx5bddi87ammpik4whg1m4fcvd3i0d5i601"))))
4621 (build-system cmake-build-system)
4623 `(#:tests? #f ; no tests
4624 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
4625 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
4626 ;; Also, explicitly disabling VST support gets rid of the in-tree
4627 ;; dependency on qt5-x11embed.
4628 #:configure-flags '("-DWANT_QT5=ON"
4631 (modify-phases %standard-phases
4632 (add-after 'unpack 'unpack-rpmalloc
4633 (lambda* (#:key inputs #:allow-other-keys)
4634 (copy-recursively (assoc-ref inputs "rpmalloc")
4635 "src/3rdparty/rpmalloc/rpmalloc")
4637 (add-before 'configure 'set-ldflags
4638 (lambda* (#:key outputs #:allow-other-keys)
4642 (assoc-ref outputs "out") "/lib/lmms"
4644 (assoc-ref outputs "out") "/lib/lmms/ladspa"
4647 (add-before 'reset-gzip-timestamps 'make-manpages-writable
4648 (lambda* (#:key outputs #:allow-other-keys)
4650 (make-file-writable file))
4651 (find-files (string-append (assoc-ref outputs "out")
4656 `(("pkg-config" ,pkg-config)
4657 ("qttools" ,qttools)
4658 ;; rpmalloc is a public domain memory allocator. This version specified
4659 ;; below is the version required by LMMS.
4660 ;; To get the new commit of rpmalloc to use here, run
4661 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
4662 ;; in the cloned LMMS repository.
4667 (url "https://github.com/mjansson/rpmalloc")
4668 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
4671 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
4674 ("qtbase" ,qtbase-5)
4675 ("qtx11extras" ,qtx11extras)
4678 ("libsamplerate" ,libsamplerate)
4679 ("fluidsynth" ,fluidsynth)
4680 ("libvorbis" ,libvorbis)
4681 ("alsa-lib" ,alsa-lib)
4682 ("portaudio" ,portaudio)
4684 ("libsndfile1" ,libsndfile)
4686 ("freetype2" ,freetype)
4690 (home-page "https://lmms.io/")
4691 (synopsis "Music composition tool")
4692 (description "LMMS is a digital audio workstation. It includes tools for sequencing
4693 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
4694 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
4695 (license license:gpl2+)))
4697 (define-public liquidsfz
4703 (uri (string-append "https://space.twc.de/~stefan/liquidsfz/"
4704 "liquidsfz-" version ".tar.bz2"))
4707 "1hb4hc3gkvjfbx0ls6wxzavhv2hf9ix11cz8yvndyb6q9lwkimwl"))))
4708 (build-system gnu-build-system)
4710 `(#:configure-flags '("--enable-shared")))
4712 `(("pkg-config" ,pkg-config)
4713 ;; Fails with default gcc (#include <filesystem> not found).
4718 ("readline" ,readline)
4719 ("libsndfile" ,libsndfile)))
4720 (home-page "https://github.com/swesterfeld/liquidsfz")
4721 (synopsis "Sampler library")
4722 (description "The main goal of liquidsfz is to provide an SFZ sampler
4723 implementation library that is easy to integrate into other projects. A
4724 standalone JACK client and an LV2 plugin is also available.")
4725 (license license:lgpl2.1+)))
4727 (define-public musescore
4735 (url "https://github.com/musescore/MuseScore")
4736 (commit (string-append "v" version))))
4737 (file-name (git-file-name name version))
4739 (base32 "0szvb6mlzy9df9lrq546rrpixa480knzij1wgh6ilflxz87q048q"))
4740 (modules '((guix build utils)))
4742 ;; Remove unused libraries.
4744 (for-each delete-file-recursively
4745 '("thirdparty/freetype"
4746 "thirdparty/openssl"
4747 "thirdparty/portmidi"
4748 "thirdparty/qt-google-analytics"))
4750 (build-system qt-build-system)
4753 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
4754 "-DBUILD_WEBENGINE=OFF"
4755 "-DDOWNLOAD_SOUNDFONT=OFF"
4756 "-DMUSESCORE_BUILD_CONFIG=release"
4757 "-DUSE_SYSTEM_FREETYPE=ON")
4758 ;; There are tests, but no simple target to run. The command used to
4761 ;; make debug && sudo make installdebug && cd \
4762 ;; build.debug/mtest && make && ctest
4764 ;; Basically, it requires to start a whole new build process.
4765 ;; So we simply skip them.
4768 `(("alsa-lib" ,alsa-lib)
4769 ("freetype" ,freetype)
4770 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
4774 ("libsndfile" ,libsndfile)
4775 ("libvorbis" ,libvorbis)
4776 ("portaudio" ,portaudio)
4777 ("portmidi" ,portmidi)
4778 ("pulseaudio" ,pulseaudio)
4779 ("qtbase" ,qtbase-5)
4780 ("qtdeclarative" ,qtdeclarative)
4781 ("qtgraphicaleffects" ,qtgraphicaleffects)
4782 ("qtquickcontrols2" ,qtquickcontrols2)
4783 ("qtscript" ,qtscript)
4785 ("qtxmlpatterns" ,qtxmlpatterns)))
4787 `(("pkg-config" ,pkg-config)
4788 ("qttools" ,qttools)))
4789 (synopsis "Music composition and notation software")
4791 "MuseScore is a music score typesetter. Its main purpose is the creation
4792 of high-quality engraved musical scores in a WYSIWYG environment.
4794 It supports unlimited staves, linked parts and part extraction, tablature,
4795 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
4796 lyrics (multiple verses), fretboard diagrams, and in general everything
4797 commonly used in sheet music. Style options and style sheets to change the
4798 appearance and layout are provided.
4800 MuseScore can also play back scores through the built-in sequencer and SoundFont
4802 (home-page "https://musescore.org")
4803 (license license:gpl2)))
4805 (define-public muse-sequencer
4807 (name "muse-sequencer")
4812 (url "https://github.com/muse-sequencer/muse")
4814 (file-name (git-file-name name version))
4817 "1gamr9ln10l26wwyin1a4grrqy6h05qzcgp28wsp85yczkpsh02c"))))
4818 (build-system qt-build-system)
4820 `(#:tests? #f ; there is no test target
4822 (list "-DENABLE_VST_NATIVE=OFF"
4823 (string-append "-DCMAKE_EXE_LINKER_FLAGS="
4825 (assoc-ref %outputs "out") "/lib/muse-"
4826 ,(version-major+minor version) "/modules")
4827 (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
4829 (assoc-ref %outputs "out") "/lib/muse-"
4830 ,(version-major+minor version) "/modules"))
4832 (modify-phases %standard-phases
4833 (add-after 'unpack 'chdir
4834 (lambda _ (chdir "src"))))))
4836 `(("alsa-lib" ,alsa-lib)
4838 ("fluidsynth" ,fluidsynth)
4843 ("libinstpatch" ,libinstpatch)
4845 ("libsamplerate" ,libsamplerate)
4846 ("libsndfile" ,libsndfile)
4851 ("pulseaudio" ,pulseaudio) ; required by rtaudio
4852 ("qtbase" ,qtbase-5)
4854 ("rtaudio" ,rtaudio)
4855 ("rubberband" ,rubberband)
4859 ("pkg-config" ,pkg-config)
4860 ("python" ,python-wrapper)
4861 ("qttools" ,qttools)))
4862 (home-page "https://muse-sequencer.github.io/")
4863 (synopsis "MIDI/Audio sequencer")
4864 (description "MusE is a MIDI/Audio sequencer with recording and editing
4865 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4866 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4867 list view, and a score editor. MusE aims to be a complete multitrack virtual
4869 (license license:gpl2+)))
4871 (define-public gsequencer
4879 (url "https://git.savannah.gnu.org/git/gsequencer.git/")
4881 (file-name (git-file-name name version))
4883 (base32 "1gwy7fhbxgrd5n6afq1hnxc6p873wsh4qs63yhkkdfzyl7s412z4"))))
4884 (build-system glib-or-gtk-build-system)
4887 (modify-phases %standard-phases
4888 (add-before 'build 'prepare-x-for-test
4891 (setenv "DISPLAY" ":0"))))))
4893 `(("autoconf" ,autoconf)
4894 ("automake" ,automake)
4896 ("gettext" ,gettext-minimal)
4897 ("gobject-introspection" ,gobject-introspection)
4898 ("gtk-doc" ,gtk-doc)
4899 ("libtool" ,libtool)
4900 ("libxslt" ,libxslt)
4901 ("pkg-config" ,pkg-config)
4902 ("xorg-server" ,xorg-server-for-tests)))
4904 `(("alsa-lib" ,alsa-lib)
4907 ("gst-plugins-base" ,gst-plugins-base)
4908 ("gstreamer" ,gstreamer)
4912 ("libinstpatch" ,libinstpatch)
4913 ("libsamplerate" ,libsamplerate)
4914 ("libsndfile" ,libsndfile)
4915 ("libsoup" ,libsoup)
4916 ("libuuid" ,util-linux "lib")
4917 ("libxml2" ,libxml2)
4919 ("pulseaudio" ,pulseaudio)
4920 ("webkitgtk" ,webkitgtk)))
4921 (home-page "https://nongnu.org/gsequencer/")
4922 (synopsis "Advanced Gtk+ Sequencer")
4924 "GSequencer allows you to play, capture and create music. There is a piano
4925 roll, automation and wave form editor. It has machines for playing drum samples,
4926 Soundfont2 sound containers and synthesizers. They usually can be connected to a
4927 MIDI input source (instrument). It has support for various audio backends like
4928 ALSA, Pulseaudio, JACK, OSSv4 and CoreAudio.")
4929 (license license:gpl3+)))
4938 "mirror://sourceforge/dssi/dssi/" version
4939 "/dssi-" version ".tar.gz"))
4942 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4943 (build-system gnu-build-system)
4945 `(("alsa-lib" ,alsa-lib)
4948 ("libsamplerate" ,libsamplerate)
4949 ("libsndfile" ,libsndfile)
4952 `(("pkg-config" ,pkg-config)))
4953 (synopsis "Audio plugin API for soft synths and effects")
4954 (description "DSSI is a plugin API for software instruments with user
4955 interfaces, permitting them to be hosted in-process by audio applications.
4956 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4957 towards familiarity with MIDI. The DSSI distribution package contains
4958 a JACK/ALSA-sequencer reference host and some plugins as well as the
4959 specification and header.")
4960 (home-page "http://dssi.sourceforge.net/")
4961 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4962 ;; The vast majority of examples are in the public domain.
4963 (license (list license:lgpl2.1+ license:gpl2+))))
4965 (define-public rosegarden
4972 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4973 version "/rosegarden-" version ".tar.bz2"))
4975 (base32 "0rhbmygzh62hc3mkq60lh9r28wvfkhzzd5kspl1ll0h1ipjgvr6d"))))
4976 (build-system cmake-build-system)
4978 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4980 (modify-phases %standard-phases
4981 (add-after 'unpack 'patch-tests
4983 (substitute* "CMakeLists.txt"
4984 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4986 ((" -fvisibility=hidden") ""))
4988 (add-after 'unpack 'fix-references
4989 (lambda* (#:key inputs #:allow-other-keys)
4990 (substitute* "src/gui/general/ProjectPackager.cpp"
4992 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4994 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4996 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4998 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
5000 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
5001 (substitute* "src/gui/general/LilyPondProcessor.cpp"
5002 (("\"convert-ly\\>")
5003 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
5005 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
5007 (add-after 'unpack 'make-reproducible
5009 ;; Prevent Last-Modified from being written.
5010 ;; The "*.qm" files that are used in locale.qrc would have a new
5011 ;; mtime otherwise that is written into qrc_locale.cpp in the
5012 ;; end - except when we disable it.
5013 (substitute* "src/CMakeLists.txt"
5014 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
5015 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
5017 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
5018 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
5020 ;; Make hashtable traversal order predicable.
5021 (setenv "QT_RCC_TEST" "1") ; important
5023 (add-before 'check 'prepare-check
5025 (setenv "QT_QPA_PLATFORM" "offscreen")
5026 ;; Tests create files in $HOME/.local/share/rosegarden .
5027 (mkdir-p "/tmp/foo")
5028 (setenv "HOME" "/tmp/foo")
5029 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
5032 `(("alsa-lib" ,alsa-lib)
5040 ("libsamplerate" ,libsamplerate)
5041 ("lilypond" ,lilypond)
5043 ("qtbase" ,qtbase-5)
5046 ("wavpack" ,wavpack)
5049 `(("pkg-config" ,pkg-config)
5050 ("qtlinguist" ,qttools)))
5051 (synopsis "Music composition and editing environment based around a MIDI
5053 (description "Rosegarden is a music composition and editing environment
5054 based around a MIDI sequencer that features a rich understanding of music
5055 notation and includes basic support for digital audio.")
5056 (home-page "https://www.rosegardenmusic.com/")
5057 (license license:gpl2)))
5059 (define-public patchmatrix
5061 (name "patchmatrix")
5066 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
5068 (file-name (git-file-name "patchmatrix" version))
5071 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
5072 (build-system meson-build-system)
5073 (arguments '(#:tests? #f)) ; no test target
5079 `(("pkg-config" ,pkg-config)))
5080 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
5081 (synopsis "Simple JACK patch bay")
5082 (description "PatchMatrix is a patch bay for the JACK audio connection
5083 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
5085 (license license:artistic2.0)))
5087 (define-public sorcer
5093 (uri (string-append "https://github.com/openAVproductions/"
5094 "openAV-Sorcer/archive/release-"
5096 (file-name (string-append name "-" version ".tar.gz"))
5099 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
5100 (build-system cmake-build-system)
5102 `(#:tests? #f ; no tests included
5104 (modify-phases %standard-phases
5105 (add-after 'unpack 'remove-architecture-specific-flags
5107 (substitute* "CMakeLists.txt"
5108 (("-msse2 -mfpmath=sse") ""))
5110 (add-after 'unpack 'build-faust-sources
5111 (lambda* (#:key inputs #:allow-other-keys)
5112 (with-directory-excursion "faust"
5113 (delete-file "main.cpp")
5114 (invoke "faust" "-i"
5116 "-o" "main.cpp" "main.dsp")))))))
5123 ("pkg-config" ,pkg-config)))
5124 (home-page "http://openavproductions.com/sorcer/")
5125 (synopsis "Wavetable LV2 plugin synth")
5126 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
5127 the electronic or dubstep genre.")
5128 (license license:gpl3+)))
5130 (define-public sonivox-eas
5132 (name "sonivox-eas")
5137 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
5138 (commit (string-append "v" version))))
5139 (file-name (string-append name "-" version "-checkout"))
5142 "1ygmlrsdzxii2dvj6id2ai3xv3klw2x67ip5rcp823jzczl0wpjd"))))
5143 (build-system cmake-build-system)
5144 (arguments '(#:tests? #f)) ; there are no tests
5146 `(("alsa-lib" ,alsa-lib)
5147 ("drumstick" ,drumstick)
5148 ("pulseaudio" ,pulseaudio)
5149 ("qtbase" ,qtbase-5)))
5151 `(("pkg-config" ,pkg-config)))
5152 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
5153 (synopsis "MIDI synthesizer library")
5154 (description "This project is a real time General MIDI synthesizer based
5155 on the Sonivox EAS Synthesizer by Google. It does not need external
5156 soundfonts, using embedded samples instead.")
5157 ;; Sonivox is released under the ASL2.0; the rest of the code is under
5159 (license (list license:gpl2+ license:asl2.0))))
5161 (define-public whysynth
5164 (version "20170701")
5167 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
5168 version ".tar.bz2"))
5171 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
5172 (build-system gnu-build-system)
5179 ("alsa-lib" ,alsa-lib)))
5181 `(("pkg-config" ,pkg-config)))
5182 (home-page "http://smbolton.com/whysynth.html")
5183 (synopsis "DSSI software synthesizer")
5184 (description "WhySynth is a versatile softsynth which operates as a plugin
5185 for the DSSI Soft Synth Interface. A brief list of features:
5188 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
5189 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
5190 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
5192 @item 10 filter modes.
5193 @item flexible modulation and mixdown options, plus effects.
5196 (license license:gpl2+)))
5198 (define-public libdiscid
5206 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
5210 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
5211 (arguments `(#:test-target "check"))
5212 (build-system cmake-build-system)
5213 (home-page "https://musicbrainz.org/doc/libdiscid")
5214 (synopsis "Disc id reader library")
5215 (description "libdiscid is a C library for creating MusicBrainz and freedb
5216 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
5217 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
5218 it provides a submission URL for adding the disc ID to the database and gathers
5219 ISRCs and the MCN (=UPC/EAN) from disc.")
5220 (license license:lgpl2.1+)))
5222 (define-public python-discid
5224 (name "python-discid")
5229 (uri (pypi-uri "discid" version))
5232 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
5233 (build-system python-build-system)
5235 `(("libdiscid" ,libdiscid)))
5238 (modify-phases %standard-phases
5239 (add-before 'build 'set-libdiscid
5240 ;; Set path of libdiscid
5241 (lambda* (#:key inputs #:allow-other-keys)
5242 (let ((discid (assoc-ref inputs "libdiscid")))
5243 (substitute* "discid/libdiscid.py"
5244 (("lib_name = (.*)$" all name)
5245 (string-append "lib_name = \"" discid
5246 "/lib/libdiscid.so.0\"\n")))
5248 (home-page "https://python-discid.readthedocs.io/")
5249 (synopsis "Python bindings for Libdiscid")
5251 "This package provides Python bindings for the Libdiscid library. The
5252 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
5253 Disc IDs} for use with the MusicBrainz database. Additionally the disc
5254 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
5255 Recording Code} (ISRC) can be extracted.}")
5256 (license license:lgpl3+)))
5258 (define-public libmusicbrainz
5260 (name "libmusicbrainz")
5266 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
5267 version "/libmusicbrainz-" version ".tar.gz"))
5270 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
5271 (build-system cmake-build-system)
5274 (modify-phases %standard-phases
5277 ;; requires network connections
5278 ;; (invoke "tests/mbtest")
5279 (invoke "tests/ctest")
5281 (inputs `(("neon" ,neon)
5282 ("libxml2" ,libxml2)))
5283 (native-inputs `(("pkg-config" ,pkg-config)))
5284 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
5285 (synopsis "MusicBrainz client library")
5286 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
5287 mb_client, is a development library geared towards developers who wish to add
5288 MusicBrainz lookup capabilities to their applications.")
5289 (license license:lgpl2.1+)))
5291 (define-public perl-musicbrainz-discid
5293 (name "perl-musicbrainz-discid")
5298 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
5302 "1azc91jnwa3gdmy9pc8mflakgvsvf69ywwlqllxmdzwpk386w2xs"))))
5303 (build-system perl-build-system)
5304 (native-inputs `(("pkg-config" ,pkg-config)
5306 (inputs `(("libdiscid" ,libdiscid)))
5307 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
5308 (synopsis "Perl interface to the MusicBrainz libdiscid library")
5310 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
5311 MusicBrainz libdiscid library, allowing you to manipulate digital audio
5312 compact disc (CDDA) identifiers.")
5313 (license license:gpl2)))
5315 (define-public perl-webservice-musicbrainz
5317 (name "perl-webservice-musicbrainz")
5322 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
5326 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
5327 (build-system perl-build-system)
5329 ;; Tests try to connect to http://musicbrainz.org.
5332 `(("perl-module-build" ,perl-module-build)))
5334 `(("perl-mojolicious" ,perl-mojolicious)))
5335 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
5336 (synopsis "Web service API to the MusicBrainz database")
5338 "This module searches the MusicBrainz database through their web service
5339 at @code{musicbrainz.org}.")
5340 (license license:perl-license)))
5342 (define-public clyrics
5350 (url "https://github.com/trizen/clyrics")
5352 (file-name (git-file-name name version))
5354 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
5355 (build-system trivial-build-system)
5357 `(("bash" ,bash) ; for the wrapped program
5359 ("perl-www-mechanize" ,perl-www-mechanize)
5360 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
5361 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
5362 ;; 500 Can't verify SSL peers without knowing which Certificate
5363 ;; Authorities to trust".
5364 ("perl-mozilla-ca" ,perl-mozilla-ca)))
5366 `(#:modules ((guix build utils))
5368 (use-modules (guix build utils)
5371 (let* ((source (assoc-ref %build-inputs "source"))
5372 (output (assoc-ref %outputs "out")))
5375 (assoc-ref %build-inputs "bash") "/bin" ":"
5376 (assoc-ref %build-inputs "perl") "/bin" ":"))
5377 (copy-recursively source (getcwd))
5378 (patch-shebang "clyrics")
5379 (substitute* "clyrics"
5380 (("/usr/share") output))
5381 (install-file "clyrics" (string-append output "/bin"))
5382 (wrap-program (string-append output "/bin/clyrics")
5387 (((? (cut string-prefix? "perl-" <>) name) . dir)
5388 (string-append dir "/lib/perl5/site_perl"))
5391 (copy-recursively "plugins" (string-append output "/clyrics"))
5393 (home-page "https://github.com/trizen/clyrics")
5394 (synopsis "Extensible lyrics fetcher")
5396 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
5397 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
5398 console music players.")
5399 (license license:gpl3+)))
5401 (define-public demlo
5402 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
5406 (version (git-version "3.8" revision commit))
5412 "https://gitlab.com/ambrevar/demlo")
5414 (file-name (git-file-name name version))
5417 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
5418 (build-system go-build-system)
5421 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5422 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
5423 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
5424 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
5425 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
5426 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
5427 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
5428 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
5429 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
5430 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
5432 `(("chromaprint" ,chromaprint)
5433 ("ffmpeg" ,ffmpeg)))
5435 `(#:import-path "gitlab.com/ambrevar/demlo"
5437 (modify-phases %standard-phases
5438 (add-after 'install 'wrap-program
5439 (lambda* (#:key inputs outputs #:allow-other-keys)
5440 (let ((out (assoc-ref outputs "out"))
5441 (ffmpeg (assoc-ref inputs "ffmpeg"))
5442 (chromaprint (assoc-ref inputs "chromaprint")))
5443 (wrap-program (string-append out "/bin/demlo")
5444 `("XDG_DATA_DIRS" ":" prefix (,out))
5447 (string-append dir "/bin:"
5449 (list ffmpeg chromaprint))))
5451 (add-after 'install 'install-scripts
5452 (lambda* (#:key outputs #:allow-other-keys)
5453 (let* ((out (assoc-ref outputs "out"))
5454 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
5455 (xdg-data-dirs (string-append out "/demlo")))
5456 (copy-recursively (string-append root "/actions")
5457 (string-append xdg-data-dirs "/actions"))
5458 (copy-recursively (string-append root "/scripts")
5459 (string-append xdg-data-dirs "/scripts"))
5460 (install-file (string-append root "/config.lua") xdg-data-dirs)
5461 ;; TODO: Test fish completion.
5462 (install-file (string-append root "/completion/demlo.fish")
5463 (string-append out "/share/fish/vendor_completions.d"))
5465 (home-page "https://gitlab.com/ambrevar/demlo")
5466 (synopsis "Dynamic and extensible music library organizer")
5467 (description "Demlo is a music library organizer. It can encode, fix
5468 case, change folder hierarchy according to tags or file properties, tag from
5469 an online database, copy covers while ignoring duplicates or those below a
5470 quality threshold, and much more. It makes it possible to manage your
5471 libraries uniformly and dynamically. You can write your own rules to fit your
5474 Demlo can address any of these recurring music library issues (and much more):
5477 @item Fix the lack of folder structure.
5478 @item Normalize tags, fix their case, chose which tags to keep and which to
5480 @item Handle lossy and lossless audio differently.
5481 @item Handle mp3 id3tags hell...
5482 @item Handle multiple covers, whether embedded and/or external, resize covers,
5483 discard bad quality ones.
5485 (license license:expat))))
5494 (url "https://github.com/gillesdegottex/fmit/")
5495 (commit (string-append "v" version))))
5496 (file-name (git-file-name name version))
5499 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
5500 (build-system gnu-build-system)
5503 (modify-phases %standard-phases
5505 (add-before 'build 'qmake
5507 (let ((out (assoc-ref %outputs "out")))
5510 (string-append "PREFIX=" out)
5511 (string-append "PREFIXSHORTCUT=" out)
5512 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
5513 (add-after 'install 'wrap-executable
5514 (lambda* (#:key inputs outputs #:allow-other-keys)
5515 (let ((out (assoc-ref outputs "out")))
5516 (wrap-program (string-append out "/bin/fmit")
5517 `("QT_PLUGIN_PATH" ":" prefix
5518 ,(map (lambda (label)
5519 (string-append (assoc-ref inputs label)
5520 "/lib/qt5/plugins"))
5521 '("qtbase" "qtmultimedia" "qtsvg")))
5522 `("QML2_IMPORT_PATH" ":" prefix
5523 ,(map (lambda (label)
5524 (string-append (assoc-ref inputs label)
5526 '("qtmultimedia"))))
5529 `(("alsa-lib" ,alsa-lib)
5532 ("portaudio" ,portaudio)
5533 ("qtbase" ,qtbase-5)
5534 ("qtmultimedia" ,qtmultimedia)
5537 `(("gettext" ,gettext-minimal)
5538 ("hicolor-icon-theme" ,hicolor-icon-theme)
5539 ("itstool" ,itstool)
5540 ("qttools" ,qttools)))
5541 (synopsis "Musical instrument tuner")
5542 (description "FMIT is a graphical utility for tuning musical instruments,
5543 with error and volume history, and advanced features.")
5544 (home-page "https://gillesdegottex.github.io/fmit/")
5545 ;; Most of the code is under GPL2+, but some abstract or helper classes
5546 ;; are under LGPL2.1.
5547 (license (list license:gpl2+ license:lgpl2.1))))
5549 (define-public mloop
5550 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
5554 (version (git-version "0.0.1" revision commit))
5558 (url "http://git.fuzzle.org/mloop")
5560 (file-name (git-file-name name version))
5563 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
5564 (build-system waf-build-system)
5566 `(#:python ,python-2
5567 #:tests? #f)) ; no "check" target
5570 ("ncurses" ,ncurses)))
5572 `(("pkg-config" ,pkg-config)))
5573 (home-page "https://fuzzle.org/~petern/mloop.html")
5574 (synopsis "Live MIDI looper")
5575 (description "mloop is a live MIDI looping system, using jack-midi.
5576 Loops are recorded, optionally with beat quantization, and can then be played
5577 back, either once or looping. A 'note cache' system is implemented to
5578 remember which notes are pressed and their velocities. This allows for a loop
5579 to start off with the currently pressed notes, making seamless loops much
5580 easier to perform. Features include:
5583 @item Quantisation; end a loop on a beat exactly.
5584 @item Delayed recording; wait for a MIDI event before starting a loop record.
5585 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
5587 (license license:gpl2))))
5589 (define-public pragha
5595 (uri (string-append "https://github.com/pragha-music-player/pragha/"
5596 "releases/download/v" version "/pragha-" version
5600 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
5601 (build-system glib-or-gtk-build-system)
5603 `(("intltool" ,intltool)
5604 ("pkg-config" ,pkg-config)))
5608 ("gstreamer" ,gstreamer)
5609 ("gst-plugins-base" ,gst-plugins-base)
5610 ("gst-plugins-good" ,gst-plugins-good)
5612 ("libcddb" ,libcddb)
5613 ("libcdio" ,libcdio)
5614 ("libcdio-paranoia" ,libcdio-paranoia)
5615 ("libgudev" ,libgudev)
5616 ("libnotify" ,libnotify)
5617 ("libpeas" ,libpeas)
5618 ("libsoup" ,libsoup)
5620 ("taglib" ,taglib)))
5623 (modify-phases %standard-phases
5624 (add-after 'install 'wrap-program
5625 (lambda* (#:key inputs outputs #:allow-other-keys)
5626 (let ((out (assoc-ref outputs "out"))
5627 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
5628 (wrap-program (string-append out "/bin/pragha")
5629 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
5631 (home-page "https://pragha-music-player.github.io")
5632 (synopsis "Music player")
5633 (description "Pragha is a lightweight music player based on Gtk and
5634 sqlite. It is constructed to be fast, light, and simultaneously tries to be
5635 complete without obstructing your daily work.")
5636 (license license:gpl3+)))
5638 (define-public playerctl
5645 (url "https://github.com/altdesktop/playerctl")
5646 (commit (string-append "v" version))))
5647 (file-name (git-file-name name version))
5650 "17hi33sw3663qz5v54bqqil31sgkrlxkb2l5bgqk87pac6x2wnbz"))))
5651 (build-system meson-build-system)
5653 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
5654 (inputs `(("python-pygobject" ,python-pygobject)))
5656 `(("glib:bin" ,glib "bin")
5657 ("pkg-config" ,pkg-config)))
5658 (synopsis "Control MPRIS-supporting media player applications")
5660 "Playerctl is a command-line utility and library for controlling media
5661 players that implement the MPRIS D-Bus Interface Specification. Playerctl
5662 makes it easy to bind player actions, such as play and pause, to media keys.
5663 You can also get metadata about the playing track such as the artist and title
5664 for integration into status line generators or other command-line tools.")
5665 (home-page "https://github.com/altdesktop/playerctl")
5666 (license license:lgpl3+)))
5668 (define-public artyfx
5676 "https://github.com/openAVproductions/openAV-ArtyFX")
5677 (commit (string-append "release-" version))))
5678 (file-name (git-file-name name version))
5681 "0cxikdnxgjk5gp6kmml4dx2jy2cy4x0c837h7bwraj2pfz0nfgqq"))))
5682 (build-system cmake-build-system)
5684 `(#:tests? #f ; no tests included
5686 (modify-phases %standard-phases
5687 (add-after 'unpack 'remove-architecture-specific-flags
5689 (substitute* "CMakeLists.txt"
5690 (("-msse2 -mfpmath=sse") ""))
5694 ("libsndfile" ,libsndfile)))
5696 `(("pkg-config" ,pkg-config)
5698 (home-page "http://openavproductions.com/artyfx/")
5699 (synopsis "Audio effect LV2 plugin bundle")
5700 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
5701 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
5703 (license license:gpl2+)))
5705 (define-public lsp-plugins
5707 (name "lsp-plugins")
5713 (url "https://github.com/sadko4u/lsp-plugins")
5714 (commit (string-append "lsp-plugins-" version))))
5715 (file-name (git-file-name name version))
5717 (base32 "1apw8zh3a3il4smkjji6bih4vbsymj0hjs10fgkrd4nazqkjvgyd"))))
5718 (build-system gnu-build-system)
5722 (string-append "CC=" ,(cc-for-target))
5723 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5724 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5725 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5727 (modify-phases %standard-phases
5728 (delete 'configure)) ; no configure script
5729 #:test-target "test"))
5732 ("hicolor-icon-theme" ,hicolor-icon-theme)
5735 ("libsndfile" ,libsndfile)
5739 `(("pkg-config" ,pkg-config)))
5740 (synopsis "Audio plugin collection")
5741 (description "LSP (Linux Studio Plugins) is a collection of audio
5742 plugins available as LADSPA/LV2 plugins and as standalone JACK
5744 (home-page "https://lsp-plug.in/")
5745 (license license:lgpl3)))
5747 (define-public sherlock-lv2
5749 (name "sherlock-lv2")
5755 "https://git.open-music-kontrollers.ch/lv2/"
5756 "sherlock.lv2/snapshot/sherlock.lv2-"
5760 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5761 (build-system meson-build-system)
5766 ("sratom" ,sratom)))
5769 ("pkg-config" ,pkg-config)))
5770 (synopsis "Investigative LV2 plugin bundle")
5771 (description "The Sherlock plugin bundle contains LV2 plugins for
5772 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5773 and debugging of event signal flows inside plugin graphs.")
5774 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5775 (license license:artistic2.0)))
5777 (define-public foo-yc20
5784 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5785 version "/foo-yc20-" version ".tar.bz2"))
5788 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5789 (build-system gnu-build-system)
5792 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5793 #:tests? #f ; no automated test
5795 (modify-phases %standard-phases
5798 (substitute* "Makefile"
5799 (("-mtune=native") "")
5800 (("-march=native") ""))
5809 ("pkg-config" ,pkg-config)))
5810 (home-page "https://foo-yc20.codeforcode.com/")
5811 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5812 (description "This is a Faust implementation of a 1969 designed Yamaha
5813 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5814 version. Processing for the organ is based on original schematics and
5815 measurements from a working specimen. This instrument simulates the circutry
5816 as a whole to realisticly reproduce the features and flaws of the real deal.")
5817 ;; Note that after 1.3.0 the license was changed.
5818 (license license:gpl3+)))
5820 (define-public spectacle-analyzer
5822 (name "spectacle-analyzer")
5828 (url "https://github.com/jpcima/spectacle")
5829 (commit (string-append "v" version))
5830 ;; Bundles a specific commit of the DISTRHO plugin framework.
5832 (file-name (git-file-name name version))
5835 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5836 (build-system gnu-build-system)
5838 `(#:tests? #f ; no check target
5841 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5843 (modify-phases %standard-phases
5844 (delete 'configure))))
5846 `(("pkg-config" ,pkg-config)
5855 (synopsis "Realtime graphical spectrum analyzer")
5856 (description "Spectacle is a real-time spectral analyzer using the
5857 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5858 (home-page "https://github.com/jpcima/spectacle")
5859 ;; The project is licensed under the ISC license, and files in
5860 ;; sources/plugin carry the Expat license.
5861 (license (list license:isc license:expat))))
5863 (define-public x42-plugins
5865 (name "x42-plugins")
5866 (version "20200714")
5871 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5874 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5875 (build-system gnu-build-system)
5877 `(#:tests? #f ; no "check" target
5879 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5880 "LIBZITACONVOLVER=-lzita-convolver"
5881 (string-append "FONTFILE="
5882 (assoc-ref %build-inputs "font-dejavu")
5883 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5885 (modify-phases %standard-phases
5886 (add-before 'build 'set-CC-variable
5890 (delete 'configure))))
5897 ("hicolor-icon-theme" ,hicolor-icon-theme)
5900 ("libsamplerate" ,libsamplerate)
5903 ("zita-convolver" ,zita-convolver)))
5905 `(("help2man" ,help2man)
5908 ("font-dejavu" ,font-dejavu)
5909 ("pkg-config" ,pkg-config)))
5910 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5911 (description "x42-plugins is a collection of over 80 cross-platform LV2
5912 audio and MIDI plugins that can also run as standalone JACK applications.")
5913 (home-page "https://x42-plugins.com/x42/")
5914 (license license:gpl2+)))
5916 (define-public zam-plugins
5918 (name "zam-plugins")
5925 (url "https://github.com/zamaudio/zam-plugins")
5927 ;; Recursive to fetch the DISTRHO plugin framework. This
5928 ;; framework is intended to be included in the sources
5929 ;; and not to be used as a library.
5931 (file-name (git-file-name name version))
5933 (base32 "02blg0iqich4vx5z1ahj6avkh83yqszdiq83p9jd5qwm0i4llqjq"))))
5934 (build-system gnu-build-system)
5936 `(#:tests? #f ;no "check" target
5938 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5939 "HAVE_ZITA_CONVOLVER=true")
5941 (modify-phases %standard-phases
5942 (add-before 'build 'set-CC-variable
5944 (setenv "CC" "gcc") #t))
5945 (delete 'configure))))
5948 ("jack" ,jack-1) ;for the standalone JACK application
5950 ("libsamplerate" ,libsamplerate)
5952 ("zita-convolver" ,zita-convolver)))
5954 `(("ladspa" ,ladspa)
5956 ("pkg-config" ,pkg-config)))
5957 (synopsis "Collection of audio processing plugins")
5959 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5960 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5961 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5962 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5963 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5964 (home-page "http://www.zamaudio.com/?p=976")
5965 (license license:gpl2+)))
5967 (define-public geonkick
5975 (url "https://gitlab.com/iurie-sw/geonkick")
5976 (commit (string-append "v" version))))
5977 (file-name (git-file-name name version))
5979 (base32 "0w1mvqm46qdwldcl81svaykwii4wvx7mcr57kwvnj0iv2qrc891i"))))
5980 (build-system cmake-build-system)
5982 `(#:tests? #f ;no tests included
5984 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5985 (assoc-ref %build-inputs "redkite"))
5986 (string-append "-DCMAKE_INSTALL_PREFIX="
5987 (assoc-ref %outputs "out")))))
5989 `(("hicolor-icon-theme" ,hicolor-icon-theme)
5990 ("jack" ,jack-1) ;for the standalone JACK application
5991 ("libsndfile" ,libsndfile)
5993 ("redkite" ,redkite)
5994 ("rapidjson" ,rapidjson)))
5997 ;; Fails with default gcc (#include <filesystem> not found).
5999 ("pkg-config" ,pkg-config)
6001 (synopsis "Percussion synthesizer")
6002 (description "Geonkick is a synthesizer that can synthesize elements
6003 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
6004 It can also play and mix samples.")
6005 (home-page "https://gitlab.com/iurie-sw/geonkick")
6006 (license license:gpl3+)))
6008 (define-public mamba
6017 (url "https://github.com/brummer10/Mamba")
6018 (commit (string-append "v" version))
6019 (recursive? #t))) ; references specific commit of libxputty
6020 (file-name (git-file-name name version))
6023 "1bq6sqsij3cdwcsj3wpsnivi4c7jl4l5gwfywhqnib70v60smdja"))))
6024 (build-system gnu-build-system)
6026 `(#:tests? #f ; no "check" target
6028 (list (string-append "PREFIX="
6029 (assoc-ref %outputs "out"))
6030 (string-append "CC=" ,(cc-for-target)))
6032 (modify-phases %standard-phases
6033 (delete 'configure))))
6035 `(("alsa-lib" ,alsa-lib)
6037 ("fluidsynth" ,fluidsynth)
6040 ("libsigc++" ,libsigc++)
6042 ("libx11" ,libx11)))
6044 `(("pkg-config" ,pkg-config)))
6045 (home-page "https://github.com/brummer10/Mamba")
6046 (synopsis "Virtual MIDI keyboard and MIDI file player/recorder for JACK")
6047 (description "Mamba is a virtual MIDI keyboard and MIDI file
6048 player/recorder for the JACK Audio Connection Kit. It comes with predefined
6049 keymaps for QWERTZ, QWERTY and AZERTY keyboards and also allows custom
6051 (license license:bsd-0)))
6053 (define-public dpf-plugins
6055 (name "dpf-plugins")
6062 (url "https://github.com/DISTRHO/DPF-Plugins")
6063 (commit (string-append "v" version))))
6064 (file-name (git-file-name name version))
6067 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
6068 (build-system gnu-build-system)
6070 `(#:tests? #f ; no "check" target
6072 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
6074 (modify-phases %standard-phases
6075 (add-before 'build 'set-CC-variable
6076 (lambda _ (setenv "CC" "gcc") #t))
6077 (delete 'configure))))
6080 ("liblo" ,liblo) ; for dssi plugins
6081 ("jack" ,jack-1) ; for standalone applications
6084 `(("pkg-config" ,pkg-config)
6087 (home-page "https://github.com/DISTRHO/DPF-Plugins")
6088 (synopsis "Audio plugin collection")
6089 (description "Collection of audio plugins built with the DISTRHO Plugin
6090 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
6091 package includes the following plugins: glBars, Kars, Max-Gen examples
6092 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
6093 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
6094 Soul Force), MVerb, Nekobi, and ProM.")
6095 ;; This package consists of several plugins refactored to use the
6096 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
6097 ;; apply to different plugins. The root LICENSE file has a table with
6098 ;; license information for each plugin and paths to each license
6099 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
6101 (define-public avldrums-lv2
6103 (name "avldrums-lv2")
6109 (url "https://github.com/x42/avldrums.lv2")
6110 (commit (string-append "v" version))
6111 ;; This plugin expects the robtk submodule's source files to be
6112 ;; there in order to build.
6114 (file-name (git-file-name name version))
6116 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
6117 (build-system gnu-build-system)
6119 `(#:tests? #f ; no "check" target
6121 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
6123 (modify-phases %standard-phases
6124 (add-before 'build 'set-CC-variable
6126 (setenv "CC" "gcc") #t))
6127 (delete 'configure))))
6135 `(("pkg-config" ,pkg-config)
6137 (home-page "https://x42-plugins.com/x42/x42-avldrums")
6138 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
6139 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
6140 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
6141 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
6142 (license license:gpl2+)))
6153 (url "https://github.com/mtytel/helm")
6154 (commit (string-append "v" version))))
6155 (file-name (git-file-name name version))
6158 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
6159 (build-system gnu-build-system)
6161 `(#:tests? #f ; no "check" target
6163 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
6166 (modify-phases %standard-phases
6167 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
6169 (substitute* "standalone/builds/linux/Makefile"
6170 (("JUCE_INCLUDE_PNGLIB_CODE=0")
6171 "JUCE_INCLUDE_PNGLIB_CODE=1"))
6172 (substitute* "builds/linux/LV2/Makefile"
6173 (("JUCE_INCLUDE_PNGLIB_CODE=0")
6174 "JUCE_INCLUDE_PNGLIB_CODE=1"))
6175 (substitute* "Makefile"
6178 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
6179 (lambda* (#:key outputs #:allow-other-keys)
6180 (for-each make-file-writable
6181 (find-files (string-append (assoc-ref outputs "out"))
6184 (delete 'configure))))
6186 `(("alsa-lib" ,alsa-lib)
6188 ("freetype2" ,freetype)
6189 ("hicolor-icon-theme" ,hicolor-icon-theme)
6190 ("libxcursor" ,libxcursor)
6191 ("libxinerama" ,libxinerama)
6195 `(("pkg-config" ,pkg-config)
6197 (home-page "https://tytel.org/helm/")
6198 (synopsis "Polyphonic synth with lots of modulation")
6199 (description "Helm is a cross-platform polyphonic synthesizer available standalone
6200 and as an LV2 plugin.")
6201 (license license:gpl3+)))
6203 (define-public zrythm
6205 ;; Zrythm contains trademarks and comes with a trademark policy found in
6206 ;; TRADMARKS.md inside the release distribution. The trademark policy
6207 ;; allows verbatim re-distribution, and it also allows FSF-approved
6208 ;; distros to make necessary changes to integrate the software into the
6211 (version "1.0.0-alpha.12.0.1")
6215 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
6219 "1si4n8rdg0a3frlbj6yqpyzr4f20v3cpl4m6kv0yf7r25psyl5pk"))))
6220 (build-system meson-build-system)
6227 "-Dgraphviz=enabled" ; for exporting routing graphs
6228 "-Dguile=enabled" ; for Guile scripting
6229 "-Djack=enabled" ; for JACK audio/MIDI backend
6230 "-Drtmidi=enabled" ; for RtMidi backend (ALSA sequencer)
6231 "-Dsdl=enabled"))) ; for SDL audio backend (which uses ALSA)
6233 `(("alsa-lib" ,alsa-lib)
6235 ("font-dseg" ,font-dseg)
6238 ("gettext" ,gettext-minimal)
6240 ("graphviz" ,graphviz)
6242 ("gtksourceview" ,gtksourceview)
6243 ("guile" ,guile-2.2)
6244 ("libaudec" ,libaudec)
6245 ("libcyaml" ,libcyaml)
6246 ("libsamplerate" ,libsamplerate)
6247 ("libsndfile" ,libsndfile)
6248 ("libyaml" ,libyaml)
6251 ("pulseaudio" ,pulseaudio)
6253 ("rubberband" ,rubberband)
6256 ("xdg-utils" ,xdg-utils)
6257 ("zstd" ,zstd "lib")))
6259 `(("pkg-config" ,pkg-config)
6260 ("help2man" ,help2man)
6261 ("glib" ,glib "bin"))) ; for 'glib-compile-resources'
6262 (synopsis "Digital audio workstation focusing on usability")
6263 (description "Zrythm is a digital audio workstation designed to be
6264 featureful and easy to use. It offers unlimited automation options, LV2
6265 plugin support, JACK support and chord assistance.")
6266 (home-page "https://www.zrythm.org")
6267 (license license:agpl3+)))
6269 (define-public dragonfly-reverb
6271 (name "dragonfly-reverb")
6278 (url "https://github.com/michaelwillis/dragonfly-reverb")
6280 ;; Bundles a specific commit of the DISTRHO plugin framework.
6282 (file-name (git-file-name name version))
6284 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
6285 (build-system gnu-build-system)
6287 `(#:tests? #f ; no check target
6288 #:make-flags (list "CC=gcc")
6290 (modify-phases %standard-phases
6291 (delete 'configure) ;no configure target
6292 (replace 'install ;no install target
6293 (lambda* (#:key outputs #:allow-other-keys)
6294 (let* ((out (assoc-ref outputs "out"))
6295 (bin (string-append out "/bin"))
6296 (lv2 (string-append out "/lib/lv2")))
6300 (copy-recursively file
6301 (string-append lv2 "/" (basename file))))
6302 (find-files "bin" "\\.lv2$" #:directories? #t))
6303 ;; Install executables.
6306 (install-file file bin))
6310 (equal? (dirname name) "bin")
6311 (not (string-suffix? ".so" name))
6312 (not (string-suffix? ".lv2" name))))))
6315 `(("pkg-config" ,pkg-config)))
6320 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
6321 (synopsis "Concert hall reverb and room reverb effects")
6323 "Dragonfly Reverb is a bundle of two free audio effects: a concert
6324 hall reverb and a room reverb. Both are available as LV2 plugins as well
6325 as JACK standalone applications.")
6326 (license license:gpl3+)))
6328 (define-public zplugins
6337 (url "https://git.zrythm.org/git/zplugins")
6338 (commit (string-append "v" version))))
6339 (file-name (git-file-name name version))
6342 "1rkm2xajmyik6289b20rp5a5br9f3sh1xk8nb1bs6qpmcrfirgbs"))))
6343 (build-system meson-build-system)
6345 `(("guile" ,guile-2.2)
6346 ("libsndfile" ,libsndfile)
6348 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
6350 `(("pkg-config" ,pkg-config)))
6351 (synopsis "Audio plugin collection")
6352 (description "ZPlugins is a collection of audio DSP plugins intended
6353 to be bundled with the Zrythm @dfn{digital audio workstation} (DAW).")
6354 (home-page "https://www.zrythm.org/en/plugins.html")
6355 (license license:agpl3+)))
6358 ;; The "zlfo" package is now included in zplugins
6359 (deprecated-package "zlfo" zplugins))
6361 (define-public remid-lv2
6369 (url "https://github.com/ssj71/reMID.lv2")
6370 (commit (string-append "v" version))))
6371 (file-name (git-file-name name version))
6374 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
6375 (build-system cmake-build-system)
6377 `(#:tests? #f)) ; no tests included
6379 `(("alsa-lib" ,alsa-lib)
6384 `(("pkg-config" ,pkg-config)))
6385 (home-page "https://github.com/ssj71/reMID.lv2")
6387 "MIDI-controlled implementation of the SID 6581 chip used in the
6390 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
6391 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
6392 to provide a virtual SID-based synthesizer, controllable in real-time via
6393 MIDI. It includes support for scripted instruments that allow complex sonic
6394 control of the chip.")
6395 (license license:gpl2+)))
6397 (define-public vl1-emulator
6399 (name "vl1-emulator")
6405 (url "https://github.com/linuxmao-org/VL1-emulator")
6406 (commit (string-append "v" version))
6407 ;; bundles a specific commit of the DISTRHO plugin framework
6409 (file-name (git-file-name name version))
6412 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
6413 (build-system gnu-build-system)
6415 `(#:tests? #f ;no check target
6417 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
6420 (modify-phases %standard-phases
6421 (delete 'configure)))) ;no configure target
6427 `(("pkg-config" ,pkg-config)))
6428 (home-page "https://github.com/linuxmao-org/VL1-emulator")
6429 (synopsis "Emulator of Casio VL-Tone VL1")
6430 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
6431 based on source code by PolyValens, offered as an LV2 plugin and a
6432 standalone JACK application.")
6434 (license (list license:expat license:cc0))))
6436 (define-public regrader
6438 (inherit vl1-emulator)
6445 (url "https://github.com/linuxmao-org/regrader")
6446 (commit (string-append "v" version))
6447 ;; bundles a specific commit of the DISTRHO plugin framework
6449 (file-name (git-file-name name version))
6452 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
6453 (home-page "https://github.com/linuxmao-org/regrader")
6454 (synopsis "Delay effect plugin")
6456 "Regrader is a delay effect where the repeats degrade in resolution.
6457 This is an unofficial port of the Regrader plugin created by Igorski. It
6458 is available as an LV2 plugin and a standalone JACK application.")
6459 (license license:expat)))
6461 (define-public fogpad
6463 (inherit vl1-emulator)
6470 (url "https://github.com/linuxmao-org/fogpad")
6471 (commit (string-append "v" version))
6472 ;; bundles a specific commit of the DISTRHO plugin framework
6474 (file-name (git-file-name name version))
6477 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
6478 (home-page "https://github.com/linuxmao-org/fogpad")
6479 (synopsis "Reverb effect plugin")
6481 "Fogpad is a reverb effect in which the reflections can be frozen,
6482 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
6483 port of the Regrader plugin created by Igorski. It is available as an LV2
6484 plugin and a standalone JACK application.")
6485 (license license:expat)))
6487 (define-public tap-lv2
6488 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
6492 (version (git-version "0.0" revision commit))
6497 (url "https://github.com/moddevices/tap-lv2")
6499 (file-name (git-file-name name version))
6502 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
6503 (build-system gnu-build-system)
6505 `(#:tests? #f ; no check target
6509 (modify-phases %standard-phases
6510 (delete 'configure) ; no configure
6514 (string-append "INSTALL_PATH="
6515 (assoc-ref %outputs "out")
6521 `(("pkg-config" ,pkg-config)))
6522 (synopsis "Audio plugin collection")
6523 (description "TAP (Tom's Audio Processing) plugins is a collection of
6524 audio effect plugins originally released as LADSPA plugins. This package
6525 offers an LV2 version ported by moddevices.")
6526 (home-page "http://tap-plugins.sourceforge.net/")
6527 (license license:gpl2))))
6529 (define-public wolf-shaper
6531 (name "wolf-shaper")
6537 (url "https://github.com/pdesaulniers/wolf-shaper")
6538 (commit (string-append "v" version))
6539 ;; Bundles a specific commit of the DISTRHO plugin framework.
6541 (file-name (git-file-name name version))
6544 "1j9xmh1nkf45ay1c5dz2g165qvrwlanzcq6mvb3nfxar265drd9q"))))
6545 (build-system gnu-build-system)
6547 `(#:tests? #f ; no check target
6548 #:make-flags (list "CC=gcc")
6550 (modify-phases %standard-phases
6551 (delete 'configure) ;no configure target
6552 (replace 'install ;no install target
6553 (lambda* (#:key outputs #:allow-other-keys)
6554 (let* ((out (assoc-ref outputs "out"))
6555 (bin (string-append out "/bin"))
6556 (lv2 (string-append out "/lib/lv2")))
6560 (copy-recursively file
6561 (string-append lv2 "/" (basename file))))
6562 (find-files "bin" "\\.lv2$" #:directories? #t))
6563 ;; Install executables.
6566 (install-file file bin))
6570 (equal? (dirname name) "bin")
6571 (not (string-suffix? ".so" name))
6572 (not (string-suffix? ".lv2" name))))))
6575 `(("pkg-config" ,pkg-config)))
6580 (synopsis "Waveshaper plugin")
6581 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
6582 It is provided as an LV2 plugin and as a standalone Jack application.")
6583 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
6584 (license license:gpl3)))
6586 (define-public wolf-spectrum
6588 (inherit wolf-shaper)
6589 (name "wolf-spectrum")
6595 (url "https://github.com/pdesaulniers/wolf-spectrum")
6596 (commit (string-append "v" version))
6597 ;; Bundles a specific commit of the DISTRHO plugin framework.
6599 (file-name (git-file-name name version))
6602 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
6603 (synopsis "2D spectrogram plugin")
6604 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
6605 It is provided as an LV2 plugin and as a standalone Jack application.")
6606 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
6607 (license license:gpl3)))
6609 (define-public shiru-lv2
6610 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
6614 (version (git-version "0.0" revision commit))
6619 (url "https://github.com/linuxmao-org/shiru-plugins")
6621 ;; Bundles a specific commit of the DISTRHO plugin framework.
6623 (file-name (git-file-name name version))
6626 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
6627 (build-system gnu-build-system)
6629 `(#:tests? #f ; no check target
6630 #:make-flags (list "CC=gcc")
6632 (modify-phases %standard-phases
6633 (delete 'configure) ;no configure target
6634 (replace 'install ;no install target
6635 (lambda* (#:key outputs #:allow-other-keys)
6636 (let* ((out (assoc-ref outputs "out"))
6637 (bin (string-append out "/bin"))
6638 (lv2 (string-append out "/lib/lv2")))
6642 (copy-recursively file
6643 (string-append lv2 "/" (basename file))))
6644 (find-files "bin" "\\.lv2$" #:directories? #t))
6645 ;; Install executables.
6648 (install-file file bin))
6652 (equal? (dirname name) "bin")
6653 (not (string-suffix? ".so" name))
6654 (not (string-suffix? ".lv2" name))))))
6657 `(("pkg-config" ,pkg-config)))
6665 (synopsis "Audio plugin collection")
6666 (description "Shiru plugins is a collection of audio plugins created
6667 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
6669 (home-page "http://shiru.untergrund.net/software.shtml")
6670 (license license:wtfpl2))))
6672 (define-public a2jmidid
6679 (url "https://github.com/jackaudio/a2jmidid")
6682 (base32 "1x6rcl3f4nklnx4p5jln9a7fpj9y7agjxs9rw7cccmwnski7pnsq"))
6683 (file-name (git-file-name name version))))
6685 `(#:tests? #f ; No tests.
6687 (modify-phases %standard-phases
6688 (add-after 'install 'wrap-programs
6689 (lambda* (#:key inputs outputs #:allow-other-keys)
6690 (let* ((out (assoc-ref outputs "out"))
6691 (bin (string-append out "/bin/")))
6692 (substitute* (string-append bin "a2j")
6693 (("a2j_control") (string-append bin "a2j_control")))
6694 (wrap-program (string-append bin "a2j_control")
6695 `("PYTHONPATH" prefix (,(getenv "PYTHONPATH"))))
6697 (build-system meson-build-system)
6699 `(("alsa-lib" ,alsa-lib)
6700 ("bash-minimal" ,bash-minimal) ; for wrap-program
6704 ("python-dbus" ,python-dbus)))
6706 `(("pkg-config" ,pkg-config)))
6707 (synopsis "ALSA sequencer to JACK MIDI bridging")
6709 "@code{a2jmidid} is a daemon that implements automatic bridging of ALSA
6710 midi devices to JACK midi devices.")
6711 (home-page "https://github.com/jackaudio/a2jmidid")
6712 (license license:gpl2)))