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 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>
38 ;;; This file is part of GNU Guix.
40 ;;; GNU Guix is free software; you can redistribute it and/or modify it
41 ;;; under the terms of the GNU General Public License as published by
42 ;;; the Free Software Foundation; either version 3 of the License, or (at
43 ;;; your option) any later version.
45 ;;; GNU Guix is distributed in the hope that it will be useful, but
46 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
47 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48 ;;; GNU General Public License for more details.
50 ;;; You should have received a copy of the GNU General Public License
51 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
53 (define-module (gnu packages music)
54 #:use-module (guix utils)
55 #:use-module (guix packages)
56 #:use-module (guix download)
57 #:use-module (guix git-download)
58 #:use-module ((guix licenses) #:prefix license:)
59 #:use-module (guix build-system gnu)
60 #:use-module (guix build-system ant)
61 #:use-module (guix build-system cmake)
62 #:use-module (guix build-system meson)
63 #:use-module (guix build-system perl)
64 #:use-module (guix build-system python)
65 #:use-module (guix build-system scons)
66 #:use-module (guix build-system glib-or-gtk)
67 #:use-module (guix build-system waf)
68 #:use-module (guix build-system trivial)
69 #:use-module (guix build-system go)
70 #:use-module (gnu packages)
71 #:use-module (gnu packages admin)
72 #:use-module (gnu packages algebra)
73 #:use-module (gnu packages apr)
74 #:use-module (gnu packages audio)
75 #:use-module (gnu packages autotools)
76 #:use-module (gnu packages backup)
77 #:use-module (gnu packages base) ;libbdf
78 #:use-module (gnu packages bash)
79 #:use-module (gnu packages bison)
80 #:use-module (gnu packages boost)
81 #:use-module (gnu packages build-tools)
82 #:use-module (gnu packages cdrom)
83 #:use-module (gnu packages code)
84 #:use-module (gnu packages check)
85 #:use-module (gnu packages cmake)
86 #:use-module (gnu packages compression)
87 #:use-module (gnu packages cpp)
88 #:use-module (gnu packages crypto)
89 #:use-module (gnu packages curl)
90 #:use-module (gnu packages cyrus-sasl)
91 #:use-module (gnu packages datastructures)
92 #:use-module (gnu packages docbook)
93 #:use-module (gnu packages documentation)
94 #:use-module (gnu packages emacs)
95 #:use-module (gnu packages file)
96 #:use-module (gnu packages flex)
97 #:use-module (gnu packages fltk)
98 #:use-module (gnu packages fonts)
99 #:use-module (gnu packages fontutils)
100 #:use-module (gnu packages freedesktop)
101 #:use-module (gnu packages game-development)
102 #:use-module (gnu packages gcc)
103 #:use-module (gnu packages gnupg)
104 #:use-module (gnu packages gettext)
105 #:use-module (gnu packages ghostscript)
106 #:use-module (gnu packages gl)
107 #:use-module (gnu packages glib)
108 #:use-module (gnu packages gnome)
109 #:use-module (gnu packages gpodder)
110 #:use-module (gnu packages graphics)
111 #:use-module (gnu packages graphviz)
112 #:use-module (gnu packages gstreamer)
113 #:use-module (gnu packages gtk)
114 #:use-module (gnu packages guile)
115 #:use-module (gnu packages haskell)
116 #:use-module (gnu packages image)
117 #:use-module (gnu packages imagemagick)
118 #:use-module (gnu packages java)
119 #:use-module (gnu packages libffi)
120 #:use-module (gnu packages libusb)
121 #:use-module (gnu packages linux) ; for alsa-utils
122 #:use-module (gnu packages lirc)
123 #:use-module (gnu packages llvm)
124 #:use-module (gnu packages man)
125 #:use-module (gnu packages mp3)
126 #:use-module (gnu packages mpd)
127 #:use-module (gnu packages ncurses)
128 #:use-module (gnu packages netpbm)
129 #:use-module (gnu packages pcre)
130 #:use-module (gnu packages pdf)
131 #:use-module (gnu packages perl)
132 #:use-module (gnu packages perl-web)
133 #:use-module (gnu packages pkg-config)
134 #:use-module (gnu packages protobuf)
135 #:use-module (gnu packages pulseaudio) ;libsndfile
136 #:use-module (gnu packages python)
137 #:use-module (gnu packages python-web)
138 #:use-module (gnu packages python-xyz)
139 #:use-module (gnu packages qt)
140 #:use-module (gnu packages rdf)
141 #:use-module (gnu packages readline)
142 #:use-module (gnu packages rsync)
143 #:use-module (gnu packages sdl)
144 #:use-module (gnu packages sqlite)
145 #:use-module (gnu packages stb)
146 #:use-module (gnu packages tcl)
147 #:use-module (gnu packages texinfo)
148 #:use-module (gnu packages tex)
149 #:use-module (gnu packages time)
150 #:use-module (gnu packages tls)
151 #:use-module (gnu packages version-control)
152 #:use-module (gnu packages video)
153 #:use-module (gnu packages vim) ;for 'xxd'
154 #:use-module (gnu packages web)
155 #:use-module (gnu packages wxwidgets)
156 #:use-module (gnu packages xdisorg)
157 #:use-module (gnu packages xml)
158 #:use-module (gnu packages xorg)
159 #:use-module (gnu packages xiph)
160 #:use-module (gnu packages golang)
161 #:use-module (gnu packages lua)
162 #:use-module ((srfi srfi-1) #:select (last)))
164 (define-public audacious
171 (uri (string-append "https://distfiles.audacious-media-player.org/"
172 "audacious-" version ".tar.bz2"))
174 (base32 "028zjgz0p7ys15lk2a30m5zcv9xrx3ga50wjsh4m4zxilgkakbji"))))
175 (build-system gnu-build-system)
178 (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
179 #:tests? #f ; no check target
181 (modify-phases %standard-phases
182 (add-after 'install 'unpack-plugins
183 (lambda* (#:key inputs #:allow-other-keys)
184 (let ((plugins (assoc-ref inputs "audacious-plugins")))
185 (invoke "tar" "xvf" plugins)
187 (add-after 'unpack-plugins 'configure-plugins
188 (lambda* (#:key configure-flags outputs #:allow-other-keys)
189 (let ((out (assoc-ref outputs "out")))
190 (with-directory-excursion
191 (string-append "audacious-plugins-" ,version)
192 (substitute* "configure"
193 (("/bin/sh") (which "sh")))
194 (apply invoke "./configure"
195 (append configure-flags
196 ;; audacious-plugins requires audacious to build.
197 (list (string-append "PKG_CONFIG_PATH="
198 out "/lib/pkgconfig:"
199 (getenv "PKG_CONFIG_PATH"))
200 (string-append "--prefix=" out))))))))
201 (add-after 'configure-plugins 'build-plugins
203 (with-directory-excursion
204 (string-append "audacious-plugins-" ,version)
205 (invoke "make" "-j" (number->string (parallel-job-count))))))
206 (add-after 'build-plugins 'install-plugins
208 (with-directory-excursion
209 (string-append "audacious-plugins-" ,version)
210 (invoke "make" "install")))))))
212 `(("audacious-plugins"
215 (uri (string-append "https://distfiles.audacious-media-player.org/"
216 "audacious-plugins-" version ".tar.bz2"))
218 (base32 "0ny5w1agr9jaz5w3wyyxf1ygmzmd1sivaf97lcm4z4w6529520lz"))))
219 ("gettext" ,gettext-minimal)
220 ("glib:bin" ,glib "bin") ; for gdbus-codegen
221 ("pkg-config" ,pkg-config)))
225 ("qtmultimedia" ,qtmultimedia)
226 ;; Plugin dependencies
227 ("alsa-lib" ,alsa-lib)
232 ("fluidsynth" ,fluidsynth)
236 ("libcdio-paranoia" ,libcdio-paranoia)
238 ("libmodplug" ,libmodplug)
239 ("libnotify" ,libnotify)
241 ("libsamplerate" ,libsamplerate)
242 ("libsndfile" ,libsndfile)
243 ("libvorbis" ,libvorbis)
244 ("libxcomposite" ,libxcomposite)
246 ("libxrender" ,libxrender)
252 ("pulseaudio" ,pulseaudio)
255 ("wavpack" ,wavpack)))
256 (home-page "https://audacious-media-player.org")
257 (synopsis "Modular and skinnable audio player")
259 "Audacious is an audio player descended from XMMS. Drag and drop
260 folders and individual song files, search for artists and albums in
261 your entire music library, or create and edit your own custom
262 playlists. Listen to CD’s or stream music from the Internet. Tweak
263 the sound with the graphical equalizer or experiment with LADSPA
264 effects. Enjoy the modern GTK-themed interface or change things up
265 with Winamp Classic skins. Use the plugins included with Audacious to
266 fetch lyrics for your music, to set an alarm in the morning, and
268 ;; According to COPYING, Audacious and its plugins are licensed
269 ;; under the BSD 2-clause license and libguess is licensed under
270 ;; the BSD 3-clause license.
271 (license (list license:bsd-2
273 ;; Plugin licenses that aren't BSD 2- or 3-clause.
281 (define-public aria-maestosa
283 (name "aria-maestosa")
287 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
288 version "/AriaSrc-" version ".tar.bz2"))
291 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
292 (build-system scons-build-system)
294 `(#:tests? #f ;no tests
296 (list (string-append "prefix=" (assoc-ref %outputs "out")))
297 #:scons ,scons-python2
299 (modify-phases %standard-phases
301 (add-after 'unpack 'scons-propagate-environment
303 ;; By design, SCons does not, by default, propagate
304 ;; environment variables to subprocesses. See:
305 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
306 ;; Here, we modify the SConstruct file to arrange for
307 ;; environment variables to be propagated.
308 (substitute* "SConstruct"
309 (("env = Environment\\(\\)")
310 "env = Environment(ENV=os.environ)")
311 ;; Scons errors out when copying subdirectories from Resources,
312 ;; so we move them instead.
314 ;; We move the "score" and "Documentation" directories at once,
315 ;; so we have to ignore files contained therein.
316 (("if \".svn\" in file" line)
318 " or \"score/\" in file"
319 " or \"Documentation/\" in file")))
321 (add-after 'install 'fix-directory-permissions
322 (lambda* (#:key outputs #:allow-other-keys)
323 (let ((out (assoc-ref outputs "out")))
324 (chmod (string-append out "/share/Aria/Documentation") #o555)
325 (chmod (string-append out "/share/Aria/score") #o555)
328 `(("wxwidgets" ,wxwidgets)
330 ("alsa-lib" ,alsa-lib)))
332 `(("pkg-config" ,pkg-config)))
333 (home-page "http://ariamaestosa.sourceforge.net/")
334 (synopsis "MIDI sequencer and editor")
336 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
337 and play MIDI files with a few clicks in a user-friendly interface offering
338 score, keyboard, guitar, drum and controller views.")
339 (license license:gpl3+)))
341 (define-public clementine
344 (version "1.4.0rc1-450-g2725ef99d")
348 (url "https://github.com/clementine-player/Clementine")
350 (file-name (git-file-name name version))
353 "1pcwwi9b2qcfjn748577gqx6d1hgg7cisw2dn43npwafdvvkdb90"))
354 (modules '((guix build utils)
358 (use-modules ((ice-9 regex)))
361 ;; TODO: The following dependencies are still bundled:
362 ;; - "qxt": Appears to be unmaintained upstream.
364 ;; - "qtsingleapplication"
366 ;; - "qtiocompressor"
367 (let ((bundled '("qsqlite"
368 "qtsingleapplication"
374 (string-append ".?*(" (string-join bundled "|") ")")
376 (delete-file-recursively dir))))
377 (find-files "3rdparty"
379 (string-match "^3rdparty/[^/]*$" file))
382 (build-system cmake-build-system)
384 '(#:test-target "clementine_test"
386 (list ;; Requires unpackaged "projectm"
387 "-DENABLE_VISUALISATIONS=OFF"
388 ;; Otherwise it may try to download a non-free library at run-time.
389 ;; TODO In an origin snippet, remove the code that performs the
391 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
392 ;; Clementine checks that the taglib version is higher than 1.11,
393 ;; because of https://github.com/taglib/taglib/issues/864. Remove
394 ;; this flag when 1.12 is released.
395 "-DUSE_SYSTEM_TAGLIB=TRUE")
397 (modify-phases %standard-phases
398 (add-after 'install 'wrap-program
399 (lambda* (#:key inputs outputs #:allow-other-keys)
400 (let ((out (assoc-ref outputs "out"))
401 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
402 (wrap-program (string-append out "/bin/clementine")
403 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
406 `(("gettext" ,gettext-minimal)
407 ("googletest" ,googletest)
408 ("pkg-config" ,pkg-config)
409 ("qtlinguist" ,qttools)))
412 ("chromaprint" ,chromaprint)
416 ("gstreamer" ,gstreamer)
417 ("gst-plugins-base" ,gst-plugins-base)
418 ("gst-plugins-good" ,gst-plugins-good)
419 ("gst-libav" ,gst-libav)
421 ("libmygpo-qt" ,libmygpo-qt)
422 ;; TODO: Package libgpod.
425 ("protobuf" ,protobuf)
426 ("pulseaudio" ,pulseaudio)
428 ("qtx11extras" ,qtx11extras)
430 ("sparsehash" ,sparsehash)
432 (home-page "https://clementine-player.org")
433 (synopsis "Music player and library organizer")
434 (description "Clementine is a multiplatform music player. It is inspired
435 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
436 playing your music.")
438 ;; clementine and qtiocompressor are under GPLv3.
440 ;; qxt is under CPL1.0.
442 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
444 ;; qocoa is under MIT and CC by-sa for the icons.
445 license:cc-by-sa3.0))))
447 (define-public strawberry
454 (url "https://github.com/strawberrymusicplayer/strawberry")
456 (file-name (git-file-name name version))
459 "0lfbbmhfzwlhnjhzfk5zn8h71cabx47pzfkcw2nylkbqkz83r57r"))
460 (modules '((guix build utils)
464 (use-modules ((ice-9 regex)))
467 ;; TODO: The following dependencies are still bundled:
468 ;; - "singleapplication"
469 (let ((bundled '("singleapplication")))
472 (string-append ".?*(" (string-join bundled "|") ")")
474 (delete-file-recursively dir))))
475 (find-files "3rdparty"
477 (string-match "^3rdparty/[^/]*$" file))
480 (build-system cmake-build-system)
482 `(#:test-target "run_strawberry_tests"
484 (list "-DUSE_SYSTEM_TAGLIB=TRUE"
485 "-DBUILD_TESTS=TRUE")
487 (modify-phases %standard-phases
488 (add-after 'install 'wrap-program
489 (lambda* (#:key inputs outputs #:allow-other-keys)
490 (let ((out (assoc-ref outputs "out"))
491 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
492 (wrap-program (string-append out "/bin/strawberry")
493 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
495 (add-before 'check 'pre-check
496 (lambda* (#:key inputs #:allow-other-keys)
497 (let ((xorg-server (assoc-ref inputs "xorg-server")))
498 (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
499 (setenv "DISPLAY" ":1")
500 (setenv "HOME" (getcwd))
503 `(("gettext" ,gettext-minimal)
504 ("googletest" ,googletest)
505 ("pkg-config" ,pkg-config)
506 ("qtlinguist" ,qttools)
507 ("xorg-server" ,xorg-server-for-tests)))
509 `(("alsa-lib" ,alsa-lib)
511 ("chromaprint" ,chromaprint)
516 ("gstreamer" ,gstreamer)
517 ("gst-plugins-base" ,gst-plugins-base)
518 ("gst-plugins-good" ,gst-plugins-good)
521 ("protobuf" ,protobuf)
522 ("pulseaudio" ,pulseaudio)
524 ("qtx11extras" ,qtx11extras)
527 (home-page "https://www.strawberrymusicplayer.org/")
528 (synopsis "Music player and library organizer")
529 (description "Strawberry is a music player and music collection organizer.
530 It is a fork of Clementine aimed at music collectors and audiophiles.")
537 license:cc-by-sa3.0))))
546 (url "https://github.com/cmus/cmus")
547 (commit (string-append "v" version))))
548 (file-name (git-file-name name version))
551 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
552 (build-system gnu-build-system)
554 `(#:tests? #f ; cmus does not include tests
556 (modify-phases %standard-phases
558 (lambda* (#:key outputs #:allow-other-keys)
559 (let ((out (assoc-ref outputs "out")))
560 ;; It's an idiosyncratic configure script that doesn't
561 ;; understand --prefix=..; it wants prefix=.. instead.
562 (invoke "./configure"
563 (string-append "prefix=" out))
565 ;; TODO: cmus optionally supports the following formats, which haven't yet
566 ;; been added to Guix:
570 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
571 ;; Guix. See <http://sourceforge.net/projects/discid/>
573 `(("pkg-config" ,pkg-config)))
575 `(("alsa-lib" ,alsa-lib)
582 ("libcdio-paranoia" ,libcdio-paranoia)
585 ("libmodplug" ,libmodplug)
586 ("libmpcdec" ,libmpcdec)
587 ("libsamplerate" ,libsamplerate)
588 ("libvorbis" ,libvorbis)
590 ("opusfile" ,opusfile)
591 ("pulseaudio" ,pulseaudio)
592 ("wavpack" ,wavpack)))
593 (home-page "https://cmus.github.io/")
594 (synopsis "Small console music player")
595 (description "Cmus is a small and fast console music player. It supports
596 many input formats and provides a customisable Vi-style user interface.")
597 (license license:gpl2+)))
599 (define-public denemo
606 (uri (string-append "mirror://gnu/denemo/"
607 "denemo-" version ".tar.gz"))
609 (base32 "145kq0zfgdadykl3i6na221i4s5wzdrcqq48amzyfarnrqk2rmpd"))))
610 (build-system gnu-build-system)
613 (modify-phases %standard-phases
615 (lambda* (#:key inputs #:allow-other-keys)
616 ;; Tests require to write $HOME.
617 (setenv "HOME" (getcwd))
618 ;; Replace hard-coded diff file name.
619 (substitute* "tests/integration.c"
621 (string-append (assoc-ref inputs "diffutils") "/bin/diff")))
622 ;; Denemo's documentation says to use this command to run its
624 (invoke "make" "-C" "tests" "check")))
625 (add-before 'build 'set-lilypond
626 ;; This phase sets the default path for lilypond to its current
627 ;; location in the store.
628 (lambda* (#:key inputs #:allow-other-keys)
629 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
631 (substitute* "src/core/prefops.c"
632 (("g_string_new \\(\"lilypond\"\\);")
633 (string-append "g_string_new (\""
638 `(("diffutils" ,diffutils)
639 ("glib:bin" ,glib "bin") ; for gtester
641 ("intltool" ,intltool)
643 ("pkg-config" ,pkg-config)))
645 `(("alsa-lib" ,alsa-lib)
649 ("fluidsynth" ,fluidsynth)
652 ("gtksourceview" ,gtksourceview-3)
655 ("libsndfile" ,libsndfile)
657 ("lilypond" ,lilypond)
658 ("portaudio" ,portaudio)
659 ("portmidi" ,portmidi)
660 ("rubberband" ,rubberband)))
661 (synopsis "Graphical music notation, front-end to GNU Lilypond")
663 "GNU Denemo is a music notation editor that provides a convenient
664 interface to the powerful music engraving program Lilypond. Music can be
665 typed in using the computer keyboard, played in using a MIDI keyboard, or
666 even input via a microphone connected to the sound card. The final product
667 is publication-quality music notation that is continuously generated in the
668 background while you work.")
669 (home-page "http://www.denemo.org")
670 (license license:gpl3+)))
680 (url "https://github.com/kode54/dumb")
683 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
684 (file-name (git-file-name name version))))
685 (build-system cmake-build-system)
687 '(#:tests? #f ; no check target
689 (list "-DBUILD_SHARED_LIBS=ON"
690 "-DBUILD_EXAMPLES=OFF")))
691 (home-page "https://github.com/kode54/dumb")
692 (synopsis "Module audio renderer library")
694 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
695 targets maximum accuracy to the original formats, with low-pass resonant filters
696 for the IT files, accurate timing and pitching, and three resampling quality
697 settings (aliasing, linear interpolation and cubic interpolation).")
698 ;; The DUMB license is a bit peculiar.
699 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
700 ;; the first three clauses for genuine consideration.
701 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
702 ;; license, a known free software license.
703 ;; Therefore, the DUMB license may be considered a free software license.
704 (license (license:fsf-free "file://LICENSE"))))
706 (define-public dumb-allegro4
709 (name "dumb-allegro4")
711 (substitute-keyword-arguments (package-arguments dumb)
712 ((#:configure-flags flags)
713 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
715 `(("allegro" ,allegro-4)))))
717 (define-public hydrogen
725 (url "https://github.com/hydrogen-music/hydrogen")
727 (file-name (git-file-name name version))
729 (base32 "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1"))))
730 (build-system cmake-build-system)
732 `(#:test-target "tests"
734 (modify-phases %standard-phases
735 (add-after 'unpack 'fix-data-directory
736 (lambda* (#:key outputs #:allow-other-keys)
737 (substitute* "CMakeLists.txt"
738 (("/usr/share/pixmaps")
739 (string-append (assoc-ref outputs "out")
743 `(("cppunit" ,cppunit)
744 ("pkg-config" ,pkg-config)
745 ("qtlinguist" ,qttools)))
747 `(("alsa-lib" ,alsa-lib)
749 ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set
751 ("libarchive" ,libarchive)
753 ("libsndfile" ,libsndfile)
755 ("pulseaudio" ,pulseaudio)
757 ("qtxmlpatterns" ,qtxmlpatterns)
759 (home-page "http://www.hydrogen-music.org")
760 (synopsis "Drum machine")
762 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
763 enable professional yet simple and intuitive pattern-based drum programming.")
764 (license license:gpl2+)))
766 (define-public easytag
772 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
776 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
777 (build-system glib-or-gtk-build-system)
779 `(("desktop-file-utils" ,desktop-file-utils)
781 ("intltool" ,intltool)
783 ("pkg-config" ,pkg-config)
784 ("xmllint" ,libxml2)))
789 ("libid3tag" ,libid3tag)
790 ("libvorbis" ,libvorbis)
791 ("opusfile" ,opusfile)
798 (modify-phases %standard-phases
799 (add-before 'configure 'configure-libid3tag
800 (lambda* (#:key inputs #:allow-other-keys)
801 ;; libid3tag does not provide a .pc file and EasyTAG's configure
802 ;; script healivy relies on pkg-config. Providing a temporary
803 ;; local .pc file is easier than patching the configure script.
804 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
805 (mkdir-p "pkgconfig")
807 "pkgconfig/id3tag.pc"
811 libdir=${prefix}/lib~@
812 includedir=${prefix}/include~@
817 Libs: -L${libdir} -lid3tag -lz~@
818 Cflags: -I${includedir}~%"
820 (setenv "PKG_CONFIG_PATH"
821 (string-append (getenv "PKG_CONFIG_PATH")
822 ":" (getcwd) "/pkgconfig"))
824 (add-after 'unpack 'patch-makefile
826 (substitute* "Makefile.in"
827 ;; The Makefile generates a test-desktop-file-validate.sh
828 ;; script with /bin/sh hard-coded.
829 (("/bin/sh") (which "sh"))
830 ;; Don't create 'icon-theme.cache'.
831 (("gtk-update-icon-cache") "true"))
833 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
834 (synopsis "Simple application for viewing and editing tags in audio files")
836 "EasyTAG is an application for viewing and editing tags in audio files.
837 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
838 MusePack, Monkey's Audio, and WavPack files.")
839 (license license:gpl2+)))
841 (define-public extempore
848 (url "https://github.com/digego/extempore")
849 (commit (string-append "v" version))))
852 "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp"))
853 (file-name (git-file-name name version))
854 (patches (search-patches
855 "extempore-unbundle-external-dependencies.patch"))
856 (modules '((guix build utils)))
859 ;; Remove bundled sources.
860 (map delete-file-recursively
864 (build-system cmake-build-system)
866 `(#:configure-flags (list "-DJACK=ON"
868 "-DEXTERNAL_SHLIBS_AUDIO=OFF"
869 "-DEXTERNAL_SHLIBS_GRAPHICS=OFF"
870 "-DCMAKE_BUILD_TYPE=Release"
871 (string-append "-DEXT_SHARE_DIR="
872 (assoc-ref %outputs "out")
874 #:modules ((ice-9 match)
875 (guix build cmake-build-system)
878 (modify-phases %standard-phases
879 (add-after 'build 'build-aot-libs
881 (for-each (lambda (target)
882 (invoke "make" target))
887 (add-after 'unpack 'patch-install-locations
888 (lambda* (#:key outputs #:allow-other-keys)
889 (substitute* "CMakeLists.txt"
890 (("EXT_SHARE_DIR=\"\\.\"\\)")
891 "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")")
892 (("DESTINATION \"\\.\"\\)") "DESTINATION bin)")
893 (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n"))
895 (add-after 'unpack 'patch-directories
896 (lambda* (#:key outputs #:allow-other-keys)
897 (substitute* "extras/extempore.el"
898 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
899 (string-append "(runtime-directory \""
900 (assoc-ref outputs "out")
901 "/share/extempore/runtime"
904 (add-after 'unpack 'link-with-additional-libs
906 ;; The executable must be linked with libffi and zlib.
907 (substitute* "CMakeLists.txt"
908 (("target_link_libraries\\(extempore PRIVATE dl" line)
909 (string-append line " ffi z")))
911 ;; FIXME: All examples that are used as tests segfault for some
913 (add-after 'unpack 'disable-broken-tests
915 (substitute* "CMakeLists.txt"
916 (("extempore_add_example_as_test\\(.*") ""))
918 (add-after 'unpack 'hardcode-external-lib-paths
919 (lambda* (#:key inputs #:allow-other-keys)
920 (use-modules (ice-9 match))
923 ((file-name lib pkg-name)
924 (substitute* (string-append "libs/external/" file-name ".xtm")
925 ((lib) (string-append (assoc-ref inputs pkg-name)
927 '(("assimp" "libassimp.so" "assimp")
928 ("portmidi" "libportmidi.so" "portmidi")
929 ("sndfile" "libsndfile.so" "libsndfile")
930 ("fft" "libkiss_fft.so" "kiss-fft")
931 ("stb_image" "libstb_image.so" "stb-image")
932 ("nanovg" "libnanovg.so" "nanovg")
933 ("glext" "libGL.so" "mesa")
934 ("glfw3" "libglfw.so" "glfw")
935 ("gl/glcore-directbind" "libGL.so" "mesa")
936 ("gl/glcompat-directbind" "libGL.so" "mesa")))
938 (add-after 'unpack 'use-own-llvm
939 (lambda* (#:key inputs #:allow-other-keys)
940 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
941 ;; Our LLVM builds shared libraries, so Extempore should use
943 (substitute* "CMakeLists.txt"
944 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
946 (add-after 'unpack 'fix-aot-compilation
947 (lambda* (#:key outputs #:allow-other-keys)
948 (substitute* "CMakeLists.txt"
949 ;; Extempore needs to be told where the runtime is to be found.
950 ;; While we're at it we disable automatic tuning for a specific
951 ;; CPU to make binary substitution possible.
952 (("COMMAND extempore" prefix)
953 (string-append prefix " --sharedir " (getcwd)
954 " --mcpu=generic --attr=none")))
960 (name "llvm-for-extempore")
964 (uri (string-append "http://extempore.moso.com.au/extras/"
965 "llvm-3.8.0.src-patched-for-extempore.tar.xz"))
968 "1svdl6fxn8l01ni8mpm0bd5h856ahv3h9sdzgmymr6fayckjvqzs"))))))
971 ("libsndfile" ,libsndfile)
975 ,(let ((revision "1")
976 (commit "152a250a702bf28951bb0220d63bc0c99830c498"))
979 (name "stb-image-for-extempore")
980 (version (git-version "0" revision commit))
982 (origin (method git-fetch)
984 (url "https://github.com/extemporelang/stb")
988 "0y0aa20pj9311x2ii06zg8xs34idg14hfgldqc5ymizc6cf1qiqv"))
989 (file-name (git-file-name name version))))
990 (build-system cmake-build-system)
991 (arguments `(#:tests? #f)) ;no tests included
993 ("kiss-fft" ,kiss-fft-for-extempore)
994 ("nanovg" ,nanovg-for-extempore)
996 ,(let ((version "217")
998 (commit "8602f548f71daf5ef638b2f7d224753400cb2158"))
1001 (name "portmidi-for-extempore")
1002 (version (git-version version revision commit))
1006 (url "https://github.com/extemporelang/portmidi")
1008 (file-name (git-file-name name version))
1011 "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w"))))
1012 (build-system cmake-build-system)
1013 (arguments `(#:tests? #f)) ;no tests
1014 (native-inputs '()))))
1016 ("alsa-lib" ,alsa-lib)
1017 ("portaudio" ,portaudio)
1023 ("emacs" ,emacs-no-x)))
1024 ;; Extempore refuses to build on architectures other than x86_64
1025 (supported-systems '("x86_64-linux"))
1026 (home-page "https://github.com/digego/extempore")
1027 (synopsis "Programming environment for live coding of multimedia")
1029 "Extempore is a programming language and runtime environment designed
1030 with live programming in mind. It supports interactive programming in a REPL
1031 style, compiling and binding code just-in-time. Although Extempore has its
1032 roots in 'live coding' of audiovisual media art, it is suitable for any task
1033 domain where dynamic run-time modifiability and good numerical performance are
1034 required. Extempore also has strong timing and concurrency semantics, which
1035 are helpful when working in problem spaces where timing is important (such as
1037 (license license:bsd-2)))
1039 (define-public surge-synth
1041 (name "surge-synth")
1047 (url "https://github.com/surge-synthesizer/surge")
1048 (commit (string-append "release_" version))
1049 (recursive? #t))) ; build system expects modules to be there
1050 (file-name (git-file-name name version))
1053 "1jhk8iaqh89dnci4446b47315v2lc8gclraygk8m9jl20zpjxl0l"))))
1054 (build-system cmake-build-system)
1056 `(#:tests? #f ; no tests included
1058 (modify-phases %standard-phases
1059 (add-after 'unpack 'replace-python
1060 (lambda* (#:key inputs outputs #:allow-other-keys)
1061 (substitute* "CMakeLists.txt"
1063 (string-append " " (assoc-ref inputs "python")
1066 (add-after 'unpack 'fix-data-directory-name
1067 (lambda* (#:key inputs outputs #:allow-other-keys)
1068 (substitute* "src/common/SurgeStorage.cpp"
1069 (("/usr") (assoc-ref outputs "out")))
1071 (replace 'install ; no install target
1072 (lambda* (#:key inputs outputs #:allow-other-keys)
1073 (let* ((src (assoc-ref inputs "source"))
1074 (out (assoc-ref outputs "out"))
1075 (share (string-append out "/share"))
1076 (lib (string-append out "/lib"))
1077 (lv2 (string-append lib "/lv2"))
1078 (vst3 (string-append lib "/vst3")))
1081 ;; Install LV2 plugin.
1082 (copy-recursively "surge_products/Surge.lv2"
1083 (string-append lv2 "/Surge.lv2"))
1084 ;; Install VST3 plugin.
1085 (copy-recursively "surge_products/Surge.vst3"
1086 (string-append vst3 "/Surge.vst3"))
1088 (copy-recursively (string-append src "/resources/data")
1089 (string-append share "/Surge"))
1093 ("libxkbcommon" ,libxkbcommon)
1095 ("xcb-util" ,xcb-util)
1096 ("xcb-util-cursor" ,xcb-util-cursor)
1097 ("xcb-util-keysyms" ,xcb-util-keysyms)))
1099 `(("pkg-config" ,pkg-config)))
1100 (home-page "https://surge-synthesizer.github.io/")
1101 (synopsis "Synthesizer plugin")
1103 "Surge is a subtractive hybrid digital synthesizer. Each patch contains
1104 two @dfn{scenes} which are separate instances of the entire synthesis
1105 engine (except effects) that can be used for layering or split patches.")
1106 (license license:gpl3+)))
1108 (define-public klick
1114 (uri (string-append "http://das.nasophon.de/download/klick-"
1118 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
1119 (build-system scons-build-system)
1121 `(#:scons-flags (list (string-append "PREFIX=" %output))
1122 #:scons ,scons-python2
1123 #:tests? #f ; no "check" target
1125 (modify-phases %standard-phases
1126 (add-after 'unpack 'be-permissive
1128 (substitute* "SConstruct"
1129 (("'-Wall'") "'-Wall', '-fpermissive'"))
1131 (add-after 'unpack 'replace-removed-scons-syntax
1133 (substitute* "SConstruct"
1134 (("BoolOption") "BoolVariable")
1135 (("PathOption") "PathVariable")
1136 (("Options") "Variables"))
1141 ("libsndfile" ,libsndfile)
1142 ("libsamplerate" ,libsamplerate)
1144 ("rubberband" ,rubberband)))
1146 `(("pkg-config" ,pkg-config)))
1147 (home-page "http://das.nasophon.de/klick/")
1148 (synopsis "Metronome for JACK")
1150 "klick is an advanced command-line based metronome for JACK. It allows
1151 you to define complex tempo maps for entire songs or performances.")
1152 (license license:gpl2+)))
1161 (url "https://github.com/sahib/glyr")
1163 (file-name (git-file-name name version))
1166 "1miwbqzkhg0v3zysrwh60pj9sv6ci4lzq2vq2hhc6pc6hdyh8xyr"))))
1167 (build-system cmake-build-system)
1169 '(#:configure-flags '("-DTEST=true")
1171 (modify-phases %standard-phases
1172 (add-after 'unpack 'patch-tests
1174 (substitute* "spec/capi/check_api.c"
1175 (("fail_unless \\(c != NULL,\"Could not load www.google.de\"\\);")
1179 (lambda* (#:key tests? #:allow-other-keys)
1182 (invoke "bin/check_api")
1183 ;; (invoke "bin/check_opt") TODO Very dependent on the network
1184 (invoke "bin/check_dbc"))
1186 ;; TODO Work out how to run the spec/providers Python tests
1191 ("sqlite" ,sqlite)))
1193 `(("pkg-config" ,pkg-config)
1195 (home-page "https://github.com/sahib/glyr")
1196 (synopsis "Search engine for music related metadata")
1198 "Glyr comes both in a command-line interface tool (@command{glyrc}) and
1199 as a C library (libglyr).
1201 The sort of metadata glyr is searching (and downloading) is usually the data
1202 you see in your musicplayer. And indeed, originally it was written to serve
1203 as internally library for a musicplayer, but has been extended to work as a
1204 standalone program which is able to download cover art, lyrics, photos,
1205 biographies, reviews and more.")
1206 (license license:lgpl3+)))
1208 (define-public gtklick
1214 (uri (string-append "http://das.nasophon.de/download/gtklick-"
1218 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
1219 (build-system python-build-system)
1221 `(#:tests? #f ; no tests
1224 (modify-phases %standard-phases
1225 (add-before 'build 'add-sitedirs
1226 ;; .pth files are not automatically interpreted unless the
1227 ;; directories containing them are added as "sites". The directories
1228 ;; are then added to those in the PYTHONPATH. This is required for
1229 ;; the operation of pygtk.
1231 (substitute* "gtklick/gtklick.py"
1233 "import pygtk, site, sys
1234 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
1235 (add-after 'unpack 'inject-store-path-to-klick
1236 (lambda* (#:key inputs #:allow-other-keys)
1237 (substitute* "gtklick/klick_backend.py"
1238 (("KLICK_PATH = 'klick'")
1239 (string-append "KLICK_PATH = '"
1240 (assoc-ref inputs "klick")
1245 ("python2-pyliblo" ,python2-pyliblo)
1246 ("python2-pygtk" ,python2-pygtk)))
1248 `(("gettext" ,gettext-minimal)))
1249 (home-page "http://das.nasophon.de/gtklick/")
1250 (synopsis "Simple metronome with an easy-to-use graphical interface")
1252 "Gtklick is a simple metronome with an easy-to-use graphical user
1253 interface. It is implemented as a frontend to @code{klick}.")
1254 (license license:gpl2+)))
1256 (define-public libgme
1262 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
1263 "downloads/game-music-emu-" version
1267 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
1268 (build-system cmake-build-system)
1270 '(#:tests? #f)) ; no check target
1271 (home-page "https://bitbucket.org/mpyne/game-music-emu")
1272 (synopsis "Video game music file playback library")
1274 "Game-music-emu is a collection of video game music file emulators that
1275 support the following formats and systems:
1278 ZX Spectrum/Asmtrad CPC
1282 Sega Genesis/Mega Drive
1284 NEC TurboGrafx-16/PC Engine
1286 MSX Home Computer/other Z80 systems (doesn't support FM sound)
1288 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
1290 Atari systems using POKEY sound chip
1292 Super Nintendo/Super Famicom
1294 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
1296 (license (list license:lgpl2.1+
1297 ;; demo and player directories are under the Expat license
1300 (define-public ninjas2
1309 (url "https://github.com/clearly-broken-software/ninjas2")
1310 (commit (string-append "v" version))
1311 ;; Bundles a specific commit of the DISTRHO plugin framework.
1313 (file-name (git-file-name name version))
1315 (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
1316 (build-system gnu-build-system)
1318 `(#:tests? #f ;no tests
1320 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1321 (string-append "CC=" ,(cc-for-target)))
1323 (modify-phases %standard-phases
1324 (delete 'configure) ;no configure target
1325 (replace 'install ;no install target
1326 (lambda* (#:key outputs #:allow-other-keys)
1327 (let* ((out (assoc-ref outputs "out"))
1328 (bin (string-append out "/bin"))
1329 (lv2 (string-append out "/lib/lv2")))
1333 (copy-recursively file
1334 (string-append lv2 "/" (basename file))))
1335 (find-files "bin" "\\.lv2$" #:directories? #t))
1336 ;; Install executables.
1339 (install-file file bin))
1343 (equal? (dirname name) "bin")
1344 (not (string-suffix? ".so" name))
1345 (not (string-suffix? ".lv2" name))))))
1349 ("jack" ,jack-1) ; for the standalone JACK application
1350 ("libsamplerate" ,libsamplerate)
1352 ("libsndfile" ,libsndfile)))
1354 `(("ladspa" ,ladspa)
1356 ("pkg-config" ,pkg-config)))
1357 (synopsis "Sample slicer audio plugin")
1359 "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
1360 Its goal is to be an easy to use sample slicer with quick slicing of samples
1361 and auto-mapping slices to MIDI note numbers.")
1362 (home-page "https://github.com/clearly-broken-software/ninjas2")
1363 (license license:gpl3+)))
1365 (define-public lilypond
1372 (uri (string-append "http://lilypond.org/download/sources/"
1373 "v" (version-major+minor version) "/"
1374 "lilypond-" version ".tar.gz"))
1376 (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar"))))
1377 (build-system gnu-build-system)
1379 `(#:tests? #f ;out-test/collated-files.html fails
1381 #:make-flags '("conf=www") ;to generate images for info manuals
1383 (list "CONFIGURATION=www"
1384 (string-append "--with-texgyre-dir="
1385 (assoc-ref %build-inputs "font-tex-gyre")
1386 "/share/fonts/opentype/"))
1388 (modify-phases %standard-phases
1389 (add-after 'unpack 'use-texlive-union
1391 ;; FIXME: fonts are not found and have to be generated in HOME.
1392 (setenv "HOME" "/tmp")
1393 ;; The test for the "lh" package fails, even though it is among
1395 (substitute* "configure"
1396 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
1398 (add-after 'unpack 'fix-path-references
1400 (substitute* "scm/backend-library.scm"
1401 (("\\(search-executable '\\(\"gs\"\\)\\)")
1402 (string-append "\"" (which "gs") "\""))
1404 (string-append "\"" (which "sh") "\"")))
1406 (add-before 'configure 'prepare-configuration
1408 (substitute* "configure"
1409 (("SHELL=/bin/sh") "SHELL=sh")
1410 ;; When checking the fontforge version do not consider the
1411 ;; version string that's part of the directory.
1412 (("head -n") "tail -n")
1413 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
1414 (("20110222") "19700101"))
1415 (setenv "out" "www")
1416 (setenv "conf" "www")
1418 (add-after 'install 'install-info
1421 "-j" (number->string (parallel-job-count))
1422 "conf=www" "install-info")
1425 `(("guile" ,guile-1.8)
1426 ("font-dejavu" ,font-dejavu)
1427 ("font-tex-gyre" ,font-tex-gyre)
1428 ("fontconfig" ,fontconfig)
1429 ("freetype" ,freetype)
1430 ("ghostscript" ,ghostscript)
1432 ("python" ,python-2)))
1437 ("fontforge" ,fontforge)
1438 ("dblatex" ,dblatex)
1439 ("gettext" ,gettext-minimal)
1440 ("imagemagick" ,imagemagick)
1441 ("netpbm" ,netpbm) ;for pngtopnm
1442 ("texlive" ,(texlive-union (list texlive-metapost
1443 texlive-generic-epsf
1445 texlive-latex-cyrillic)))
1446 ("texinfo" ,texinfo)
1447 ("texi2html" ,texi2html-1.82)
1449 ("pkg-config" ,pkg-config)
1451 (home-page "http://www.lilypond.org/")
1452 (synopsis "Music typesetting")
1454 "GNU LilyPond is a music typesetter, which produces high-quality sheet
1455 music. Music is input in a text file containing control sequences which are
1456 interpreted by LilyPond to produce the final document. It is extendable with
1458 (license license:gpl3+)
1460 ;; On armhf and mips64el, building the documentation sometimes leads to
1461 ;; more than an hour of silence, so double the max silent time.
1462 (properties `((max-silent-time . 7200)))))
1464 (define-public non-sequencer
1465 ;; The latest tagged release is three years old and uses a custom build
1466 ;; system, so we take the last commit.
1467 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1470 (name "non-sequencer")
1471 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
1475 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1479 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
1480 (file-name (string-append name "-" version "-checkout"))))
1481 (build-system waf-build-system)
1483 `(#:tests? #f ;no "check" target
1485 (list "--project=sequencer"
1486 ;; Disable the use of SSE unless on x86_64.
1487 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1488 (%current-system))))
1491 #:python ,python-2))
1494 ("libsigc++" ,libsigc++)
1498 `(("pkg-config" ,pkg-config)))
1499 (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer")
1500 (synopsis "Pattern-based MIDI sequencer")
1502 "The Non Sequencer is a powerful, lightweight, real-time,
1503 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1504 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1505 Sequencer happens on-line, in real-time. Music can be composed live, while the
1506 transport is rolling.")
1507 (license license:gpl2+))))
1509 (define-public non-session-manager
1510 (package (inherit non-sequencer)
1511 (name "non-session-manager")
1513 (substitute-keyword-arguments (package-arguments non-sequencer)
1514 ((#:configure-flags flags)
1515 `(cons "--project=session-manager"
1516 (delete "--project=sequencer" ,flags)))))
1522 `(("pkg-config" ,pkg-config)))
1523 (home-page "https://non.tuxfamily.org/nsm/")
1524 (synopsis "Audio session management")
1526 "The Non Session Manager is an API and an implementation for audio
1527 session management. NSM clients use a well-specified OSC protocol to
1528 communicate with the session management daemon.")
1529 (license license:gpl2+)))
1531 (define-public non-mixer
1532 (package (inherit non-sequencer)
1535 (substitute-keyword-arguments (package-arguments non-sequencer)
1536 ((#:configure-flags flags)
1537 `(cons "--project=mixer"
1538 (delete "--project=sequencer" ,flags)))))
1546 `(("pkg-config" ,pkg-config)))
1547 (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
1548 (synopsis "Modular digital audio mixer")
1550 "The Non Mixer is a powerful, reliable and fast modular digital audio
1551 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1552 toolkit for a fast and lightweight user interface. Non Mixer can be used
1553 alone or in concert with Non Timeline and Non Sequencer to form a complete
1555 (license license:gpl2+)))
1557 (define-public non-timeline
1558 (package (inherit non-sequencer)
1559 (name "non-timeline")
1561 (substitute-keyword-arguments (package-arguments non-sequencer)
1562 ((#:configure-flags flags)
1563 `(cons "--project=timeline"
1564 (delete "--project=sequencer" ,flags)))))
1568 ("libsndfile" ,libsndfile)
1571 `(("pkg-config" ,pkg-config)))
1572 (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
1573 (synopsis "Modular digital audio timeline arranger")
1575 "The Non Timeline is a powerful, reliable and fast modular digital audio
1576 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1577 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1578 be used alone or in concert with Non Mixer and Non Sequencer to form a
1580 (license license:gpl2+)))
1582 (define-public tascam-gtk
1583 ;; This commit represents the latest version at the time of this writing.
1584 (let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
1588 (version (git-version "0.4" revision commit))
1592 (url "https://github.com/onkelDead/tascam-gtk")
1594 (file-name (git-file-name name version))
1597 "07k7rccqqg7lnygkh97a200l1i6s1rl92n01v0q6n4257sinir6f"))))
1598 (build-system gnu-build-system)
1602 ("alsa-lib" ,alsa-lib)
1603 ("libxmlplusplus" ,libxmlplusplus-2.6)))
1605 `(("glib:bin" ,glib "bin")
1606 ("pkg-config" ,pkg-config)))
1607 (home-page "https://github.com/onkelDead/tascam-gtk")
1608 (synopsis "GTK+ based application to control Tascam US-16x08 DSP mixer")
1609 (description "This is a mixer application to control the Tascam US-16x08
1610 audio interface. This device contains about 280 control elements and this
1611 mixer application aims to provide comfortable access to the DSP effects the
1613 (license license:expat))))
1615 (define-public bsequencer
1622 (url "https://github.com/sjaehn/BSEQuencer")
1624 (file-name (git-file-name name version))
1627 "0w7iwzz2r4a699fi24qk71vv2k3jpl9ylzlgmvyc3rlgad0m01k1"))))
1628 (build-system gnu-build-system)
1631 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1632 #:tests? #f ; there are none
1634 (modify-phases %standard-phases
1635 (delete 'configure))))
1639 ("libx11" ,libx11)))
1641 `(("pkg-config" ,pkg-config)))
1642 (home-page "https://github.com/sjaehn/BSEQuencer")
1643 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1645 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1646 with a selectable pattern matrix size.")
1647 (license license:gpl3+)))
1649 (define-public bchoppr
1651 (inherit bsequencer)
1658 (url "https://github.com/sjaehn/BChoppr")
1660 (file-name (git-file-name name version))
1663 "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"))))
1664 (synopsis "Audio stream-chopping LV2 plugin")
1665 (description "B.Choppr cuts the audio input stream into a repeated
1666 sequence of up to 16 chops. Each chop can be leveled up or down (gating).
1667 B.Choppr is the successor of B.Slizr.")
1668 (home-page "https://github.com/sjaehn/BChoppr")
1669 (license license:gpl3+)))
1671 (define-public bshapr
1673 (inherit bsequencer)
1680 (url "https://github.com/sjaehn/BShapr")
1681 (commit (string-append "v" version))))
1682 (file-name (git-file-name name version))
1684 (base32 "04zd3a178i2nivg5rjailzqvc5mlnilmhj1ziygmbhshbrywplri"))))
1685 (synopsis "Beat/envelope shaper LV2 plugin")
1686 (description "B.Shapr is a beat/envelope shaper LV2 plugin.")
1687 (home-page "https://github.com/sjaehn/BShapr")
1688 (license license:gpl3+)))
1690 (define-public bjumblr
1692 (inherit bsequencer)
1699 (url "https://github.com/sjaehn/BJumblr")
1701 (file-name (git-file-name name version))
1704 "0kl6hrxmqrdf0195bfnzsa2h1073fgiqrfhg2276fm1954sm994v"))))
1707 ("libsndfile" ,libsndfile)
1709 (synopsis "Pattern-controlled audio stream/sample re-sequencer LV2 plugin")
1710 (description "B.Jumblr is a pattern-controlled audio stream / sample
1711 re-sequencer LV2 plugin.")
1712 (home-page "https://github.com/sjaehn/BJumblr")
1713 (license license:gpl3+)))
1715 (define-public bschaffl
1717 (inherit bsequencer)
1724 (url "https://github.com/sjaehn/BSchaffl")
1726 (file-name (git-file-name name version))
1729 "1c09acqrbd387ba41f8ch1qykdap5h6cg9if5pgd16i4dmjnpghj"))))
1732 ("fontconfig" ,fontconfig)
1733 ("libsndfile" ,libsndfile)
1736 (home-page "https://github.com/sjaehn/BSchaffl")
1737 (synopsis "Pattern-controlled MIDI amp & time stretch LV2 plugin")
1738 (description "This package provides an LV2 plugin that allows for
1739 pattern-controlled MIDI amp & time stretching to produce shuffle / swing
1742 Key features include:
1745 @item MIDI velocity amplification and timing manipulation plugin
1746 @item Swing and shuffle rhythms
1747 @item Pre-generator dynamics
1749 @item Pattern (sliders) or shape-controlled
1751 @item Smart quantization
1754 (license license:gpl3+)))
1756 (define-public solfege
1763 "mirror://gnu/solfege/solfege-"
1767 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1768 (build-system gnu-build-system)
1770 `(#:tests? #f ; xmllint attempts to download DTD
1771 #:test-target "test"
1773 (modify-phases %standard-phases
1774 (add-after 'unpack 'fix-configuration
1775 (lambda* (#:key inputs #:allow-other-keys)
1776 (substitute* "default.config"
1777 (("/usr/bin/aplay") "aplay")
1778 (("/usr/bin/timidity") "timidity")
1779 (("/usr/bin/mpg123") "mpg123")
1780 (("/usr/bin/ogg123") "ogg123"))
1782 (add-before 'build 'patch-python-shebangs
1784 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1786 (substitute* '("solfege/parsetree.py"
1787 "solfege/presetup.py")
1788 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1790 (add-before 'build 'add-sitedirs
1791 ;; .pth files are not automatically interpreted unless the
1792 ;; directories containing them are added as "sites". The directories
1793 ;; are then added to those in the PYTHONPATH. This is required for
1794 ;; the operation of pygtk and pygobject.
1796 (substitute* "run-solfege.py"
1799 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1801 (add-before 'build 'adjust-config-file-prefix
1802 (lambda* (#:key outputs #:allow-other-keys)
1803 (substitute* "run-solfege.py"
1804 (("prefix = os.path.*$")
1805 (string-append "prefix = " (assoc-ref outputs "out"))))
1807 (add-after 'install 'wrap-program
1808 (lambda* (#:key inputs outputs #:allow-other-keys)
1809 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1810 (let* ((out (assoc-ref outputs "out"))
1811 (path (getenv "PYTHONPATH")))
1812 (wrap-program (string-append out "/bin/solfege")
1813 `("PYTHONPATH" ":" prefix (,path))))
1816 `(("python" ,python-2)
1817 ("pygtk" ,python2-pygtk)
1818 ("gettext" ,gettext-minimal)
1820 ("lilypond" ,lilypond)))
1822 `(("pkg-config" ,pkg-config)
1823 ("txt2man" ,txt2man)
1824 ("libxml2" ,libxml2) ; for tests
1825 ("ghostscript" ,ghostscript)
1826 ("texinfo" ,texinfo)))
1827 (home-page "https://www.gnu.org/software/solfege/")
1828 (synopsis "Ear training")
1830 "GNU Solfege is a program for practicing musical ear-training. With it,
1831 you can practice your recognition of various musical intervals and chords. It
1832 features a statistics overview so you can monitor your progress across several
1833 sessions. Solfege is also designed to be extensible so you can easily write
1835 (license license:gpl3+)))
1837 (define-public powertabeditor
1839 (name "powertabeditor")
1840 (version "2.0.0-alpha14")
1844 (url "https://github.com/powertab/powertabeditor")
1846 (file-name (git-file-name name version))
1849 "1wsvni2aa9h2bpndlic7ckch4n600ahwm56n521y5vxivwjx3jmj"))))
1850 (build-system cmake-build-system)
1853 (modify-phases %standard-phases
1854 (replace 'check (lambda _ (invoke "bin/pte_tests")))
1855 (add-after 'unpack 'fix-pugixml-detection
1857 (substitute* "cmake/third_party/pugixml.cmake"
1858 (("add_library") "#add_library"))
1861 `(("alsa-lib" ,alsa-lib)
1863 ("minizip" ,minizip)
1864 ("pugixml" ,pugixml)
1866 ("rapidjson" ,rapidjson)
1868 ("timidity" ,timidity++)
1871 `(("doctest" ,doctest)
1872 ("pkg-config" ,pkg-config)))
1873 (home-page "https://github.com/powertab/powertabedito")
1874 (synopsis "Guitar tablature editor")
1876 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1877 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1878 (license license:gpl3+)))
1880 (define-public jalv-select
1882 (name "jalv-select")
1887 (url "https://github.com/brummer10/jalv_select")
1888 (commit (string-append "v" version))))
1889 (file-name (git-file-name name version))
1892 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
1893 (build-system gnu-build-system)
1896 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1898 (modify-phases %standard-phases
1900 (add-after 'unpack 'ignore-PATH
1901 (lambda* (#:key inputs #:allow-other-keys)
1902 (substitute* "jalv.select.cpp"
1903 (("echo \\$PATH.*tr ':'.*xargs ls")
1904 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1906 (add-before 'reset-gzip-timestamps 'make-manpages-writable
1907 (lambda* (#:key outputs #:allow-other-keys)
1908 (for-each make-file-writable
1909 (find-files (string-append (assoc-ref outputs "out")
1917 ("gtkmm" ,gtkmm-2)))
1919 `(("pkg-config" ,pkg-config)))
1920 (home-page "https://github.com/brummer10/jalv_select")
1921 (synopsis "GUI to select LV2 plugins and run them with jalv")
1923 "The jalv.select package provides a graphical user interface allowing
1924 users to select LV2 plugins and run them with jalv.")
1925 (license license:public-domain)))
1927 (define-public synthv1
1934 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1935 "/synthv1-" version ".tar.gz"))
1938 "17sizhav01mn07gi812n8wqdcr85290zqg609s18cww2b95dy6mn"))))
1939 (build-system gnu-build-system)
1941 `(#:tests? #f)) ; there are no tests
1945 ("alsa-lib" ,alsa-lib)
1946 ("non-session-manager" ,non-session-manager)
1948 ("qtbase" ,qtbase)))
1950 `(("pkg-config" ,pkg-config)
1951 ("qttools" ,qttools)))
1952 (home-page "https://synthv1.sourceforge.io")
1953 (synopsis "Polyphonic subtractive synthesizer")
1955 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1956 oscillators and stereo effects.")
1957 (license license:gpl2+)))
1959 (define-public drumkv1
1966 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
1967 "/drumkv1-" version ".tar.gz"))
1970 "0w9frc634yg2m0yc84szdf6x7l4f19pcviqpg065a1kdixf98qrf"))))
1971 (build-system gnu-build-system)
1973 `(#:tests? #f)) ; there are no tests
1977 ("libsndfile" ,libsndfile)
1978 ("alsa-lib" ,alsa-lib)
1979 ("non-session-manager" ,non-session-manager)
1981 ("qtbase" ,qtbase)))
1983 `(("pkg-config" ,pkg-config)
1984 ("qttools" ,qttools)))
1985 (home-page "https://drumkv1.sourceforge.io")
1986 (synopsis "Drum-kit sampler synthesizer with stereo effects")
1988 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
1990 (license license:gpl2+)))
1992 (define-public samplv1
1999 (string-append "mirror://sourceforge/samplv1/samplv1/" version
2000 "/samplv1-" version ".tar.gz"))
2003 "1fwvk83sfvp1k6qyqv1a7a1l8sbm6azcldaiiqa3ls1vhl4m5wv4"))))
2004 (build-system gnu-build-system)
2006 `(#:tests? #f)) ; there are no tests
2010 ("libsndfile" ,libsndfile)
2011 ("alsa-lib" ,alsa-lib)
2012 ("non-session-manager" ,non-session-manager)
2014 ("qtbase" ,qtbase)))
2016 `(("pkg-config" ,pkg-config)
2017 ("qttools" ,qttools)))
2018 (home-page "https://samplv1.sourceforge.io")
2019 (synopsis "Polyphonic sampler synthesizer with stereo effects")
2021 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
2023 (license license:gpl2+)))
2025 (define-public padthv1
2032 (string-append "mirror://sourceforge/padthv1/padthv1/" version
2033 "/padthv1-" version ".tar.gz"))
2036 "06fkrc4xxzr3sa3c76lnkcm4q9k0xl5993bn60la0ja4sz2kp6r7"))))
2037 (build-system gnu-build-system)
2039 `(#:tests? #f)) ; there are no tests
2043 ("alsa-lib" ,alsa-lib)
2044 ("non-session-manager" ,non-session-manager)
2047 ("qtbase" ,qtbase)))
2049 `(("pkg-config" ,pkg-config)
2050 ("qttools" ,qttools)))
2051 (home-page "https://padthv1.sourceforge.io")
2052 (synopsis "Polyphonic additive synthesizer")
2054 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
2055 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
2056 special variant of additive synthesis.")
2057 (license license:gpl2+)))
2059 (define-public amsynth
2066 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
2067 "download/release-" version
2068 "/amsynth-" version ".tar.bz2"))
2071 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
2072 (build-system gnu-build-system)
2075 (modify-phases %standard-phases
2076 (add-after 'unpack 'patch-file-names
2078 (substitute* "src/GUI/editor_pane.c"
2079 (("/usr/bin/unzip") (which "unzip")))
2080 (substitute* "src/GUI/GUI.cc"
2081 (("/usr/bin/which") (which "which")))
2084 `(("alsa-lib" ,alsa-lib)
2089 ("libsndfile" ,libsndfile)
2091 ;; External commands invoked at run time.
2095 `(("intltool" ,intltool)
2096 ("pkg-config" ,pkg-config)))
2097 (home-page "https://amsynth.github.io")
2098 (synopsis "Analog modeling synthesizer")
2100 "amsynth is an easy-to-use software synthesizer with a classic
2101 subtractive synthesizer topology. Its features include: dual
2102 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
2103 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
2104 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
2105 which can modulate the oscillators, filter, and amplitude; distortion and
2107 (license license:gpl2+)))
2109 (define-public setbfree
2116 (url "https://github.com/pantherb/setBfree")
2117 (commit (string-append "v" version))))
2118 (file-name (git-file-name name version))
2121 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
2122 (build-system gnu-build-system)
2124 `(#:tests? #f ; no "check" target
2126 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2127 (string-append "FONTFILE="
2128 (assoc-ref %build-inputs "font-bitstream-vera")
2129 "/share/fonts/truetype/VeraBd.ttf")
2130 ;; Disable unsupported optimization flags on non-x86
2131 ,@(let ((system (or (%current-target-system)
2132 (%current-system))))
2133 (if (or (string-prefix? "x86_64" system)
2134 (string-prefix? "i686" system))
2136 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
2138 (modify-phases %standard-phases
2139 (add-before 'build 'set-CC-variable
2140 (lambda _ (setenv "CC" "gcc") #t))
2141 (delete 'configure))))
2145 ("zita-convolver" ,zita-convolver)
2148 ("font-bitstream-vera" ,font-bitstream-vera)))
2150 `(("help2man" ,help2man)
2151 ("pkg-config" ,pkg-config)))
2152 (home-page "http://setbfree.org")
2153 (synopsis "Tonewheel organ")
2155 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
2156 the sound and properties of the electromechanical organs and sound
2157 modification devices that brought world-wide fame to the names and products of
2158 Laurens Hammond and Don Leslie.")
2159 (license license:gpl2+)))
2161 (define-public beast
2167 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
2171 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
2172 (build-system gnu-build-system)
2174 '(#:parallel-build? #f)) ; Race conditions cause build failures
2176 `(("rapicorn" ,rapicorn)
2177 ("guile" ,guile-1.8)
2178 ("python" ,python-2)
2179 ("libgnomecanvas" ,libgnomecanvas)
2183 ("alsa-lib" ,alsa-lib)
2184 ("libvorbis" ,libvorbis)
2185 ("gettext" ,gettext-minimal)))
2187 `(("pkg-config" ,pkg-config)
2188 ("glib:bin" ,glib "bin")
2189 ("cython" ,python2-cython)
2191 ("perl-xml-parser" ,perl-xml-parser)))
2192 (home-page "https://testbit.eu/wiki/Beast_Home")
2193 (synopsis "Music composition and modular synthesis environment")
2195 "Beast is a music composition and modular synthesis application. It
2196 supports a wide range of standards in the field, such as MIDI, various audio
2197 file formats and LADSPA modules. It allows for multitrack editing, real-time
2198 synthesis, 32bit audio rendering, precise timing down to sample granularity,
2199 on-demand and partial loading of wave files, on the fly decoding, stereo
2200 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
2201 (license license:gpl3+)))
2203 (define-public bristol
2209 (uri (string-append "mirror://sourceforge/bristol/bristol/"
2210 (version-major+minor version)
2211 "/bristol-" version ".tar.gz"))
2214 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
2215 (build-system gnu-build-system)
2218 (modify-phases %standard-phases
2219 (add-after 'unpack 'remove-sse-flags
2220 (lambda* (#:key system #:allow-other-keys)
2221 (when (not (or (string-prefix? "x86_64" system)
2222 (string-prefix? "i686" system)))
2223 (substitute* "bristol/Makefile.in"
2224 (("-msse -mfpmath=sse") "")))
2226 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
2227 ;; bristol actually doesn't use it.
2228 (add-after 'unpack 'do-not-use-alsa-iatomic
2230 (substitute* "libbristolaudio/audioEngineJack.c"
2231 (("#include <alsa/iatomic.h>") ""))
2233 ;; We know that Bristol has been linked with JACK and we don't have
2234 ;; ldd, so we can just skip this check.
2235 (add-after 'unpack 'do-not-grep-for-jack
2237 (substitute* "bin/startBristol.in"
2238 (("ldd `which bristol` | grep jack") "echo guix"))
2241 `(("alsa-lib" ,alsa-lib)
2244 ("libx11" ,libx11)))
2246 `(("pkg-config" ,pkg-config)))
2247 (home-page "http://bristol.sourceforge.net/")
2248 (synopsis "Synthesizer emulator")
2250 "Bristol is an emulation package for a number of different @code{classic}
2251 synthesizers including additive and subtractive and a few organs. The
2252 application consists of the engine, which is called bristol, and its own GUI
2253 library called brighton that represents all the emulations. There are
2254 currently more than twenty different emulations; each does sound different
2255 although the author maintains that the quality and accuracy of each emulation
2257 (license license:gpl3+)))
2259 (define-public tuxguitar
2266 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
2267 version "/tuxguitar-" version "-src.tar.gz"))
2270 "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg"))))
2271 (build-system ant-build-system)
2273 `(#:build-target "build"
2275 #:tests? #f ; no tests
2277 (modify-phases %standard-phases
2279 (lambda* (#:key inputs outputs #:allow-other-keys)
2280 (let* ((initial-classpath (getenv "CLASSPATH"))
2281 (build-dir (lambda (dir)
2284 (string-join (cons initial-classpath
2285 (find-files (getcwd) "\\.jar$"))
2287 (with-directory-excursion dir
2288 (if (file-exists? "build.xml")
2289 ((assoc-ref %standard-phases 'build)
2290 #:build-target "build")
2292 ;; Generate default build.xml.
2293 ((@@ (guix build ant-build-system)
2295 (string-append (string-downcase dir) ".jar")
2296 (string-append (assoc-ref outputs "out")
2298 ((assoc-ref %standard-phases 'build))))))))
2299 (map build-dir '("TuxGuitar-lib"
2300 "TuxGuitar-editor-utils"
2301 "TuxGuitar-ui-toolkit"
2302 "TuxGuitar-ui-toolkit-swt"
2305 "TuxGuitar-gm-utils"
2308 "TuxGuitar-midi-ui"))
2310 (add-after 'build 'build-jni
2313 (setenv "CFLAGS" (string-append
2316 "/build-scripts/native-modules/common-include"))
2317 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
2319 (lambda* (#:key inputs outputs #:allow-other-keys)
2320 (let* ((out (assoc-ref outputs "out"))
2321 (bin (string-append out "/bin"))
2322 (share (string-append out "/share"))
2323 (jni-lib (string-append out "/lib"))
2324 (lib (string-append share "/java"))
2325 (swt (assoc-ref inputs "java-swt"))
2326 (mime (string-append share "/mime/packages"))
2327 (app (string-append share "/applications"))
2328 (man (string-append share "/man/man1")))
2331 ;; Install all jars.
2332 (for-each (lambda (file)
2333 (install-file file lib))
2334 (find-files "." "\\.jar$"))
2336 ;; Install jni libraries
2337 (for-each (lambda (file)
2338 (install-file file jni-lib))
2339 (find-files "." "\\-jni.so$"))
2341 ;; Install all resources.
2342 (copy-recursively "./TuxGuitar/share" share)
2344 ;; Install desktop and mime files
2345 (install-file "./misc/tuxguitar.xml" mime)
2346 (install-file "./misc/tuxguitar.desktop" app)
2349 (install-file "./misc/tuxguitar.1" man)
2352 (call-with-output-file (string-append bin "/tuxguitar")
2354 (let ((classpath (string-join (append (find-files lib "\\.jar$")
2355 (find-files swt "\\.jar$"))
2359 (string-append "#!/bin/sh\n"
2362 " -Dtuxguitar.home.path=" out
2363 " -Dtuxguitar.share.path=" out "/share"
2364 " -Dswt.library.path=" swt "/lib"
2365 " -Djava.library.path=" out "/lib"
2366 " org.herac.tuxguitar.app.TGMainSingleton"
2367 " \"$1\" \"$2\"")))))
2368 (chmod (string-append bin "/tuxguitar") #o555)
2371 `(("alsa-lib" ,alsa-lib)
2372 ("java-swt" ,java-swt)))
2373 (home-page "http://tuxguitar.com.ar/")
2374 (synopsis "Multitrack tablature editor and player")
2376 "TuxGuitar is a guitar tablature editor with player support through midi.
2377 It can display scores and multitrack tabs. TuxGuitar provides various
2378 additional features, including autoscrolling while playing, note duration
2379 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
2380 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
2382 (license license:lgpl2.1+)))
2391 (string-append "http://msp.ucsd.edu/Software/pd-"
2392 version ".src.tar.gz"))
2395 "1hgw1ciwr59f4f9s0h7c2l36wcsn3jsddhr1r9qj97vf64c1ynaj"))))
2396 (build-system gnu-build-system)
2398 (let ((wish (string-append "wish" (version-major+minor
2399 (package-version tk)))))
2400 `(#:tests? #f ; no "check" target
2404 (string-append "--with-wish=" (string-append
2405 (assoc-ref %build-inputs "tk")
2408 (modify-phases %standard-phases
2409 (add-before 'configure 'fix-with-path
2411 (substitute* "tcl/pd-gui.tcl"
2412 (("exec wish ") (string-append "exec " (which ,wish) " ")))
2415 `(("autoconf" ,autoconf)
2416 ("automake" ,automake)
2417 ("libtool" ,libtool)
2418 ("gettext" ,gettext-minimal)
2419 ("pkg-config" ,pkg-config)))
2422 ("alsa-lib" ,alsa-lib)
2424 (home-page "https://puredata.info")
2425 (synopsis "Visual programming language for artistic performances")
2427 "Pure Data (aka Pd) is a visual programming language. Pd enables
2428 musicians, visual artists, performers, researchers, and developers to create
2429 software graphically, without writing lines of code. Pd is used to process
2430 and generate sound, video, 2D/3D graphics, and interface sensors, input
2431 devices, and MIDI. Pd can easily work over local and remote networks to
2432 integrate wearable technology, motor systems, lighting rigs, and other
2433 equipment. Pd is suitable for learning basic multimedia processing and visual
2434 programming methods as well as for realizing complex systems for large-scale
2436 (license license:bsd-3)))
2438 (define-public libpd
2445 (url "https://github.com/libpd/libpd")
2447 (recursive? #t))) ; for the 'pure-data' submodule
2448 (file-name (string-append name "-" version "-checkout"))
2451 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
2452 (build-system gnu-build-system)
2454 '(#:tests? #f ; no tests
2455 #:make-flags '("CC=gcc")
2457 (modify-phases %standard-phases
2458 (delete 'configure) ; no configure script
2460 (lambda* (#:key outputs #:allow-other-keys)
2461 (let ((out (assoc-ref outputs "out")))
2462 (invoke "make" "install"
2463 (string-append "prefix=" out)
2464 ;; XXX: Fix the last 2 lines of 'install' target.
2466 "LIBPD_DEF=NO")))))))
2467 (home-page "http://libpd.cc/")
2468 (synopsis "Pure Data as an embeddable audio synthesis library")
2470 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
2471 main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
2472 (license license:bsd-3)))
2474 (define-public portmidi
2480 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
2481 version "/portmidi-src-" version ".zip"))
2484 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
2485 (patches (list (search-patch "portmidi-modular-build.patch")))))
2486 (build-system cmake-build-system)
2488 `(#:tests? #f ; tests cannot be linked
2489 #:build-type "Release" ; needed to have PMALSA set
2491 (list "-DPORTMIDI_ENABLE_JAVA=Off"
2492 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
2494 (modify-phases %standard-phases
2495 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
2496 ;; "libportmidi.so". Distributions get away with it by creating an
2497 ;; appropriate symlink.
2498 (add-after 'install 'add-porttime
2499 (lambda* (#:key outputs #:allow-other-keys)
2500 (let* ((out (assoc-ref outputs "out"))
2501 (lib (string-append out "/lib")))
2502 (with-directory-excursion lib
2503 (symlink "libportmidi.so" "libporttime.so")))))
2504 (add-after 'install 'install-pkg-config
2505 (lambda* (#:key outputs #:allow-other-keys)
2506 (let* ((out (assoc-ref outputs "out"))
2507 (pkg-config-dir (string-append out "/lib/pkgconfig")))
2508 (mkdir-p pkg-config-dir)
2509 (with-output-to-file (string-append pkg-config-dir "/portmidi.pc")
2513 libdir=${prefix}/lib~@
2514 includedir=${prefix}/include~@
2519 Libs: -L${libdir} -lportmidi~@
2520 Cflags: -I${includedir}~%"
2521 out ,version)))))))))
2523 `(("alsa-lib" ,alsa-lib)))
2525 `(("unzip" ,unzip)))
2526 (home-page "http://portmedia.sourceforge.net/portmidi/")
2527 (synopsis "Library for MIDI I/O")
2529 "PortMidi is a library supporting real-time input and output of MIDI data
2530 using a system-independent interface.")
2531 (license license:expat)))
2533 (define-public python-pyportmidi
2535 (name "python-pyportmidi")
2536 (version (package-version portmidi))
2537 (source (package-source portmidi))
2538 (build-system python-build-system)
2540 `(#:tests? #f ; no tests included
2542 (modify-phases %standard-phases
2543 (add-after 'unpack 'enter-dir
2544 (lambda _ (chdir "pm_python") #t))
2545 (add-after 'enter-dir 'fix-setup.py
2547 (substitute* "setup.py"
2548 ;; Use Python 3 syntax
2549 (("print (\".*\")" _ text)
2550 (string-append "print(" text ")\n"))
2551 ;; TODO.txt and CHANGES.txt don't exist
2552 (("CHANGES =.*") "CHANGES = \"\"\n")
2553 (("TODO =.*") "TODO = \"\"\n"))
2556 `(("portmidi" ,portmidi)
2557 ("alsa-lib" ,alsa-lib)))
2559 `(("python-cython" ,python-cython)
2561 (home-page "http://portmedia.sourceforge.net/portmidi/")
2562 (synopsis "Python bindings to PortMidi")
2564 "This package provides Python bindings to the PortMidi library.")
2565 (license license:expat)))
2567 (define-public frescobaldi
2569 (name "frescobaldi")
2575 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2576 version "/frescobaldi-" version ".tar.gz"))
2578 (base32 "1hg9yc8kj445fjsby92g3qf50crcl1pb079zfma18sb7ycv50zww"))))
2579 (build-system python-build-system)
2581 `(#:tests? #f)) ;no tests included
2583 `(("lilypond" ,lilypond)
2584 ("poppler" ,poppler)
2585 ("portmidi" ,portmidi)
2586 ("python-ly" ,python-ly)
2587 ("python-poppler-qt5" ,python-poppler-qt5)
2588 ("python-pyportmidi" ,python-pyportmidi)
2589 ("python-pyqt" ,python-pyqt)
2590 ("python-sip" ,python-sip)))
2591 (home-page "https://www.frescobaldi.org/")
2592 (synopsis "LilyPond sheet music text editor")
2594 "Frescobaldi is a LilyPond sheet music text editor with syntax
2595 highlighting and automatic completion. Among other things, it can render
2596 scores next to the source, can capture input from MIDI or read MusicXML and
2597 ABC files, has a MIDI player for proof-listening, and includes a documentation
2599 (license license:gpl2+)))
2601 (define-public drumstick
2607 (uri (string-append "mirror://sourceforge/drumstick/"
2608 version "/drumstick-" version ".tar.bz2"))
2611 "088j0w3kr9i4lh78y0js0q8adlfzkr89xq2dxc8y3bafsgihax1x"))))
2612 (build-system cmake-build-system)
2614 `(#:tests? #f ; no test target
2615 #:configure-flags '("-DLIB_SUFFIX=")
2617 (modify-phases %standard-phases
2618 (add-before 'configure 'fix-docbook
2619 (lambda* (#:key inputs #:allow-other-keys)
2620 (substitute* "cmake_admin/CreateManpages.cmake"
2621 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2622 (string-append (assoc-ref inputs "docbook-xsl")
2623 "/xml/xsl/docbook-xsl-"
2624 ,(package-version docbook-xsl)
2625 "/manpages/docbook.xsl")))
2628 `(("qtbase" ,qtbase)
2630 ("qttools" ,qttools)
2631 ("alsa-lib" ,alsa-lib)))
2633 `(("pkg-config" ,pkg-config)
2634 ("libxslt" ,libxslt) ; for xsltproc
2635 ("docbook-xsl" ,docbook-xsl)
2636 ("doxygen" ,doxygen)
2637 ("graphviz" ,graphviz))) ; for dot
2638 (home-page "http://drumstick.sourceforge.net/")
2639 (synopsis "C++ MIDI library")
2641 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2642 includes a C++ wrapper around the ALSA library sequencer interface. A
2643 complementary library provides classes for processing SMF (Standard MIDI
2644 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2645 multiplatform realtime MIDI I/O library is also provided with various output
2646 backends, including ALSA, OSS, Network and FluidSynth.")
2647 (license license:gpl2+)))
2655 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2656 version "/vmpk-" version ".tar.bz2"))
2659 "0wn45c4sbvan7schq93zmsgg5fcf144mbbawxn5kq699vrbc3473"))))
2660 (build-system cmake-build-system)
2662 `(#:tests? #f ; no test target
2664 (modify-phases %standard-phases
2665 (add-before 'configure 'fix-docbook
2666 (lambda* (#:key inputs #:allow-other-keys)
2667 (substitute* "cmake_admin/CreateManpages.cmake"
2668 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2669 (string-append (assoc-ref inputs "docbook-xsl")
2670 "/xml/xsl/docbook-xsl-"
2671 ,(package-version docbook-xsl)
2672 "/manpages/docbook.xsl")))
2675 `(("drumstick" ,drumstick)
2678 ("qtx11extras" ,qtx11extras)))
2680 `(("libxslt" ,libxslt) ;for xsltproc
2681 ("docbook-xsl" ,docbook-xsl)
2682 ("qttools" ,qttools)
2683 ("pkg-config" ,pkg-config)))
2684 (home-page "https://vmpk.sourceforge.io/")
2685 (synopsis "Virtual MIDI piano keyboard")
2687 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2688 doesn't produce any sound by itself, but can be used to drive a MIDI
2689 synthesizer (either hardware or software, internal or external). You can use
2690 the computer's keyboard to play MIDI notes, and also the mouse. You can use
2691 the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2692 instrument or MIDI file player.")
2693 (license license:gpl3+)))
2695 (define-public zynaddsubfx
2697 (name "zynaddsubfx")
2702 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
2703 version "/zynaddsubfx-" version ".tar.bz2"))
2706 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
2707 (build-system cmake-build-system)
2710 (modify-phases %standard-phases
2711 ;; Move SSE compiler optimization flags from generic target to
2712 ;; athlon64 and core2 targets, because otherwise the build would fail
2713 ;; on non-Intel machines.
2714 (add-after 'unpack 'remove-sse-flags-from-generic-target
2716 (substitute* "src/CMakeLists.txt"
2717 (("-msse -msse2 -mfpmath=sse") "")
2718 (("-march=(athlon64|core2)" flag)
2719 (string-append flag " -msse -msse2 -mfpmath=sse")))
2725 ("alsa-lib" ,alsa-lib)
2728 ("minixml" ,minixml)
2732 `(("pkg-config" ,pkg-config)))
2733 (home-page "http://zynaddsubfx.sf.net/")
2734 (synopsis "Software synthesizer")
2736 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2737 three synthesizer engines, multitimbral and polyphonic synths, microtonal
2738 capabilities, custom envelopes, effects, etc.")
2739 (license license:gpl2)))
2741 (define-public yoshimi
2748 (uri (string-append "mirror://sourceforge/yoshimi/"
2749 (version-major+minor version)
2750 "/yoshimi-" version ".tar.bz2"))
2752 (base32 "0lxfqj4p4njww3n0wa6yfj38zfls16y3wszd47gvc5asmqyg5vjd"))))
2753 (build-system cmake-build-system)
2755 `(#:tests? #f ; there are no tests
2757 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2758 (assoc-ref %outputs "out") "/share"))
2760 (modify-phases %standard-phases
2761 (add-before 'configure 'enter-dir
2762 (lambda _ (chdir "src") #t))
2763 ;; Move SSE compiler optimization flags from generic target to
2764 ;; athlon64 and core2 targets, because otherwise the build would fail
2765 ;; on non-Intel machines.
2766 (add-after 'unpack 'remove-sse-flags-from-generic-target
2768 (substitute* "src/CMakeLists.txt"
2769 (("-msse -msse2 -mfpmath=sse") "")
2770 (("-march=(athlon64|core2)" flag)
2771 (string-append flag " -msse -msse2 -mfpmath=sse")))
2776 ("alsa-lib" ,alsa-lib)
2778 ("fontconfig" ,fontconfig)
2779 ("minixml" ,minixml)
2783 ("readline" ,readline)
2784 ("ncurses" ,ncurses)
2788 `(("pkg-config" ,pkg-config)))
2789 (home-page "http://yoshimi.sourceforge.net/")
2790 (synopsis "Multi-paradigm software synthesizer")
2792 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2793 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2794 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2795 improves on support for JACK features, such as JACK MIDI.")
2796 (license license:gpl2)))
2798 (define-public libgig
2804 (uri (string-append "http://download.linuxsampler.org/packages/"
2805 "libgig-" version ".tar.bz2"))
2808 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
2809 (build-system gnu-build-system)
2811 `(("libuuid" ,util-linux "lib")
2812 ("libsndfile" ,libsndfile)))
2814 `(("pkg-config" ,pkg-config)))
2815 (home-page "https://linuxsampler.org/libgig/")
2816 (synopsis "C++ library for working with Gigasampler (.gig) files")
2818 "Libgig is a C++ library for loading, modifying existing and creating new
2819 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2820 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2821 AKAI sampler data. The package includes a couple of command line tools based
2823 ;; The library and tools are released under the GPL, except the AKAI
2824 ;; classes which are released under the LGPL.
2825 (license (list license:gpl2+ license:lgpl2.1+))))
2827 (define-public jack-keyboard
2829 (name "jack-keyboard")
2834 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2835 version "/jack-keyboard-" version ".tar.gz"))
2838 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2839 (build-system gnu-build-system)
2845 `(("pkg-config" ,pkg-config)))
2846 (home-page "http://jack-keyboard.sourceforge.net/")
2847 (synopsis "Virtual MIDI keyboard")
2848 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2849 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2850 (license license:bsd-2)))
2852 (define-public jack-capture
2854 (name "jack-capture")
2859 (url "https://github.com/kmatheussen/jack_capture")
2861 (file-name (string-append name "-" version "-checkout"))
2864 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2865 (build-system gnu-build-system)
2868 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2869 #:tests? #f ; there are none
2871 (modify-phases %standard-phases
2872 (delete 'configure))))
2874 `(("pkg-config" ,pkg-config)
2882 ("libsndfile" ,libsndfile)))
2883 (home-page "https://github.com/kmatheussen/jack_capture")
2884 (synopsis "Program for recording sound files with JACK")
2885 (description "This is a program for recording sound files with JACK. It
2886 can connect to any JACK port and record the output into a stereo WAV file.")
2887 (license license:gpl2+)))
2889 (define-public jack-select
2891 (name "jack-select")
2895 (uri (pypi-uri "jack-select" version))
2898 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
2899 (build-system gnu-build-system)
2901 `(#:modules ((guix build gnu-build-system)
2902 ((guix build python-build-system) #:prefix python:)
2904 #:imported-modules (,@%gnu-build-system-modules
2905 (guix build python-build-system))
2907 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2908 #:tests? #f ; there are none
2910 (modify-phases %standard-phases
2912 (lambda* (#:key inputs #:allow-other-keys)
2913 ;; python-dbus cannot be found but it's really there. See
2914 ;; https://github.com/SpotlightKid/jack-select/issues/2
2915 (substitute* "setup.py"
2916 (("'dbus-python',") ""))
2917 ;; Fix reference to dlopened libraries.
2918 (substitute* "jackselect/alsainfo.py"
2920 (string-append (assoc-ref inputs "alsa-lib")
2921 "/lib/libasound.so.2")))
2924 (assoc-ref python:%standard-phases 'build))
2925 (add-after 'install 'wrap
2926 (assoc-ref python:%standard-phases 'wrap)))))
2928 `(("pkg-config" ,pkg-config)))
2930 `(("alsa-lib" ,alsa-lib)
2931 ("python" ,python-wrapper)
2932 ("python-pyudev" ,python-pyudev)
2933 ("python-pyxdg" ,python-pyxdg)
2934 ("python-dbus" ,python-dbus)
2935 ("python-pygobject" ,python-pygobject)))
2936 (home-page "https://github.com/SpotlightKid/jack-select")
2937 (synopsis "Systray application to quickly change the JACK-DBus configuration")
2938 (description "This application displays an icon in the system tray (also
2939 known as notification area) of your desktop, which shows the status of the
2940 JACK audio server and when you click on it, a menu pops up, which lets you
2941 quickly select from the JACK configuration presets you created with QjackCtl.
2942 When you select a preset, its JACK engine and driver configuration settings
2943 are loaded via DBus into JACK and then the server is restarted. This allows
2944 you to switch between different audio setups with just two mouse clicks.")
2945 (license license:expat)))
2947 (define-public cursynth
2954 (uri (string-append "mirror://gnu/cursynth/cursynth-"
2957 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
2958 (patches (search-patches "cursynth-wave-rand.patch"))))
2959 (build-system gnu-build-system)
2960 (native-inputs `(("pkg-config" ,pkg-config)))
2961 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
2962 ;; prevents us from using pulseaudio
2963 (inputs `(("ncurses" ,ncurses)
2964 ("alsa" ,alsa-lib)))
2965 (home-page "https://www.gnu.org/software/cursynth/")
2966 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
2967 (description "GNU cursynth is a polyphonic synthesizer that runs
2968 graphically in the terminal. It is built on a full-featured subtractive
2969 synthesis engine. Notes and parameter changes may be entered via MIDI or the
2970 computer's keyboard.")
2971 (license license:gpl3+)))
2973 (define-public aj-snapshot
2975 (name "aj-snapshot")
2979 (uri (string-append "mirror://sourceforge/aj-snapshot/"
2980 "aj-snapshot-" version ".tar.bz2"))
2983 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
2984 (build-system gnu-build-system)
2986 `(("minixml" ,minixml)
2988 ("alsa-lib" ,alsa-lib)))
2990 `(("pkg-config" ,pkg-config)))
2991 (home-page "http://aj-snapshot.sourceforge.net/")
2992 (synopsis "Snapshot connections between ALSA and JACK clients")
2993 (description "Aj-snapshot is a small program that can be used to make
2994 snapshots of the connections made between JACK and/or ALSA clients. Because
2995 JACK can provide both audio and MIDI support to programs, aj-snapshot can
2996 store both types of connections for JACK. ALSA, on the other hand, only
2997 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
2998 from the command line.")
2999 (license license:gpl3+)))
3001 (define-public qtractor
3007 (uri (string-append "https://downloads.sourceforge.net/qtractor/"
3008 "qtractor-" version ".tar.gz"))
3011 "0gdr1hvda56vmv4998z9xcqsp7da6lplj00f217x9g2i2snyvkzp"))))
3012 (build-system gnu-build-system)
3014 `(#:tests? #f)) ; no "check" target
3017 ("qtx11extras" ,qtx11extras)
3018 ("alsa-lib" ,alsa-lib)
3020 ("libsndfile" ,libsndfile)
3025 ("libsamplerate" ,libsamplerate)
3026 ("libvorbis" ,libvorbis)
3028 ("rubberband" ,rubberband)
3032 `(("pkg-config" ,pkg-config)
3033 ("qttools" ,qttools)))
3034 (home-page "https://qtractor.org/")
3035 (synopsis "Audio/MIDI multi-track sequencer")
3037 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
3038 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
3039 follows a traditional multi-track tape recorder control paradigm.")
3040 (license license:gpl2+)))
3042 (define-public ams-lv2
3050 (url "https://github.com/blablack/ams-lv2")
3051 (commit (string-append "v" version))))
3052 (file-name (git-file-name name version))
3054 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
3055 (build-system waf-build-system)
3058 (modify-phases %standard-phases
3059 (add-after 'unpack 'remove-sse-flags
3060 (lambda* (#:key system #:allow-other-keys)
3061 (unless (or (string-prefix? "x86_64" system)
3062 (string-prefix? "i686" system))
3063 (substitute* "wscript"
3064 (("'-msse', '-mfpmath=sse', ") "")))
3066 #:tests? #f)) ; no tests
3075 `(("pkg-config" ,pkg-config)))
3076 (home-page "https://github.com/blablack/ams-lv2")
3077 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
3078 (description "This set of LV2 plugins is a port of the internal modules
3079 found in Alsa Modular Synth. These plugins are used to create modular
3080 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
3082 (license license:gpl2)))
3084 (define-public gxtuner
3091 (url "https://github.com/brummer10/gxtuner")
3092 (commit (string-append "v" version))))
3093 (file-name (git-file-name name version))
3096 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
3097 (build-system gnu-build-system)
3100 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3101 (string-append "INCLUDE_L_DIR="
3102 (assoc-ref %build-inputs "zita-resampler")
3105 (modify-phases %standard-phases
3106 (delete 'configure))))
3112 ("zita-resampler" ,zita-resampler)))
3114 `(("pkg-config" ,pkg-config)))
3115 (home-page "https://github.com/brummer10/gxtuner")
3116 (synopsis "Guitar tuner")
3117 (description "GXtuner is a simple guitar tuner for JACK with an
3118 analogue-like user interface.")
3119 (license license:gpl2+)))
3121 (define-public mod-host
3122 ;; The last release was in 2014 but since then hundreds of commits have
3124 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
3128 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
3132 (url "https://github.com/moddevices/mod-host")
3136 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
3137 (file-name (string-append name "-" version "-checkout"))))
3138 (build-system gnu-build-system)
3140 `(#:tests? #f ; no tests included
3142 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3145 (modify-phases %standard-phases
3147 (add-after 'unpack 'fix-jack-installation-directory
3149 ;; Do not attempt to install files to output of "jack" package.
3150 (substitute* "Makefile"
3151 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
3160 ("readline" ,readline)))
3162 `(("pkg-config" ,pkg-config)
3163 ("python" ,python-2)))
3164 (home-page "https://github.com/moddevices/mod-host")
3165 (synopsis "LV2 host for Jack controllable via socket or command line")
3166 (description "mod-host is an LV2 plugin host for JACK, controllable via
3167 socket or command line.")
3168 (license license:gpl3+))))
3170 (define-public curseradio
3171 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
3175 (version (git-version "0" revision commit))
3179 (url "https://github.com/chronitis/curseradio")
3181 (file-name (git-file-name name version))
3184 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
3185 (build-system python-build-system)
3188 (modify-phases %standard-phases
3189 (add-after 'unpack 'link-to-mpv
3190 (lambda* (#:key inputs #:allow-other-keys)
3191 (substitute* "curseradio/curseradio.py"
3193 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
3196 `(("python-lxml" ,python-lxml)
3197 ("python-requests" ,python-requests)
3198 ("python-pyxdg" ,python-pyxdg)))
3201 (home-page "https://github.com/chronitis/curseradio")
3202 (synopsis "Command-line Internet radio player")
3203 (description "Curseradio is a Curses-based radio player that uses a
3204 tune-in sender list from @url{http://opml.radiotime.com}.")
3205 (license license:expat))))
3207 (define-public pianobar
3210 (version "2020.11.28")
3214 (url "https://github.com/PromyLOPh/pianobar")
3216 (file-name (git-file-name name version))
3219 "13qx52a1yj2wghf7yd9jf4ar92scbc8zgqdq0kkqf4p9isf1phf3"))))
3220 (build-system gnu-build-system)
3222 `(#:tests? #f ; no tests
3223 #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
3224 #:phases (modify-phases %standard-phases
3225 (delete 'configure))))
3229 ("libgcrypt" ,libgcrypt)
3231 ("ffmpeg" ,ffmpeg)))
3233 `(("pkg-config" ,pkg-config)))
3234 (home-page "https://6xq.net/pianobar/")
3235 (synopsis "Console-based pandora.com player")
3236 (description "pianobar is a console-based music player for the
3237 personalized online radio pandora.com. It has configurable keys for playing
3238 and managing stations, can be controlled remotely via fifo, and can run
3239 event-based scripts for scrobbling, notifications, etc.")
3240 (license license:expat)))
3242 (define-public picard
3249 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
3250 "picard/picard-" version ".tar.gz"))
3253 "1c5l7i43jaj3s4wklc0cba6nn2x9cmpcggk4q4h9m1bci2xilsiy"))
3254 (patches (search-patches "picard-fix-id3-rename-test.patch"))))
3255 (build-system python-build-system)
3257 '(#:use-setuptools? #f
3260 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
3261 "--disable-autoupdate")
3263 (modify-phases %standard-phases
3264 (add-after 'unpack 'patch-source
3265 (lambda* (#:key inputs #:allow-other-keys)
3266 (substitute* "picard/const/__init__.py"
3270 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
3273 `(("gettext" ,gettext-minimal)
3274 ("python-dateutil" ,python-dateutil)))
3276 `(("chromaprint" ,chromaprint)
3277 ("python-discid" ,python-discid)
3278 ("python-pyqt" ,python-pyqt)
3279 ("python-mutagen" ,python-mutagen)))
3280 (home-page "https://picard.musicbrainz.org/")
3281 (synopsis "Graphical music tagging application")
3283 "MusicBrainz Picard is a music tagging application, supporting multiple
3284 formats, looking up tracks through metadata and audio fingerprints.")
3285 (license license:gpl2+)))
3287 (define-public python-mutagen
3289 (name "python-mutagen")
3293 (uri (pypi-uri "mutagen" version))
3296 "1qdk6i8gyhbi1c4j5jmbfpac3q8sff2ysri1pnp7nb9wzcp615v3"))))
3297 (build-system python-build-system)
3299 `(("python-pytest" ,python-pytest)
3300 ("python-hypothesis" ,python-hypothesis)
3301 ("python-flake8" ,python-flake8)))
3302 (home-page "https://bitbucket.org/lazka/mutagen")
3303 (synopsis "Read and write audio tags")
3304 (description "Mutagen is a Python module to handle audio metadata. It
3305 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
3306 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
3307 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
3308 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
3309 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
3310 streams on an individual packet/page level.")
3311 (license license:gpl2))) ; "later version" never mentioned
3313 (define-public python2-mutagen
3314 (package-with-python2 python-mutagen))
3316 (define-public python-mediafile
3318 (name "python-mediafile")
3323 (uri (pypi-uri "mediafile" version))
3324 (patches (search-patches "python-mediafile-wavpack.patch"))
3327 "0jmsp3f57xj35ayp8b6didk85nxgl3viw34s5px3l5dwgc055yx3"))))
3328 (build-system python-build-system)
3330 `(("python-mutagen" ,python-mutagen)
3331 ("python-six" ,python-six)
3332 ("python-tox" ,python-tox)))
3333 (home-page "https://github.com/beetbox/mediafile")
3334 (synopsis "Read and write audio file tags")
3336 "MediaFile is a simple interface to the metadata tags for many audio file
3337 formats. It wraps Mutagen, a high-quality library for low-level tag
3338 manipulation, with a high-level, format-independent interface for a common set
3340 (license license:expat)))
3342 (define-public python-musicbrainzngs
3344 (name "python-musicbrainzngs")
3348 (uri (pypi-uri "musicbrainzngs" version))
3351 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
3352 (build-system python-build-system)
3354 '(;; The tests fail suffer from race conditions:
3355 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
3357 (home-page "https://python-musicbrainzngs.readthedocs.org/")
3358 (synopsis "Python bindings for MusicBrainz NGS webservice")
3359 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
3360 web service. This library can be used to retrieve music metadata from the
3361 MusicBrainz database.")
3362 ;; 'musicbrainzngs/compat.py' is ISC licensed.
3363 (license (list license:bsd-2 license:isc))))
3365 (define-public python2-musicbrainzngs
3366 (package-with-python2 python-musicbrainzngs))
3368 (define-public python-isrcsubmit
3370 (name "python-isrcsubmit")
3375 (uri (pypi-uri "isrcsubmit" version))
3378 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
3379 (build-system python-build-system)
3381 `(("python-discid" ,python-discid)
3382 ("python-musicbrainzngs" ,python-musicbrainzngs)))
3383 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
3384 (synopsis "Submit ISRCs from CDs to MusicBrainz")
3385 (description "@code{isrcsubmit} is a tool to extract @dfn{International
3386 Standard Recording Code} (ISRCs) from audio CDs and submit them to
3387 @url{https://musicbrainz.org/, MusicBrainz}.")
3388 (license license:gpl3+)))
3390 (define-public python2-pyechonest
3392 (name "python2-pyechonest")
3396 (uri (pypi-uri "pyechonest" version))
3399 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
3400 (build-system python-build-system)
3402 `(;; Python 3 is not supported:
3403 ;; https://github.com/echonest/pyechonest/issues/42
3404 #:python ,python-2))
3405 (home-page "https://github.com/echonest/pyechonest")
3406 (synopsis "Python interface to The Echo Nest APIs")
3407 (description "Pyechonest is a Python library for the Echo Nest API. With
3408 Pyechonest you have Python access to the entire set of API methods including:
3411 @item artist - search for artists by name, description, or attribute, and get
3412 back detailed information about any artist including audio, similar artists,
3413 blogs, familiarity, hotttnesss, news, reviews, urls and video.
3414 @item song - search songs by artist, title, description, or attribute (tempo,
3415 duration, etc) and get detailed information back about each song, such as
3416 hotttnesss, audio_summary, or tracks.
3417 @item track - upload a track to the Echo Nest and receive summary information
3418 about the track including key, duration, mode, tempo, time signature along with
3419 detailed track info including timbre, pitch, rhythm and loudness information.
3421 (license license:bsd-3)))
3423 (define-public python-pylast
3425 (name "python-pylast")
3429 (uri (pypi-uri "pylast" version))
3432 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
3433 (build-system python-build-system)
3434 ;; Tests require network access. See
3435 ;; https://github.com/pylast/pylast/issues/105
3436 (arguments '(#:tests? #f))
3438 `(("python-coverage" ,python-coverage)
3439 ("python-pycodestyle" ,python-pycodestyle)
3440 ("python-mock" ,python-mock)
3441 ("python-pep8" ,python-pep8)
3442 ("python-pytest" ,python-pytest)
3443 ("python-flaky" ,python-flaky)
3444 ("python-pyflakes" ,python-pyflakes)
3445 ("python-pyyaml" ,python-pyyaml)))
3447 `(("python-six" ,python-six)))
3448 (home-page "https://github.com/pylast/pylast")
3449 (synopsis "Python interface to Last.fm and Libre.fm")
3450 (description "A Python interface to Last.fm and other API-compatible
3451 websites such as Libre.fm.")
3452 (license license:asl2.0)))
3454 (define-public python2-pylast
3455 (package-with-python2 python-pylast))
3457 (define-public instantmusic
3458 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
3461 (name "instantmusic")
3462 (version (git-version "1.0" revision commit))
3466 (url "https://github.com/yask123/Instant-Music-Downloader")
3468 (file-name (git-file-name name version))
3471 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
3472 (build-system python-build-system)
3474 `(("python-requests" ,python-requests)
3476 ("python-beautifulsoup4" ,python-beautifulsoup4)
3477 ("youtube-dl" ,youtube-dl)))
3479 '(#:modules ((guix build python-build-system)
3482 #:phases (modify-phases %standard-phases
3483 (add-before 'build 'change-directory
3485 (chdir "instantmusic-0.1") #t))
3486 (add-before 'install 'fix-file-permissions
3488 ;; Fix some read-only files that would cause a build failure
3489 (for-each (cut chmod <> #o644)
3490 (find-files "instantmusic.egg-info"
3491 "PKG-INFO|.*\\.txt"))
3493 (home-page "https://github.com/yask123/Instant-Music-Downloader")
3494 (synopsis "Command-line program to download a song from YouTube")
3495 (description "InstantMusic downloads a song from YouTube in MP3 format.
3496 Songs can be searched by artist, name or even by a part of the song text.")
3497 (license license:expat))))
3499 (define-public beets
3505 (uri (pypi-uri "beets" version))
3506 (patches (search-patches "beets-werkzeug-compat.patch"))
3509 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3510 (build-system python-build-system)
3513 (modify-phases %standard-phases
3514 ;; Reported upstream: <https://github.com/beetbox/beets/issues/3771>.
3515 ;; Disable the faulty test as the fix is unclear.
3516 (add-after 'unpack 'disable-failing-tests
3518 (substitute* "test/test_mediafile.py"
3519 (("def test_read_audio_properties") "def _test_read_audio_properties"))
3521 (add-after 'unpack 'set-HOME
3523 (setenv "HOME" (string-append (getcwd) "/tmp"))
3527 (invoke "nosetests" "-v")))
3528 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3529 ;; gstreamer plugins.
3530 (add-after 'wrap 'wrap-typelib
3531 (lambda* (#:key outputs #:allow-other-keys)
3532 (let ((prog (string-append (assoc-ref outputs "out")
3534 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3535 (types (getenv "GI_TYPELIB_PATH")))
3537 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3538 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3541 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3542 ("python-flask" ,python-flask)
3543 ("python-mock" ,python-mock)
3544 ("python-mpd2" ,python-mpd2)
3545 ("python-nose" ,python-nose)
3546 ("python-pathlib" ,python-pathlib)
3547 ("python-pyxdg" ,python-pyxdg)
3548 ("python-pylast" ,python-pylast)
3549 ("python-rarfile" ,python-rarfile)
3550 ("python-responses" ,python-responses)))
3551 ;; TODO: Install optional plugins and dependencies.
3553 `(("python-discogs-client" ,python-discogs-client)
3554 ("python-jellyfish" ,python-jellyfish)
3555 ("python-munkres" ,python-munkres)
3556 ("python-musicbrainzngs" ,python-musicbrainzngs)
3557 ("python-mutagen" ,python-mutagen)
3558 ("python-pyacoustid" ,python-pyacoustid)
3559 ("python-pyyaml" ,python-pyyaml)
3560 ("python-unidecode" ,python-unidecode)
3561 ;; For plugin replaygain.
3562 ("python-pygobject" ,python-pygobject)
3563 ("gobject-introspection" ,gobject-introspection)
3564 ("gst-plugins-base" ,gst-plugins-base)
3565 ("gst-plugins-good" ,gst-plugins-good)
3566 ("gstreamer" ,gstreamer)))
3567 (home-page "https://beets.io")
3568 (synopsis "Music organizer")
3569 (description "The purpose of beets is to get your music collection right
3570 once and for all. It catalogs your collection, automatically improving its
3571 metadata as it goes using the MusicBrainz database. Then it provides a variety
3572 of tools for manipulating and accessing your music.")
3573 (license license:expat)))
3575 (define-public beets-next
3576 (let ((commit "04ea754d00e2873ae9aa2d9e07c5cefd790eaee2")
3581 (version (git-version (package-version beets) revision commit))
3585 (url "https://github.com/beetbox/beets")
3587 (file-name (git-file-name "beets" version))
3590 "092a9sss2shhcjmpgbwvscv8brpm5970i5hddkhi81xcff3bg1h4"))))
3593 (modify-phases %standard-phases
3594 ;; XXX: unclear why this fails
3595 (add-after 'unpack 'disable-failing-tests
3597 (substitute* "test/test_zero.py"
3598 (("def test_album_art") "def _test_album_art"))
3600 (add-after 'unpack 'set-HOME
3602 (setenv "HOME" (string-append (getcwd) "/tmp"))
3606 ;; Resources must be writable.
3607 (for-each make-file-writable
3608 (find-files "test/rsrc" "."))
3609 (invoke "nosetests" "-v")))
3610 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3611 ;; gstreamer plugins.
3612 (add-after 'wrap 'wrap-typelib
3613 (lambda* (#:key outputs #:allow-other-keys)
3614 (let ((prog (string-append (assoc-ref outputs "out")
3616 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3617 (types (getenv "GI_TYPELIB_PATH")))
3619 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3620 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3623 `(("python-confuse" ,python-confuse)
3624 ("python-mediafile" ,python-mediafile)
3625 ("python-reflink" ,python-reflink)
3626 ("python-requests-oauthlib" ,python-requests-oauthlib)
3627 ("opusfile" ,opusfile)
3628 ,@(package-inputs beets))))))
3630 (define-public beets-bandcamp
3632 (name "beets-bandcamp")
3636 (uri (pypi-uri "beets-bandcamp" version))
3639 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
3640 (build-system python-build-system)
3641 (arguments '(#:tests? #f)) ; there are no tests
3644 ("python-isodate" ,python-isodate)))
3646 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3647 ("python-requests" ,python-requests)
3648 ("python-six" ,python-six)))
3649 (home-page "https://github.com/unrblt/beets-bandcamp")
3650 (synopsis "Bandcamp plugin for beets")
3652 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3653 https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3654 using the beets FetchArt plugin.")
3655 (license license:gpl2)))
3657 (define-public milkytracker
3659 (name "milkytracker")
3664 (url "https://github.com/milkytracker/MilkyTracker")
3665 (commit (string-append "v" version))))
3666 (file-name (git-file-name name version))
3669 "025fj34gq2kmkpwcswcyx7wdxb89vm944dh685zi4bxx0hz16vvk"))
3670 (modules '((guix build utils)))
3671 ;; Remove non-FSDG compliant sample songs.
3674 (delete-file-recursively "resources/music")
3675 (substitute* "CMakeLists.txt"
3676 (("add_subdirectory\\(resources/music\\)") ""))
3678 (build-system cmake-build-system)
3680 '(#:tests? #f ; no check target
3681 ;; This flag ensures that MilkyTracker links with the JACK library.
3682 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
3684 `(("alsa-lib" ,alsa-lib)
3690 ("zziplib" ,zziplib)))
3692 `(("pkg-config" ,pkg-config)))
3693 (synopsis "Music tracker for working with .MOD/.XM module files")
3694 (description "MilkyTracker is a music application for creating .MOD and .XM
3695 module files. It attempts to recreate the module replay and user experience of
3696 the popular DOS program Fasttracker II, with special playback modes available
3697 for improved Amiga ProTracker 2/3 compatibility.")
3698 (home-page "https://milkytracker.titandemo.org/")
3699 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3700 (license (list license:bsd-3 license:gpl3+))))
3702 (define-public schismtracker
3704 (name "schismtracker")
3705 (version "20190805")
3709 (url "https://github.com/schismtracker/schismtracker")
3711 (file-name (git-file-name name version))
3714 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
3715 (modules '((guix build utils)))
3717 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
3719 (substitute* "schism/version.c"
3720 (("Schism Tracker built %s %s.*$")
3721 (string-append "Schism Tracker version " ,version "\") ;")))
3723 (build-system gnu-build-system)
3726 (modify-phases %standard-phases
3727 (add-before 'configure 'link-libm
3728 (lambda _ (setenv "LIBS" "-lm") #t)))))
3730 `(("autoconf" ,autoconf)
3731 ("automake" ,automake)
3732 ("python" ,python)))
3734 `(("alsa-lib" ,alsa-lib) ; for asound dependency
3736 ("libxext" ,libxext)
3738 (home-page "http://schismtracker.org")
3739 (synopsis "Oldschool sample-based music composition tool")
3741 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3742 create high quality music without the requirements of specialized, expensive
3743 equipment, and with a unique \"finger feel\" that is difficult to replicate in
3744 part. The player is based on a highly modified version of the ModPlug engine,
3745 with a number of bugfixes and changes to improve IT playback.")
3746 (license license:gpl2+)))
3748 (define-public sooperlooper
3750 (name "sooperlooper")
3755 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3758 (base32 "1jjvq4aflbyr3nr8b318k1vkad16xfa1jkqn9ckzw4419qc6c1k5"))))
3759 (build-system gnu-build-system)
3762 (modify-phases %standard-phases
3763 (add-after 'unpack 'add-sigc++-includes
3764 (lambda* (#:key inputs #:allow-other-keys)
3765 (let ((sig (assoc-ref inputs "libsigc++"))
3766 (xml (assoc-ref inputs "libxml2"))
3769 (string-append sig "/include/sigc++-2.0:"
3770 sig "/lib/sigc++-2.0/include:"
3771 xml "/include/libxml2/:"
3774 (or (getenv "CPATH") ""))))
3775 (substitute* '("src/control_osc.hpp"
3776 "src/gui/app_frame.hpp"
3777 "src/gui/config_panel.hpp"
3778 "src/gui/keys_panel.hpp"
3779 "src/gui/latency_panel.hpp"
3780 "src/gui/main_panel.hpp"
3781 "src/gui/midi_bind_panel.hpp"
3782 "src/gui/prefs_dialog.hpp")
3783 (("sigc\\+\\+/object.h")
3785 (substitute* '("src/engine.cpp"
3786 "src/gui/latency_panel.cpp"
3787 "src/gui/looper_panel.cpp"
3788 "src/gui/main_panel.cpp")
3789 (("(\\(| )bind " _ pre)
3790 (string-append pre "sigc::bind ")))
3792 (add-after 'unpack 'fix-xpm-warnings
3794 (substitute* (find-files "." "\\.xpm$")
3795 (("static char") "static const char"))
3799 ("alsa-lib" ,alsa-lib)
3800 ("wxwidgets" ,wxwidgets-gtk2)
3801 ("libsndfile" ,libsndfile)
3802 ("libsamplerate" ,libsamplerate)
3804 ("rubberband" ,rubberband)
3805 ("libxml2" ,libxml2)
3806 ("libsigc++" ,libsigc++)
3807 ("ncurses" ,ncurses)))
3809 `(("pkg-config" ,pkg-config)))
3810 (home-page "http://essej.net/sooperlooper/")
3811 (synopsis "Live looping sampler")
3813 "SooperLooper is a live looping sampler capable of immediate loop
3814 recording, overdubbing, multiplying, reversing and more. It allows for
3815 multiple simultaneous multi-channel loops limited only by your computer's
3817 (license license:gpl2+)))
3825 (uri (string-append "http://ftp.daper.net/pub/soft/"
3827 name "-" version ".tar.bz2"))
3830 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
3831 (build-system gnu-build-system)
3833 `(("alsa-lib" ,alsa-lib)
3836 ("ffmpeg" ,ffmpeg-3.4)
3839 ("libid3tag" ,libid3tag)
3840 ("libltdl" ,libltdl)
3841 ("libmodplug" ,libmodplug)
3842 ("libmpcdec" ,libmpcdec)
3845 ("libvorbis" ,libvorbis)
3846 ("ncurses" ,ncurses)
3847 ("openssl" ,openssl)
3848 ("sasl" ,cyrus-sasl)
3851 ("wavpack" ,wavpack)
3854 `(("pkg-config" ,pkg-config)))
3855 (synopsis "Console audio player designed to be powerful and easy to use")
3857 "Music on Console is a console audio player that supports many file
3858 formats, including most audio formats recognized by FFMpeg.")
3859 (home-page "http://moc.daper.net")
3860 (license license:gpl2+)))
3862 (define-public midicsv
3868 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3869 name "-" version ".tar.gz"))
3872 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3873 (build-system gnu-build-system)
3875 `(#:phases (modify-phases %standard-phases (delete 'configure))
3876 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
3877 (synopsis "Convert MIDI files to and from CSV")
3879 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
3880 value file (CSV), which preserves all the information in the MIDI file. The
3881 ASCII CSV file may be loaded into a spreadsheet or database application, or
3882 processed by a program to transform the MIDI data (for example, to key
3883 transpose a composition or extract a track from a multi-track sequence). A
3884 CSV file in the format created by midicsv may be converted back into a
3885 standard MIDI file with the csvmidi program.")
3886 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
3887 (license license:public-domain)))
3889 (define-public gx-guvnor-lv2
3891 (name "gx-guvnor-lv2")
3896 (url "https://github.com/brummer10/GxGuvnor.lv2")
3897 (commit (string-append "v" version))))
3898 (file-name (string-append name "-" version "-checkout"))
3901 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
3902 (build-system gnu-build-system)
3904 `(;; The check target is used only to output a warning.
3907 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
3909 (modify-phases %standard-phases
3912 (substitute* "Makefile"
3913 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
3914 (("install : all") "install :"))
3918 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
3919 (synopsis "Overdrive/distortion pedal simulation")
3920 (description "This package provides the LV2 plugin \"GxGuvnor\", a
3921 simulation of an overdrive or distortion pedal for guitars.")
3922 ;; The LICENSE file says GPLv3 but the license headers in the files say
3923 ;; GPLv2 or later. The whole project is released under GPLv3 or later
3924 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
3925 (license license:gpl3+)))
3927 (define-public gx-vbass-preamp-lv2
3928 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
3930 (package (inherit gx-guvnor-lv2)
3931 (name "gx-vbass-preamp-lv2")
3932 (version (string-append "0-" revision "." (string-take commit 9)))
3936 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
3940 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
3941 (file-name (string-append name "-" version "-checkout"))))
3946 `(("pkg-config" ,pkg-config)))
3947 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
3948 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
3949 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
3950 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
3953 (define-public gx-overdriver-lv2
3954 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
3956 (package (inherit gx-guvnor-lv2)
3957 (name "gx-overdriver-lv2")
3958 (version (string-append "0-" revision "." (string-take commit 9)))
3962 (url "https://github.com/brummer10/GxOverDriver.lv2")
3966 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
3967 (file-name (string-append name "-" version "-checkout"))))
3968 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
3969 (synopsis "Overdrive effect with level and tone control")
3970 (description "This package provides the LV2 plugin \"GxOverDriver\", an
3971 overdrive effect."))))
3973 (define-public gx-tone-mender-lv2
3974 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
3976 (package (inherit gx-guvnor-lv2)
3977 (name "gx-tone-mender-lv2")
3978 (version (string-append "0-" revision "." (string-take commit 9)))
3982 (url "https://github.com/brummer10/GxToneMender.lv2")
3986 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
3987 (file-name (string-append name "-" version "-checkout"))))
3988 (home-page "https://github.com/brummer10/GxToneMender.lv2")
3989 (synopsis "Clean boost with a 3-knob tonestack")
3990 (description "This package provides the LV2 plugin \"GxToneMender\", a
3991 clean boost effect with a 3-knob tonestack."))))
3993 (define-public gx-push-pull-lv2
3994 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
3996 (package (inherit gx-guvnor-lv2)
3997 (name "gx-push-pull-lv2")
3998 (version (string-append "0-" revision "." (string-take commit 9)))
4002 (url "https://github.com/brummer10/GxPushPull.lv2")
4006 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
4007 (file-name (string-append name "-" version "-checkout"))))
4008 (home-page "https://github.com/brummer10/GxPushPull.lv2")
4009 (synopsis "Octave up push pull transistor fuzz simulation")
4010 (description "This package provides the LV2 plugin \"GxPushPull\", a
4011 simulation of a push pull transistor fuzz effect with added high octave."))))
4013 (define-public gx-suppa-tone-bender-lv2
4014 (package (inherit gx-guvnor-lv2)
4015 (name "gx-suppa-tone-bender-lv2")
4020 (url "https://github.com/brummer10/GxSuppaToneBender.lv2")
4021 (commit (string-append "v" version))))
4022 (file-name (string-append name "-" version "-checkout"))
4025 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
4026 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
4027 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
4028 (description "This package provides the LV2 plugin
4029 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
4032 (define-public gx-saturator-lv2
4033 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
4035 (package (inherit gx-vbass-preamp-lv2)
4036 (name "gx-saturator-lv2")
4037 (version (string-append "0-" revision "." (string-take commit 9)))
4041 (url "https://github.com/brummer10/GxSaturator.lv2")
4045 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
4046 (file-name (string-append name "-" version "-checkout"))))
4047 (home-page "https://github.com/brummer10/GxSaturator.lv2")
4048 (synopsis "Saturation effect")
4049 (description "This package provides the LV2 plugin \"GxSaturator\", a
4050 saturation effect."))))
4052 (define-public gx-hyperion-lv2
4053 (package (inherit gx-guvnor-lv2)
4054 (name "gx-hyperion-lv2")
4059 (url "https://github.com/brummer10/GxHyperion.lv2")
4060 (commit (string-append "v" version))))
4061 (file-name (string-append name "-" version "-checkout"))
4064 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
4065 (home-page "https://github.com/brummer10/GxHyperion.lv2")
4066 (synopsis "Simulation of the Hyperion Fuzz pedal")
4067 (description "This package provides the LV2 plugin \"GxHyperion\", a
4068 simulation of the Hyperion Fuzz pedal.")))
4070 (define-public gx-voodoo-fuzz-lv2
4071 (package (inherit gx-guvnor-lv2)
4072 (name "gx-voodoo-fuzz-lv2")
4077 (url "https://github.com/brummer10/GxVoodoFuzz.lv2")
4078 (commit (string-append "v" version))))
4079 (file-name (string-append name "-" version "-checkout"))
4082 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
4083 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
4084 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
4085 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
4086 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
4087 Bosstone circuit, followed by the tone control of the FoxToneMachine in
4088 parallel with a DarkBooster, followed by a volume control.")))
4090 (define-public gx-super-fuzz-lv2
4091 (package (inherit gx-guvnor-lv2)
4092 (name "gx-super-fuzz-lv2")
4097 (url "https://github.com/brummer10/GxSuperFuzz.lv2")
4098 (commit (string-append "v" version))))
4099 (file-name (string-append name "-" version "-checkout"))
4102 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
4103 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
4104 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
4105 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
4106 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
4107 pot, which is usually in the housing, is exposed as a control parameter. It
4108 adjusts the amount of harmonics.")))
4110 (define-public gx-vintage-fuzz-master-lv2
4111 (package (inherit gx-guvnor-lv2)
4112 (name "gx-vintage-fuzz-master-lv2")
4117 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
4118 (commit (string-append "v" version))))
4119 (file-name (string-append name "-" version "-checkout"))
4122 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
4123 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
4124 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
4125 (description "This package provides the LV2 plugin
4126 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
4128 (define-public gx-slow-gear-lv2
4129 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
4131 (package (inherit gx-vbass-preamp-lv2)
4132 (name "gx-slow-gear-lv2")
4133 (version (string-append "0-" revision "." (string-take commit 9)))
4137 (url "https://github.com/brummer10/GxSlowGear.lv2")
4141 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
4142 (file-name (string-append name "-" version "-checkout"))))
4143 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
4144 (synopsis "Slow gear audio effect")
4145 (description "This package provides the LV2 plugin \"GxSlowGear\", a
4146 slow gear audio effect to produce volume swells."))))
4148 (define-public gx-switchless-wah-lv2
4149 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
4151 (package (inherit gx-guvnor-lv2)
4152 (name "gx-switchless-wah-lv2")
4153 (version (string-append "0-" revision "." (string-take commit 9)))
4157 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
4161 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
4162 (file-name (string-append name "-" version "-checkout"))))
4163 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
4164 (synopsis "Wah emulation with switchless activation")
4165 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
4166 a simulation of an analog Wah pedal with switchless activation."))))
4168 (define-public rkrlv2
4169 ;; This commit corresponds to the beta_3 tag
4170 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
4174 (version (git-version "0" revision commit))
4178 (url "https://github.com/ssj71/rkrlv2")
4182 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
4183 (file-name (git-file-name name version))))
4184 (build-system cmake-build-system)
4185 (arguments '(#:tests? #f)) ; there are no tests
4188 ("libsamplerate" ,libsamplerate)
4191 `(("pkg-config" ,pkg-config)))
4192 (home-page "https://github.com/ssj71/rkrlv2")
4193 (synopsis "Rakarrack effects ported to LV2 plugins")
4194 (description "This package provides the Rakarrack effects as LV2
4195 plugins. The ports are done such that hopefully when Rakarrack gets an active
4196 maintainer these will get merged into the original project.")
4197 (license license:gpl2))))
4199 (define-public mod-utilities
4200 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
4203 (name "mod-utilities")
4204 (version (string-append "0-" revision "." (string-take commit 9)))
4208 (url "https://github.com/moddevices/mod-utilities")
4210 (file-name (string-append name "-" version "-checkout"))
4213 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
4214 (build-system gnu-build-system)
4216 `(#:tests? #f ; there are no tests
4218 (list (string-append "INSTALL_PATH="
4219 (assoc-ref %outputs "out")
4221 (string-append "PREFIX=" (assoc-ref %outputs "out"))
4224 (modify-phases %standard-phases
4225 (delete 'configure))))
4228 (home-page "https://github.com/moddevices/mod-utilities")
4229 (synopsis "LV2 utility plugins")
4230 (description "This package provides LV2 audio utility plugins, such as
4231 filters, crossovers, simple gain plugins without zipper noise, switch box
4232 plugins, a switch trigger, a toggle switch, and a peakmeter.")
4233 (license license:gpl2+))))
4235 (define-public ingen
4236 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
4240 (version (string-append "0.0.0-" revision "."
4241 (string-take commit 9)))
4246 (url "https://git.drobilla.net/ingen.git")
4248 (file-name (string-append name "-" version "-checkout"))
4251 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
4252 (build-system waf-build-system)
4254 `(#:python ,python-2
4255 #:tests? #f ; no "check" target
4256 #:configure-flags (list "--no-webkit")
4258 (modify-phases %standard-phases
4259 (add-after 'unpack 'patch-wscript
4260 (lambda* (#:key outputs #:allow-other-keys)
4261 (let ((out (assoc-ref outputs "out")))
4262 (substitute* "wscript"
4263 ;; FIXME: Our version of lv2specgen.py does not behave as
4264 ;; expected. Maybe this requires a development version of
4266 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
4267 ;; Add libraries to RUNPATH.
4268 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
4269 (string-append prefix
4270 "linkflags=[\"-Wl,-rpath="
4271 out "/lib" "\"]," line)))
4272 (substitute* '("src/wscript"
4273 "src/server/wscript")
4274 ;; Add libraries to RUNPATH.
4275 (("bld.env.PTHREAD_LINKFLAGS" line)
4277 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
4278 (substitute* "src/client/wscript"
4279 ;; Add libraries to RUNPATH.
4280 (("^(.+)target.*= 'ingen_client'," line prefix)
4281 (string-append prefix
4282 "linkflags=[\"-Wl,-rpath="
4283 out "/lib" "\"]," line)))
4284 (substitute* "src/gui/wscript"
4285 ;; Add libraries to RUNPATH.
4286 (("^(.+)target.* = 'ingen_gui.*" line prefix)
4287 (string-append prefix
4288 "linkflags=[\"-Wl,-rpath="
4289 out "/lib" "\"]," line))))
4293 ("python-rdflib" ,python-rdflib)
4298 ("raul" ,raul-devel)
4304 ("gtkmm" ,gtkmm-2)))
4306 `(("pkg-config" ,pkg-config)
4307 ("python-pygments" ,python-pygments)))
4308 (home-page "https://drobilla.net/software/ingen")
4309 (synopsis "Modular audio processing system")
4310 (description "Ingen is a modular audio processing system for JACK and
4311 LV2 based systems. Ingen is built around LV2 technology and a strict
4312 separation of engine from user interface. The engine is controlled
4313 exclusively through a protocol, and can execute as a headless process, with an
4314 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
4315 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
4316 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
4317 plugin on any system where Ingen is installed. This allows users to visually
4318 develop custom plugins for use in other applications without programming.")
4319 (license license:agpl3+))))
4321 (define-public qmidiarp
4327 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
4328 version "/qmidiarp-" version ".tar.bz2"))
4331 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
4332 (build-system gnu-build-system)
4335 (list "--enable-qt5")))
4337 `(("qtbase" ,qtbase)
4338 ("alsa-lib" ,alsa-lib)
4343 `(("pkg-config" ,pkg-config)
4344 ("qttools" ,qttools)))
4345 (home-page "http://qmidiarp.sourceforge.net/")
4346 (synopsis "MIDI arpeggiator")
4347 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
4348 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
4349 modules running in parallel.")
4350 (license license:gpl2+)))
4352 (define-public qmidiroute
4358 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
4359 version "/qmidiroute-" version ".tar.bz2"))
4362 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
4363 (build-system gnu-build-system)
4366 (list "--enable-qt5")))
4368 `(("qtbase" ,qtbase)
4369 ("alsa-lib" ,alsa-lib)))
4371 `(("pkg-config" ,pkg-config)
4372 ("qttools" ,qttools)))
4373 (home-page "http://alsamodular.sourceforge.net/")
4374 (synopsis "MIDI event router and filter")
4375 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
4376 control change, program change and pitch bend events are logged, and can be
4377 filtered, redirected and transformed into other events according to MIDI maps
4378 defined as tabs in the main control surface.")
4379 (license license:gpl2+)))
4381 (define-public seq24
4387 (uri (string-append "https://launchpad.net/seq24/trunk/"
4388 version "/+download/seq24-"
4389 version ".tar.bz2"))
4392 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
4393 (patches (search-patches "seq24-rename-mutex.patch"))))
4394 (build-system gnu-build-system)
4396 `(("gtkmm" ,gtkmm-2)
4397 ("alsa-lib" ,alsa-lib)
4401 `(("pkg-config" ,pkg-config)))
4402 (home-page "https://edge.launchpad.net/seq24/")
4403 (synopsis "Real-time MIDI sequencer")
4404 (description "Seq24 is a real-time MIDI sequencer. It was created to
4405 provide a very simple interface for editing and playing MIDI loops.")
4406 (license license:gpl2+)))
4408 (define-public python-discogs-client
4410 (name "python-discogs-client")
4414 (uri (pypi-uri "discogs-client" version))
4417 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
4418 (build-system python-build-system)
4420 `(("python-oauthlib" ,python-oauthlib)
4421 ("python-requests" ,python-requests)))
4423 `(("python-six" ,python-six)))
4424 (home-page "https://github.com/discogs/discogs_client")
4425 (synopsis "Official Python client for the Discogs API")
4426 (description "This is the official Discogs API client for Python. It enables
4427 you to query the Discogs database for information on artists, releases, labels,
4428 users, Marketplace listings, and more. It also supports OAuth 1.0a
4429 authorization, which allows you to change user data such as profile information,
4430 collections and wantlists, inventory, and orders.")
4431 (license license:bsd-2)))
4433 (define-public python2-discogs-client
4434 (package-with-python2 python-discogs-client))
4436 (define-public libsmf
4443 ;; SF download page says development moved, but the link it points to
4444 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
4445 ;; it but made no release so far (https://github.com/stump/libsmf).
4446 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
4447 version "/libsmf-" version ".tar.gz"))
4450 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
4451 (build-system gnu-build-system)
4453 "static")) ; 88KiB of .a files
4456 (modify-phases %standard-phases
4457 (add-after 'install 'move-static-libraries
4458 (lambda* (#:key outputs #:allow-other-keys)
4459 ;; Move static libraries to the "static" output.
4460 (let* ((out (assoc-ref outputs "out"))
4461 (lib (string-append out "/lib"))
4462 (static (assoc-ref outputs "static"))
4463 (slib (string-append static "/lib")))
4465 (for-each (lambda (file)
4466 (install-file file slib)
4468 (find-files lib "\\.a$"))
4471 `(("readline" ,readline)
4474 `(("doxygen" ,doxygen)
4475 ("pkg-config" ,pkg-config)))
4476 (home-page "http://libsmf.sourceforge.net/")
4477 (synopsis "Standard MIDI File format library")
4479 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
4480 conversions between time and pulses, tempo map handling and more. The only dependencies
4481 are a C compiler and glib. Full API documentation and examples are included.")
4482 (license license:bsd-2)))
4492 (url "https://github.com/LMMS/lmms")
4493 (commit (string-append "v" version))))
4494 (file-name (git-file-name name version))
4497 "11xgf461cnmq0jkgdgx5bddi87ammpik4whg1m4fcvd3i0d5i601"))))
4498 (build-system cmake-build-system)
4500 `(#:tests? #f ; no tests
4501 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
4502 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
4503 ;; Also, explicitly disabling VST support gets rid of the in-tree
4504 ;; dependency on qt5-x11embed.
4505 #:configure-flags '("-DWANT_QT5=ON"
4508 (modify-phases %standard-phases
4509 (add-after 'unpack 'unpack-rpmalloc
4510 (lambda* (#:key inputs #:allow-other-keys)
4511 (copy-recursively (assoc-ref inputs "rpmalloc")
4512 "src/3rdparty/rpmalloc/rpmalloc")
4514 (add-before 'configure 'set-ldflags
4515 (lambda* (#:key outputs #:allow-other-keys)
4519 (assoc-ref outputs "out") "/lib/lmms"
4521 (assoc-ref outputs "out") "/lib/lmms/ladspa"
4524 (add-before 'reset-gzip-timestamps 'make-manpages-writable
4525 (lambda* (#:key outputs #:allow-other-keys)
4527 (make-file-writable file))
4528 (find-files (string-append (assoc-ref outputs "out")
4533 `(("pkg-config" ,pkg-config)
4534 ("qttools" ,qttools)
4535 ;; rpmalloc is a public domain memory allocator. This version specified
4536 ;; below is the version required by LMMS.
4537 ;; To get the new commit of rpmalloc to use here, run
4538 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
4539 ;; in the cloned LMMS repository.
4544 (url "https://github.com/mjansson/rpmalloc")
4545 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
4548 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
4552 ("qtx11extras" ,qtx11extras)
4555 ("libsamplerate" ,libsamplerate)
4556 ("fluidsynth" ,fluidsynth)
4557 ("libvorbis" ,libvorbis)
4558 ("alsa-lib" ,alsa-lib)
4559 ("portaudio" ,portaudio)
4561 ("libsndfile1" ,libsndfile)
4563 ("freetype2" ,freetype)
4567 (home-page "https://lmms.io/")
4568 (synopsis "Music composition tool")
4569 (description "LMMS is a digital audio workstation. It includes tools for sequencing
4570 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
4571 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
4572 (license license:gpl2+)))
4574 (define-public liquidsfz
4580 (uri (string-append "https://space.twc.de/~stefan/liquidsfz/"
4581 "liquidsfz-" version ".tar.bz2"))
4584 "1hb4hc3gkvjfbx0ls6wxzavhv2hf9ix11cz8yvndyb6q9lwkimwl"))))
4585 (build-system gnu-build-system)
4587 `(#:configure-flags '("--enable-shared")))
4589 `(("pkg-config" ,pkg-config)
4590 ;; Fails with default gcc (#include <filesystem> not found).
4595 ("readline" ,readline)
4596 ("libsndfile" ,libsndfile)))
4597 (home-page "https://github.com/swesterfeld/liquidsfz")
4598 (synopsis "Sampler library")
4599 (description "The main goal of liquidsfz is to provide an SFZ sampler
4600 implementation library that is easy to integrate into other projects. A
4601 standalone JACK client and an LV2 plugin is also available.")
4602 (license license:lgpl2.1+)))
4604 (define-public musescore
4612 (url "https://github.com/musescore/MuseScore")
4613 (commit (string-append "v" version))))
4614 (file-name (git-file-name name version))
4616 (base32 "0szvb6mlzy9df9lrq546rrpixa480knzij1wgh6ilflxz87q048q"))
4617 (modules '((guix build utils)))
4619 ;; Remove unused libraries.
4621 (for-each delete-file-recursively
4622 '("thirdparty/freetype"
4623 "thirdparty/openssl"
4624 "thirdparty/portmidi"
4625 "thirdparty/qt-google-analytics"))
4627 (build-system cmake-build-system)
4630 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
4631 "-DBUILD_WEBENGINE=OFF"
4632 "-DDOWNLOAD_SOUNDFONT=OFF"
4633 "-DMUSESCORE_BUILD_CONFIG=release"
4634 "-DUSE_SYSTEM_FREETYPE=ON")
4635 ;; There are tests, but no simple target to run. The command used to
4638 ;; make debug && sudo make installdebug && cd \
4639 ;; build.debug/mtest && make && ctest
4641 ;; Basically, it requires to start a whole new build process.
4642 ;; So we simply skip them.
4645 `(("alsa-lib" ,alsa-lib)
4646 ("freetype" ,freetype)
4647 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
4651 ("libsndfile" ,libsndfile)
4652 ("libvorbis" ,libvorbis)
4653 ("portaudio" ,portaudio)
4654 ("portmidi" ,portmidi)
4655 ("pulseaudio" ,pulseaudio)
4657 ("qtdeclarative" ,qtdeclarative)
4658 ("qtquickcontrols2" ,qtquickcontrols2)
4659 ("qtscript" ,qtscript)
4661 ("qtxmlpatterns" ,qtxmlpatterns)))
4663 `(("pkg-config" ,pkg-config)
4664 ("qttools" ,qttools)))
4665 (synopsis "Music composition and notation software")
4667 "MuseScore is a music score typesetter. Its main purpose is the creation
4668 of high-quality engraved musical scores in a WYSIWYG environment.
4670 It supports unlimited staves, linked parts and part extraction, tablature,
4671 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
4672 lyrics (multiple verses), fretboard diagrams, and in general everything
4673 commonly used in sheet music. Style options and style sheets to change the
4674 appearance and layout are provided.
4676 MuseScore can also play back scores through the built-in sequencer and SoundFont
4678 (home-page "https://musescore.org")
4679 (license license:gpl2)))
4681 (define-public muse-sequencer
4683 (name "muse-sequencer")
4688 (url "https://github.com/muse-sequencer/muse")
4689 (commit (string-append "muse_"
4690 (string-map (lambda (c)
4692 #\_ c)) version)))))
4693 (file-name (git-file-name name version))
4696 "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p"))))
4697 (build-system cmake-build-system)
4699 `(#:tests? #f ; there is no test target
4701 (list "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4702 "-DENABLE_VST_NATIVE=OFF"
4703 (string-append "-DCMAKE_EXE_LINKER_FLAGS="
4705 (assoc-ref %outputs "out") "/lib/muse-"
4706 ,(version-major+minor version) "/modules")
4707 (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
4709 (assoc-ref %outputs "out") "/lib/muse-"
4710 ,(version-major+minor version) "/modules"))
4712 (modify-phases %standard-phases
4713 (add-after 'unpack 'chdir
4714 (lambda _ (chdir "muse3") #t))
4715 (add-after 'chdir 'fix-include
4717 (substitute* "muse/driver/rtaudio.h"
4718 (("rtaudio/RtAudio.h") "RtAudio.h"))
4721 `(("alsa-lib" ,alsa-lib)
4730 ("libsndfile" ,libsndfile)
4731 ("libsamplerate" ,libsamplerate)
4733 ("fluidsynth" ,fluidsynth)
4735 ("pulseaudio" ,pulseaudio) ; required by rtaudio
4738 ("rtaudio" ,rtaudio)
4739 ("rubberband" ,rubberband)))
4741 `(("pkg-config" ,pkg-config)
4742 ("qttools" ,qttools)))
4743 (home-page "https://muse-sequencer.github.io/")
4744 (synopsis "MIDI/Audio sequencer")
4745 (description "MusE is a MIDI/Audio sequencer with recording and editing
4746 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4747 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4748 list view, and a score editor. MusE aims to be a complete multitrack virtual
4750 (license license:gpl2+)))
4759 "mirror://sourceforge/dssi/dssi/" version
4760 "/dssi-" version ".tar.gz"))
4763 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4764 (build-system gnu-build-system)
4766 `(("alsa-lib" ,alsa-lib)
4769 ("libsamplerate" ,libsamplerate)
4770 ("libsndfile" ,libsndfile)
4773 `(("pkg-config" ,pkg-config)))
4774 (synopsis "Audio plugin API for soft synths and effects")
4775 (description "DSSI is a plugin API for software instruments with user
4776 interfaces, permitting them to be hosted in-process by audio applications.
4777 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4778 towards familiarity with MIDI. The DSSI distribution package contains
4779 a JACK/ALSA-sequencer reference host and some plugins as well as the
4780 specification and header.")
4781 (home-page "http://dssi.sourceforge.net/")
4782 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4783 ;; The vast majority of examples are in the public domain.
4784 (license (list license:lgpl2.1+ license:gpl2+))))
4786 (define-public rosegarden
4793 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4794 version "/rosegarden-" version ".tar.bz2"))
4796 (base32 "0nqw2caxmv6mqh485wzvywa024yvi18q87sd4dw9b2l5qnpq8rl8"))))
4797 (build-system cmake-build-system)
4799 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4801 (modify-phases %standard-phases
4802 (add-after 'unpack 'patch-tests
4804 (substitute* "CMakeLists.txt"
4805 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4807 ((" -fvisibility=hidden") ""))
4809 (add-after 'unpack 'fix-references
4810 (lambda* (#:key inputs #:allow-other-keys)
4811 (substitute* "src/gui/general/ProjectPackager.cpp"
4813 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4815 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4817 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4819 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4821 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4822 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4823 (("\"convert-ly\\>")
4824 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4826 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4828 (add-after 'unpack 'make-reproducible
4830 ;; Prevent Last-Modified from being written.
4831 ;; The "*.qm" files that are used in locale.qrc would have a new
4832 ;; mtime otherwise that is written into qrc_locale.cpp in the
4833 ;; end - except when we disable it.
4834 (substitute* "src/CMakeLists.txt"
4835 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4836 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4838 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4839 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4841 ;; Make hashtable traversal order predicable.
4842 (setenv "QT_RCC_TEST" "1") ; important
4844 (add-before 'check 'prepare-check
4846 (setenv "QT_QPA_PLATFORM" "offscreen")
4847 ;; Tests create files in $HOME/.local/share/rosegarden .
4848 (mkdir-p "/tmp/foo")
4849 (setenv "HOME" "/tmp/foo")
4850 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
4853 `(("alsa-lib" ,alsa-lib)
4861 ("libsamplerate" ,libsamplerate)
4862 ("lilypond" ,lilypond)
4867 ("wavpack" ,wavpack)
4870 `(("pkg-config" ,pkg-config)
4871 ("qtlinguist" ,qttools)))
4872 (synopsis "Music composition and editing environment based around a MIDI
4874 (description "Rosegarden is a music composition and editing environment
4875 based around a MIDI sequencer that features a rich understanding of music
4876 notation and includes basic support for digital audio.")
4877 (home-page "https://www.rosegardenmusic.com/")
4878 (license license:gpl2)))
4880 (define-public patchmatrix
4882 (name "patchmatrix")
4887 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
4889 (file-name (git-file-name "patchmatrix" version))
4892 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
4893 (build-system meson-build-system)
4894 (arguments '(#:tests? #f)) ; no test target
4900 `(("pkg-config" ,pkg-config)))
4901 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
4902 (synopsis "Simple JACK patch bay")
4903 (description "PatchMatrix is a patch bay for the JACK audio connection
4904 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
4906 (license license:artistic2.0)))
4908 (define-public sorcer
4914 (uri (string-append "https://github.com/openAVproductions/"
4915 "openAV-Sorcer/archive/release-"
4917 (file-name (string-append name "-" version ".tar.gz"))
4920 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
4921 (build-system cmake-build-system)
4923 `(#:tests? #f ; no tests included
4925 (modify-phases %standard-phases
4926 (add-after 'unpack 'remove-architecture-specific-flags
4928 (substitute* "CMakeLists.txt"
4929 (("-msse2 -mfpmath=sse") ""))
4931 (add-after 'unpack 'build-faust-sources
4932 (lambda* (#:key inputs #:allow-other-keys)
4933 (with-directory-excursion "faust"
4934 (delete-file "main.cpp")
4935 (invoke "faust" "-i"
4937 "-o" "main.cpp" "main.dsp")))))))
4944 ("pkg-config" ,pkg-config)))
4945 (home-page "http://openavproductions.com/sorcer/")
4946 (synopsis "Wavetable LV2 plugin synth")
4947 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
4948 the electronic or dubstep genre.")
4949 (license license:gpl3+)))
4951 (define-public sonivox-eas
4953 (name "sonivox-eas")
4958 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
4959 (commit (string-append "v" version))))
4960 (file-name (string-append name "-" version "-checkout"))
4963 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
4964 (build-system cmake-build-system)
4965 (arguments '(#:tests? #f)) ; there are no tests
4967 `(("alsa-lib" ,alsa-lib)
4968 ("drumstick" ,drumstick)
4969 ("pulseaudio" ,pulseaudio)
4970 ("qtbase" ,qtbase)))
4972 `(("pkg-config" ,pkg-config)))
4973 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
4974 (synopsis "MIDI synthesizer library")
4975 (description "This project is a real time General MIDI synthesizer based
4976 on the Sonivox EAS Synthesizer by Google. It does not need external
4977 soundfonts, using embedded samples instead.")
4978 ;; Sonivox is released under the ASL2.0; the rest of the code is under
4980 (license (list license:gpl2+ license:asl2.0))))
4982 (define-public whysynth
4985 (version "20170701")
4988 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
4989 version ".tar.bz2"))
4992 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
4993 (build-system gnu-build-system)
5000 ("alsa-lib" ,alsa-lib)))
5002 `(("pkg-config" ,pkg-config)))
5003 (home-page "http://smbolton.com/whysynth.html")
5004 (synopsis "DSSI software synthesizer")
5005 (description "WhySynth is a versatile softsynth which operates as a plugin
5006 for the DSSI Soft Synth Interface. A brief list of features:
5009 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
5010 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
5011 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
5013 @item 10 filter modes.
5014 @item flexible modulation and mixdown options, plus effects.
5017 (license license:gpl2+)))
5019 (define-public libdiscid
5027 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
5031 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
5032 (arguments `(#:test-target "check"))
5033 (build-system cmake-build-system)
5034 (home-page "https://musicbrainz.org/doc/libdiscid")
5035 (synopsis "Disc id reader library")
5036 (description "libdiscid is a C library for creating MusicBrainz and freedb
5037 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
5038 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
5039 it provides a submission URL for adding the disc ID to the database and gathers
5040 ISRCs and the MCN (=UPC/EAN) from disc.")
5041 (license license:lgpl2.1+)))
5043 (define-public python-discid
5045 (name "python-discid")
5050 (uri (pypi-uri "discid" version))
5053 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
5054 (build-system python-build-system)
5056 `(("libdiscid" ,libdiscid)))
5059 (modify-phases %standard-phases
5060 (add-before 'build 'set-libdiscid
5061 ;; Set path of libdiscid
5062 (lambda* (#:key inputs #:allow-other-keys)
5063 (let ((discid (assoc-ref inputs "libdiscid")))
5064 (substitute* "discid/libdiscid.py"
5065 (("lib_name = (.*)$" all name)
5066 (string-append "lib_name = \"" discid
5067 "/lib/libdiscid.so.0\"\n")))
5069 (home-page "https://python-discid.readthedocs.io/")
5070 (synopsis "Python bindings for Libdiscid")
5072 "This package provides Python bindings for the Libdiscid library. The
5073 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
5074 Disc IDs} for use with the MusicBrainz database. Additionally the disc
5075 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
5076 Recording Code} (ISRC) can be extracted.}")
5077 (license license:lgpl3+)))
5079 (define-public libmusicbrainz
5081 (name "libmusicbrainz")
5087 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
5088 version "/libmusicbrainz-" version ".tar.gz"))
5091 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
5092 (build-system cmake-build-system)
5095 (modify-phases %standard-phases
5098 ;; requires network connections
5099 ;; (invoke "tests/mbtest")
5100 (invoke "tests/ctest")
5102 (inputs `(("neon" ,neon)
5103 ("libxml2" ,libxml2)))
5104 (native-inputs `(("pkg-config" ,pkg-config)))
5105 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
5106 (synopsis "MusicBrainz client library")
5107 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
5108 mb_client, is a development library geared towards developers who wish to add
5109 MusicBrainz lookup capabilities to their applications.")
5110 (license license:lgpl2.1+)))
5112 (define-public perl-musicbrainz-discid
5114 (name "perl-musicbrainz-discid")
5119 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
5123 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
5124 (build-system perl-build-system)
5125 (native-inputs `(("pkg-config" ,pkg-config)
5127 (inputs `(("libdiscid" ,libdiscid)))
5128 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
5129 (synopsis "Perl interface to the MusicBrainz libdiscid library")
5131 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
5132 MusicBrainz libdiscid library, allowing you to manipulate digital audio
5133 compact disc (CDDA) identifiers.")
5134 (license license:gpl2)))
5136 (define-public perl-webservice-musicbrainz
5138 (name "perl-webservice-musicbrainz")
5143 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
5147 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
5148 (build-system perl-build-system)
5150 ;; Tests try to connect to http://musicbrainz.org.
5153 `(("perl-module-build" ,perl-module-build)))
5155 `(("perl-mojolicious" ,perl-mojolicious)))
5156 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
5157 (synopsis "Web service API to the MusicBrainz database")
5159 "This module searches the MusicBrainz database through their web service
5160 at @code{musicbrainz.org}.")
5161 (license license:perl-license)))
5163 (define-public clyrics
5171 (url "https://github.com/trizen/clyrics")
5173 (file-name (git-file-name name version))
5175 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
5176 (build-system trivial-build-system)
5178 `(("bash" ,bash) ; for the wrapped program
5180 ("perl-www-mechanize" ,perl-www-mechanize)
5181 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
5182 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
5183 ;; 500 Can't verify SSL peers without knowing which Certificate
5184 ;; Authorities to trust".
5185 ("perl-mozilla-ca" ,perl-mozilla-ca)))
5187 `(#:modules ((guix build utils))
5189 (use-modules (guix build utils)
5192 (let* ((source (assoc-ref %build-inputs "source"))
5193 (output (assoc-ref %outputs "out")))
5196 (assoc-ref %build-inputs "bash") "/bin" ":"
5197 (assoc-ref %build-inputs "perl") "/bin" ":"))
5198 (copy-recursively source (getcwd))
5199 (patch-shebang "clyrics")
5200 (substitute* "clyrics"
5201 (("/usr/share") output))
5202 (install-file "clyrics" (string-append output "/bin"))
5203 (wrap-program (string-append output "/bin/clyrics")
5208 (((? (cut string-prefix? "perl-" <>) name) . dir)
5209 (string-append dir "/lib/perl5/site_perl"))
5212 (copy-recursively "plugins" (string-append output "/clyrics"))
5214 (home-page "https://github.com/trizen/clyrics")
5215 (synopsis "Extensible lyrics fetcher")
5217 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
5218 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
5219 console music players.")
5220 (license license:gpl3+)))
5222 (define-public demlo
5223 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
5227 (version (git-version "3.8" revision commit))
5233 "https://gitlab.com/ambrevar/demlo")
5235 (file-name (git-file-name name version))
5238 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
5239 (build-system go-build-system)
5242 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5243 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
5244 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
5245 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
5246 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
5247 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
5248 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
5249 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
5250 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
5251 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
5253 `(("chromaprint" ,chromaprint)
5254 ("ffmpeg" ,ffmpeg)))
5256 `(#:import-path "gitlab.com/ambrevar/demlo"
5258 (modify-phases %standard-phases
5259 (add-after 'install 'wrap-program
5260 (lambda* (#:key inputs outputs #:allow-other-keys)
5261 (let ((out (assoc-ref outputs "out"))
5262 (ffmpeg (assoc-ref inputs "ffmpeg"))
5263 (chromaprint (assoc-ref inputs "chromaprint")))
5264 (wrap-program (string-append out "/bin/demlo")
5265 `("XDG_DATA_DIRS" ":" prefix (,out))
5268 (string-append dir "/bin:"
5270 (list ffmpeg chromaprint))))
5272 (add-after 'install 'install-scripts
5273 (lambda* (#:key outputs #:allow-other-keys)
5274 (let* ((out (assoc-ref outputs "out"))
5275 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
5276 (xdg-data-dirs (string-append out "/demlo")))
5277 (copy-recursively (string-append root "/actions")
5278 (string-append xdg-data-dirs "/actions"))
5279 (copy-recursively (string-append root "/scripts")
5280 (string-append xdg-data-dirs "/scripts"))
5281 (install-file (string-append root "/config.lua") xdg-data-dirs)
5282 ;; TODO: Test fish completion.
5283 (install-file (string-append root "/completion/demlo.fish")
5284 (string-append out "/share/fish/vendor_completions.d"))
5286 (home-page "https://gitlab.com/ambrevar/demlo")
5287 (synopsis "Dynamic and extensible music library organizer")
5288 (description "Demlo is a music library organizer. It can encode, fix
5289 case, change folder hierarchy according to tags or file properties, tag from
5290 an online database, copy covers while ignoring duplicates or those below a
5291 quality threshold, and much more. It makes it possible to manage your
5292 libraries uniformly and dynamically. You can write your own rules to fit your
5295 Demlo can address any of these recurring music library issues (and much more):
5298 @item Fix the lack of folder structure.
5299 @item Normalize tags, fix their case, chose which tags to keep and which to
5301 @item Handle lossy and lossless audio differently.
5302 @item Handle mp3 id3tags hell...
5303 @item Handle multiple covers, whether embedded and/or external, resize covers,
5304 discard bad quality ones.
5306 (license license:expat))))
5315 (url "https://github.com/gillesdegottex/fmit/")
5316 (commit (string-append "v" version))))
5317 (file-name (git-file-name name version))
5320 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
5321 (build-system gnu-build-system)
5324 (modify-phases %standard-phases
5326 (add-before 'build 'qmake
5328 (let ((out (assoc-ref %outputs "out")))
5331 (string-append "PREFIX=" out)
5332 (string-append "PREFIXSHORTCUT=" out)
5333 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
5334 (add-after 'install 'wrap-executable
5335 (lambda* (#:key inputs outputs #:allow-other-keys)
5336 (let ((out (assoc-ref outputs "out")))
5337 (wrap-program (string-append out "/bin/fmit")
5338 `("QT_PLUGIN_PATH" ":" prefix
5339 ,(map (lambda (label)
5340 (string-append (assoc-ref inputs label)
5341 "/lib/qt5/plugins"))
5342 '("qtbase" "qtmultimedia" "qtsvg")))
5343 `("QML2_IMPORT_PATH" ":" prefix
5344 ,(map (lambda (label)
5345 (string-append (assoc-ref inputs label)
5347 '("qtmultimedia"))))
5350 `(("alsa-lib" ,alsa-lib)
5353 ("portaudio" ,portaudio)
5355 ("qtmultimedia" ,qtmultimedia)
5358 `(("gettext" ,gettext-minimal)
5359 ("hicolor-icon-theme" ,hicolor-icon-theme)
5360 ("itstool" ,itstool)
5361 ("qttools" ,qttools)))
5362 (synopsis "Musical instrument tuner")
5363 (description "FMIT is a graphical utility for tuning musical instruments,
5364 with error and volume history, and advanced features.")
5365 (home-page "https://gillesdegottex.github.io/fmit/")
5366 ;; Most of the code is under GPL2+, but some abstract or helper classes
5367 ;; are under LGPL2.1.
5368 (license (list license:gpl2+ license:lgpl2.1))))
5370 (define-public mloop
5371 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
5375 (version (git-version "0.0.1" revision commit))
5379 (url "http://git.fuzzle.org/mloop")
5381 (file-name (git-file-name name version))
5384 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
5385 (build-system waf-build-system)
5387 `(#:python ,python-2
5388 #:tests? #f)) ; no "check" target
5391 ("ncurses" ,ncurses)))
5393 `(("pkg-config" ,pkg-config)))
5394 (home-page "https://fuzzle.org/~petern/mloop.html")
5395 (synopsis "Live MIDI looper")
5396 (description "mloop is a live MIDI looping system, using jack-midi.
5397 Loops are recorded, optionally with beat quantization, and can then be played
5398 back, either once or looping. A 'note cache' system is implemented to
5399 remember which notes are pressed and their velocities. This allows for a loop
5400 to start off with the currently pressed notes, making seamless loops much
5401 easier to perform. Features include:
5404 @item Quantisation; end a loop on a beat exactly.
5405 @item Delayed recording; wait for a MIDI event before starting a loop record.
5406 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
5408 (license license:gpl2))))
5410 (define-public pragha
5416 (uri (string-append "https://github.com/pragha-music-player/pragha/"
5417 "releases/download/v" version "/pragha-" version
5421 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
5422 (build-system glib-or-gtk-build-system)
5424 `(("intltool" ,intltool)
5425 ("pkg-config" ,pkg-config)))
5429 ("gstreamer" ,gstreamer)
5430 ("gst-plugins-base" ,gst-plugins-base)
5431 ("gst-plugins-good" ,gst-plugins-good)
5433 ("libcddb" ,libcddb)
5434 ("libcdio" ,libcdio)
5435 ("libcdio-paranoia" ,libcdio-paranoia)
5436 ("libgudev" ,libgudev)
5437 ("libnotify" ,libnotify)
5438 ("libpeas" ,libpeas)
5439 ("libsoup" ,libsoup)
5441 ("taglib" ,taglib)))
5444 (modify-phases %standard-phases
5445 (add-after 'install 'wrap-program
5446 (lambda* (#:key inputs outputs #:allow-other-keys)
5447 (let ((out (assoc-ref outputs "out"))
5448 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
5449 (wrap-program (string-append out "/bin/pragha")
5450 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
5452 (home-page "https://pragha-music-player.github.io")
5453 (synopsis "Music player")
5454 (description "Pragha is a lightweight music player based on Gtk and
5455 sqlite. It is constructed to be fast, light, and simultaneously tries to be
5456 complete without obstructing your daily work.")
5457 (license license:gpl3+)))
5459 (define-public playerctl
5466 (url "https://github.com/altdesktop/playerctl")
5467 (commit (string-append "v" version))))
5468 (file-name (git-file-name name version))
5471 "17hi33sw3663qz5v54bqqil31sgkrlxkb2l5bgqk87pac6x2wnbz"))))
5472 (build-system meson-build-system)
5474 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
5475 (inputs `(("python-pygobject" ,python-pygobject)))
5477 `(("glib:bin" ,glib "bin")
5478 ("pkg-config" ,pkg-config)))
5479 (synopsis "Control MPRIS-supporting media player applications")
5481 "Playerctl is a command-line utility and library for controlling media
5482 players that implement the MPRIS D-Bus Interface Specification. Playerctl
5483 makes it easy to bind player actions, such as play and pause, to media keys.
5484 You can also get metadata about the playing track such as the artist and title
5485 for integration into status line generators or other command-line tools.")
5486 (home-page "https://github.com/altdesktop/playerctl")
5487 (license license:lgpl3+)))
5489 (define-public artyfx
5497 "https://github.com/openAVproductions/openAV-ArtyFX")
5498 (commit (string-append "release-" version))))
5499 (file-name (git-file-name name version))
5502 "0cxikdnxgjk5gp6kmml4dx2jy2cy4x0c837h7bwraj2pfz0nfgqq"))))
5503 (build-system cmake-build-system)
5505 `(#:tests? #f ; no tests included
5507 (modify-phases %standard-phases
5508 (add-after 'unpack 'remove-architecture-specific-flags
5510 (substitute* "CMakeLists.txt"
5511 (("-msse2 -mfpmath=sse") ""))
5515 ("libsndfile" ,libsndfile)))
5517 `(("pkg-config" ,pkg-config)
5519 (home-page "http://openavproductions.com/artyfx/")
5520 (synopsis "Audio effect LV2 plugin bundle")
5521 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
5522 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
5524 (license license:gpl2+)))
5526 (define-public lsp-plugins
5528 (name "lsp-plugins")
5534 (url "https://github.com/sadko4u/lsp-plugins")
5535 (commit (string-append "lsp-plugins-" version))))
5536 (file-name (git-file-name name version))
5538 (base32 "1apw8zh3a3il4smkjji6bih4vbsymj0hjs10fgkrd4nazqkjvgyd"))))
5539 (build-system gnu-build-system)
5543 (string-append "CC=" ,(cc-for-target))
5544 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5545 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5546 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5548 (modify-phases %standard-phases
5549 (delete 'configure)) ; no configure script
5550 #:test-target "test"))
5553 ("hicolor-icon-theme" ,hicolor-icon-theme)
5556 ("libsndfile" ,libsndfile)
5560 `(("pkg-config" ,pkg-config)))
5561 (synopsis "Audio plugin collection")
5562 (description "LSP (Linux Studio Plugins) is a collection of audio
5563 plugins available as LADSPA/LV2 plugins and as standalone JACK
5565 (home-page "https://lsp-plug.in/")
5566 (license license:lgpl3)))
5568 (define-public sherlock-lv2
5570 (name "sherlock-lv2")
5576 "https://git.open-music-kontrollers.ch/lv2/"
5577 "sherlock.lv2/snapshot/sherlock.lv2-"
5581 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5582 (build-system meson-build-system)
5587 ("sratom" ,sratom)))
5590 ("pkg-config" ,pkg-config)))
5591 (synopsis "Investigative LV2 plugin bundle")
5592 (description "The Sherlock plugin bundle contains LV2 plugins for
5593 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5594 and debugging of event signal flows inside plugin graphs.")
5595 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5596 (license license:artistic2.0)))
5598 (define-public foo-yc20
5605 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5606 version "/foo-yc20-" version ".tar.bz2"))
5609 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5610 (build-system gnu-build-system)
5613 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5614 #:tests? #f ; no automated test
5616 (modify-phases %standard-phases
5619 (substitute* "Makefile"
5620 (("-mtune=native") "")
5621 (("-march=native") ""))
5630 ("pkg-config" ,pkg-config)))
5631 (home-page "https://foo-yc20.codeforcode.com/")
5632 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5633 (description "This is a Faust implementation of a 1969 designed Yamaha
5634 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5635 version. Processing for the organ is based on original schematics and
5636 measurements from a working specimen. This instrument simulates the circutry
5637 as a whole to realisticly reproduce the features and flaws of the real deal.")
5638 ;; Note that after 1.3.0 the license was changed.
5639 (license license:gpl3+)))
5641 (define-public spectacle-analyzer
5643 (name "spectacle-analyzer")
5649 (url "https://github.com/jpcima/spectacle")
5650 (commit (string-append "v" version))
5651 ;; Bundles a specific commit of the DISTRHO plugin framework.
5653 (file-name (git-file-name name version))
5656 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5657 (build-system gnu-build-system)
5659 `(#:tests? #f ; no check target
5662 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5664 (modify-phases %standard-phases
5665 (delete 'configure))))
5667 `(("pkg-config" ,pkg-config)
5676 (synopsis "Realtime graphical spectrum analyzer")
5677 (description "Spectacle is a real-time spectral analyzer using the
5678 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5679 (home-page "https://github.com/jpcima/spectacle")
5680 ;; The project is licensed under the ISC license, and files in
5681 ;; sources/plugin carry the Expat license.
5682 (license (list license:isc license:expat))))
5684 (define-public x42-plugins
5686 (name "x42-plugins")
5687 (version "20200714")
5692 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5695 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5696 (build-system gnu-build-system)
5698 `(#:tests? #f ; no "check" target
5700 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5701 "LIBZITACONVOLVER=-lzita-convolver"
5702 (string-append "FONTFILE="
5703 (assoc-ref %build-inputs "font-dejavu")
5704 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5706 (modify-phases %standard-phases
5707 (add-before 'build 'set-CC-variable
5711 (delete 'configure))))
5718 ("hicolor-icon-theme" ,hicolor-icon-theme)
5721 ("libsamplerate" ,libsamplerate)
5724 ("zita-convolver" ,zita-convolver)))
5726 `(("help2man" ,help2man)
5729 ("font-dejavu" ,font-dejavu)
5730 ("pkg-config" ,pkg-config)))
5731 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5732 (description "x42-plugins is a collection of over 80 cross-platform LV2
5733 audio and MIDI plugins that can also run as standalone JACK applications.")
5734 (home-page "https://x42-plugins.com/x42/")
5735 (license license:gpl2+)))
5737 (define-public zam-plugins
5739 (name "zam-plugins")
5746 (url "https://github.com/zamaudio/zam-plugins")
5748 ;; Recursive to fetch the DISTRHO plugin framework. This
5749 ;; framework is intended to be included in the sources
5750 ;; and not to be used as a library.
5752 (file-name (git-file-name name version))
5754 (base32 "0bxvssqnnd7bph3w1d6xcmxradv4cqq3wyzyv1a1hfm71a0pdahs"))))
5755 (build-system gnu-build-system)
5757 `(#:tests? #f ;no "check" target
5759 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5760 "HAVE_ZITA_CONVOLVER=true")
5762 (modify-phases %standard-phases
5763 (add-before 'build 'set-CC-variable
5765 (setenv "CC" "gcc") #t))
5766 (delete 'configure))))
5769 ("jack" ,jack-1) ;for the standalone JACK application
5771 ("libsamplerate" ,libsamplerate)
5773 ("zita-convolver" ,zita-convolver)))
5775 `(("ladspa" ,ladspa)
5777 ("pkg-config" ,pkg-config)))
5778 (synopsis "Collection of audio processing plugins")
5780 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5781 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5782 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5783 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5784 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5785 (home-page "http://www.zamaudio.com/?p=976")
5786 (license license:gpl2+)))
5788 (define-public geonkick
5796 (url "https://gitlab.com/iurie-sw/geonkick")
5797 (commit (string-append "v" version))))
5798 (file-name (git-file-name name version))
5800 (base32 "0w1mvqm46qdwldcl81svaykwii4wvx7mcr57kwvnj0iv2qrc891i"))))
5801 (build-system cmake-build-system)
5803 `(#:tests? #f ;no tests included
5805 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5806 (assoc-ref %build-inputs "redkite"))
5807 (string-append "-DCMAKE_INSTALL_PREFIX="
5808 (assoc-ref %outputs "out")))))
5810 `(("hicolor-icon-theme" ,hicolor-icon-theme)
5811 ("jack" ,jack-1) ;for the standalone JACK application
5812 ("libsndfile" ,libsndfile)
5814 ("redkite" ,redkite)
5815 ("rapidjson" ,rapidjson)))
5818 ;; Fails with default gcc (#include <filesystem> not found).
5820 ("pkg-config" ,pkg-config)
5822 (synopsis "Percussion synthesizer")
5823 (description "Geonkick is a synthesizer that can synthesize elements
5824 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5825 It can also play and mix samples.")
5826 (home-page "https://gitlab.com/iurie-sw/geonkick")
5827 (license license:gpl3+)))
5829 (define-public dpf-plugins
5831 (name "dpf-plugins")
5838 (url "https://github.com/DISTRHO/DPF-Plugins")
5839 (commit (string-append "v" version))))
5840 (file-name (git-file-name name version))
5843 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
5844 (build-system gnu-build-system)
5846 `(#:tests? #f ; no "check" target
5848 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5850 (modify-phases %standard-phases
5851 (add-before 'build 'set-CC-variable
5852 (lambda _ (setenv "CC" "gcc") #t))
5853 (delete 'configure))))
5856 ("liblo" ,liblo) ; for dssi plugins
5857 ("jack" ,jack-1) ; for standalone applications
5860 `(("pkg-config" ,pkg-config)
5863 (home-page "https://github.com/DISTRHO/DPF-Plugins")
5864 (synopsis "Audio plugin collection")
5865 (description "Collection of audio plugins built with the DISTRHO Plugin
5866 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
5867 package includes the following plugins: glBars, Kars, Max-Gen examples
5868 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
5869 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
5870 Soul Force), MVerb, Nekobi, and ProM.")
5871 ;; This package consists of several plugins refactored to use the
5872 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
5873 ;; apply to different plugins. The root LICENSE file has a table with
5874 ;; license information for each plugin and paths to each license
5875 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
5877 (define-public avldrums-lv2
5879 (name "avldrums-lv2")
5885 (url "https://github.com/x42/avldrums.lv2")
5886 (commit (string-append "v" version))
5887 ;; This plugin expects the robtk submodule's source files to be
5888 ;; there in order to build.
5890 (file-name (git-file-name name version))
5892 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
5893 (build-system gnu-build-system)
5895 `(#:tests? #f ; no "check" target
5897 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5899 (modify-phases %standard-phases
5900 (add-before 'build 'set-CC-variable
5902 (setenv "CC" "gcc") #t))
5903 (delete 'configure))))
5911 `(("pkg-config" ,pkg-config)
5913 (home-page "https://x42-plugins.com/x42/x42-avldrums")
5914 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
5915 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
5916 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
5917 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
5918 (license license:gpl2+)))
5929 (url "https://github.com/mtytel/helm")
5930 (commit (string-append "v" version))))
5931 (file-name (git-file-name name version))
5934 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
5935 (build-system gnu-build-system)
5937 `(#:tests? #f ; no "check" target
5939 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
5942 (modify-phases %standard-phases
5943 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
5945 (substitute* "standalone/builds/linux/Makefile"
5946 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5947 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5948 (substitute* "builds/linux/LV2/Makefile"
5949 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5950 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5951 (substitute* "Makefile"
5954 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
5955 (lambda* (#:key outputs #:allow-other-keys)
5956 (for-each make-file-writable
5957 (find-files (string-append (assoc-ref outputs "out"))
5960 (delete 'configure))))
5962 `(("alsa-lib" ,alsa-lib)
5964 ("freetype2" ,freetype)
5965 ("hicolor-icon-theme" ,hicolor-icon-theme)
5966 ("libxcursor" ,libxcursor)
5967 ("libxinerama" ,libxinerama)
5971 `(("pkg-config" ,pkg-config)
5973 (home-page "https://tytel.org/helm/")
5974 (synopsis "Polyphonic synth with lots of modulation")
5975 (description "Helm is a cross-platform polyphonic synthesizer available standalone
5976 and as an LV2 plugin.")
5977 (license license:gpl3+)))
5979 (define-public zrythm
5981 ;; Zrythm contains trademarks and comes with a trademark policy found in
5982 ;; TRADMARKS.md inside the release distribution. The trademark policy
5983 ;; allows verbatim re-distribution, and it also allows FSF-approved
5984 ;; distros to make necessary changes to integrate the software into the
5987 (version "1.0.0-alpha.12.0.1")
5991 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
5995 "1si4n8rdg0a3frlbj6yqpyzr4f20v3cpl4m6kv0yf7r25psyl5pk"))))
5996 (build-system meson-build-system)
6004 "-Dgraphviz=enabled" ; for exporting routing graphs
6005 "-Dguile=enabled" ; for Guile scripting
6006 "-Djack=enabled" ; for JACK audio/MIDI backend
6007 "-Drtmidi=enabled" ; for RtMidi backend (ALSA sequencer)
6008 "-Dsdl=enabled"))) ; for SDL audio backend (which uses ALSA)
6010 `(("alsa-lib" ,alsa-lib)
6012 ("font-dseg" ,font-dseg)
6015 ("gettext" ,gettext-minimal)
6017 ("graphviz" ,graphviz)
6019 ("gtksourceview" ,gtksourceview)
6020 ("guile" ,guile-2.2)
6021 ("libaudec" ,libaudec)
6022 ("libcyaml" ,libcyaml)
6023 ("libsamplerate" ,libsamplerate)
6024 ("libsndfile" ,libsndfile)
6025 ("libyaml" ,libyaml)
6028 ("pulseaudio" ,pulseaudio)
6030 ("rubberband" ,rubberband)
6033 ("xdg-utils" ,xdg-utils)
6034 ("zstd" ,zstd "lib")))
6036 `(("pkg-config" ,pkg-config)
6037 ("help2man" ,help2man)
6038 ("glib" ,glib "bin"))) ; for 'glib-compile-resources'
6039 (synopsis "Digital audio workstation focusing on usability")
6040 (description "Zrythm is a digital audio workstation designed to be
6041 featureful and easy to use. It offers unlimited automation options, LV2
6042 plugin support, JACK support and chord assistance.")
6043 (home-page "https://www.zrythm.org")
6044 (license license:agpl3+)))
6046 (define-public dragonfly-reverb
6048 (name "dragonfly-reverb")
6055 (url "https://github.com/michaelwillis/dragonfly-reverb")
6057 ;; Bundles a specific commit of the DISTRHO plugin framework.
6059 (file-name (git-file-name name version))
6061 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
6062 (build-system gnu-build-system)
6064 `(#:tests? #f ; no check target
6065 #:make-flags (list "CC=gcc")
6067 (modify-phases %standard-phases
6068 (delete 'configure) ;no configure target
6069 (replace 'install ;no install target
6070 (lambda* (#:key outputs #:allow-other-keys)
6071 (let* ((out (assoc-ref outputs "out"))
6072 (bin (string-append out "/bin"))
6073 (lv2 (string-append out "/lib/lv2")))
6077 (copy-recursively file
6078 (string-append lv2 "/" (basename file))))
6079 (find-files "bin" "\\.lv2$" #:directories? #t))
6080 ;; Install executables.
6083 (install-file file bin))
6087 (equal? (dirname name) "bin")
6088 (not (string-suffix? ".so" name))
6089 (not (string-suffix? ".lv2" name))))))
6092 `(("pkg-config" ,pkg-config)))
6097 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
6098 (synopsis "Concert hall reverb and room reverb effects")
6100 "Dragonfly Reverb is a bundle of two free audio effects: a concert
6101 hall reverb and a room reverb. Both are available as LV2 plugins as well
6102 as JACK standalone applications.")
6103 (license license:gpl3+)))
6105 (define-public zplugins
6114 (url "https://git.zrythm.org/git/zplugins")
6115 (commit (string-append "v" version))))
6116 (file-name (git-file-name name version))
6119 "1rkm2xajmyik6289b20rp5a5br9f3sh1xk8nb1bs6qpmcrfirgbs"))))
6120 (build-system meson-build-system)
6122 `(("guile" ,guile-2.2)
6123 ("libsndfile" ,libsndfile)
6125 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
6127 `(("pkg-config" ,pkg-config)))
6128 (synopsis "Audio plugin collection")
6129 (description "ZPlugins is a collection of audio DSP plugins intended
6130 to be bundled with the Zrythm @dfn{digital audio workstation} (DAW).")
6131 (home-page "https://www.zrythm.org/en/plugins.html")
6132 (license license:agpl3+)))
6135 ;; The "zlfo" package is now included in zplugins
6136 (deprecated-package "zlfo" zplugins))
6138 (define-public remid-lv2
6146 (url "https://github.com/ssj71/reMID.lv2")
6147 (commit (string-append "v" version))))
6148 (file-name (git-file-name name version))
6151 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
6152 (build-system cmake-build-system)
6154 `(#:tests? #f)) ; no tests included
6156 `(("alsa-lib" ,alsa-lib)
6161 `(("pkg-config" ,pkg-config)))
6162 (home-page "https://github.com/ssj71/reMID.lv2")
6164 "MIDI-controlled implementation of the SID 6581 chip used in the
6167 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
6168 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
6169 to provide a virtual SID-based synthesizer, controllable in real-time via
6170 MIDI. It includes support for scripted instruments that allow complex sonic
6171 control of the chip.")
6172 (license license:gpl2+)))
6174 (define-public vl1-emulator
6176 (name "vl1-emulator")
6182 (url "https://github.com/linuxmao-org/VL1-emulator")
6183 (commit (string-append "v" version))
6184 ;; bundles a specific commit of the DISTRHO plugin framework
6186 (file-name (git-file-name name version))
6189 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
6190 (build-system gnu-build-system)
6192 `(#:tests? #f ;no check target
6194 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
6197 (modify-phases %standard-phases
6198 (delete 'configure)))) ;no configure target
6204 `(("pkg-config" ,pkg-config)))
6205 (home-page "https://github.com/linuxmao-org/VL1-emulator")
6206 (synopsis "Emulator of Casio VL-Tone VL1")
6207 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
6208 based on source code by PolyValens, offered as an LV2 plugin and a
6209 standalone JACK application.")
6211 (license (list license:expat license:cc0))))
6213 (define-public regrader
6215 (inherit vl1-emulator)
6222 (url "https://github.com/linuxmao-org/regrader")
6223 (commit (string-append "v" version))
6224 ;; bundles a specific commit of the DISTRHO plugin framework
6226 (file-name (git-file-name name version))
6229 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
6230 (home-page "https://github.com/linuxmao-org/regrader")
6231 (synopsis "Delay effect plugin")
6233 "Regrader is a delay effect where the repeats degrade in resolution.
6234 This is an unofficial port of the Regrader plugin created by Igorski. It
6235 is available as an LV2 plugin and a standalone JACK application.")
6236 (license license:expat)))
6238 (define-public fogpad
6240 (inherit vl1-emulator)
6247 (url "https://github.com/linuxmao-org/fogpad")
6248 (commit (string-append "v" version))
6249 ;; bundles a specific commit of the DISTRHO plugin framework
6251 (file-name (git-file-name name version))
6254 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
6255 (home-page "https://github.com/linuxmao-org/fogpad")
6256 (synopsis "Reverb effect plugin")
6258 "Fogpad is a reverb effect in which the reflections can be frozen,
6259 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
6260 port of the Regrader plugin created by Igorski. It is available as an LV2
6261 plugin and a standalone JACK application.")
6262 (license license:expat)))
6264 (define-public tap-lv2
6265 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
6269 (version (git-version "0.0" revision commit))
6274 (url "https://github.com/moddevices/tap-lv2")
6276 (file-name (git-file-name name version))
6279 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
6280 (build-system gnu-build-system)
6282 `(#:tests? #f ; no check target
6286 (modify-phases %standard-phases
6287 (delete 'configure) ; no configure
6291 (string-append "INSTALL_PATH="
6292 (assoc-ref %outputs "out")
6298 `(("pkg-config" ,pkg-config)))
6299 (synopsis "Audio plugin collection")
6300 (description "TAP (Tom's Audio Processing) plugins is a collection of
6301 audio effect plugins originally released as LADSPA plugins. This package
6302 offers an LV2 version ported by moddevices.")
6303 (home-page "http://tap-plugins.sourceforge.net/")
6304 (license license:gpl2))))
6306 (define-public wolf-shaper
6308 (name "wolf-shaper")
6314 (url "https://github.com/pdesaulniers/wolf-shaper")
6315 (commit (string-append "v" version))
6316 ;; Bundles a specific commit of the DISTRHO plugin framework.
6318 (file-name (git-file-name name version))
6321 "1j9xmh1nkf45ay1c5dz2g165qvrwlanzcq6mvb3nfxar265drd9q"))))
6322 (build-system gnu-build-system)
6324 `(#:tests? #f ; no check target
6325 #:make-flags (list "CC=gcc")
6327 (modify-phases %standard-phases
6328 (delete 'configure) ;no configure target
6329 (replace 'install ;no install target
6330 (lambda* (#:key outputs #:allow-other-keys)
6331 (let* ((out (assoc-ref outputs "out"))
6332 (bin (string-append out "/bin"))
6333 (lv2 (string-append out "/lib/lv2")))
6337 (copy-recursively file
6338 (string-append lv2 "/" (basename file))))
6339 (find-files "bin" "\\.lv2$" #:directories? #t))
6340 ;; Install executables.
6343 (install-file file bin))
6347 (equal? (dirname name) "bin")
6348 (not (string-suffix? ".so" name))
6349 (not (string-suffix? ".lv2" name))))))
6352 `(("pkg-config" ,pkg-config)))
6357 (synopsis "Waveshaper plugin")
6358 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
6359 It is provided as an LV2 plugin and as a standalone Jack application.")
6360 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
6361 (license license:gpl3)))
6363 (define-public wolf-spectrum
6365 (inherit wolf-shaper)
6366 (name "wolf-spectrum")
6372 (url "https://github.com/pdesaulniers/wolf-spectrum")
6373 (commit (string-append "v" version))
6374 ;; Bundles a specific commit of the DISTRHO plugin framework.
6376 (file-name (git-file-name name version))
6379 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
6380 (synopsis "2D spectrogram plugin")
6381 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
6382 It is provided as an LV2 plugin and as a standalone Jack application.")
6383 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
6384 (license license:gpl3)))
6386 (define-public shiru-lv2
6387 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
6391 (version (git-version "0.0" revision commit))
6396 (url "https://github.com/linuxmao-org/shiru-plugins")
6398 ;; Bundles a specific commit of the DISTRHO plugin framework.
6400 (file-name (git-file-name name version))
6403 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
6404 (build-system gnu-build-system)
6406 `(#:tests? #f ; no check target
6407 #:make-flags (list "CC=gcc")
6409 (modify-phases %standard-phases
6410 (delete 'configure) ;no configure target
6411 (replace 'install ;no install target
6412 (lambda* (#:key outputs #:allow-other-keys)
6413 (let* ((out (assoc-ref outputs "out"))
6414 (bin (string-append out "/bin"))
6415 (lv2 (string-append out "/lib/lv2")))
6419 (copy-recursively file
6420 (string-append lv2 "/" (basename file))))
6421 (find-files "bin" "\\.lv2$" #:directories? #t))
6422 ;; Install executables.
6425 (install-file file bin))
6429 (equal? (dirname name) "bin")
6430 (not (string-suffix? ".so" name))
6431 (not (string-suffix? ".lv2" name))))))
6434 `(("pkg-config" ,pkg-config)))
6442 (synopsis "Audio plugin collection")
6443 (description "Shiru plugins is a collection of audio plugins created
6444 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
6446 (home-page "http://shiru.untergrund.net/software.shtml")
6447 (license license:wtfpl2))))