1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014, 2019 Eric Bavier <bavier@member.fsf.org>
3 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
4 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
5 ;;; Copyright © 2016 Al McElrath <hello@yrns.org>
6 ;;; Copyright © 2016, 2017, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
7 ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
8 ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
9 ;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
10 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
11 ;;; Copyright © 2017 nikita <nikita@n0.is>
12 ;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org>
13 ;;; Copyright © 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
14 ;;; Copyright © 2017, 2018, 2019, 2021 Pierre Langlois <pierre.langlois@gmx.com>
15 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
16 ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
17 ;;; Copyright © 2018 nee <nee.git@hidamari.blue>
18 ;;; Copyright © 2018, 2021 Stefan Reichör <stefan@xsteve.at>
19 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
20 ;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
21 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
22 ;;; Copyright © 2019 Gabriel Hondet <gabrielhondet@gmail.com>
23 ;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
24 ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
25 ;;; Copyright © 2019 raingloom <raingloom@protonmail.com>
26 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
27 ;;; Copyright © 2019, 2020, 2021 Alexandros Theodotou <alex@zrythm.org>
28 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
29 ;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
30 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
31 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
32 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
33 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
34 ;;; Copyright © 2019 Riku Viitanen <riku.viitanen0@gmail.com>
35 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
36 ;;; Copyright © 2021 Leo Prikler <leo.prikler@student.tugraz.at>
37 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
38 ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
39 ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
41 ;;; This file is part of GNU Guix.
43 ;;; GNU Guix is free software; you can redistribute it and/or modify it
44 ;;; under the terms of the GNU General Public License as published by
45 ;;; the Free Software Foundation; either version 3 of the License, or (at
46 ;;; your option) any later version.
48 ;;; GNU Guix is distributed in the hope that it will be useful, but
49 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
50 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51 ;;; GNU General Public License for more details.
53 ;;; You should have received a copy of the GNU General Public License
54 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
56 (define-module (gnu packages music)
57 #:use-module (guix utils)
58 #:use-module (guix packages)
59 #:use-module (guix download)
60 #:use-module (guix git-download)
61 #:use-module ((guix licenses) #:prefix license:)
62 #:use-module (guix build-system gnu)
63 #:use-module (guix build-system ant)
64 #:use-module (guix build-system cmake)
65 #:use-module (guix build-system meson)
66 #:use-module (guix build-system perl)
67 #:use-module (guix build-system python)
68 #:use-module (guix build-system scons)
69 #:use-module (guix build-system glib-or-gtk)
70 #:use-module (guix build-system waf)
71 #:use-module (guix build-system trivial)
72 #:use-module (guix build-system go)
73 #:use-module (gnu packages)
74 #:use-module (gnu packages admin)
75 #:use-module (gnu packages algebra)
76 #:use-module (gnu packages apr)
77 #:use-module (gnu packages audio)
78 #:use-module (gnu packages autotools)
79 #:use-module (gnu packages backup)
80 #:use-module (gnu packages base) ;libbdf
81 #:use-module (gnu packages bash)
82 #:use-module (gnu packages bison)
83 #:use-module (gnu packages boost)
84 #:use-module (gnu packages build-tools)
85 #:use-module (gnu packages cdrom)
86 #:use-module (gnu packages code)
87 #:use-module (gnu packages check)
88 #:use-module (gnu packages cmake)
89 #:use-module (gnu packages compression)
90 #:use-module (gnu packages cpp)
91 #:use-module (gnu packages crypto)
92 #:use-module (gnu packages curl)
93 #:use-module (gnu packages cyrus-sasl)
94 #:use-module (gnu packages datastructures)
95 #:use-module (gnu packages docbook)
96 #:use-module (gnu packages documentation)
97 #:use-module (gnu packages emacs)
98 #:use-module (gnu packages file)
99 #:use-module (gnu packages flex)
100 #:use-module (gnu packages fltk)
101 #:use-module (gnu packages fonts)
102 #:use-module (gnu packages fontutils)
103 #:use-module (gnu packages freedesktop)
104 #:use-module (gnu packages game-development)
105 #:use-module (gnu packages gcc)
106 #:use-module (gnu packages gnupg)
107 #:use-module (gnu packages gettext)
108 #:use-module (gnu packages ghostscript)
109 #:use-module (gnu packages gl)
110 #:use-module (gnu packages glib)
111 #:use-module (gnu packages gnome)
112 #:use-module (gnu packages gpodder)
113 #:use-module (gnu packages graphics)
114 #:use-module (gnu packages graphviz)
115 #:use-module (gnu packages gstreamer)
116 #:use-module (gnu packages gtk)
117 #:use-module (gnu packages guile)
118 #:use-module (gnu packages haskell)
119 #:use-module (gnu packages image)
120 #:use-module (gnu packages imagemagick)
121 #:use-module (gnu packages java)
122 #:use-module (gnu packages libffi)
123 #:use-module (gnu packages libusb)
124 #:use-module (gnu packages linux) ; for alsa-utils
125 #:use-module (gnu packages lirc)
126 #:use-module (gnu packages llvm)
127 #:use-module (gnu packages man)
128 #:use-module (gnu packages mp3)
129 #:use-module (gnu packages mpd)
130 #:use-module (gnu packages ncurses)
131 #:use-module (gnu packages netpbm)
132 #:use-module (gnu packages pcre)
133 #:use-module (gnu packages pdf)
134 #:use-module (gnu packages perl)
135 #:use-module (gnu packages perl-web)
136 #:use-module (gnu packages pkg-config)
137 #:use-module (gnu packages protobuf)
138 #:use-module (gnu packages pulseaudio) ;libsndfile
139 #:use-module (gnu packages python)
140 #:use-module (gnu packages python-check)
141 #:use-module (gnu packages python-web)
142 #:use-module (gnu packages python-xyz)
143 #:use-module (gnu packages qt)
144 #:use-module (gnu packages rdf)
145 #:use-module (gnu packages readline)
146 #:use-module (gnu packages rsync)
147 #:use-module (gnu packages sdl)
148 #:use-module (gnu packages sphinx)
149 #:use-module (gnu packages sqlite)
150 #:use-module (gnu packages stb)
151 #:use-module (gnu packages tcl)
152 #:use-module (gnu packages texinfo)
153 #:use-module (gnu packages tex)
154 #:use-module (gnu packages time)
155 #:use-module (gnu packages tls)
156 #:use-module (gnu packages version-control)
157 #:use-module (gnu packages video)
158 #:use-module (gnu packages vim) ;for 'xxd'
159 #:use-module (gnu packages web)
160 #:use-module (gnu packages webkit)
161 #:use-module (gnu packages wxwidgets)
162 #:use-module (gnu packages xdisorg)
163 #:use-module (gnu packages xml)
164 #:use-module (gnu packages xorg)
165 #:use-module (gnu packages xiph)
166 #:use-module (gnu packages golang)
167 #:use-module (gnu packages lua)
168 #:use-module ((srfi srfi-1) #:select (last)))
170 (define-public audacious
177 (uri (string-append "https://distfiles.audacious-media-player.org/"
178 "audacious-" version ".tar.bz2"))
180 (base32 "028zjgz0p7ys15lk2a30m5zcv9xrx3ga50wjsh4m4zxilgkakbji"))))
181 (build-system gnu-build-system)
184 (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
185 #:tests? #f ; no check target
187 (modify-phases %standard-phases
188 (add-after 'install 'unpack-plugins
189 (lambda* (#:key inputs #:allow-other-keys)
190 (let ((plugins (assoc-ref inputs "audacious-plugins")))
191 (invoke "tar" "xvf" plugins)
193 (add-after 'unpack-plugins 'configure-plugins
194 (lambda* (#:key configure-flags outputs #:allow-other-keys)
195 (let ((out (assoc-ref outputs "out")))
196 (with-directory-excursion
197 (string-append "audacious-plugins-" ,version)
198 (substitute* "configure"
199 (("/bin/sh") (which "sh")))
200 (apply invoke "./configure"
201 (append configure-flags
202 ;; audacious-plugins requires audacious to build.
203 (list (string-append "PKG_CONFIG_PATH="
204 out "/lib/pkgconfig:"
205 (getenv "PKG_CONFIG_PATH"))
206 (string-append "--prefix=" out))))))))
207 (add-after 'configure-plugins 'build-plugins
209 (with-directory-excursion
210 (string-append "audacious-plugins-" ,version)
211 (invoke "make" "-j" (number->string (parallel-job-count))))))
212 (add-after 'build-plugins 'install-plugins
214 (with-directory-excursion
215 (string-append "audacious-plugins-" ,version)
216 (invoke "make" "install")))))))
218 `(("audacious-plugins"
221 (uri (string-append "https://distfiles.audacious-media-player.org/"
222 "audacious-plugins-" version ".tar.bz2"))
224 (base32 "0ny5w1agr9jaz5w3wyyxf1ygmzmd1sivaf97lcm4z4w6529520lz"))))
225 ("gettext" ,gettext-minimal)
226 ("glib:bin" ,glib "bin") ; for gdbus-codegen
227 ("pkg-config" ,pkg-config)))
231 ("qtmultimedia" ,qtmultimedia)
232 ;; Plugin dependencies
233 ("alsa-lib" ,alsa-lib)
238 ("fluidsynth" ,fluidsynth)
242 ("libcdio-paranoia" ,libcdio-paranoia)
244 ("libmodplug" ,libmodplug)
245 ("libnotify" ,libnotify)
247 ("libsamplerate" ,libsamplerate)
248 ("libsndfile" ,libsndfile)
249 ("libvorbis" ,libvorbis)
250 ("libxcomposite" ,libxcomposite)
252 ("libxrender" ,libxrender)
258 ("pulseaudio" ,pulseaudio)
261 ("wavpack" ,wavpack)))
262 (home-page "https://audacious-media-player.org")
263 (synopsis "Modular and skinnable audio player")
265 "Audacious is an audio player descended from XMMS. Drag and drop
266 folders and individual song files, search for artists and albums in
267 your entire music library, or create and edit your own custom
268 playlists. Listen to CD’s or stream music from the Internet. Tweak
269 the sound with the graphical equalizer or experiment with LADSPA
270 effects. Enjoy the modern GTK-themed interface or change things up
271 with Winamp Classic skins. Use the plugins included with Audacious to
272 fetch lyrics for your music, to set an alarm in the morning, and
274 ;; According to COPYING, Audacious and its plugins are licensed
275 ;; under the BSD 2-clause license and libguess is licensed under
276 ;; the BSD 3-clause license.
277 (license (list license:bsd-2
279 ;; Plugin licenses that aren't BSD 2- or 3-clause.
287 (define-public aria-maestosa
289 (name "aria-maestosa")
293 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
294 version "/AriaSrc-" version ".tar.bz2"))
297 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
298 (build-system scons-build-system)
300 `(#:tests? #f ;no tests
302 (list (string-append "prefix=" (assoc-ref %outputs "out")))
303 #:scons ,scons-python2
305 (modify-phases %standard-phases
307 (add-after 'unpack 'scons-propagate-environment
309 ;; By design, SCons does not, by default, propagate
310 ;; environment variables to subprocesses. See:
311 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
312 ;; Here, we modify the SConstruct file to arrange for
313 ;; environment variables to be propagated.
314 (substitute* "SConstruct"
315 (("env = Environment\\(\\)")
316 "env = Environment(ENV=os.environ)")
317 ;; Scons errors out when copying subdirectories from Resources,
318 ;; so we move them instead.
320 ;; We move the "score" and "Documentation" directories at once,
321 ;; so we have to ignore files contained therein.
322 (("if \".svn\" in file" line)
324 " or \"score/\" in file"
325 " or \"Documentation/\" in file")))
327 (add-after 'install 'fix-directory-permissions
328 (lambda* (#:key outputs #:allow-other-keys)
329 (let ((out (assoc-ref outputs "out")))
330 (chmod (string-append out "/share/Aria/Documentation") #o555)
331 (chmod (string-append out "/share/Aria/score") #o555)
334 `(("wxwidgets" ,wxwidgets)
336 ("alsa-lib" ,alsa-lib)))
338 `(("pkg-config" ,pkg-config)))
339 (home-page "http://ariamaestosa.sourceforge.net/")
340 (synopsis "MIDI sequencer and editor")
342 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
343 and play MIDI files with a few clicks in a user-friendly interface offering
344 score, keyboard, guitar, drum and controller views.")
345 (license license:gpl3+)))
347 (define-public clementine
350 (version "1.4.0rc1-450-g2725ef99d")
354 (url "https://github.com/clementine-player/Clementine")
356 (file-name (git-file-name name version))
359 "1pcwwi9b2qcfjn748577gqx6d1hgg7cisw2dn43npwafdvvkdb90"))
360 (modules '((guix build utils)
364 (use-modules ((ice-9 regex)))
367 ;; TODO: The following dependencies are still bundled:
368 ;; - "qxt": Appears to be unmaintained upstream.
370 ;; - "qtsingleapplication"
372 ;; - "qtiocompressor"
373 (let ((bundled '("qsqlite"
374 "qtsingleapplication"
380 (string-append ".?*(" (string-join bundled "|") ")")
382 (delete-file-recursively dir))))
383 (find-files "3rdparty"
385 (string-match "^3rdparty/[^/]*$" file))
388 (build-system cmake-build-system)
390 '(#:test-target "clementine_test"
392 (list ;; Requires unpackaged "projectm"
393 "-DENABLE_VISUALISATIONS=OFF"
394 ;; Otherwise it may try to download a non-free library at run-time.
395 ;; TODO In an origin snippet, remove the code that performs the
397 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
398 ;; Clementine checks that the taglib version is higher than 1.11,
399 ;; because of https://github.com/taglib/taglib/issues/864. Remove
400 ;; this flag when 1.12 is released.
401 "-DUSE_SYSTEM_TAGLIB=TRUE")
403 (modify-phases %standard-phases
404 (add-after 'install 'wrap-program
405 (lambda* (#:key inputs outputs #:allow-other-keys)
406 (let ((out (assoc-ref outputs "out"))
407 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
408 (wrap-program (string-append out "/bin/clementine")
409 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
412 `(("gettext" ,gettext-minimal)
413 ("googletest" ,googletest)
414 ("pkg-config" ,pkg-config)
415 ("qtlinguist" ,qttools)))
418 ("chromaprint" ,chromaprint)
422 ("gstreamer" ,gstreamer)
423 ("gst-plugins-base" ,gst-plugins-base)
424 ("gst-plugins-good" ,gst-plugins-good)
425 ("gst-libav" ,gst-libav)
427 ("libmygpo-qt" ,libmygpo-qt)
428 ;; TODO: Package libgpod.
431 ("protobuf" ,protobuf)
432 ("pulseaudio" ,pulseaudio)
434 ("qtx11extras" ,qtx11extras)
436 ("sparsehash" ,sparsehash)
438 (home-page "https://clementine-player.org")
439 (synopsis "Music player and library organizer")
440 (description "Clementine is a multiplatform music player. It is inspired
441 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
442 playing your music.")
444 ;; clementine and qtiocompressor are under GPLv3.
446 ;; qxt is under CPL1.0.
448 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
450 ;; qocoa is under MIT and CC by-sa for the icons.
451 license:cc-by-sa3.0))))
453 (define-public strawberry
460 (url "https://github.com/strawberrymusicplayer/strawberry")
462 (file-name (git-file-name name version))
465 "0d9asg21j9ai23sb35cimws8bd8fsnpha777rgscraa7i09q0rx2"))
466 (modules '((guix build utils)
470 (use-modules ((ice-9 regex)))
473 ;; TODO: The following dependencies are still bundled:
474 ;; - "singleapplication"
475 (let ((bundled '("singleapplication")))
478 (string-append ".?*(" (string-join bundled "|") ")")
480 (delete-file-recursively dir))))
481 (find-files "3rdparty"
483 (string-match "^3rdparty/[^/]*$" file))
486 (build-system cmake-build-system)
488 `(#:test-target "run_strawberry_tests"
490 (modify-phases %standard-phases
491 (add-after 'install 'wrap-program
492 (lambda* (#:key inputs outputs #:allow-other-keys)
493 (let ((out (assoc-ref outputs "out"))
494 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
495 (wrap-program (string-append out "/bin/strawberry")
496 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
498 (add-before 'check 'pre-check
499 (lambda* (#:key inputs #:allow-other-keys)
500 (let ((xorg-server (assoc-ref inputs "xorg-server")))
501 (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
502 (setenv "DISPLAY" ":1")
503 (setenv "HOME" (getcwd))
506 `(("gettext" ,gettext-minimal)
507 ("googletest" ,googletest)
508 ("pkg-config" ,pkg-config)
509 ("qtlinguist" ,qttools)
510 ("xorg-server" ,xorg-server-for-tests)))
512 `(("alsa-lib" ,alsa-lib)
514 ("chromaprint" ,chromaprint)
519 ("gstreamer" ,gstreamer)
520 ("gst-plugins-base" ,gst-plugins-base)
521 ("gst-plugins-good" ,gst-plugins-good)
524 ("protobuf" ,protobuf)
525 ("pulseaudio" ,pulseaudio)
527 ("qtx11extras" ,qtx11extras)
530 (home-page "https://www.strawberrymusicplayer.org/")
531 (synopsis "Music player and library organizer")
532 (description "Strawberry is a music player and music collection organizer.
533 It is a fork of Clementine aimed at music collectors and audiophiles.")
540 license:cc-by-sa3.0))))
549 (url "https://github.com/cmus/cmus")
550 (commit (string-append "v" version))))
551 (file-name (git-file-name name version))
554 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
555 (build-system gnu-build-system)
557 `(#:tests? #f ; cmus does not include tests
559 (modify-phases %standard-phases
561 (lambda* (#:key outputs #:allow-other-keys)
562 (let ((out (assoc-ref outputs "out")))
563 ;; It's an idiosyncratic configure script that doesn't
564 ;; understand --prefix=..; it wants prefix=.. instead.
565 (invoke "./configure"
566 (string-append "prefix=" out))
568 ;; TODO: cmus optionally supports the following formats, which haven't yet
569 ;; been added to Guix:
573 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
574 ;; Guix. See <http://sourceforge.net/projects/discid/>
576 `(("pkg-config" ,pkg-config)))
578 `(("alsa-lib" ,alsa-lib)
585 ("libcdio-paranoia" ,libcdio-paranoia)
588 ("libmodplug" ,libmodplug)
589 ("libmpcdec" ,libmpcdec)
590 ("libsamplerate" ,libsamplerate)
591 ("libvorbis" ,libvorbis)
593 ("opusfile" ,opusfile)
594 ("pulseaudio" ,pulseaudio)
595 ("wavpack" ,wavpack)))
596 (home-page "https://cmus.github.io/")
597 (synopsis "Small console music player")
598 (description "Cmus is a small and fast console music player. It supports
599 many input formats and provides a customisable Vi-style user interface.")
600 (license license:gpl2+)))
602 (define-public denemo
609 (uri (string-append "mirror://gnu/denemo/denemo-" version ".tar.gz"))
611 (base32 "05kwy8894hsxr6123hc854j2qq2sxyjw721zk4g3vzz8pw29p887"))))
612 (build-system gnu-build-system)
615 (modify-phases %standard-phases
617 (lambda* (#:key inputs #:allow-other-keys)
618 ;; Tests require to write $HOME.
619 (setenv "HOME" (getcwd))
620 ;; Replace hard-coded diff file name.
621 (substitute* "tests/integration.c"
623 (string-append (assoc-ref inputs "diffutils") "/bin/diff")))
624 ;; Denemo's documentation says to use this command to run its
626 (invoke "make" "-C" "tests" "check")))
627 (add-before 'build 'set-lilypond
628 ;; This phase sets the default path for lilypond to its current
629 ;; location in the store.
630 (lambda* (#:key inputs #:allow-other-keys)
631 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
633 (substitute* "src/core/prefops.c"
634 (("g_string_new \\(\"lilypond\"\\);")
635 (string-append "g_string_new (\""
640 `(("diffutils" ,diffutils)
641 ("glib:bin" ,glib "bin") ; for gtester
643 ("intltool" ,intltool)
645 ("pkg-config" ,pkg-config)))
647 `(("alsa-lib" ,alsa-lib)
651 ("fluidsynth" ,fluidsynth)
654 ("gtksourceview" ,gtksourceview-3)
657 ("libsndfile" ,libsndfile)
659 ("lilypond" ,lilypond)
660 ("portaudio" ,portaudio)
661 ("portmidi" ,portmidi)
662 ("rubberband" ,rubberband)))
663 (synopsis "Graphical music notation, front-end to GNU Lilypond")
665 "GNU Denemo is a music notation editor that provides a convenient
666 interface to the powerful music engraving program Lilypond. Music can be
667 typed in using the computer keyboard, played in using a MIDI keyboard, or
668 even input via a microphone connected to the sound card. The final product
669 is publication-quality music notation that is continuously generated in the
670 background while you work.")
671 (home-page "http://www.denemo.org")
672 (license license:gpl3+)))
682 (url "https://github.com/kode54/dumb")
685 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
686 (file-name (git-file-name name version))))
687 (build-system cmake-build-system)
689 '(#:tests? #f ; no check target
691 (list "-DBUILD_SHARED_LIBS=ON"
692 "-DBUILD_EXAMPLES=OFF")))
693 (home-page "https://github.com/kode54/dumb")
694 (synopsis "Module audio renderer library")
696 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
697 targets maximum accuracy to the original formats, with low-pass resonant filters
698 for the IT files, accurate timing and pitching, and three resampling quality
699 settings (aliasing, linear interpolation and cubic interpolation).")
700 ;; The DUMB license is a bit peculiar.
701 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
702 ;; the first three clauses for genuine consideration.
703 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
704 ;; license, a known free software license.
705 ;; Therefore, the DUMB license may be considered a free software license.
706 (license (license:fsf-free "file://LICENSE"))))
708 (define-public dumb-allegro4
711 (name "dumb-allegro4")
713 (substitute-keyword-arguments (package-arguments dumb)
714 ((#:configure-flags flags)
715 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
717 `(("allegro" ,allegro-4)))))
719 (define-public hydrogen
727 (url "https://github.com/hydrogen-music/hydrogen")
729 (file-name (git-file-name name version))
731 (base32 "0nhn2njs8yyxcijxv5zgymf3211y6anzm0v9kn4vnd8kai7zwxxp"))))
732 (build-system cmake-build-system)
734 `(#:test-target "tests"
736 (modify-phases %standard-phases
737 (add-after 'unpack 'fix-data-directory
738 (lambda* (#:key outputs #:allow-other-keys)
739 (substitute* "CMakeLists.txt"
740 (("/usr/share/pixmaps")
741 (string-append (assoc-ref outputs "out")
745 `(("cppunit" ,cppunit)
746 ("pkg-config" ,pkg-config)
747 ("qtlinguist" ,qttools)))
749 `(("alsa-lib" ,alsa-lib)
751 ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set
753 ("libarchive" ,libarchive)
755 ("libsndfile" ,libsndfile)
757 ("pulseaudio" ,pulseaudio)
759 ("qtxmlpatterns" ,qtxmlpatterns)
761 (home-page "http://www.hydrogen-music.org")
762 (synopsis "Drum machine")
764 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
765 enable professional yet simple and intuitive pattern-based drum programming.")
766 (license license:gpl2+)))
768 (define-public easytag
774 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
778 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
779 (build-system glib-or-gtk-build-system)
781 `(("desktop-file-utils" ,desktop-file-utils)
783 ("intltool" ,intltool)
785 ("pkg-config" ,pkg-config)
786 ("xmllint" ,libxml2)))
791 ("libid3tag" ,libid3tag)
792 ("libvorbis" ,libvorbis)
793 ("opusfile" ,opusfile)
800 (modify-phases %standard-phases
801 (add-before 'configure 'configure-libid3tag
802 (lambda* (#:key inputs #:allow-other-keys)
803 ;; libid3tag does not provide a .pc file and EasyTAG's configure
804 ;; script healivy relies on pkg-config. Providing a temporary
805 ;; local .pc file is easier than patching the configure script.
806 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
807 (mkdir-p "pkgconfig")
809 "pkgconfig/id3tag.pc"
813 libdir=${prefix}/lib~@
814 includedir=${prefix}/include~@
819 Libs: -L${libdir} -lid3tag -lz~@
820 Cflags: -I${includedir}~%"
822 (setenv "PKG_CONFIG_PATH"
823 (string-append (getenv "PKG_CONFIG_PATH")
824 ":" (getcwd) "/pkgconfig"))
826 (add-after 'unpack 'patch-makefile
828 (substitute* "Makefile.in"
829 ;; The Makefile generates a test-desktop-file-validate.sh
830 ;; script with /bin/sh hard-coded.
831 (("/bin/sh") (which "sh"))
832 ;; Don't create 'icon-theme.cache'.
833 (("gtk-update-icon-cache") "true"))
835 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
836 (synopsis "Simple application for viewing and editing tags in audio files")
838 "EasyTAG is an application for viewing and editing tags in audio files.
839 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
840 MusePack, Monkey's Audio, and WavPack files.")
841 (license license:gpl2+)))
843 (define-public extempore
850 (url "https://github.com/digego/extempore")
851 (commit (string-append "v" version))))
854 "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp"))
855 (file-name (git-file-name name version))
856 (patches (search-patches
857 "extempore-unbundle-external-dependencies.patch"))
858 (modules '((guix build utils)))
861 ;; Remove bundled sources.
862 (map delete-file-recursively
866 (build-system cmake-build-system)
868 `(#:configure-flags (list "-DJACK=ON"
870 "-DEXTERNAL_SHLIBS_AUDIO=OFF"
871 "-DEXTERNAL_SHLIBS_GRAPHICS=OFF"
872 "-DCMAKE_BUILD_TYPE=Release"
873 (string-append "-DEXT_SHARE_DIR="
874 (assoc-ref %outputs "out")
876 #:modules ((ice-9 match)
877 (guix build cmake-build-system)
880 (modify-phases %standard-phases
881 (add-after 'build 'build-aot-libs
883 (for-each (lambda (target)
884 (invoke "make" target))
889 (add-after 'unpack 'patch-install-locations
890 (lambda* (#:key outputs #:allow-other-keys)
891 (substitute* "CMakeLists.txt"
892 (("EXT_SHARE_DIR=\"\\.\"\\)")
893 "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")")
894 (("DESTINATION \"\\.\"\\)") "DESTINATION bin)")
895 (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n"))
897 (add-after 'unpack 'patch-directories
898 (lambda* (#:key outputs #:allow-other-keys)
899 (substitute* "extras/extempore.el"
900 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
901 (string-append "(runtime-directory \""
902 (assoc-ref outputs "out")
903 "/share/extempore/runtime"
906 (add-after 'unpack 'link-with-additional-libs
908 ;; The executable must be linked with libffi and zlib.
909 (substitute* "CMakeLists.txt"
910 (("target_link_libraries\\(extempore PRIVATE dl" line)
911 (string-append line " ffi z")))
913 ;; FIXME: All examples that are used as tests segfault for some
915 (add-after 'unpack 'disable-broken-tests
917 (substitute* "CMakeLists.txt"
918 (("extempore_add_example_as_test\\(.*") ""))
920 (add-after 'unpack 'hardcode-external-lib-paths
921 (lambda* (#:key inputs #:allow-other-keys)
922 (use-modules (ice-9 match))
925 ((file-name lib pkg-name)
926 (substitute* (string-append "libs/external/" file-name ".xtm")
927 ((lib) (string-append (assoc-ref inputs pkg-name)
929 '(("assimp" "libassimp.so" "assimp")
930 ("portmidi" "libportmidi.so" "portmidi")
931 ("sndfile" "libsndfile.so" "libsndfile")
932 ("fft" "libkiss_fft.so" "kiss-fft")
933 ("stb_image" "libstb_image.so" "stb-image")
934 ("nanovg" "libnanovg.so" "nanovg")
935 ("glext" "libGL.so" "mesa")
936 ("glfw3" "libglfw.so" "glfw")
937 ("gl/glcore-directbind" "libGL.so" "mesa")
938 ("gl/glcompat-directbind" "libGL.so" "mesa")))
940 (add-after 'unpack 'use-own-llvm
941 (lambda* (#:key inputs #:allow-other-keys)
942 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
943 ;; Our LLVM builds shared libraries, so Extempore should use
945 (substitute* "CMakeLists.txt"
946 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
948 (add-after 'unpack 'fix-aot-compilation
949 (lambda* (#:key outputs #:allow-other-keys)
950 (substitute* "CMakeLists.txt"
951 ;; Extempore needs to be told where the runtime is to be found.
952 ;; While we're at it we disable automatic tuning for a specific
953 ;; CPU to make binary substitution possible.
954 (("COMMAND extempore" prefix)
955 (string-append prefix " --sharedir " (getcwd)
956 " --mcpu=generic --attr=none")))
962 (name "llvm-for-extempore")
966 (uri (string-append "http://extempore.moso.com.au/extras/"
967 "llvm-3.8.0.src-patched-for-extempore.tar.xz"))
970 "1svdl6fxn8l01ni8mpm0bd5h856ahv3h9sdzgmymr6fayckjvqzs"))))))
973 ("libsndfile" ,libsndfile)
977 ,(let ((revision "1")
978 (commit "152a250a702bf28951bb0220d63bc0c99830c498"))
981 (name "stb-image-for-extempore")
982 (version (git-version "0" revision commit))
984 (origin (method git-fetch)
986 (url "https://github.com/extemporelang/stb")
990 "0y0aa20pj9311x2ii06zg8xs34idg14hfgldqc5ymizc6cf1qiqv"))
991 (file-name (git-file-name name version))))
992 (build-system cmake-build-system)
993 (arguments `(#:tests? #f)) ;no tests included
995 ("kiss-fft" ,kiss-fft-for-extempore)
996 ("nanovg" ,nanovg-for-extempore)
998 ,(let ((version "217")
1000 (commit "8602f548f71daf5ef638b2f7d224753400cb2158"))
1003 (name "portmidi-for-extempore")
1004 (version (git-version version revision commit))
1008 (url "https://github.com/extemporelang/portmidi")
1010 (file-name (git-file-name name version))
1013 "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w"))))
1014 (build-system cmake-build-system)
1015 (arguments `(#:tests? #f)) ;no tests
1016 (native-inputs '()))))
1018 ("alsa-lib" ,alsa-lib)
1019 ("portaudio" ,portaudio)
1025 ("emacs" ,emacs-no-x)))
1026 ;; Extempore refuses to build on architectures other than x86_64
1027 (supported-systems '("x86_64-linux"))
1028 (home-page "https://github.com/digego/extempore")
1029 (synopsis "Programming environment for live coding of multimedia")
1031 "Extempore is a programming language and runtime environment designed
1032 with live programming in mind. It supports interactive programming in a REPL
1033 style, compiling and binding code just-in-time. Although Extempore has its
1034 roots in 'live coding' of audiovisual media art, it is suitable for any task
1035 domain where dynamic run-time modifiability and good numerical performance are
1036 required. Extempore also has strong timing and concurrency semantics, which
1037 are helpful when working in problem spaces where timing is important (such as
1039 (license license:bsd-2)))
1041 (define-public fluida-lv2
1050 (url "https://github.com/brummer10/Fluida.lv2")
1051 (commit (string-append "v" version))
1052 (recursive? #t))) ; references specific commit of libxputty
1053 (file-name (git-file-name name version))
1056 "1v0bh4wcx79y832qigc3my8ixq0r4ica6z5fg2rg946pkh20x1a2"))))
1057 (build-system gnu-build-system)
1059 `(#:tests? #f ; no "check" target
1061 (list (string-append "INSTALL_DIR="
1062 (assoc-ref %outputs "out") "/lib/lv2")
1065 (modify-phases %standard-phases
1066 (delete 'configure))))
1071 ("fluidsynth" ,fluidsynth)))
1073 `(("pkg-config" ,pkg-config)))
1074 (home-page "https://github.com/brummer10/Fluida.lv2")
1075 (synopsis "Fluidsynth as an LV2 audio plugin")
1076 (description "Fluida is an audio plugin in the LV2 format that acts as
1077 a frontend for fluidsynth.")
1078 (license license:gpl2+)))
1080 (define-public surge-synth
1082 (name "surge-synth")
1088 (url "https://github.com/surge-synthesizer/surge")
1089 (commit (string-append "release_" version))
1090 (recursive? #t))) ; build system expects modules to be there
1091 (file-name (git-file-name name version))
1094 "1jhk8iaqh89dnci4446b47315v2lc8gclraygk8m9jl20zpjxl0l"))))
1095 (build-system cmake-build-system)
1097 `(#:tests? #f ; no tests included
1099 (modify-phases %standard-phases
1100 (add-after 'unpack 'replace-python
1101 (lambda* (#:key inputs outputs #:allow-other-keys)
1102 (substitute* "CMakeLists.txt"
1104 (string-append " " (assoc-ref inputs "python")
1107 (add-after 'unpack 'fix-data-directory-name
1108 (lambda* (#:key inputs outputs #:allow-other-keys)
1109 (substitute* "src/common/SurgeStorage.cpp"
1110 (("/usr") (assoc-ref outputs "out")))
1112 (replace 'install ; no install target
1113 (lambda* (#:key inputs outputs #:allow-other-keys)
1114 (let* ((src (assoc-ref inputs "source"))
1115 (out (assoc-ref outputs "out"))
1116 (share (string-append out "/share"))
1117 (lib (string-append out "/lib"))
1118 (lv2 (string-append lib "/lv2"))
1119 (vst3 (string-append lib "/vst3")))
1122 ;; Install LV2 plugin.
1123 (copy-recursively "surge_products/Surge.lv2"
1124 (string-append lv2 "/Surge.lv2"))
1125 ;; Install VST3 plugin.
1126 (copy-recursively "surge_products/Surge.vst3"
1127 (string-append vst3 "/Surge.vst3"))
1129 (copy-recursively (string-append src "/resources/data")
1130 (string-append share "/Surge"))
1134 ("libxkbcommon" ,libxkbcommon)
1136 ("xcb-util" ,xcb-util)
1137 ("xcb-util-cursor" ,xcb-util-cursor)
1138 ("xcb-util-keysyms" ,xcb-util-keysyms)))
1140 `(("pkg-config" ,pkg-config)))
1141 (home-page "https://surge-synthesizer.github.io/")
1142 (synopsis "Synthesizer plugin")
1144 "Surge is a subtractive hybrid digital synthesizer. Each patch contains
1145 two @dfn{scenes} which are separate instances of the entire synthesis
1146 engine (except effects) that can be used for layering or split patches.")
1147 (license license:gpl3+)))
1149 (define-public klick
1155 (uri (string-append "http://das.nasophon.de/download/klick-"
1159 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
1160 (build-system scons-build-system)
1162 `(#:scons-flags (list (string-append "PREFIX=" %output))
1163 #:scons ,scons-python2
1164 #:tests? #f ; no "check" target
1166 (modify-phases %standard-phases
1167 (add-after 'unpack 'be-permissive
1169 (substitute* "SConstruct"
1170 (("'-Wall'") "'-Wall', '-fpermissive'"))
1172 (add-after 'unpack 'replace-removed-scons-syntax
1174 (substitute* "SConstruct"
1175 (("BoolOption") "BoolVariable")
1176 (("PathOption") "PathVariable")
1177 (("Options") "Variables"))
1182 ("libsndfile" ,libsndfile)
1183 ("libsamplerate" ,libsamplerate)
1185 ("rubberband" ,rubberband)))
1187 `(("pkg-config" ,pkg-config)))
1188 (home-page "http://das.nasophon.de/klick/")
1189 (synopsis "Metronome for JACK")
1191 "klick is an advanced command-line based metronome for JACK. It allows
1192 you to define complex tempo maps for entire songs or performances.")
1193 (license license:gpl2+)))
1202 (url "https://github.com/sahib/glyr")
1204 (file-name (git-file-name name version))
1207 "1miwbqzkhg0v3zysrwh60pj9sv6ci4lzq2vq2hhc6pc6hdyh8xyr"))))
1208 (build-system cmake-build-system)
1210 '(#:configure-flags '("-DTEST=true")
1212 (modify-phases %standard-phases
1213 (add-after 'unpack 'patch-tests
1215 (substitute* "spec/capi/check_api.c"
1216 (("fail_unless \\(c != NULL,\"Could not load www.google.de\"\\);")
1220 (lambda* (#:key tests? #:allow-other-keys)
1223 (invoke "bin/check_api")
1224 ;; (invoke "bin/check_opt") TODO Very dependent on the network
1225 (invoke "bin/check_dbc"))
1227 ;; TODO Work out how to run the spec/providers Python tests
1232 ("sqlite" ,sqlite)))
1234 `(("pkg-config" ,pkg-config)
1236 (home-page "https://github.com/sahib/glyr")
1237 (synopsis "Search engine for music related metadata")
1239 "Glyr comes both in a command-line interface tool (@command{glyrc}) and
1240 as a C library (libglyr).
1242 The sort of metadata glyr is searching (and downloading) is usually the data
1243 you see in your musicplayer. And indeed, originally it was written to serve
1244 as internally library for a musicplayer, but has been extended to work as a
1245 standalone program which is able to download cover art, lyrics, photos,
1246 biographies, reviews and more.")
1247 (license license:lgpl3+)))
1249 (define-public gtklick
1255 (uri (string-append "http://das.nasophon.de/download/gtklick-"
1259 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
1260 (build-system python-build-system)
1262 `(#:tests? #f ; no tests
1265 (modify-phases %standard-phases
1266 (add-before 'build 'add-sitedirs
1267 ;; .pth files are not automatically interpreted unless the
1268 ;; directories containing them are added as "sites". The directories
1269 ;; are then added to those in the PYTHONPATH. This is required for
1270 ;; the operation of pygtk.
1272 (substitute* "gtklick/gtklick.py"
1274 "import pygtk, site, sys
1275 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
1276 (add-after 'unpack 'inject-store-path-to-klick
1277 (lambda* (#:key inputs #:allow-other-keys)
1278 (substitute* "gtklick/klick_backend.py"
1279 (("KLICK_PATH = 'klick'")
1280 (string-append "KLICK_PATH = '"
1281 (assoc-ref inputs "klick")
1286 ("python2-pyliblo" ,python2-pyliblo)
1287 ("python2-pygtk" ,python2-pygtk)))
1289 `(("gettext" ,gettext-minimal)))
1290 (home-page "http://das.nasophon.de/gtklick/")
1291 (synopsis "Simple metronome with an easy-to-use graphical interface")
1293 "Gtklick is a simple metronome with an easy-to-use graphical user
1294 interface. It is implemented as a frontend to @code{klick}.")
1295 (license license:gpl2+)))
1297 (define-public libgme
1303 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
1304 "downloads/game-music-emu-" version
1308 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
1309 (build-system cmake-build-system)
1311 '(#:tests? #f)) ; no check target
1312 (home-page "https://bitbucket.org/mpyne/game-music-emu")
1313 (synopsis "Video game music file playback library")
1315 "Game-music-emu is a collection of video game music file emulators that
1316 support the following formats and systems:
1319 ZX Spectrum/Asmtrad CPC
1323 Sega Genesis/Mega Drive
1325 NEC TurboGrafx-16/PC Engine
1327 MSX Home Computer/other Z80 systems (doesn't support FM sound)
1329 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
1331 Atari systems using POKEY sound chip
1333 Super Nintendo/Super Famicom
1335 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
1337 (license (list license:lgpl2.1+
1338 ;; demo and player directories are under the Expat license
1341 (define-public ninjas2
1350 (url "https://github.com/clearly-broken-software/ninjas2")
1351 (commit (string-append "v" version))
1352 ;; Bundles a specific commit of the DISTRHO plugin framework.
1354 (file-name (git-file-name name version))
1356 (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
1357 (build-system gnu-build-system)
1359 `(#:tests? #f ;no tests
1361 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1362 (string-append "CC=" ,(cc-for-target)))
1364 (modify-phases %standard-phases
1365 (delete 'configure) ;no configure target
1366 (replace 'install ;no install target
1367 (lambda* (#:key outputs #:allow-other-keys)
1368 (let* ((out (assoc-ref outputs "out"))
1369 (bin (string-append out "/bin"))
1370 (lv2 (string-append out "/lib/lv2")))
1374 (copy-recursively file
1375 (string-append lv2 "/" (basename file))))
1376 (find-files "bin" "\\.lv2$" #:directories? #t))
1377 ;; Install executables.
1380 (install-file file bin))
1384 (equal? (dirname name) "bin")
1385 (not (string-suffix? ".so" name))
1386 (not (string-suffix? ".lv2" name))))))
1390 ("jack" ,jack-1) ; for the standalone JACK application
1391 ("libsamplerate" ,libsamplerate)
1393 ("libsndfile" ,libsndfile)))
1395 `(("ladspa" ,ladspa)
1397 ("pkg-config" ,pkg-config)))
1398 (synopsis "Sample slicer audio plugin")
1400 "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
1401 Its goal is to be an easy to use sample slicer with quick slicing of samples
1402 and auto-mapping slices to MIDI note numbers.")
1403 (home-page "https://github.com/clearly-broken-software/ninjas2")
1404 (license license:gpl3+)))
1406 (define-public lilypond
1413 (uri (string-append "http://lilypond.org/download/sources/"
1414 "v" (version-major+minor version) "/"
1415 "lilypond-" version ".tar.gz"))
1417 (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar"))))
1418 (build-system gnu-build-system)
1420 `(#:tests? #f ;out-test/collated-files.html fails
1422 #:make-flags '("conf=www") ;to generate images for info manuals
1424 (list "CONFIGURATION=www"
1425 (string-append "--with-texgyre-dir="
1426 (assoc-ref %build-inputs "font-tex-gyre")
1427 "/share/fonts/opentype/"))
1429 (modify-phases %standard-phases
1430 (add-after 'unpack 'use-texlive-union
1432 ;; FIXME: fonts are not found and have to be generated in HOME.
1433 (setenv "HOME" "/tmp")
1434 ;; The test for the "lh" package fails, even though it is among
1436 (substitute* "configure"
1437 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
1439 (add-after 'unpack 'fix-path-references
1441 (substitute* "scm/backend-library.scm"
1442 (("\\(search-executable '\\(\"gs\"\\)\\)")
1443 (string-append "\"" (which "gs") "\""))
1445 (string-append "\"" (which "sh") "\"")))
1447 (add-before 'configure 'prepare-configuration
1449 (substitute* "configure"
1450 (("SHELL=/bin/sh") "SHELL=sh")
1451 ;; When checking the fontforge version do not consider the
1452 ;; version string that's part of the directory.
1453 (("head -n") "tail -n")
1454 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
1455 (("20110222") "19700101"))
1456 (setenv "out" "www")
1457 (setenv "conf" "www")
1459 (add-after 'install 'install-info
1462 "-j" (number->string (parallel-job-count))
1463 "conf=www" "install-info")
1466 `(("guile" ,guile-1.8)
1467 ("font-dejavu" ,font-dejavu)
1468 ("font-tex-gyre" ,font-tex-gyre)
1469 ("fontconfig" ,fontconfig)
1470 ("freetype" ,freetype)
1471 ("ghostscript" ,ghostscript)
1473 ("python" ,python-2)))
1478 ("fontforge" ,fontforge)
1479 ("dblatex" ,dblatex)
1480 ("gettext" ,gettext-minimal)
1481 ("imagemagick" ,imagemagick)
1482 ("netpbm" ,netpbm) ;for pngtopnm
1483 ("texlive" ,(texlive-union (list texlive-metapost
1484 texlive-generic-epsf
1486 texlive-latex-cyrillic)))
1487 ("texinfo" ,texinfo)
1488 ("texi2html" ,texi2html-1.82)
1490 ("pkg-config" ,pkg-config)
1492 (home-page "http://www.lilypond.org/")
1493 (synopsis "Music typesetting")
1495 "GNU LilyPond is a music typesetter, which produces high-quality sheet
1496 music. Music is input in a text file containing control sequences which are
1497 interpreted by LilyPond to produce the final document. It is extendable with
1499 (license license:gpl3+)
1501 ;; On armhf and mips64el, building the documentation sometimes leads to
1502 ;; more than an hour of silence, so double the max silent time.
1503 (properties `((max-silent-time . 7200)))))
1505 (define-public python-abjad
1507 (name "python-abjad")
1513 (url "https://github.com/Abjad/abjad")
1514 (commit (string-append "v" version))))
1515 (file-name (git-file-name name version))
1518 "1dzf5v7pawbzkb4qxp4s5z4r3gibkk705pag83yvgzkx6fd6jf2g"))))
1519 (build-system python-build-system)
1522 (modify-phases %standard-phases
1523 (add-after 'unpack 'patch-source
1525 (substitute* "setup.py"
1526 (("uqbar>=0.5.1, <0.5.0") "uqbar>=0.5.0"))
1529 (lambda* (#:key tests? #:allow-other-keys)
1531 ;; See: https://stackoverflow.com/a/34140498
1532 (invoke "python" "-m" "pytest" "tests")
1535 `(("lilypond" ,lilypond)
1536 ("python-black" ,python-black)
1537 ("python-flake8" ,python-flake8)
1538 ("python-iniconfig" ,python-iniconfig)
1539 ("python-isort" ,python-isort)
1540 ("python-mypy" ,python-mypy)
1541 ("python-ply" ,python-ply)
1542 ("python-pytest" ,python-pytest-6)
1543 ("python-pytest-cov" ,python-pytest-cov)
1544 ("python-sphinx-autodoc-typehints" ,python-sphinx-autodoc-typehints)))
1546 `(("python-quicktions" ,python-quicktions)
1547 ("python-roman" ,python-roman)
1548 ("python-six" ,python-six)
1549 ("python-uqbar" ,python-uqbar)))
1550 (home-page "https://abjad.github.io")
1551 (synopsis "Python API for building LilyPond files")
1553 "This package provides a Python API for building LilyPond files.")
1554 (license license:expat)))
1556 (define-public non-sequencer
1557 ;; The latest tagged release is three years old and uses a custom build
1558 ;; system, so we take the last commit.
1559 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1562 (name "non-sequencer")
1563 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
1567 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1571 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
1572 (file-name (string-append name "-" version "-checkout"))))
1573 (build-system waf-build-system)
1575 `(#:tests? #f ;no "check" target
1577 (list "--project=sequencer"
1578 ;; Disable the use of SSE unless on x86_64.
1579 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1580 (%current-system))))
1583 #:python ,python-2))
1586 ("libsigc++" ,libsigc++)
1590 `(("pkg-config" ,pkg-config)))
1591 (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer")
1592 (synopsis "Pattern-based MIDI sequencer")
1594 "The Non Sequencer is a powerful, lightweight, real-time,
1595 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1596 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1597 Sequencer happens on-line, in real-time. Music can be composed live, while the
1598 transport is rolling.")
1599 (license license:gpl2+))))
1601 (define-public non-session-manager
1602 (package (inherit non-sequencer)
1603 (name "non-session-manager")
1605 (substitute-keyword-arguments (package-arguments non-sequencer)
1606 ((#:configure-flags flags)
1607 `(cons "--project=session-manager"
1608 (delete "--project=sequencer" ,flags)))))
1614 `(("pkg-config" ,pkg-config)))
1615 (home-page "https://non.tuxfamily.org/nsm/")
1616 (synopsis "Audio session management")
1618 "The Non Session Manager is an API and an implementation for audio
1619 session management. NSM clients use a well-specified OSC protocol to
1620 communicate with the session management daemon.")
1621 (license license:gpl2+)))
1623 (define-public non-mixer
1624 (package (inherit non-sequencer)
1627 (substitute-keyword-arguments (package-arguments non-sequencer)
1628 ((#:configure-flags flags)
1629 `(cons "--project=mixer"
1630 (delete "--project=sequencer" ,flags)))))
1638 `(("pkg-config" ,pkg-config)))
1639 (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
1640 (synopsis "Modular digital audio mixer")
1642 "The Non Mixer is a powerful, reliable and fast modular digital audio
1643 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1644 toolkit for a fast and lightweight user interface. Non Mixer can be used
1645 alone or in concert with Non Timeline and Non Sequencer to form a complete
1647 (license license:gpl2+)))
1649 (define-public non-timeline
1650 (package (inherit non-sequencer)
1651 (name "non-timeline")
1653 (substitute-keyword-arguments (package-arguments non-sequencer)
1654 ((#:configure-flags flags)
1655 `(cons "--project=timeline"
1656 (delete "--project=sequencer" ,flags)))))
1660 ("libsndfile" ,libsndfile)
1663 `(("pkg-config" ,pkg-config)))
1664 (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
1665 (synopsis "Modular digital audio timeline arranger")
1667 "The Non Timeline is a powerful, reliable and fast modular digital audio
1668 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1669 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1670 be used alone or in concert with Non Mixer and Non Sequencer to form a
1672 (license license:gpl2+)))
1674 (define-public tascam-gtk
1675 ;; This commit represents the latest version at the time of this writing.
1676 (let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
1680 (version (git-version "0.4" revision commit))
1684 (url "https://github.com/onkelDead/tascam-gtk")
1686 (file-name (git-file-name name version))
1689 "07k7rccqqg7lnygkh97a200l1i6s1rl92n01v0q6n4257sinir6f"))))
1690 (build-system gnu-build-system)
1694 ("alsa-lib" ,alsa-lib)
1695 ("libxmlplusplus" ,libxmlplusplus-2.6)))
1697 `(("glib:bin" ,glib "bin")
1698 ("pkg-config" ,pkg-config)))
1699 (home-page "https://github.com/onkelDead/tascam-gtk")
1700 (synopsis "GTK+ based application to control Tascam US-16x08 DSP mixer")
1701 (description "This is a mixer application to control the Tascam US-16x08
1702 audio interface. This device contains about 280 control elements and this
1703 mixer application aims to provide comfortable access to the DSP effects the
1705 (license license:expat))))
1707 (define-public bsequencer
1714 (url "https://github.com/sjaehn/BSEQuencer")
1716 (file-name (git-file-name name version))
1719 "0w7iwzz2r4a699fi24qk71vv2k3jpl9ylzlgmvyc3rlgad0m01k1"))))
1720 (build-system gnu-build-system)
1723 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1724 #:tests? #f ; there are none
1726 (modify-phases %standard-phases
1727 (delete 'configure))))
1731 ("libx11" ,libx11)))
1733 `(("pkg-config" ,pkg-config)))
1734 (home-page "https://github.com/sjaehn/BSEQuencer")
1735 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1737 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1738 with a selectable pattern matrix size.")
1739 (license license:gpl3+)))
1741 (define-public bchoppr
1743 (inherit bsequencer)
1750 (url "https://github.com/sjaehn/BChoppr")
1752 (file-name (git-file-name name version))
1755 "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"))))
1756 (synopsis "Audio stream-chopping LV2 plugin")
1757 (description "B.Choppr cuts the audio input stream into a repeated
1758 sequence of up to 16 chops. Each chop can be leveled up or down (gating).
1759 B.Choppr is the successor of B.Slizr.")
1760 (home-page "https://github.com/sjaehn/BChoppr")
1761 (license license:gpl3+)))
1763 (define-public bshapr
1765 (inherit bsequencer)
1772 (url "https://github.com/sjaehn/BShapr")
1773 (commit (string-append "v" version))))
1774 (file-name (git-file-name name version))
1776 (base32 "04zd3a178i2nivg5rjailzqvc5mlnilmhj1ziygmbhshbrywplri"))))
1777 (synopsis "Beat/envelope shaper LV2 plugin")
1778 (description "B.Shapr is a beat/envelope shaper LV2 plugin.")
1779 (home-page "https://github.com/sjaehn/BShapr")
1780 (license license:gpl3+)))
1782 (define-public bjumblr
1784 (inherit bsequencer)
1791 (url "https://github.com/sjaehn/BJumblr")
1793 (file-name (git-file-name name version))
1796 "0kl6hrxmqrdf0195bfnzsa2h1073fgiqrfhg2276fm1954sm994v"))))
1799 ("libsndfile" ,libsndfile)
1801 (synopsis "Pattern-controlled audio stream/sample re-sequencer LV2 plugin")
1802 (description "B.Jumblr is a pattern-controlled audio stream / sample
1803 re-sequencer LV2 plugin.")
1804 (home-page "https://github.com/sjaehn/BJumblr")
1805 (license license:gpl3+)))
1807 (define-public bschaffl
1809 (inherit bsequencer)
1816 (url "https://github.com/sjaehn/BSchaffl")
1818 (file-name (git-file-name name version))
1821 "1c09acqrbd387ba41f8ch1qykdap5h6cg9if5pgd16i4dmjnpghj"))))
1824 ("fontconfig" ,fontconfig)
1825 ("libsndfile" ,libsndfile)
1828 (home-page "https://github.com/sjaehn/BSchaffl")
1829 (synopsis "Pattern-controlled MIDI amp & time stretch LV2 plugin")
1830 (description "This package provides an LV2 plugin that allows for
1831 pattern-controlled MIDI amp & time stretching to produce shuffle / swing
1834 Key features include:
1837 @item MIDI velocity amplification and timing manipulation plugin
1838 @item Swing and shuffle rhythms
1839 @item Pre-generator dynamics
1841 @item Pattern (sliders) or shape-controlled
1843 @item Smart quantization
1846 (license license:gpl3+)))
1848 (define-public solfege
1855 "mirror://gnu/solfege/solfege-"
1859 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1860 (build-system gnu-build-system)
1862 `(#:tests? #f ; xmllint attempts to download DTD
1863 #:test-target "test"
1865 (modify-phases %standard-phases
1866 (add-after 'unpack 'fix-configuration
1867 (lambda* (#:key inputs #:allow-other-keys)
1868 (substitute* "default.config"
1869 (("/usr/bin/aplay") "aplay")
1870 (("/usr/bin/timidity") "timidity")
1871 (("/usr/bin/mpg123") "mpg123")
1872 (("/usr/bin/ogg123") "ogg123"))
1874 (add-before 'build 'patch-python-shebangs
1876 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1878 (substitute* '("solfege/parsetree.py"
1879 "solfege/presetup.py")
1880 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1882 (add-before 'build 'add-sitedirs
1883 ;; .pth files are not automatically interpreted unless the
1884 ;; directories containing them are added as "sites". The directories
1885 ;; are then added to those in the PYTHONPATH. This is required for
1886 ;; the operation of pygtk and pygobject.
1888 (substitute* "run-solfege.py"
1891 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1893 (add-before 'build 'adjust-config-file-prefix
1894 (lambda* (#:key outputs #:allow-other-keys)
1895 (substitute* "run-solfege.py"
1896 (("prefix = os.path.*$")
1897 (string-append "prefix = " (assoc-ref outputs "out"))))
1899 (add-after 'install 'wrap-program
1900 (lambda* (#:key inputs outputs #:allow-other-keys)
1901 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1902 (let* ((out (assoc-ref outputs "out"))
1903 (path (getenv "PYTHONPATH")))
1904 (wrap-program (string-append out "/bin/solfege")
1905 `("PYTHONPATH" ":" prefix (,path))))
1908 `(("python" ,python-2)
1909 ("pygtk" ,python2-pygtk)
1910 ("gettext" ,gettext-minimal)
1912 ("lilypond" ,lilypond)))
1914 `(("pkg-config" ,pkg-config)
1915 ("txt2man" ,txt2man)
1916 ("libxml2" ,libxml2) ; for tests
1917 ("ghostscript" ,ghostscript)
1918 ("texinfo" ,texinfo-5)))
1919 (home-page "https://www.gnu.org/software/solfege/")
1920 (synopsis "Ear training")
1922 "GNU Solfege is a program for practicing musical ear-training. With it,
1923 you can practice your recognition of various musical intervals and chords. It
1924 features a statistics overview so you can monitor your progress across several
1925 sessions. Solfege is also designed to be extensible so you can easily write
1927 (license license:gpl3+)))
1929 (define-public powertabeditor
1931 (name "powertabeditor")
1932 (version "2.0.0-alpha14")
1936 (url "https://github.com/powertab/powertabeditor")
1938 (file-name (git-file-name name version))
1941 "1wsvni2aa9h2bpndlic7ckch4n600ahwm56n521y5vxivwjx3jmj"))))
1942 (build-system cmake-build-system)
1945 (modify-phases %standard-phases
1946 (replace 'check (lambda _ (invoke "bin/pte_tests")))
1947 (add-after 'unpack 'fix-pugixml-detection
1949 (substitute* "cmake/third_party/pugixml.cmake"
1950 (("add_library") "#add_library"))
1953 `(("alsa-lib" ,alsa-lib)
1955 ("minizip" ,minizip)
1956 ("pugixml" ,pugixml)
1958 ("rapidjson" ,rapidjson)
1960 ("timidity" ,timidity++)
1963 `(("doctest" ,doctest)
1964 ("pkg-config" ,pkg-config)))
1965 (home-page "https://github.com/powertab/powertabedito")
1966 (synopsis "Guitar tablature editor")
1968 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1969 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1970 (license license:gpl3+)))
1972 (define-public jalv-select
1974 (name "jalv-select")
1979 (url "https://github.com/brummer10/jalv_select")
1980 (commit (string-append "v" version))))
1981 (file-name (git-file-name name version))
1984 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
1985 (build-system gnu-build-system)
1988 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1990 (modify-phases %standard-phases
1992 (add-after 'unpack 'ignore-PATH
1993 (lambda* (#:key inputs #:allow-other-keys)
1994 (substitute* "jalv.select.cpp"
1995 (("echo \\$PATH.*tr ':'.*xargs ls")
1996 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1998 (add-before 'reset-gzip-timestamps 'make-manpages-writable
1999 (lambda* (#:key outputs #:allow-other-keys)
2000 (for-each make-file-writable
2001 (find-files (string-append (assoc-ref outputs "out")
2009 ("gtkmm" ,gtkmm-2)))
2011 `(("pkg-config" ,pkg-config)))
2012 (home-page "https://github.com/brummer10/jalv_select")
2013 (synopsis "GUI to select LV2 plugins and run them with jalv")
2015 "The jalv.select package provides a graphical user interface allowing
2016 users to select LV2 plugins and run them with jalv.")
2017 (license license:public-domain)))
2019 (define-public synthv1
2026 (string-append "mirror://sourceforge/synthv1/synthv1/" version
2027 "/synthv1-" version ".tar.gz"))
2030 "0wg4ywkqf307vln0y923p083xacb5ahr2ghzvb9gmqyszd7k2v15"))))
2031 (build-system gnu-build-system)
2033 `(#:tests? #f)) ; there are no tests
2037 ("alsa-lib" ,alsa-lib)
2038 ("non-session-manager" ,non-session-manager)
2040 ("qtbase" ,qtbase)))
2042 `(("pkg-config" ,pkg-config)
2043 ("qttools" ,qttools)))
2044 (home-page "https://synthv1.sourceforge.io")
2045 (synopsis "Polyphonic subtractive synthesizer")
2047 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
2048 oscillators and stereo effects.")
2049 (license license:gpl2+)))
2051 (define-public drumkv1
2058 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
2059 "/drumkv1-" version ".tar.gz"))
2062 "1ym7kns7hfgxdwm2nzvpdm5vjxpkwb9dssjiic6rrpicv1p2v59m"))))
2063 (build-system gnu-build-system)
2065 `(#:tests? #f)) ; there are no tests
2069 ("libsndfile" ,libsndfile)
2070 ("alsa-lib" ,alsa-lib)
2071 ("non-session-manager" ,non-session-manager)
2073 ("qtbase" ,qtbase)))
2075 `(("pkg-config" ,pkg-config)
2076 ("qttools" ,qttools)))
2077 (home-page "https://drumkv1.sourceforge.io")
2078 (synopsis "Drum-kit sampler synthesizer with stereo effects")
2080 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
2082 (license license:gpl2+)))
2084 (define-public samplv1
2091 (string-append "mirror://sourceforge/samplv1/samplv1/" version
2092 "/samplv1-" version ".tar.gz"))
2095 "1kz8hcpzhrkvxpah6irz5gbah4m7knjhi4rk5hs1kwiikn7p6vgk"))))
2096 (build-system gnu-build-system)
2098 `(#:tests? #f)) ; there are no tests
2102 ("libsndfile" ,libsndfile)
2103 ("alsa-lib" ,alsa-lib)
2104 ("non-session-manager" ,non-session-manager)
2106 ("qtbase" ,qtbase)))
2108 `(("pkg-config" ,pkg-config)
2109 ("qttools" ,qttools)))
2110 (home-page "https://samplv1.sourceforge.io")
2111 (synopsis "Polyphonic sampler synthesizer with stereo effects")
2113 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
2115 (license license:gpl2+)))
2117 (define-public padthv1
2124 (string-append "mirror://sourceforge/padthv1/padthv1/" version
2125 "/padthv1-" version ".tar.gz"))
2128 "0s28l8vp9b85s4bdm18qm57dh8dx8rx7659r05p44828g4053ipl"))))
2129 (build-system gnu-build-system)
2131 `(#:tests? #f)) ; there are no tests
2135 ("alsa-lib" ,alsa-lib)
2136 ("non-session-manager" ,non-session-manager)
2139 ("qtbase" ,qtbase)))
2141 `(("pkg-config" ,pkg-config)
2142 ("qttools" ,qttools)))
2143 (home-page "https://padthv1.sourceforge.io")
2144 (synopsis "Polyphonic additive synthesizer")
2146 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
2147 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
2148 special variant of additive synthesis.")
2149 (license license:gpl2+)))
2151 (define-public amsynth
2158 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
2159 "download/release-" version
2160 "/amsynth-" version ".tar.bz2"))
2163 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
2164 (build-system gnu-build-system)
2167 (modify-phases %standard-phases
2168 (add-after 'unpack 'patch-file-names
2170 (substitute* "src/GUI/editor_pane.c"
2171 (("/usr/bin/unzip") (which "unzip")))
2172 (substitute* "src/GUI/GUI.cc"
2173 (("/usr/bin/which") (which "which")))
2176 `(("alsa-lib" ,alsa-lib)
2181 ("libsndfile" ,libsndfile)
2183 ;; External commands invoked at run time.
2187 `(("intltool" ,intltool)
2188 ("pkg-config" ,pkg-config)))
2189 (home-page "https://amsynth.github.io")
2190 (synopsis "Analog modeling synthesizer")
2192 "amsynth is an easy-to-use software synthesizer with a classic
2193 subtractive synthesizer topology. Its features include: dual
2194 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
2195 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
2196 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
2197 which can modulate the oscillators, filter, and amplitude; distortion and
2199 (license license:gpl2+)))
2201 (define-public setbfree
2208 (url "https://github.com/pantherb/setBfree")
2209 (commit (string-append "v" version))))
2210 (file-name (git-file-name name version))
2213 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
2214 (build-system gnu-build-system)
2216 `(#:tests? #f ; no "check" target
2218 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2219 (string-append "FONTFILE="
2220 (assoc-ref %build-inputs "font-bitstream-vera")
2221 "/share/fonts/truetype/VeraBd.ttf")
2222 ;; Disable unsupported optimization flags on non-x86
2223 ,@(let ((system (or (%current-target-system)
2224 (%current-system))))
2225 (if (or (string-prefix? "x86_64" system)
2226 (string-prefix? "i686" system))
2228 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
2230 (modify-phases %standard-phases
2231 (add-before 'build 'set-CC-variable
2232 (lambda _ (setenv "CC" "gcc") #t))
2233 (delete 'configure))))
2237 ("zita-convolver" ,zita-convolver)
2240 ("font-bitstream-vera" ,font-bitstream-vera)))
2242 `(("help2man" ,help2man)
2243 ("pkg-config" ,pkg-config)))
2244 (home-page "http://setbfree.org")
2245 (synopsis "Tonewheel organ")
2247 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
2248 the sound and properties of the electromechanical organs and sound
2249 modification devices that brought world-wide fame to the names and products of
2250 Laurens Hammond and Don Leslie.")
2251 (license license:gpl2+)))
2253 (define-public beast
2259 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
2263 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
2264 (build-system gnu-build-system)
2266 '(#:parallel-build? #f)) ; Race conditions cause build failures
2268 `(("rapicorn" ,rapicorn)
2269 ("guile" ,guile-1.8)
2270 ("python" ,python-2)
2271 ("libgnomecanvas" ,libgnomecanvas)
2275 ("alsa-lib" ,alsa-lib)
2276 ("libvorbis" ,libvorbis)
2277 ("gettext" ,gettext-minimal)))
2279 `(("pkg-config" ,pkg-config)
2280 ("glib:bin" ,glib "bin")
2281 ("cython" ,python2-cython)
2283 ("perl-xml-parser" ,perl-xml-parser)))
2284 (home-page "https://testbit.eu/wiki/Beast_Home")
2285 (synopsis "Music composition and modular synthesis environment")
2287 "Beast is a music composition and modular synthesis application. It
2288 supports a wide range of standards in the field, such as MIDI, various audio
2289 file formats and LADSPA modules. It allows for multitrack editing, real-time
2290 synthesis, 32bit audio rendering, precise timing down to sample granularity,
2291 on-demand and partial loading of wave files, on the fly decoding, stereo
2292 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
2293 (license license:gpl3+)))
2295 (define-public bristol
2301 (uri (string-append "mirror://sourceforge/bristol/bristol/"
2302 (version-major+minor version)
2303 "/bristol-" version ".tar.gz"))
2306 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
2307 (build-system gnu-build-system)
2310 (modify-phases %standard-phases
2311 (add-after 'unpack 'remove-sse-flags
2312 (lambda* (#:key system #:allow-other-keys)
2313 (when (not (or (string-prefix? "x86_64" system)
2314 (string-prefix? "i686" system)))
2315 (substitute* "bristol/Makefile.in"
2316 (("-msse -mfpmath=sse") "")))
2318 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
2319 ;; bristol actually doesn't use it.
2320 (add-after 'unpack 'do-not-use-alsa-iatomic
2322 (substitute* "libbristolaudio/audioEngineJack.c"
2323 (("#include <alsa/iatomic.h>") ""))
2325 ;; We know that Bristol has been linked with JACK and we don't have
2326 ;; ldd, so we can just skip this check.
2327 (add-after 'unpack 'do-not-grep-for-jack
2329 (substitute* "bin/startBristol.in"
2330 (("ldd `which bristol` | grep jack") "echo guix"))
2333 `(("alsa-lib" ,alsa-lib)
2336 ("libx11" ,libx11)))
2338 `(("pkg-config" ,pkg-config)))
2339 (home-page "http://bristol.sourceforge.net/")
2340 (synopsis "Synthesizer emulator")
2342 "Bristol is an emulation package for a number of different @code{classic}
2343 synthesizers including additive and subtractive and a few organs. The
2344 application consists of the engine, which is called bristol, and its own GUI
2345 library called brighton that represents all the emulations. There are
2346 currently more than twenty different emulations; each does sound different
2347 although the author maintains that the quality and accuracy of each emulation
2349 (license license:gpl3+)))
2351 (define-public tuxguitar
2358 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
2359 version "/tuxguitar-" version "-src.tar.gz"))
2362 "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg"))))
2363 (build-system ant-build-system)
2365 `(#:build-target "build"
2367 #:tests? #f ; no tests
2369 (modify-phases %standard-phases
2371 (lambda* (#:key inputs outputs #:allow-other-keys)
2372 (let* ((initial-classpath (getenv "CLASSPATH"))
2373 (build-dir (lambda (dir)
2376 (string-join (cons initial-classpath
2377 (find-files (getcwd) "\\.jar$"))
2379 (with-directory-excursion dir
2380 (if (file-exists? "build.xml")
2381 ((assoc-ref %standard-phases 'build)
2382 #:build-target "build")
2384 ;; Generate default build.xml.
2385 ((@@ (guix build ant-build-system)
2387 (string-append (string-downcase dir) ".jar")
2388 (string-append (assoc-ref outputs "out")
2390 ((assoc-ref %standard-phases 'build))))))))
2391 (map build-dir '("TuxGuitar-lib"
2392 "TuxGuitar-editor-utils"
2393 "TuxGuitar-ui-toolkit"
2394 "TuxGuitar-ui-toolkit-swt"
2397 "TuxGuitar-gm-utils"
2400 "TuxGuitar-midi-ui"))
2402 (add-after 'build 'build-jni
2405 (setenv "CFLAGS" (string-append
2408 "/build-scripts/native-modules/common-include"))
2409 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
2411 (lambda* (#:key inputs outputs #:allow-other-keys)
2412 (let* ((out (assoc-ref outputs "out"))
2413 (bin (string-append out "/bin"))
2414 (share (string-append out "/share"))
2415 (jni-lib (string-append out "/lib"))
2416 (lib (string-append share "/java"))
2417 (swt (assoc-ref inputs "java-swt"))
2418 (mime (string-append share "/mime/packages"))
2419 (app (string-append share "/applications"))
2420 (man (string-append share "/man/man1")))
2423 ;; Install all jars.
2424 (for-each (lambda (file)
2425 (install-file file lib))
2426 (find-files "." "\\.jar$"))
2428 ;; Install jni libraries
2429 (for-each (lambda (file)
2430 (install-file file jni-lib))
2431 (find-files "." "\\-jni.so$"))
2433 ;; Install all resources.
2434 (copy-recursively "./TuxGuitar/share" share)
2436 ;; Install desktop and mime files
2437 (install-file "./misc/tuxguitar.xml" mime)
2438 (install-file "./misc/tuxguitar.desktop" app)
2441 (install-file "./misc/tuxguitar.1" man)
2444 (call-with-output-file (string-append bin "/tuxguitar")
2446 (let ((classpath (string-join (append (find-files lib "\\.jar$")
2447 (find-files swt "\\.jar$"))
2451 (string-append "#!/bin/sh\n"
2454 " -Dtuxguitar.home.path=" out
2455 " -Dtuxguitar.share.path=" out "/share"
2456 " -Dswt.library.path=" swt "/lib"
2457 " -Djava.library.path=" out "/lib"
2458 " org.herac.tuxguitar.app.TGMainSingleton"
2459 " \"$1\" \"$2\"")))))
2460 (chmod (string-append bin "/tuxguitar") #o555)
2463 `(("alsa-lib" ,alsa-lib)
2464 ("java-swt" ,java-swt)))
2465 (home-page "http://tuxguitar.com.ar/")
2466 (synopsis "Multitrack tablature editor and player")
2468 "TuxGuitar is a guitar tablature editor with player support through midi.
2469 It can display scores and multitrack tabs. TuxGuitar provides various
2470 additional features, including autoscrolling while playing, note duration
2471 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
2472 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
2474 (license license:lgpl2.1+)))
2483 (string-append "http://msp.ucsd.edu/Software/pd-"
2484 version ".src.tar.gz"))
2487 "1hgw1ciwr59f4f9s0h7c2l36wcsn3jsddhr1r9qj97vf64c1ynaj"))))
2488 (build-system gnu-build-system)
2490 (let ((wish (string-append "wish" (version-major+minor
2491 (package-version tk)))))
2492 `(#:tests? #f ; no "check" target
2496 (string-append "--with-wish=" (string-append
2497 (assoc-ref %build-inputs "tk")
2500 (modify-phases %standard-phases
2501 (add-before 'configure 'fix-with-path
2503 (substitute* "tcl/pd-gui.tcl"
2504 (("exec wish ") (string-append "exec " (which ,wish) " ")))
2507 `(("autoconf" ,autoconf)
2508 ("automake" ,automake)
2509 ("libtool" ,libtool)
2510 ("gettext" ,gettext-minimal)
2511 ("pkg-config" ,pkg-config)))
2514 ("alsa-lib" ,alsa-lib)
2516 (home-page "https://puredata.info")
2517 (synopsis "Visual programming language for artistic performances")
2519 "Pure Data (aka Pd) is a visual programming language. Pd enables
2520 musicians, visual artists, performers, researchers, and developers to create
2521 software graphically, without writing lines of code. Pd is used to process
2522 and generate sound, video, 2D/3D graphics, and interface sensors, input
2523 devices, and MIDI. Pd can easily work over local and remote networks to
2524 integrate wearable technology, motor systems, lighting rigs, and other
2525 equipment. Pd is suitable for learning basic multimedia processing and visual
2526 programming methods as well as for realizing complex systems for large-scale
2528 (license license:bsd-3)))
2530 (define-public libpd
2537 (url "https://github.com/libpd/libpd")
2539 (recursive? #t))) ; for the 'pure-data' submodule
2540 (file-name (string-append name "-" version "-checkout"))
2543 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
2544 (build-system gnu-build-system)
2546 '(#:tests? #f ; no tests
2547 #:make-flags '("CC=gcc")
2549 (modify-phases %standard-phases
2550 (delete 'configure) ; no configure script
2552 (lambda* (#:key outputs #:allow-other-keys)
2553 (let ((out (assoc-ref outputs "out")))
2554 (invoke "make" "install"
2555 (string-append "prefix=" out)
2556 ;; XXX: Fix the last 2 lines of 'install' target.
2558 "LIBPD_DEF=NO")))))))
2559 (home-page "http://libpd.cc/")
2560 (synopsis "Pure Data as an embeddable audio synthesis library")
2562 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
2563 main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
2564 (license license:bsd-3)))
2566 (define-public portmidi
2572 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
2573 version "/portmidi-src-" version ".zip"))
2576 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
2577 (patches (list (search-patch "portmidi-modular-build.patch")))))
2578 (build-system cmake-build-system)
2580 `(#:tests? #f ; tests cannot be linked
2581 #:build-type "Release" ; needed to have PMALSA set
2583 (list "-DPORTMIDI_ENABLE_JAVA=Off"
2584 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
2586 (modify-phases %standard-phases
2587 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
2588 ;; "libportmidi.so". Distributions get away with it by creating an
2589 ;; appropriate symlink.
2590 (add-after 'install 'add-porttime
2591 (lambda* (#:key outputs #:allow-other-keys)
2592 (let* ((out (assoc-ref outputs "out"))
2593 (lib (string-append out "/lib")))
2594 (with-directory-excursion lib
2595 (symlink "libportmidi.so" "libporttime.so")))))
2596 (add-after 'install 'install-pkg-config
2597 (lambda* (#:key outputs #:allow-other-keys)
2598 (let* ((out (assoc-ref outputs "out"))
2599 (pkg-config-dir (string-append out "/lib/pkgconfig")))
2600 (mkdir-p pkg-config-dir)
2601 (with-output-to-file (string-append pkg-config-dir "/portmidi.pc")
2605 libdir=${prefix}/lib~@
2606 includedir=${prefix}/include~@
2611 Libs: -L${libdir} -lportmidi~@
2612 Cflags: -I${includedir}~%"
2613 out ,version)))))))))
2615 `(("alsa-lib" ,alsa-lib)))
2617 `(("unzip" ,unzip)))
2618 (home-page "http://portmedia.sourceforge.net/portmidi/")
2619 (synopsis "Library for MIDI I/O")
2621 "PortMidi is a library supporting real-time input and output of MIDI data
2622 using a system-independent interface.")
2623 (license license:expat)))
2625 (define-public python-pyportmidi
2627 (name "python-pyportmidi")
2628 (version (package-version portmidi))
2629 (source (package-source portmidi))
2630 (build-system python-build-system)
2632 `(#:tests? #f ; no tests included
2634 (modify-phases %standard-phases
2635 (add-after 'unpack 'enter-dir
2636 (lambda _ (chdir "pm_python") #t))
2637 (add-after 'enter-dir 'fix-setup.py
2639 (substitute* "setup.py"
2640 ;; Use Python 3 syntax
2641 (("print (\".*\")" _ text)
2642 (string-append "print(" text ")\n"))
2643 ;; TODO.txt and CHANGES.txt don't exist
2644 (("CHANGES =.*") "CHANGES = \"\"\n")
2645 (("TODO =.*") "TODO = \"\"\n"))
2648 `(("portmidi" ,portmidi)
2649 ("alsa-lib" ,alsa-lib)))
2651 `(("python-cython" ,python-cython)
2653 (home-page "http://portmedia.sourceforge.net/portmidi/")
2654 (synopsis "Python bindings to PortMidi")
2656 "This package provides Python bindings to the PortMidi library.")
2657 (license license:expat)))
2659 (define-public frescobaldi
2661 (name "frescobaldi")
2667 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2668 version "/frescobaldi-" version ".tar.gz"))
2670 (base32 "1hg9yc8kj445fjsby92g3qf50crcl1pb079zfma18sb7ycv50zww"))))
2671 (build-system python-build-system)
2673 `(#:tests? #f)) ;no tests included
2675 `(("lilypond" ,lilypond)
2676 ("poppler" ,poppler)
2677 ("portmidi" ,portmidi)
2678 ("python-ly" ,python-ly)
2679 ("python-poppler-qt5" ,python-poppler-qt5)
2680 ("python-pyportmidi" ,python-pyportmidi)
2681 ("python-pyqt" ,python-pyqt)
2682 ("python-sip" ,python-sip)))
2683 (home-page "https://www.frescobaldi.org/")
2684 (synopsis "LilyPond sheet music text editor")
2686 "Frescobaldi is a LilyPond sheet music text editor with syntax
2687 highlighting and automatic completion. Among other things, it can render
2688 scores next to the source, can capture input from MIDI or read MusicXML and
2689 ABC files, has a MIDI player for proof-listening, and includes a documentation
2691 (license license:gpl2+)))
2693 (define-public drumstick
2699 (uri (string-append "mirror://sourceforge/drumstick/"
2700 version "/drumstick-" version ".tar.bz2"))
2703 "06lz4kzpgg5lalcjb14pi35jxca5f4j6ckqf6mdxs1k42dfhjpjp"))))
2704 (build-system cmake-build-system)
2706 `(#:tests? #f ; no test target
2708 (modify-phases %standard-phases
2709 (add-before 'configure 'fix-docbook
2710 (lambda* (#:key inputs #:allow-other-keys)
2711 (substitute* "cmake_admin/CreateManpages.cmake"
2712 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2713 (string-append (assoc-ref inputs "docbook-xsl")
2714 "/xml/xsl/docbook-xsl-"
2715 ,(package-version docbook-xsl)
2716 "/manpages/docbook.xsl")))
2719 `(("qtbase" ,qtbase)
2721 ("qttools" ,qttools)
2722 ("alsa-lib" ,alsa-lib)))
2724 `(("pkg-config" ,pkg-config)
2725 ("libxslt" ,libxslt) ; for xsltproc
2726 ("docbook-xsl" ,docbook-xsl)
2727 ("doxygen" ,doxygen)
2728 ("graphviz" ,graphviz))) ; for dot
2729 (home-page "https://drumstick.sourceforge.io/")
2730 (synopsis "C++ MIDI library")
2732 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2733 includes a C++ wrapper around the ALSA library sequencer interface. A
2734 complementary library provides classes for processing SMF (Standard MIDI
2735 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2736 multiplatform realtime MIDI I/O library is also provided with various output
2737 backends, including ALSA, OSS, Network and FluidSynth.")
2738 (license license:gpl2+)))
2746 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2747 version "/vmpk-" version ".tar.bz2"))
2750 "1kv256j13adk4ib7r464gsl4vjhih820bq37ddhqfyfd07wh53a2"))))
2751 (build-system cmake-build-system)
2753 `(#:tests? #f ; no test target
2755 (modify-phases %standard-phases
2756 (add-before 'configure 'fix-docbook
2757 (lambda* (#:key inputs #:allow-other-keys)
2758 (substitute* "cmake_admin/CreateManpages.cmake"
2759 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2760 (string-append (assoc-ref inputs "docbook-xsl")
2761 "/xml/xsl/docbook-xsl-"
2762 ,(package-version docbook-xsl)
2763 "/manpages/docbook.xsl")))
2766 `(("drumstick" ,drumstick)
2769 ("qtx11extras" ,qtx11extras)))
2771 `(("libxslt" ,libxslt) ;for xsltproc
2772 ("docbook-xsl" ,docbook-xsl)
2773 ("qttools" ,qttools)
2774 ("pkg-config" ,pkg-config)))
2775 (home-page "https://vmpk.sourceforge.io/")
2776 (synopsis "Virtual MIDI piano keyboard")
2778 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2779 doesn't produce any sound by itself, but can be used to drive a MIDI
2780 synthesizer (either hardware or software, internal or external). You can use
2781 the computer's keyboard to play MIDI notes, and also the mouse. You can use
2782 the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2783 instrument or MIDI file player.")
2784 (license license:gpl3+)))
2786 (define-public zynaddsubfx
2788 (name "zynaddsubfx")
2793 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
2794 version "/zynaddsubfx-" version ".tar.bz2"))
2797 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
2798 (build-system cmake-build-system)
2801 (modify-phases %standard-phases
2802 ;; Move SSE compiler optimization flags from generic target to
2803 ;; athlon64 and core2 targets, because otherwise the build would fail
2804 ;; on non-Intel machines.
2805 (add-after 'unpack 'remove-sse-flags-from-generic-target
2807 (substitute* "src/CMakeLists.txt"
2808 (("-msse -msse2 -mfpmath=sse") "")
2809 (("-march=(athlon64|core2)" flag)
2810 (string-append flag " -msse -msse2 -mfpmath=sse")))
2816 ("alsa-lib" ,alsa-lib)
2819 ("minixml" ,minixml)
2823 `(("pkg-config" ,pkg-config)))
2824 (home-page "http://zynaddsubfx.sf.net/")
2825 (synopsis "Software synthesizer")
2827 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2828 three synthesizer engines, multitimbral and polyphonic synths, microtonal
2829 capabilities, custom envelopes, effects, etc.")
2830 (license license:gpl2)))
2832 (define-public yoshimi
2839 (uri (string-append "mirror://sourceforge/yoshimi/"
2840 (version-major+minor version)
2841 "/yoshimi-" version ".tar.bz2"))
2843 (base32 "0lxfqj4p4njww3n0wa6yfj38zfls16y3wszd47gvc5asmqyg5vjd"))))
2844 (build-system cmake-build-system)
2846 `(#:tests? #f ; there are no tests
2848 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2849 (assoc-ref %outputs "out") "/share"))
2851 (modify-phases %standard-phases
2852 (add-before 'configure 'enter-dir
2853 (lambda _ (chdir "src") #t))
2854 ;; Move SSE compiler optimization flags from generic target to
2855 ;; athlon64 and core2 targets, because otherwise the build would fail
2856 ;; on non-Intel machines.
2857 (add-after 'unpack 'remove-sse-flags-from-generic-target
2859 (substitute* "src/CMakeLists.txt"
2860 (("-msse -msse2 -mfpmath=sse") "")
2861 (("-march=(athlon64|core2)" flag)
2862 (string-append flag " -msse -msse2 -mfpmath=sse")))
2867 ("alsa-lib" ,alsa-lib)
2869 ("fontconfig" ,fontconfig)
2870 ("minixml" ,minixml)
2874 ("readline" ,readline)
2875 ("ncurses" ,ncurses)
2879 `(("pkg-config" ,pkg-config)))
2880 (home-page "http://yoshimi.sourceforge.net/")
2881 (synopsis "Multi-paradigm software synthesizer")
2883 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2884 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2885 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2886 improves on support for JACK features, such as JACK MIDI.")
2887 (license license:gpl2)))
2889 (define-public libgig
2895 (uri (string-append "http://download.linuxsampler.org/packages/"
2896 "libgig-" version ".tar.bz2"))
2899 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
2900 (build-system gnu-build-system)
2902 `(("libuuid" ,util-linux "lib")
2903 ("libsndfile" ,libsndfile)))
2905 `(("pkg-config" ,pkg-config)))
2906 (home-page "https://linuxsampler.org/libgig/")
2907 (synopsis "C++ library for working with Gigasampler (.gig) files")
2909 "Libgig is a C++ library for loading, modifying existing and creating new
2910 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2911 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2912 AKAI sampler data. The package includes a couple of command line tools based
2914 ;; The library and tools are released under the GPL, except the AKAI
2915 ;; classes which are released under the LGPL.
2916 (license (list license:gpl2+ license:lgpl2.1+))))
2918 (define-public jack-keyboard
2920 (name "jack-keyboard")
2925 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2926 version "/jack-keyboard-" version ".tar.gz"))
2929 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2930 (build-system gnu-build-system)
2936 `(("pkg-config" ,pkg-config)))
2937 (home-page "http://jack-keyboard.sourceforge.net/")
2938 (synopsis "Virtual MIDI keyboard")
2939 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2940 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2941 (license license:bsd-2)))
2943 (define-public jack-capture
2945 (name "jack-capture")
2950 (url "https://github.com/kmatheussen/jack_capture")
2952 (file-name (string-append name "-" version "-checkout"))
2955 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2956 (build-system gnu-build-system)
2959 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2960 #:tests? #f ; there are none
2962 (modify-phases %standard-phases
2963 (delete 'configure))))
2965 `(("pkg-config" ,pkg-config)
2973 ("libsndfile" ,libsndfile)))
2974 (home-page "https://github.com/kmatheussen/jack_capture")
2975 (synopsis "Program for recording sound files with JACK")
2976 (description "This is a program for recording sound files with JACK. It
2977 can connect to any JACK port and record the output into a stereo WAV file.")
2978 (license license:gpl2+)))
2980 (define-public jack-select
2982 (name "jack-select")
2986 (uri (pypi-uri "jack-select" version))
2989 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
2990 (build-system gnu-build-system)
2992 `(#:modules ((guix build gnu-build-system)
2993 ((guix build python-build-system) #:prefix python:)
2995 #:imported-modules (,@%gnu-build-system-modules
2996 (guix build python-build-system))
2998 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2999 #:tests? #f ; there are none
3001 (modify-phases %standard-phases
3003 (lambda* (#:key inputs #:allow-other-keys)
3004 ;; python-dbus cannot be found but it's really there. See
3005 ;; https://github.com/SpotlightKid/jack-select/issues/2
3006 (substitute* "setup.py"
3007 (("'dbus-python',") ""))
3008 ;; Fix reference to dlopened libraries.
3009 (substitute* "jackselect/alsainfo.py"
3011 (string-append (assoc-ref inputs "alsa-lib")
3012 "/lib/libasound.so.2")))
3015 (assoc-ref python:%standard-phases 'build))
3016 (add-after 'install 'wrap
3017 (assoc-ref python:%standard-phases 'wrap)))))
3019 `(("pkg-config" ,pkg-config)))
3021 `(("alsa-lib" ,alsa-lib)
3022 ("python" ,python-wrapper)
3023 ("python-pyudev" ,python-pyudev)
3024 ("python-pyxdg" ,python-pyxdg)
3025 ("python-dbus" ,python-dbus)
3026 ("python-pygobject" ,python-pygobject)))
3027 (home-page "https://github.com/SpotlightKid/jack-select")
3028 (synopsis "Systray application to quickly change the JACK-DBus configuration")
3029 (description "This application displays an icon in the system tray (also
3030 known as notification area) of your desktop, which shows the status of the
3031 JACK audio server and when you click on it, a menu pops up, which lets you
3032 quickly select from the JACK configuration presets you created with QjackCtl.
3033 When you select a preset, its JACK engine and driver configuration settings
3034 are loaded via DBus into JACK and then the server is restarted. This allows
3035 you to switch between different audio setups with just two mouse clicks.")
3036 (license license:expat)))
3038 (define-public cursynth
3045 (uri (string-append "mirror://gnu/cursynth/cursynth-"
3048 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
3049 (patches (search-patches "cursynth-wave-rand.patch"))))
3050 (build-system gnu-build-system)
3051 (native-inputs `(("pkg-config" ,pkg-config)))
3052 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
3053 ;; prevents us from using pulseaudio
3054 (inputs `(("ncurses" ,ncurses)
3055 ("alsa" ,alsa-lib)))
3056 (home-page "https://www.gnu.org/software/cursynth/")
3057 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
3058 (description "GNU cursynth is a polyphonic synthesizer that runs
3059 graphically in the terminal. It is built on a full-featured subtractive
3060 synthesis engine. Notes and parameter changes may be entered via MIDI or the
3061 computer's keyboard.")
3062 (license license:gpl3+)))
3064 (define-public aj-snapshot
3066 (name "aj-snapshot")
3070 (uri (string-append "mirror://sourceforge/aj-snapshot/"
3071 "aj-snapshot-" version ".tar.bz2"))
3074 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
3075 (build-system gnu-build-system)
3077 `(("minixml" ,minixml)
3079 ("alsa-lib" ,alsa-lib)))
3081 `(("pkg-config" ,pkg-config)))
3082 (home-page "http://aj-snapshot.sourceforge.net/")
3083 (synopsis "Snapshot connections between ALSA and JACK clients")
3084 (description "Aj-snapshot is a small program that can be used to make
3085 snapshots of the connections made between JACK and/or ALSA clients. Because
3086 JACK can provide both audio and MIDI support to programs, aj-snapshot can
3087 store both types of connections for JACK. ALSA, on the other hand, only
3088 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
3089 from the command line.")
3090 (license license:gpl3+)))
3092 (define-public qtractor
3098 (uri (string-append "https://downloads.sourceforge.net/qtractor/"
3099 "qtractor-" version ".tar.gz"))
3102 "12hn17hqs3jndv6238wj8yhw07n99s0zachab4kfvhwa0qfflsbl"))))
3103 (build-system gnu-build-system)
3105 `(#:tests? #f)) ; no "check" target
3108 ("qtx11extras" ,qtx11extras)
3109 ("alsa-lib" ,alsa-lib)
3111 ("libsndfile" ,libsndfile)
3116 ("libsamplerate" ,libsamplerate)
3117 ("libvorbis" ,libvorbis)
3119 ("rubberband" ,rubberband)
3123 `(("pkg-config" ,pkg-config)
3124 ("qttools" ,qttools)))
3125 (home-page "https://qtractor.org/")
3126 (synopsis "Audio/MIDI multi-track sequencer")
3128 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
3129 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
3130 follows a traditional multi-track tape recorder control paradigm.")
3131 (license license:gpl2+)))
3133 (define-public ams-lv2
3141 (url "https://github.com/blablack/ams-lv2")
3142 (commit (string-append "v" version))))
3143 (file-name (git-file-name name version))
3145 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
3146 (build-system waf-build-system)
3149 (modify-phases %standard-phases
3150 (add-after 'unpack 'remove-sse-flags
3151 (lambda* (#:key system #:allow-other-keys)
3152 (unless (or (string-prefix? "x86_64" system)
3153 (string-prefix? "i686" system))
3154 (substitute* "wscript"
3155 (("'-msse', '-mfpmath=sse', ") "")))
3157 #:tests? #f)) ; no tests
3166 `(("pkg-config" ,pkg-config)))
3167 (home-page "https://github.com/blablack/ams-lv2")
3168 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
3169 (description "This set of LV2 plugins is a port of the internal modules
3170 found in Alsa Modular Synth. These plugins are used to create modular
3171 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
3173 (license license:gpl2)))
3175 (define-public gxtuner
3182 (url "https://github.com/brummer10/gxtuner")
3183 (commit (string-append "v" version))))
3184 (file-name (git-file-name name version))
3187 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
3188 (build-system gnu-build-system)
3191 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3192 (string-append "INCLUDE_L_DIR="
3193 (assoc-ref %build-inputs "zita-resampler")
3196 (modify-phases %standard-phases
3197 (delete 'configure))))
3203 ("zita-resampler" ,zita-resampler)))
3205 `(("pkg-config" ,pkg-config)))
3206 (home-page "https://github.com/brummer10/gxtuner")
3207 (synopsis "Guitar tuner")
3208 (description "GXtuner is a simple guitar tuner for JACK with an
3209 analogue-like user interface.")
3210 (license license:gpl2+)))
3212 (define-public mod-host
3213 ;; The last release was in 2014 but since then hundreds of commits have
3215 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
3219 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
3223 (url "https://github.com/moddevices/mod-host")
3227 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
3228 (file-name (string-append name "-" version "-checkout"))))
3229 (build-system gnu-build-system)
3231 `(#:tests? #f ; no tests included
3233 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3236 (modify-phases %standard-phases
3238 (add-after 'unpack 'fix-jack-installation-directory
3240 ;; Do not attempt to install files to output of "jack" package.
3241 (substitute* "Makefile"
3242 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
3251 ("readline" ,readline)))
3253 `(("pkg-config" ,pkg-config)
3254 ("python" ,python-2)))
3255 (home-page "https://github.com/moddevices/mod-host")
3256 (synopsis "LV2 host for Jack controllable via socket or command line")
3257 (description "mod-host is an LV2 plugin host for JACK, controllable via
3258 socket or command line.")
3259 (license license:gpl3+))))
3261 (define-public curseradio
3262 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
3266 (version (git-version "0" revision commit))
3270 (url "https://github.com/chronitis/curseradio")
3272 (file-name (git-file-name name version))
3275 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
3276 (build-system python-build-system)
3279 (modify-phases %standard-phases
3280 (add-after 'unpack 'link-to-mpv
3281 (lambda* (#:key inputs #:allow-other-keys)
3282 (substitute* "curseradio/curseradio.py"
3284 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
3287 `(("python-lxml" ,python-lxml)
3288 ("python-requests" ,python-requests)
3289 ("python-pyxdg" ,python-pyxdg)))
3292 (home-page "https://github.com/chronitis/curseradio")
3293 (synopsis "Command-line Internet radio player")
3294 (description "Curseradio is a Curses-based radio player that uses a
3295 tune-in sender list from @url{http://opml.radiotime.com}.")
3296 (license license:expat))))
3298 (define-public pianobar
3301 (version "2020.11.28")
3305 (url "https://github.com/PromyLOPh/pianobar")
3307 (file-name (git-file-name name version))
3310 "13qx52a1yj2wghf7yd9jf4ar92scbc8zgqdq0kkqf4p9isf1phf3"))))
3311 (build-system gnu-build-system)
3313 `(#:tests? #f ; no tests
3314 #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
3315 #:phases (modify-phases %standard-phases
3316 (delete 'configure))))
3320 ("libgcrypt" ,libgcrypt)
3322 ("ffmpeg" ,ffmpeg)))
3324 `(("pkg-config" ,pkg-config)))
3325 (home-page "https://6xq.net/pianobar/")
3326 (synopsis "Console-based pandora.com player")
3327 (description "pianobar is a console-based music player for the
3328 personalized online radio pandora.com. It has configurable keys for playing
3329 and managing stations, can be controlled remotely via fifo, and can run
3330 event-based scripts for scrobbling, notifications, etc.")
3331 (license license:expat)))
3333 (define-public picard
3340 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
3341 "picard/picard-" version ".tar.gz"))
3344 "1c5l7i43jaj3s4wklc0cba6nn2x9cmpcggk4q4h9m1bci2xilsiy"))
3345 (patches (search-patches "picard-fix-id3-rename-test.patch"))))
3346 (build-system python-build-system)
3348 '(#:use-setuptools? #f
3351 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
3352 "--disable-autoupdate")
3354 (modify-phases %standard-phases
3355 (add-after 'unpack 'patch-source
3356 (lambda* (#:key inputs #:allow-other-keys)
3357 (substitute* "picard/const/__init__.py"
3361 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
3364 `(("gettext" ,gettext-minimal)
3365 ("python-dateutil" ,python-dateutil)))
3367 `(("chromaprint" ,chromaprint)
3368 ("python-discid" ,python-discid)
3369 ("python-pyqt" ,python-pyqt)
3370 ("python-mutagen" ,python-mutagen)))
3371 (home-page "https://picard.musicbrainz.org/")
3372 (synopsis "Graphical music tagging application")
3374 "MusicBrainz Picard is a music tagging application, supporting multiple
3375 formats, looking up tracks through metadata and audio fingerprints.")
3376 (license license:gpl2+)))
3378 (define-public python-mutagen
3380 (name "python-mutagen")
3384 (uri (pypi-uri "mutagen" version))
3387 "1qdk6i8gyhbi1c4j5jmbfpac3q8sff2ysri1pnp7nb9wzcp615v3"))))
3388 (build-system python-build-system)
3390 `(("python-pytest" ,python-pytest)
3391 ("python-hypothesis" ,python-hypothesis)
3392 ("python-flake8" ,python-flake8)))
3393 (home-page "https://bitbucket.org/lazka/mutagen")
3394 (synopsis "Read and write audio tags")
3395 (description "Mutagen is a Python module to handle audio metadata. It
3396 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
3397 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
3398 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
3399 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
3400 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
3401 streams on an individual packet/page level.")
3402 (license license:gpl2))) ; "later version" never mentioned
3404 (define-public python-mediafile
3406 (name "python-mediafile")
3411 (uri (pypi-uri "mediafile" version))
3412 (patches (search-patches "python-mediafile-wavpack.patch"))
3415 "0jmsp3f57xj35ayp8b6didk85nxgl3viw34s5px3l5dwgc055yx3"))))
3416 (build-system python-build-system)
3418 `(("python-mutagen" ,python-mutagen)
3419 ("python-six" ,python-six)
3420 ("python-tox" ,python-tox)))
3421 (home-page "https://github.com/beetbox/mediafile")
3422 (synopsis "Read and write audio file tags")
3424 "MediaFile is a simple interface to the metadata tags for many audio file
3425 formats. It wraps Mutagen, a high-quality library for low-level tag
3426 manipulation, with a high-level, format-independent interface for a common set
3428 (license license:expat)))
3430 (define-public python-musicbrainzngs
3432 (name "python-musicbrainzngs")
3436 (uri (pypi-uri "musicbrainzngs" version))
3439 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
3440 (build-system python-build-system)
3442 '(;; The tests fail suffer from race conditions:
3443 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
3445 (home-page "https://python-musicbrainzngs.readthedocs.org/")
3446 (synopsis "Python bindings for MusicBrainz NGS webservice")
3447 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
3448 web service. This library can be used to retrieve music metadata from the
3449 MusicBrainz database.")
3450 ;; 'musicbrainzngs/compat.py' is ISC licensed.
3451 (license (list license:bsd-2 license:isc))))
3453 (define-public python2-musicbrainzngs
3454 (package-with-python2 python-musicbrainzngs))
3456 (define-public python-isrcsubmit
3458 (name "python-isrcsubmit")
3463 (uri (pypi-uri "isrcsubmit" version))
3466 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
3467 (build-system python-build-system)
3469 `(("python-discid" ,python-discid)
3470 ("python-musicbrainzngs" ,python-musicbrainzngs)))
3471 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
3472 (synopsis "Submit ISRCs from CDs to MusicBrainz")
3473 (description "@code{isrcsubmit} is a tool to extract @dfn{International
3474 Standard Recording Code} (ISRCs) from audio CDs and submit them to
3475 @url{https://musicbrainz.org/, MusicBrainz}.")
3476 (license license:gpl3+)))
3478 (define-public python2-pyechonest
3480 (name "python2-pyechonest")
3484 (uri (pypi-uri "pyechonest" version))
3487 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
3488 (build-system python-build-system)
3490 `(;; Python 3 is not supported:
3491 ;; https://github.com/echonest/pyechonest/issues/42
3492 #:python ,python-2))
3493 (home-page "https://github.com/echonest/pyechonest")
3494 (synopsis "Python interface to The Echo Nest APIs")
3495 (description "Pyechonest is a Python library for the Echo Nest API. With
3496 Pyechonest you have Python access to the entire set of API methods including:
3499 @item artist - search for artists by name, description, or attribute, and get
3500 back detailed information about any artist including audio, similar artists,
3501 blogs, familiarity, hotttnesss, news, reviews, urls and video.
3502 @item song - search songs by artist, title, description, or attribute (tempo,
3503 duration, etc) and get detailed information back about each song, such as
3504 hotttnesss, audio_summary, or tracks.
3505 @item track - upload a track to the Echo Nest and receive summary information
3506 about the track including key, duration, mode, tempo, time signature along with
3507 detailed track info including timbre, pitch, rhythm and loudness information.
3509 (license license:bsd-3)))
3511 (define-public python-pylast
3513 (name "python-pylast")
3517 (uri (pypi-uri "pylast" version))
3520 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
3521 (build-system python-build-system)
3522 ;; Tests require network access. See
3523 ;; https://github.com/pylast/pylast/issues/105
3524 (arguments '(#:tests? #f))
3526 `(("python-coverage" ,python-coverage)
3527 ("python-pycodestyle" ,python-pycodestyle)
3528 ("python-mock" ,python-mock)
3529 ("python-pep8" ,python-pep8)
3530 ("python-pytest" ,python-pytest)
3531 ("python-flaky" ,python-flaky)
3532 ("python-pyflakes" ,python-pyflakes)
3533 ("python-pyyaml" ,python-pyyaml)))
3535 `(("python-six" ,python-six)))
3536 (home-page "https://github.com/pylast/pylast")
3537 (synopsis "Python interface to Last.fm and Libre.fm")
3538 (description "A Python interface to Last.fm and other API-compatible
3539 websites such as Libre.fm.")
3540 (license license:asl2.0)))
3542 (define-public python2-pylast
3543 (package-with-python2 python-pylast))
3545 (define-public instantmusic
3546 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
3549 (name "instantmusic")
3550 (version (git-version "1.0" revision commit))
3554 (url "https://github.com/yask123/Instant-Music-Downloader")
3556 (file-name (git-file-name name version))
3559 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
3560 (build-system python-build-system)
3562 `(("python-requests" ,python-requests)
3564 ("python-beautifulsoup4" ,python-beautifulsoup4)
3565 ("youtube-dl" ,youtube-dl)))
3567 '(#:modules ((guix build python-build-system)
3570 #:phases (modify-phases %standard-phases
3571 (add-before 'build 'change-directory
3573 (chdir "instantmusic-0.1") #t))
3574 (add-before 'install 'fix-file-permissions
3576 ;; Fix some read-only files that would cause a build failure
3577 (for-each (cut chmod <> #o644)
3578 (find-files "instantmusic.egg-info"
3579 "PKG-INFO|.*\\.txt"))
3581 (home-page "https://github.com/yask123/Instant-Music-Downloader")
3582 (synopsis "Command-line program to download a song from YouTube")
3583 (description "InstantMusic downloads a song from YouTube in MP3 format.
3584 Songs can be searched by artist, name or even by a part of the song text.")
3585 (license license:expat))))
3587 (define-public beets
3593 (uri (pypi-uri "beets" version))
3594 (patches (search-patches "beets-werkzeug-compat.patch"))
3597 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3598 (build-system python-build-system)
3601 (modify-phases %standard-phases
3602 ;; Reported upstream: <https://github.com/beetbox/beets/issues/3771>.
3603 ;; Disable the faulty test as the fix is unclear.
3604 (add-after 'unpack 'disable-failing-tests
3606 (substitute* "test/test_mediafile.py"
3607 (("def test_read_audio_properties") "def _test_read_audio_properties"))
3609 (add-after 'unpack 'set-HOME
3611 (setenv "HOME" (string-append (getcwd) "/tmp"))
3615 (invoke "nosetests" "-v")))
3616 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3617 ;; gstreamer plugins.
3618 (add-after 'wrap 'wrap-typelib
3619 (lambda* (#:key outputs #:allow-other-keys)
3620 (let ((prog (string-append (assoc-ref outputs "out")
3622 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3623 (types (getenv "GI_TYPELIB_PATH")))
3625 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3626 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3629 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3630 ("python-flask" ,python-flask)
3631 ("python-mock" ,python-mock)
3632 ("python-mpd2" ,python-mpd2)
3633 ("python-nose" ,python-nose)
3634 ("python-pathlib" ,python-pathlib)
3635 ("python-pyxdg" ,python-pyxdg)
3636 ("python-pylast" ,python-pylast)
3637 ("python-rarfile" ,python-rarfile)
3638 ("python-responses" ,python-responses)))
3639 ;; TODO: Install optional plugins and dependencies.
3641 `(("python-discogs-client" ,python-discogs-client)
3642 ("python-jellyfish" ,python-jellyfish)
3643 ("python-munkres" ,python-munkres)
3644 ("python-musicbrainzngs" ,python-musicbrainzngs)
3645 ("python-mutagen" ,python-mutagen)
3646 ("python-pyacoustid" ,python-pyacoustid)
3647 ("python-pyyaml" ,python-pyyaml)
3648 ("python-unidecode" ,python-unidecode)
3649 ;; For plugin replaygain.
3650 ("python-pygobject" ,python-pygobject)
3651 ("gobject-introspection" ,gobject-introspection)
3652 ("gst-plugins-base" ,gst-plugins-base)
3653 ("gst-plugins-good" ,gst-plugins-good)
3654 ("gstreamer" ,gstreamer)))
3655 (home-page "https://beets.io")
3656 (synopsis "Music organizer")
3657 (description "The purpose of beets is to get your music collection right
3658 once and for all. It catalogs your collection, automatically improving its
3659 metadata as it goes using the MusicBrainz database. Then it provides a variety
3660 of tools for manipulating and accessing your music.")
3661 (license license:expat)))
3663 (define-public beets-next
3664 (let ((commit "04ea754d00e2873ae9aa2d9e07c5cefd790eaee2")
3669 (version (git-version (package-version beets) revision commit))
3673 (url "https://github.com/beetbox/beets")
3675 (file-name (git-file-name "beets" version))
3678 "092a9sss2shhcjmpgbwvscv8brpm5970i5hddkhi81xcff3bg1h4"))))
3681 (modify-phases %standard-phases
3682 ;; XXX: unclear why this fails
3683 (add-after 'unpack 'disable-failing-tests
3685 (substitute* "test/test_zero.py"
3686 (("def test_album_art") "def _test_album_art"))
3688 (add-after 'unpack 'set-HOME
3690 (setenv "HOME" (string-append (getcwd) "/tmp"))
3694 ;; Resources must be writable.
3695 (for-each make-file-writable
3696 (find-files "test/rsrc" "."))
3697 (invoke "nosetests" "-v")))
3698 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3699 ;; gstreamer plugins.
3700 (add-after 'wrap 'wrap-typelib
3701 (lambda* (#:key outputs #:allow-other-keys)
3702 (let ((prog (string-append (assoc-ref outputs "out")
3704 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3705 (types (getenv "GI_TYPELIB_PATH")))
3707 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3708 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3711 `(("python-confuse" ,python-confuse)
3712 ("python-mediafile" ,python-mediafile)
3713 ("python-reflink" ,python-reflink)
3714 ("python-requests-oauthlib" ,python-requests-oauthlib)
3715 ("opusfile" ,opusfile)
3716 ,@(package-inputs beets))))))
3718 (define-public beets-bandcamp
3720 (name "beets-bandcamp")
3724 (uri (pypi-uri "beets-bandcamp" version))
3727 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
3728 (build-system python-build-system)
3729 (arguments '(#:tests? #f)) ; there are no tests
3732 ("python-isodate" ,python-isodate)))
3734 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3735 ("python-requests" ,python-requests)
3736 ("python-six" ,python-six)))
3737 (home-page "https://github.com/unrblt/beets-bandcamp")
3738 (synopsis "Bandcamp plugin for beets")
3740 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3741 https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3742 using the beets FetchArt plugin.")
3743 (license license:gpl2)))
3745 (define-public milkytracker
3747 (name "milkytracker")
3752 (url "https://github.com/milkytracker/MilkyTracker")
3753 (commit (string-append "v" version))))
3754 (file-name (git-file-name name version))
3757 "025fj34gq2kmkpwcswcyx7wdxb89vm944dh685zi4bxx0hz16vvk"))
3758 (modules '((guix build utils)))
3759 ;; Remove non-FSDG compliant sample songs.
3762 (delete-file-recursively "resources/music")
3763 (substitute* "CMakeLists.txt"
3764 (("add_subdirectory\\(resources/music\\)") ""))
3766 (build-system cmake-build-system)
3768 '(#:tests? #f ; no check target
3769 ;; This flag ensures that MilkyTracker links with the JACK library.
3770 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
3772 `(("alsa-lib" ,alsa-lib)
3778 ("zziplib" ,zziplib)))
3780 `(("pkg-config" ,pkg-config)))
3781 (synopsis "Music tracker for working with .MOD/.XM module files")
3782 (description "MilkyTracker is a music application for creating .MOD and .XM
3783 module files. It attempts to recreate the module replay and user experience of
3784 the popular DOS program Fasttracker II, with special playback modes available
3785 for improved Amiga ProTracker 2/3 compatibility.")
3786 (home-page "https://milkytracker.titandemo.org/")
3787 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3788 (license (list license:bsd-3 license:gpl3+))))
3790 (define-public schismtracker
3792 (name "schismtracker")
3793 (version "20190805")
3797 (url "https://github.com/schismtracker/schismtracker")
3799 (file-name (git-file-name name version))
3802 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
3803 (modules '((guix build utils)))
3805 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
3807 (substitute* "schism/version.c"
3808 (("Schism Tracker built %s %s.*$")
3809 (string-append "Schism Tracker version " ,version "\") ;")))
3811 (build-system gnu-build-system)
3814 (modify-phases %standard-phases
3815 (add-before 'configure 'link-libm
3816 (lambda _ (setenv "LIBS" "-lm") #t)))))
3818 `(("autoconf" ,autoconf)
3819 ("automake" ,automake)
3820 ("python" ,python)))
3822 `(("alsa-lib" ,alsa-lib) ; for asound dependency
3824 ("libxext" ,libxext)
3826 (home-page "http://schismtracker.org")
3827 (synopsis "Oldschool sample-based music composition tool")
3829 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3830 create high quality music without the requirements of specialized, expensive
3831 equipment, and with a unique \"finger feel\" that is difficult to replicate in
3832 part. The player is based on a highly modified version of the ModPlug engine,
3833 with a number of bugfixes and changes to improve IT playback.")
3834 (license license:gpl2+)))
3836 (define-public sooperlooper
3838 (name "sooperlooper")
3843 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3846 (base32 "0kbb1pj62rl32c88j6p7dg823kvs0gb5s42qy3bl6yg0wn10dksj"))))
3847 (build-system gnu-build-system)
3850 (modify-phases %standard-phases
3851 (add-after 'unpack 'add-sigc++-includes
3852 (lambda* (#:key inputs #:allow-other-keys)
3853 (let ((sig (assoc-ref inputs "libsigc++"))
3854 (xml (assoc-ref inputs "libxml2"))
3857 (string-append sig "/include/sigc++-2.0:"
3858 sig "/lib/sigc++-2.0/include:"
3859 xml "/include/libxml2/:"
3862 (or (getenv "CPATH") ""))))
3863 (substitute* '("src/control_osc.hpp"
3864 "src/gui/app_frame.hpp"
3865 "src/gui/config_panel.hpp"
3866 "src/gui/keys_panel.hpp"
3867 "src/gui/latency_panel.hpp"
3868 "src/gui/main_panel.hpp"
3869 "src/gui/midi_bind_panel.hpp"
3870 "src/gui/prefs_dialog.hpp")
3871 (("sigc\\+\\+/object.h")
3873 (substitute* '("src/engine.cpp"
3874 "src/gui/latency_panel.cpp"
3875 "src/gui/looper_panel.cpp"
3876 "src/gui/main_panel.cpp")
3877 (("(\\(| )bind " _ pre)
3878 (string-append pre "sigc::bind ")))
3880 (add-after 'unpack 'fix-xpm-warnings
3882 (substitute* (find-files "." "\\.xpm$")
3883 (("static char") "static const char"))
3887 ("alsa-lib" ,alsa-lib)
3888 ("wxwidgets" ,wxwidgets-gtk2)
3889 ("libsndfile" ,libsndfile)
3890 ("libsamplerate" ,libsamplerate)
3892 ("rubberband" ,rubberband)
3893 ("libxml2" ,libxml2)
3894 ("libsigc++" ,libsigc++)
3895 ("ncurses" ,ncurses)))
3897 `(("pkg-config" ,pkg-config)))
3898 (home-page "http://essej.net/sooperlooper/")
3899 (synopsis "Live looping sampler")
3901 "SooperLooper is a live looping sampler capable of immediate loop
3902 recording, overdubbing, multiplying, reversing and more. It allows for
3903 multiple simultaneous multi-channel loops limited only by your computer's
3905 (license license:gpl2+)))
3913 (uri (string-append "http://ftp.daper.net/pub/soft/"
3915 name "-" version ".tar.bz2"))
3918 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
3919 (build-system gnu-build-system)
3921 `(("alsa-lib" ,alsa-lib)
3924 ("ffmpeg" ,ffmpeg-3.4)
3927 ("libid3tag" ,libid3tag)
3928 ("libltdl" ,libltdl)
3929 ("libmodplug" ,libmodplug)
3930 ("libmpcdec" ,libmpcdec)
3933 ("libvorbis" ,libvorbis)
3934 ("ncurses" ,ncurses)
3935 ("openssl" ,openssl)
3936 ("sasl" ,cyrus-sasl)
3939 ("wavpack" ,wavpack)
3942 `(("pkg-config" ,pkg-config)))
3943 (synopsis "Console audio player designed to be powerful and easy to use")
3945 "Music on Console is a console audio player that supports many file
3946 formats, including most audio formats recognized by FFMpeg.")
3947 (home-page "http://moc.daper.net")
3948 (license license:gpl2+)))
3950 (define-public midicsv
3956 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3957 name "-" version ".tar.gz"))
3960 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3961 (build-system gnu-build-system)
3963 `(#:phases (modify-phases %standard-phases (delete 'configure))
3964 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
3965 (synopsis "Convert MIDI files to and from CSV")
3967 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
3968 value file (CSV), which preserves all the information in the MIDI file. The
3969 ASCII CSV file may be loaded into a spreadsheet or database application, or
3970 processed by a program to transform the MIDI data (for example, to key
3971 transpose a composition or extract a track from a multi-track sequence). A
3972 CSV file in the format created by midicsv may be converted back into a
3973 standard MIDI file with the csvmidi program.")
3974 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
3975 (license license:public-domain)))
3977 (define-public gx-guvnor-lv2
3979 (name "gx-guvnor-lv2")
3984 (url "https://github.com/brummer10/GxGuvnor.lv2")
3985 (commit (string-append "v" version))))
3986 (file-name (string-append name "-" version "-checkout"))
3989 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
3990 (build-system gnu-build-system)
3992 `(;; The check target is used only to output a warning.
3995 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
3997 (modify-phases %standard-phases
4000 (substitute* "Makefile"
4001 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
4002 (("install : all") "install :"))
4006 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
4007 (synopsis "Overdrive/distortion pedal simulation")
4008 (description "This package provides the LV2 plugin \"GxGuvnor\", a
4009 simulation of an overdrive or distortion pedal for guitars.")
4010 ;; The LICENSE file says GPLv3 but the license headers in the files say
4011 ;; GPLv2 or later. The whole project is released under GPLv3 or later
4012 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
4013 (license license:gpl3+)))
4015 (define-public gx-vbass-preamp-lv2
4016 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
4018 (package (inherit gx-guvnor-lv2)
4019 (name "gx-vbass-preamp-lv2")
4020 (version (string-append "0-" revision "." (string-take commit 9)))
4024 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
4028 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
4029 (file-name (string-append name "-" version "-checkout"))))
4034 `(("pkg-config" ,pkg-config)))
4035 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
4036 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
4037 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
4038 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
4041 (define-public gx-overdriver-lv2
4042 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
4044 (package (inherit gx-guvnor-lv2)
4045 (name "gx-overdriver-lv2")
4046 (version (string-append "0-" revision "." (string-take commit 9)))
4050 (url "https://github.com/brummer10/GxOverDriver.lv2")
4054 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
4055 (file-name (string-append name "-" version "-checkout"))))
4056 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
4057 (synopsis "Overdrive effect with level and tone control")
4058 (description "This package provides the LV2 plugin \"GxOverDriver\", an
4059 overdrive effect."))))
4061 (define-public gx-tone-mender-lv2
4062 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
4064 (package (inherit gx-guvnor-lv2)
4065 (name "gx-tone-mender-lv2")
4066 (version (string-append "0-" revision "." (string-take commit 9)))
4070 (url "https://github.com/brummer10/GxToneMender.lv2")
4074 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
4075 (file-name (string-append name "-" version "-checkout"))))
4076 (home-page "https://github.com/brummer10/GxToneMender.lv2")
4077 (synopsis "Clean boost with a 3-knob tonestack")
4078 (description "This package provides the LV2 plugin \"GxToneMender\", a
4079 clean boost effect with a 3-knob tonestack."))))
4081 (define-public gx-push-pull-lv2
4082 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
4084 (package (inherit gx-guvnor-lv2)
4085 (name "gx-push-pull-lv2")
4086 (version (string-append "0-" revision "." (string-take commit 9)))
4090 (url "https://github.com/brummer10/GxPushPull.lv2")
4094 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
4095 (file-name (string-append name "-" version "-checkout"))))
4096 (home-page "https://github.com/brummer10/GxPushPull.lv2")
4097 (synopsis "Octave up push pull transistor fuzz simulation")
4098 (description "This package provides the LV2 plugin \"GxPushPull\", a
4099 simulation of a push pull transistor fuzz effect with added high octave."))))
4101 (define-public gx-suppa-tone-bender-lv2
4102 (package (inherit gx-guvnor-lv2)
4103 (name "gx-suppa-tone-bender-lv2")
4108 (url "https://github.com/brummer10/GxSuppaToneBender.lv2")
4109 (commit (string-append "v" version))))
4110 (file-name (string-append name "-" version "-checkout"))
4113 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
4114 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
4115 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
4116 (description "This package provides the LV2 plugin
4117 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
4120 (define-public gx-saturator-lv2
4121 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
4123 (package (inherit gx-vbass-preamp-lv2)
4124 (name "gx-saturator-lv2")
4125 (version (string-append "0-" revision "." (string-take commit 9)))
4129 (url "https://github.com/brummer10/GxSaturator.lv2")
4133 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
4134 (file-name (string-append name "-" version "-checkout"))))
4135 (home-page "https://github.com/brummer10/GxSaturator.lv2")
4136 (synopsis "Saturation effect")
4137 (description "This package provides the LV2 plugin \"GxSaturator\", a
4138 saturation effect."))))
4140 (define-public gx-hyperion-lv2
4141 (package (inherit gx-guvnor-lv2)
4142 (name "gx-hyperion-lv2")
4147 (url "https://github.com/brummer10/GxHyperion.lv2")
4148 (commit (string-append "v" version))))
4149 (file-name (string-append name "-" version "-checkout"))
4152 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
4153 (home-page "https://github.com/brummer10/GxHyperion.lv2")
4154 (synopsis "Simulation of the Hyperion Fuzz pedal")
4155 (description "This package provides the LV2 plugin \"GxHyperion\", a
4156 simulation of the Hyperion Fuzz pedal.")))
4158 (define-public gx-voodoo-fuzz-lv2
4159 (package (inherit gx-guvnor-lv2)
4160 (name "gx-voodoo-fuzz-lv2")
4165 (url "https://github.com/brummer10/GxVoodoFuzz.lv2")
4166 (commit (string-append "v" version))))
4167 (file-name (string-append name "-" version "-checkout"))
4170 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
4171 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
4172 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
4173 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
4174 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
4175 Bosstone circuit, followed by the tone control of the FoxToneMachine in
4176 parallel with a DarkBooster, followed by a volume control.")))
4178 (define-public gx-super-fuzz-lv2
4179 (package (inherit gx-guvnor-lv2)
4180 (name "gx-super-fuzz-lv2")
4185 (url "https://github.com/brummer10/GxSuperFuzz.lv2")
4186 (commit (string-append "v" version))))
4187 (file-name (string-append name "-" version "-checkout"))
4190 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
4191 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
4192 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
4193 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
4194 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
4195 pot, which is usually in the housing, is exposed as a control parameter. It
4196 adjusts the amount of harmonics.")))
4198 (define-public gx-vintage-fuzz-master-lv2
4199 (package (inherit gx-guvnor-lv2)
4200 (name "gx-vintage-fuzz-master-lv2")
4205 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
4206 (commit (string-append "v" version))))
4207 (file-name (string-append name "-" version "-checkout"))
4210 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
4211 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
4212 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
4213 (description "This package provides the LV2 plugin
4214 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
4216 (define-public gx-slow-gear-lv2
4217 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
4219 (package (inherit gx-vbass-preamp-lv2)
4220 (name "gx-slow-gear-lv2")
4221 (version (string-append "0-" revision "." (string-take commit 9)))
4225 (url "https://github.com/brummer10/GxSlowGear.lv2")
4229 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
4230 (file-name (string-append name "-" version "-checkout"))))
4231 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
4232 (synopsis "Slow gear audio effect")
4233 (description "This package provides the LV2 plugin \"GxSlowGear\", a
4234 slow gear audio effect to produce volume swells."))))
4236 (define-public gx-switchless-wah-lv2
4237 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
4239 (package (inherit gx-guvnor-lv2)
4240 (name "gx-switchless-wah-lv2")
4241 (version (string-append "0-" revision "." (string-take commit 9)))
4245 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
4249 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
4250 (file-name (string-append name "-" version "-checkout"))))
4251 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
4252 (synopsis "Wah emulation with switchless activation")
4253 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
4254 a simulation of an analog Wah pedal with switchless activation."))))
4256 (define-public rkrlv2
4257 ;; This commit corresponds to the beta_3 tag
4258 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
4262 (version (git-version "0" revision commit))
4266 (url "https://github.com/ssj71/rkrlv2")
4270 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
4271 (file-name (git-file-name name version))))
4272 (build-system cmake-build-system)
4273 (arguments '(#:tests? #f)) ; there are no tests
4276 ("libsamplerate" ,libsamplerate)
4279 `(("pkg-config" ,pkg-config)))
4280 (home-page "https://github.com/ssj71/rkrlv2")
4281 (synopsis "Rakarrack effects ported to LV2 plugins")
4282 (description "This package provides the Rakarrack effects as LV2
4283 plugins. The ports are done such that hopefully when Rakarrack gets an active
4284 maintainer these will get merged into the original project.")
4285 (license license:gpl2))))
4287 (define-public mod-utilities
4288 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
4291 (name "mod-utilities")
4292 (version (string-append "0-" revision "." (string-take commit 9)))
4296 (url "https://github.com/moddevices/mod-utilities")
4298 (file-name (string-append name "-" version "-checkout"))
4301 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
4302 (build-system gnu-build-system)
4304 `(#:tests? #f ; there are no tests
4306 (list (string-append "INSTALL_PATH="
4307 (assoc-ref %outputs "out")
4309 (string-append "PREFIX=" (assoc-ref %outputs "out"))
4312 (modify-phases %standard-phases
4313 (delete 'configure))))
4316 (home-page "https://github.com/moddevices/mod-utilities")
4317 (synopsis "LV2 utility plugins")
4318 (description "This package provides LV2 audio utility plugins, such as
4319 filters, crossovers, simple gain plugins without zipper noise, switch box
4320 plugins, a switch trigger, a toggle switch, and a peakmeter.")
4321 (license license:gpl2+))))
4323 (define-public ingen
4324 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
4328 (version (string-append "0.0.0-" revision "."
4329 (string-take commit 9)))
4334 (url "https://git.drobilla.net/ingen.git")
4336 (file-name (string-append name "-" version "-checkout"))
4339 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
4340 (build-system waf-build-system)
4342 `(#:python ,python-2
4343 #:tests? #f ; no "check" target
4344 #:configure-flags (list "--no-webkit")
4346 (modify-phases %standard-phases
4347 (add-after 'unpack 'patch-wscript
4348 (lambda* (#:key outputs #:allow-other-keys)
4349 (let ((out (assoc-ref outputs "out")))
4350 (substitute* "wscript"
4351 ;; FIXME: Our version of lv2specgen.py does not behave as
4352 ;; expected. Maybe this requires a development version of
4354 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
4355 ;; Add libraries to RUNPATH.
4356 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
4357 (string-append prefix
4358 "linkflags=[\"-Wl,-rpath="
4359 out "/lib" "\"]," line)))
4360 (substitute* '("src/wscript"
4361 "src/server/wscript")
4362 ;; Add libraries to RUNPATH.
4363 (("bld.env.PTHREAD_LINKFLAGS" line)
4365 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
4366 (substitute* "src/client/wscript"
4367 ;; Add libraries to RUNPATH.
4368 (("^(.+)target.*= 'ingen_client'," line prefix)
4369 (string-append prefix
4370 "linkflags=[\"-Wl,-rpath="
4371 out "/lib" "\"]," line)))
4372 (substitute* "src/gui/wscript"
4373 ;; Add libraries to RUNPATH.
4374 (("^(.+)target.* = 'ingen_gui.*" line prefix)
4375 (string-append prefix
4376 "linkflags=[\"-Wl,-rpath="
4377 out "/lib" "\"]," line))))
4381 ("python-rdflib" ,python-rdflib)
4386 ("raul" ,raul-devel)
4392 ("gtkmm" ,gtkmm-2)))
4394 `(("pkg-config" ,pkg-config)
4395 ("python-pygments" ,python-pygments)))
4396 (home-page "https://drobilla.net/software/ingen")
4397 (synopsis "Modular audio processing system")
4398 (description "Ingen is a modular audio processing system for JACK and
4399 LV2 based systems. Ingen is built around LV2 technology and a strict
4400 separation of engine from user interface. The engine is controlled
4401 exclusively through a protocol, and can execute as a headless process, with an
4402 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
4403 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
4404 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
4405 plugin on any system where Ingen is installed. This allows users to visually
4406 develop custom plugins for use in other applications without programming.")
4407 (license license:agpl3+))))
4409 (define-public qmidiarp
4415 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
4416 version "/qmidiarp-" version ".tar.bz2"))
4419 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
4420 (build-system gnu-build-system)
4423 (list "--enable-qt5")))
4425 `(("qtbase" ,qtbase)
4426 ("alsa-lib" ,alsa-lib)
4431 `(("pkg-config" ,pkg-config)
4432 ("qttools" ,qttools)))
4433 (home-page "http://qmidiarp.sourceforge.net/")
4434 (synopsis "MIDI arpeggiator")
4435 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
4436 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
4437 modules running in parallel.")
4438 (license license:gpl2+)))
4440 (define-public qmidiroute
4446 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
4447 version "/qmidiroute-" version ".tar.bz2"))
4450 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
4451 (build-system gnu-build-system)
4454 (list "--enable-qt5")))
4456 `(("qtbase" ,qtbase)
4457 ("alsa-lib" ,alsa-lib)))
4459 `(("pkg-config" ,pkg-config)
4460 ("qttools" ,qttools)))
4461 (home-page "http://alsamodular.sourceforge.net/")
4462 (synopsis "MIDI event router and filter")
4463 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
4464 control change, program change and pitch bend events are logged, and can be
4465 filtered, redirected and transformed into other events according to MIDI maps
4466 defined as tabs in the main control surface.")
4467 (license license:gpl2+)))
4469 (define-public seq24
4475 (uri (string-append "https://launchpad.net/seq24/trunk/"
4476 version "/+download/seq24-"
4477 version ".tar.bz2"))
4480 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
4481 (patches (search-patches "seq24-rename-mutex.patch"))))
4482 (build-system gnu-build-system)
4484 `(("gtkmm" ,gtkmm-2)
4485 ("alsa-lib" ,alsa-lib)
4489 `(("pkg-config" ,pkg-config)))
4490 (home-page "https://edge.launchpad.net/seq24/")
4491 (synopsis "Real-time MIDI sequencer")
4492 (description "Seq24 is a real-time MIDI sequencer. It was created to
4493 provide a very simple interface for editing and playing MIDI loops.")
4494 (license license:gpl2+)))
4496 (define-public python-discogs-client
4498 (name "python-discogs-client")
4502 (uri (pypi-uri "discogs-client" version))
4505 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
4506 (build-system python-build-system)
4508 `(("python-oauthlib" ,python-oauthlib)
4509 ("python-requests" ,python-requests)))
4511 `(("python-six" ,python-six)))
4512 (home-page "https://github.com/discogs/discogs_client")
4513 (synopsis "Official Python client for the Discogs API")
4514 (description "This is the official Discogs API client for Python. It enables
4515 you to query the Discogs database for information on artists, releases, labels,
4516 users, Marketplace listings, and more. It also supports OAuth 1.0a
4517 authorization, which allows you to change user data such as profile information,
4518 collections and wantlists, inventory, and orders.")
4519 (license license:bsd-2)))
4521 (define-public python2-discogs-client
4522 (package-with-python2 python-discogs-client))
4524 (define-public libsmf
4531 ;; SF download page says development moved, but the link it points to
4532 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
4533 ;; it but made no release so far (https://github.com/stump/libsmf).
4534 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
4535 version "/libsmf-" version ".tar.gz"))
4538 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
4539 (build-system gnu-build-system)
4541 "static")) ; 88KiB of .a files
4544 (modify-phases %standard-phases
4545 (add-after 'install 'move-static-libraries
4546 (lambda* (#:key outputs #:allow-other-keys)
4547 ;; Move static libraries to the "static" output.
4548 (let* ((out (assoc-ref outputs "out"))
4549 (lib (string-append out "/lib"))
4550 (static (assoc-ref outputs "static"))
4551 (slib (string-append static "/lib")))
4553 (for-each (lambda (file)
4554 (install-file file slib)
4556 (find-files lib "\\.a$"))
4559 `(("readline" ,readline)
4562 `(("doxygen" ,doxygen)
4563 ("pkg-config" ,pkg-config)))
4564 (home-page "http://libsmf.sourceforge.net/")
4565 (synopsis "Standard MIDI File format library")
4567 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
4568 conversions between time and pulses, tempo map handling and more. The only dependencies
4569 are a C compiler and glib. Full API documentation and examples are included.")
4570 (license license:bsd-2)))
4580 (url "https://github.com/LMMS/lmms")
4581 (commit (string-append "v" version))))
4582 (file-name (git-file-name name version))
4585 "11xgf461cnmq0jkgdgx5bddi87ammpik4whg1m4fcvd3i0d5i601"))))
4586 (build-system cmake-build-system)
4588 `(#:tests? #f ; no tests
4589 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
4590 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
4591 ;; Also, explicitly disabling VST support gets rid of the in-tree
4592 ;; dependency on qt5-x11embed.
4593 #:configure-flags '("-DWANT_QT5=ON"
4596 (modify-phases %standard-phases
4597 (add-after 'unpack 'unpack-rpmalloc
4598 (lambda* (#:key inputs #:allow-other-keys)
4599 (copy-recursively (assoc-ref inputs "rpmalloc")
4600 "src/3rdparty/rpmalloc/rpmalloc")
4602 (add-before 'configure 'set-ldflags
4603 (lambda* (#:key outputs #:allow-other-keys)
4607 (assoc-ref outputs "out") "/lib/lmms"
4609 (assoc-ref outputs "out") "/lib/lmms/ladspa"
4612 (add-before 'reset-gzip-timestamps 'make-manpages-writable
4613 (lambda* (#:key outputs #:allow-other-keys)
4615 (make-file-writable file))
4616 (find-files (string-append (assoc-ref outputs "out")
4621 `(("pkg-config" ,pkg-config)
4622 ("qttools" ,qttools)
4623 ;; rpmalloc is a public domain memory allocator. This version specified
4624 ;; below is the version required by LMMS.
4625 ;; To get the new commit of rpmalloc to use here, run
4626 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
4627 ;; in the cloned LMMS repository.
4632 (url "https://github.com/mjansson/rpmalloc")
4633 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
4636 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
4640 ("qtx11extras" ,qtx11extras)
4643 ("libsamplerate" ,libsamplerate)
4644 ("fluidsynth" ,fluidsynth)
4645 ("libvorbis" ,libvorbis)
4646 ("alsa-lib" ,alsa-lib)
4647 ("portaudio" ,portaudio)
4649 ("libsndfile1" ,libsndfile)
4651 ("freetype2" ,freetype)
4655 (home-page "https://lmms.io/")
4656 (synopsis "Music composition tool")
4657 (description "LMMS is a digital audio workstation. It includes tools for sequencing
4658 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
4659 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
4660 (license license:gpl2+)))
4662 (define-public liquidsfz
4668 (uri (string-append "https://space.twc.de/~stefan/liquidsfz/"
4669 "liquidsfz-" version ".tar.bz2"))
4672 "1hb4hc3gkvjfbx0ls6wxzavhv2hf9ix11cz8yvndyb6q9lwkimwl"))))
4673 (build-system gnu-build-system)
4675 `(#:configure-flags '("--enable-shared")))
4677 `(("pkg-config" ,pkg-config)
4678 ;; Fails with default gcc (#include <filesystem> not found).
4683 ("readline" ,readline)
4684 ("libsndfile" ,libsndfile)))
4685 (home-page "https://github.com/swesterfeld/liquidsfz")
4686 (synopsis "Sampler library")
4687 (description "The main goal of liquidsfz is to provide an SFZ sampler
4688 implementation library that is easy to integrate into other projects. A
4689 standalone JACK client and an LV2 plugin is also available.")
4690 (license license:lgpl2.1+)))
4692 (define-public musescore
4700 (url "https://github.com/musescore/MuseScore")
4701 (commit (string-append "v" version))))
4702 (file-name (git-file-name name version))
4704 (base32 "0szvb6mlzy9df9lrq546rrpixa480knzij1wgh6ilflxz87q048q"))
4705 (modules '((guix build utils)))
4707 ;; Remove unused libraries.
4709 (for-each delete-file-recursively
4710 '("thirdparty/freetype"
4711 "thirdparty/openssl"
4712 "thirdparty/portmidi"
4713 "thirdparty/qt-google-analytics"))
4715 (build-system cmake-build-system)
4718 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
4719 "-DBUILD_WEBENGINE=OFF"
4720 "-DDOWNLOAD_SOUNDFONT=OFF"
4721 "-DMUSESCORE_BUILD_CONFIG=release"
4722 "-DUSE_SYSTEM_FREETYPE=ON")
4723 ;; There are tests, but no simple target to run. The command used to
4726 ;; make debug && sudo make installdebug && cd \
4727 ;; build.debug/mtest && make && ctest
4729 ;; Basically, it requires to start a whole new build process.
4730 ;; So we simply skip them.
4733 `(("alsa-lib" ,alsa-lib)
4734 ("freetype" ,freetype)
4735 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
4739 ("libsndfile" ,libsndfile)
4740 ("libvorbis" ,libvorbis)
4741 ("portaudio" ,portaudio)
4742 ("portmidi" ,portmidi)
4743 ("pulseaudio" ,pulseaudio)
4745 ("qtdeclarative" ,qtdeclarative)
4746 ("qtquickcontrols2" ,qtquickcontrols2)
4747 ("qtscript" ,qtscript)
4749 ("qtxmlpatterns" ,qtxmlpatterns)))
4751 `(("pkg-config" ,pkg-config)
4752 ("qttools" ,qttools)))
4753 (synopsis "Music composition and notation software")
4755 "MuseScore is a music score typesetter. Its main purpose is the creation
4756 of high-quality engraved musical scores in a WYSIWYG environment.
4758 It supports unlimited staves, linked parts and part extraction, tablature,
4759 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
4760 lyrics (multiple verses), fretboard diagrams, and in general everything
4761 commonly used in sheet music. Style options and style sheets to change the
4762 appearance and layout are provided.
4764 MuseScore can also play back scores through the built-in sequencer and SoundFont
4766 (home-page "https://musescore.org")
4767 (license license:gpl2)))
4769 (define-public muse-sequencer
4771 (name "muse-sequencer")
4776 (url "https://github.com/muse-sequencer/muse")
4777 (commit (string-append "muse_"
4778 (string-map (lambda (c)
4780 #\_ c)) version)))))
4781 (file-name (git-file-name name version))
4784 "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p"))))
4785 (build-system cmake-build-system)
4787 `(#:tests? #f ; there is no test target
4789 (list "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4790 "-DENABLE_VST_NATIVE=OFF"
4791 (string-append "-DCMAKE_EXE_LINKER_FLAGS="
4793 (assoc-ref %outputs "out") "/lib/muse-"
4794 ,(version-major+minor version) "/modules")
4795 (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
4797 (assoc-ref %outputs "out") "/lib/muse-"
4798 ,(version-major+minor version) "/modules"))
4800 (modify-phases %standard-phases
4801 (add-after 'unpack 'chdir
4802 (lambda _ (chdir "muse3") #t))
4803 (add-after 'chdir 'fix-include
4805 (substitute* "muse/driver/rtaudio.h"
4806 (("rtaudio/RtAudio.h") "RtAudio.h"))
4809 `(("alsa-lib" ,alsa-lib)
4818 ("libsndfile" ,libsndfile)
4819 ("libsamplerate" ,libsamplerate)
4821 ("fluidsynth" ,fluidsynth)
4823 ("pulseaudio" ,pulseaudio) ; required by rtaudio
4826 ("rtaudio" ,rtaudio)
4827 ("rubberband" ,rubberband)))
4829 `(("pkg-config" ,pkg-config)
4830 ("qttools" ,qttools)))
4831 (home-page "https://muse-sequencer.github.io/")
4832 (synopsis "MIDI/Audio sequencer")
4833 (description "MusE is a MIDI/Audio sequencer with recording and editing
4834 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4835 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4836 list view, and a score editor. MusE aims to be a complete multitrack virtual
4838 (license license:gpl2+)))
4840 (define-public gsequencer
4848 (url "https://git.savannah.gnu.org/git/gsequencer.git/")
4850 (file-name (git-file-name name version))
4852 (base32 "0pqaj09x3lzcj0zbbkqpyaky9i1w462bhhvg1akh73nzwvyy46zd"))))
4853 (build-system gnu-build-system)
4856 (modify-phases %standard-phases
4857 (add-before 'build 'prepare-x-for-test
4860 (setenv "DISPLAY" ":0")
4863 `(("autoconf" ,autoconf)
4864 ("automake" ,automake)
4866 ("gettext" ,gettext-minimal)
4867 ("gobject-introspection" ,gobject-introspection)
4868 ("gtk-doc" ,gtk-doc)
4869 ("libtool" ,libtool)
4870 ("libxslt" ,libxslt)
4871 ("pkg-config" ,pkg-config)
4872 ("xorg-server" ,xorg-server-for-tests)))
4874 `(("alsa-lib" ,alsa-lib)
4877 ("gst-plugins-base" ,gst-plugins-base)
4878 ("gstreamer" ,gstreamer)
4882 ("libinstpatch" ,libinstpatch)
4883 ("libsamplerate" ,libsamplerate)
4884 ("libsndfile" ,libsndfile)
4885 ("libsoup" ,libsoup)
4886 ("libuuid" ,util-linux "lib")
4887 ("libxml2" ,libxml2)
4889 ("pulseaudio" ,pulseaudio)
4890 ("webkitgtk" ,webkitgtk)))
4891 (home-page "https://nongnu.org/gsequencer/")
4892 (synopsis "Advanced Gtk+ Sequencer")
4894 "GSequencer allows you to play, capture and create music. There is a piano
4895 roll, automation and wave form editor. It has machines for playing drum samples,
4896 Soundfont2 sound containers and synthesizers. They usually can be connected to a
4897 MIDI input source (instrument). It has support for various audio backends like
4898 ALSA, Pulseaudio, JACK, OSSv4 and CoreAudio.")
4899 (license license:gpl3+)))
4908 "mirror://sourceforge/dssi/dssi/" version
4909 "/dssi-" version ".tar.gz"))
4912 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4913 (build-system gnu-build-system)
4915 `(("alsa-lib" ,alsa-lib)
4918 ("libsamplerate" ,libsamplerate)
4919 ("libsndfile" ,libsndfile)
4922 `(("pkg-config" ,pkg-config)))
4923 (synopsis "Audio plugin API for soft synths and effects")
4924 (description "DSSI is a plugin API for software instruments with user
4925 interfaces, permitting them to be hosted in-process by audio applications.
4926 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4927 towards familiarity with MIDI. The DSSI distribution package contains
4928 a JACK/ALSA-sequencer reference host and some plugins as well as the
4929 specification and header.")
4930 (home-page "http://dssi.sourceforge.net/")
4931 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4932 ;; The vast majority of examples are in the public domain.
4933 (license (list license:lgpl2.1+ license:gpl2+))))
4935 (define-public rosegarden
4942 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4943 version "/rosegarden-" version ".tar.bz2"))
4945 (base32 "0nqw2caxmv6mqh485wzvywa024yvi18q87sd4dw9b2l5qnpq8rl8"))))
4946 (build-system cmake-build-system)
4948 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4950 (modify-phases %standard-phases
4951 (add-after 'unpack 'patch-tests
4953 (substitute* "CMakeLists.txt"
4954 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4956 ((" -fvisibility=hidden") ""))
4958 (add-after 'unpack 'fix-references
4959 (lambda* (#:key inputs #:allow-other-keys)
4960 (substitute* "src/gui/general/ProjectPackager.cpp"
4962 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4964 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4966 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4968 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4970 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4971 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4972 (("\"convert-ly\\>")
4973 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4975 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4977 (add-after 'unpack 'make-reproducible
4979 ;; Prevent Last-Modified from being written.
4980 ;; The "*.qm" files that are used in locale.qrc would have a new
4981 ;; mtime otherwise that is written into qrc_locale.cpp in the
4982 ;; end - except when we disable it.
4983 (substitute* "src/CMakeLists.txt"
4984 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4985 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4987 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4988 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4990 ;; Make hashtable traversal order predicable.
4991 (setenv "QT_RCC_TEST" "1") ; important
4993 (add-before 'check 'prepare-check
4995 (setenv "QT_QPA_PLATFORM" "offscreen")
4996 ;; Tests create files in $HOME/.local/share/rosegarden .
4997 (mkdir-p "/tmp/foo")
4998 (setenv "HOME" "/tmp/foo")
4999 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
5002 `(("alsa-lib" ,alsa-lib)
5010 ("libsamplerate" ,libsamplerate)
5011 ("lilypond" ,lilypond)
5016 ("wavpack" ,wavpack)
5019 `(("pkg-config" ,pkg-config)
5020 ("qtlinguist" ,qttools)))
5021 (synopsis "Music composition and editing environment based around a MIDI
5023 (description "Rosegarden is a music composition and editing environment
5024 based around a MIDI sequencer that features a rich understanding of music
5025 notation and includes basic support for digital audio.")
5026 (home-page "https://www.rosegardenmusic.com/")
5027 (license license:gpl2)))
5029 (define-public patchmatrix
5031 (name "patchmatrix")
5036 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
5038 (file-name (git-file-name "patchmatrix" version))
5041 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
5042 (build-system meson-build-system)
5043 (arguments '(#:tests? #f)) ; no test target
5049 `(("pkg-config" ,pkg-config)))
5050 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
5051 (synopsis "Simple JACK patch bay")
5052 (description "PatchMatrix is a patch bay for the JACK audio connection
5053 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
5055 (license license:artistic2.0)))
5057 (define-public sorcer
5063 (uri (string-append "https://github.com/openAVproductions/"
5064 "openAV-Sorcer/archive/release-"
5066 (file-name (string-append name "-" version ".tar.gz"))
5069 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
5070 (build-system cmake-build-system)
5072 `(#:tests? #f ; no tests included
5074 (modify-phases %standard-phases
5075 (add-after 'unpack 'remove-architecture-specific-flags
5077 (substitute* "CMakeLists.txt"
5078 (("-msse2 -mfpmath=sse") ""))
5080 (add-after 'unpack 'build-faust-sources
5081 (lambda* (#:key inputs #:allow-other-keys)
5082 (with-directory-excursion "faust"
5083 (delete-file "main.cpp")
5084 (invoke "faust" "-i"
5086 "-o" "main.cpp" "main.dsp")))))))
5093 ("pkg-config" ,pkg-config)))
5094 (home-page "http://openavproductions.com/sorcer/")
5095 (synopsis "Wavetable LV2 plugin synth")
5096 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
5097 the electronic or dubstep genre.")
5098 (license license:gpl3+)))
5100 (define-public sonivox-eas
5102 (name "sonivox-eas")
5107 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
5108 (commit (string-append "v" version))))
5109 (file-name (string-append name "-" version "-checkout"))
5112 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
5113 (build-system cmake-build-system)
5114 (arguments '(#:tests? #f)) ; there are no tests
5116 `(("alsa-lib" ,alsa-lib)
5117 ("drumstick" ,drumstick)
5118 ("pulseaudio" ,pulseaudio)
5119 ("qtbase" ,qtbase)))
5121 `(("pkg-config" ,pkg-config)))
5122 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
5123 (synopsis "MIDI synthesizer library")
5124 (description "This project is a real time General MIDI synthesizer based
5125 on the Sonivox EAS Synthesizer by Google. It does not need external
5126 soundfonts, using embedded samples instead.")
5127 ;; Sonivox is released under the ASL2.0; the rest of the code is under
5129 (license (list license:gpl2+ license:asl2.0))))
5131 (define-public whysynth
5134 (version "20170701")
5137 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
5138 version ".tar.bz2"))
5141 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
5142 (build-system gnu-build-system)
5149 ("alsa-lib" ,alsa-lib)))
5151 `(("pkg-config" ,pkg-config)))
5152 (home-page "http://smbolton.com/whysynth.html")
5153 (synopsis "DSSI software synthesizer")
5154 (description "WhySynth is a versatile softsynth which operates as a plugin
5155 for the DSSI Soft Synth Interface. A brief list of features:
5158 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
5159 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
5160 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
5162 @item 10 filter modes.
5163 @item flexible modulation and mixdown options, plus effects.
5166 (license license:gpl2+)))
5168 (define-public libdiscid
5176 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
5180 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
5181 (arguments `(#:test-target "check"))
5182 (build-system cmake-build-system)
5183 (home-page "https://musicbrainz.org/doc/libdiscid")
5184 (synopsis "Disc id reader library")
5185 (description "libdiscid is a C library for creating MusicBrainz and freedb
5186 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
5187 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
5188 it provides a submission URL for adding the disc ID to the database and gathers
5189 ISRCs and the MCN (=UPC/EAN) from disc.")
5190 (license license:lgpl2.1+)))
5192 (define-public python-discid
5194 (name "python-discid")
5199 (uri (pypi-uri "discid" version))
5202 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
5203 (build-system python-build-system)
5205 `(("libdiscid" ,libdiscid)))
5208 (modify-phases %standard-phases
5209 (add-before 'build 'set-libdiscid
5210 ;; Set path of libdiscid
5211 (lambda* (#:key inputs #:allow-other-keys)
5212 (let ((discid (assoc-ref inputs "libdiscid")))
5213 (substitute* "discid/libdiscid.py"
5214 (("lib_name = (.*)$" all name)
5215 (string-append "lib_name = \"" discid
5216 "/lib/libdiscid.so.0\"\n")))
5218 (home-page "https://python-discid.readthedocs.io/")
5219 (synopsis "Python bindings for Libdiscid")
5221 "This package provides Python bindings for the Libdiscid library. The
5222 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
5223 Disc IDs} for use with the MusicBrainz database. Additionally the disc
5224 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
5225 Recording Code} (ISRC) can be extracted.}")
5226 (license license:lgpl3+)))
5228 (define-public libmusicbrainz
5230 (name "libmusicbrainz")
5236 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
5237 version "/libmusicbrainz-" version ".tar.gz"))
5240 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
5241 (build-system cmake-build-system)
5244 (modify-phases %standard-phases
5247 ;; requires network connections
5248 ;; (invoke "tests/mbtest")
5249 (invoke "tests/ctest")
5251 (inputs `(("neon" ,neon)
5252 ("libxml2" ,libxml2)))
5253 (native-inputs `(("pkg-config" ,pkg-config)))
5254 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
5255 (synopsis "MusicBrainz client library")
5256 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
5257 mb_client, is a development library geared towards developers who wish to add
5258 MusicBrainz lookup capabilities to their applications.")
5259 (license license:lgpl2.1+)))
5261 (define-public perl-musicbrainz-discid
5263 (name "perl-musicbrainz-discid")
5268 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
5272 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
5273 (build-system perl-build-system)
5274 (native-inputs `(("pkg-config" ,pkg-config)
5276 (inputs `(("libdiscid" ,libdiscid)))
5277 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
5278 (synopsis "Perl interface to the MusicBrainz libdiscid library")
5280 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
5281 MusicBrainz libdiscid library, allowing you to manipulate digital audio
5282 compact disc (CDDA) identifiers.")
5283 (license license:gpl2)))
5285 (define-public perl-webservice-musicbrainz
5287 (name "perl-webservice-musicbrainz")
5292 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
5296 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
5297 (build-system perl-build-system)
5299 ;; Tests try to connect to http://musicbrainz.org.
5302 `(("perl-module-build" ,perl-module-build)))
5304 `(("perl-mojolicious" ,perl-mojolicious)))
5305 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
5306 (synopsis "Web service API to the MusicBrainz database")
5308 "This module searches the MusicBrainz database through their web service
5309 at @code{musicbrainz.org}.")
5310 (license license:perl-license)))
5312 (define-public clyrics
5320 (url "https://github.com/trizen/clyrics")
5322 (file-name (git-file-name name version))
5324 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
5325 (build-system trivial-build-system)
5327 `(("bash" ,bash) ; for the wrapped program
5329 ("perl-www-mechanize" ,perl-www-mechanize)
5330 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
5331 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
5332 ;; 500 Can't verify SSL peers without knowing which Certificate
5333 ;; Authorities to trust".
5334 ("perl-mozilla-ca" ,perl-mozilla-ca)))
5336 `(#:modules ((guix build utils))
5338 (use-modules (guix build utils)
5341 (let* ((source (assoc-ref %build-inputs "source"))
5342 (output (assoc-ref %outputs "out")))
5345 (assoc-ref %build-inputs "bash") "/bin" ":"
5346 (assoc-ref %build-inputs "perl") "/bin" ":"))
5347 (copy-recursively source (getcwd))
5348 (patch-shebang "clyrics")
5349 (substitute* "clyrics"
5350 (("/usr/share") output))
5351 (install-file "clyrics" (string-append output "/bin"))
5352 (wrap-program (string-append output "/bin/clyrics")
5357 (((? (cut string-prefix? "perl-" <>) name) . dir)
5358 (string-append dir "/lib/perl5/site_perl"))
5361 (copy-recursively "plugins" (string-append output "/clyrics"))
5363 (home-page "https://github.com/trizen/clyrics")
5364 (synopsis "Extensible lyrics fetcher")
5366 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
5367 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
5368 console music players.")
5369 (license license:gpl3+)))
5371 (define-public demlo
5372 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
5376 (version (git-version "3.8" revision commit))
5382 "https://gitlab.com/ambrevar/demlo")
5384 (file-name (git-file-name name version))
5387 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
5388 (build-system go-build-system)
5391 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5392 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
5393 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
5394 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
5395 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
5396 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
5397 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
5398 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
5399 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
5400 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
5402 `(("chromaprint" ,chromaprint)
5403 ("ffmpeg" ,ffmpeg)))
5405 `(#:import-path "gitlab.com/ambrevar/demlo"
5407 (modify-phases %standard-phases
5408 (add-after 'install 'wrap-program
5409 (lambda* (#:key inputs outputs #:allow-other-keys)
5410 (let ((out (assoc-ref outputs "out"))
5411 (ffmpeg (assoc-ref inputs "ffmpeg"))
5412 (chromaprint (assoc-ref inputs "chromaprint")))
5413 (wrap-program (string-append out "/bin/demlo")
5414 `("XDG_DATA_DIRS" ":" prefix (,out))
5417 (string-append dir "/bin:"
5419 (list ffmpeg chromaprint))))
5421 (add-after 'install 'install-scripts
5422 (lambda* (#:key outputs #:allow-other-keys)
5423 (let* ((out (assoc-ref outputs "out"))
5424 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
5425 (xdg-data-dirs (string-append out "/demlo")))
5426 (copy-recursively (string-append root "/actions")
5427 (string-append xdg-data-dirs "/actions"))
5428 (copy-recursively (string-append root "/scripts")
5429 (string-append xdg-data-dirs "/scripts"))
5430 (install-file (string-append root "/config.lua") xdg-data-dirs)
5431 ;; TODO: Test fish completion.
5432 (install-file (string-append root "/completion/demlo.fish")
5433 (string-append out "/share/fish/vendor_completions.d"))
5435 (home-page "https://gitlab.com/ambrevar/demlo")
5436 (synopsis "Dynamic and extensible music library organizer")
5437 (description "Demlo is a music library organizer. It can encode, fix
5438 case, change folder hierarchy according to tags or file properties, tag from
5439 an online database, copy covers while ignoring duplicates or those below a
5440 quality threshold, and much more. It makes it possible to manage your
5441 libraries uniformly and dynamically. You can write your own rules to fit your
5444 Demlo can address any of these recurring music library issues (and much more):
5447 @item Fix the lack of folder structure.
5448 @item Normalize tags, fix their case, chose which tags to keep and which to
5450 @item Handle lossy and lossless audio differently.
5451 @item Handle mp3 id3tags hell...
5452 @item Handle multiple covers, whether embedded and/or external, resize covers,
5453 discard bad quality ones.
5455 (license license:expat))))
5464 (url "https://github.com/gillesdegottex/fmit/")
5465 (commit (string-append "v" version))))
5466 (file-name (git-file-name name version))
5469 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
5470 (build-system gnu-build-system)
5473 (modify-phases %standard-phases
5475 (add-before 'build 'qmake
5477 (let ((out (assoc-ref %outputs "out")))
5480 (string-append "PREFIX=" out)
5481 (string-append "PREFIXSHORTCUT=" out)
5482 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
5483 (add-after 'install 'wrap-executable
5484 (lambda* (#:key inputs outputs #:allow-other-keys)
5485 (let ((out (assoc-ref outputs "out")))
5486 (wrap-program (string-append out "/bin/fmit")
5487 `("QT_PLUGIN_PATH" ":" prefix
5488 ,(map (lambda (label)
5489 (string-append (assoc-ref inputs label)
5490 "/lib/qt5/plugins"))
5491 '("qtbase" "qtmultimedia" "qtsvg")))
5492 `("QML2_IMPORT_PATH" ":" prefix
5493 ,(map (lambda (label)
5494 (string-append (assoc-ref inputs label)
5496 '("qtmultimedia"))))
5499 `(("alsa-lib" ,alsa-lib)
5502 ("portaudio" ,portaudio)
5504 ("qtmultimedia" ,qtmultimedia)
5507 `(("gettext" ,gettext-minimal)
5508 ("hicolor-icon-theme" ,hicolor-icon-theme)
5509 ("itstool" ,itstool)
5510 ("qttools" ,qttools)))
5511 (synopsis "Musical instrument tuner")
5512 (description "FMIT is a graphical utility for tuning musical instruments,
5513 with error and volume history, and advanced features.")
5514 (home-page "https://gillesdegottex.github.io/fmit/")
5515 ;; Most of the code is under GPL2+, but some abstract or helper classes
5516 ;; are under LGPL2.1.
5517 (license (list license:gpl2+ license:lgpl2.1))))
5519 (define-public mloop
5520 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
5524 (version (git-version "0.0.1" revision commit))
5528 (url "http://git.fuzzle.org/mloop")
5530 (file-name (git-file-name name version))
5533 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
5534 (build-system waf-build-system)
5536 `(#:python ,python-2
5537 #:tests? #f)) ; no "check" target
5540 ("ncurses" ,ncurses)))
5542 `(("pkg-config" ,pkg-config)))
5543 (home-page "https://fuzzle.org/~petern/mloop.html")
5544 (synopsis "Live MIDI looper")
5545 (description "mloop is a live MIDI looping system, using jack-midi.
5546 Loops are recorded, optionally with beat quantization, and can then be played
5547 back, either once or looping. A 'note cache' system is implemented to
5548 remember which notes are pressed and their velocities. This allows for a loop
5549 to start off with the currently pressed notes, making seamless loops much
5550 easier to perform. Features include:
5553 @item Quantisation; end a loop on a beat exactly.
5554 @item Delayed recording; wait for a MIDI event before starting a loop record.
5555 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
5557 (license license:gpl2))))
5559 (define-public pragha
5565 (uri (string-append "https://github.com/pragha-music-player/pragha/"
5566 "releases/download/v" version "/pragha-" version
5570 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
5571 (build-system glib-or-gtk-build-system)
5573 `(("intltool" ,intltool)
5574 ("pkg-config" ,pkg-config)))
5578 ("gstreamer" ,gstreamer)
5579 ("gst-plugins-base" ,gst-plugins-base)
5580 ("gst-plugins-good" ,gst-plugins-good)
5582 ("libcddb" ,libcddb)
5583 ("libcdio" ,libcdio)
5584 ("libcdio-paranoia" ,libcdio-paranoia)
5585 ("libgudev" ,libgudev)
5586 ("libnotify" ,libnotify)
5587 ("libpeas" ,libpeas)
5588 ("libsoup" ,libsoup)
5590 ("taglib" ,taglib)))
5593 (modify-phases %standard-phases
5594 (add-after 'install 'wrap-program
5595 (lambda* (#:key inputs outputs #:allow-other-keys)
5596 (let ((out (assoc-ref outputs "out"))
5597 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
5598 (wrap-program (string-append out "/bin/pragha")
5599 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
5601 (home-page "https://pragha-music-player.github.io")
5602 (synopsis "Music player")
5603 (description "Pragha is a lightweight music player based on Gtk and
5604 sqlite. It is constructed to be fast, light, and simultaneously tries to be
5605 complete without obstructing your daily work.")
5606 (license license:gpl3+)))
5608 (define-public playerctl
5615 (url "https://github.com/altdesktop/playerctl")
5616 (commit (string-append "v" version))))
5617 (file-name (git-file-name name version))
5620 "17hi33sw3663qz5v54bqqil31sgkrlxkb2l5bgqk87pac6x2wnbz"))))
5621 (build-system meson-build-system)
5623 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
5624 (inputs `(("python-pygobject" ,python-pygobject)))
5626 `(("glib:bin" ,glib "bin")
5627 ("pkg-config" ,pkg-config)))
5628 (synopsis "Control MPRIS-supporting media player applications")
5630 "Playerctl is a command-line utility and library for controlling media
5631 players that implement the MPRIS D-Bus Interface Specification. Playerctl
5632 makes it easy to bind player actions, such as play and pause, to media keys.
5633 You can also get metadata about the playing track such as the artist and title
5634 for integration into status line generators or other command-line tools.")
5635 (home-page "https://github.com/altdesktop/playerctl")
5636 (license license:lgpl3+)))
5638 (define-public artyfx
5646 "https://github.com/openAVproductions/openAV-ArtyFX")
5647 (commit (string-append "release-" version))))
5648 (file-name (git-file-name name version))
5651 "0cxikdnxgjk5gp6kmml4dx2jy2cy4x0c837h7bwraj2pfz0nfgqq"))))
5652 (build-system cmake-build-system)
5654 `(#:tests? #f ; no tests included
5656 (modify-phases %standard-phases
5657 (add-after 'unpack 'remove-architecture-specific-flags
5659 (substitute* "CMakeLists.txt"
5660 (("-msse2 -mfpmath=sse") ""))
5664 ("libsndfile" ,libsndfile)))
5666 `(("pkg-config" ,pkg-config)
5668 (home-page "http://openavproductions.com/artyfx/")
5669 (synopsis "Audio effect LV2 plugin bundle")
5670 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
5671 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
5673 (license license:gpl2+)))
5675 (define-public lsp-plugins
5677 (name "lsp-plugins")
5683 (url "https://github.com/sadko4u/lsp-plugins")
5684 (commit (string-append "lsp-plugins-" version))))
5685 (file-name (git-file-name name version))
5687 (base32 "1apw8zh3a3il4smkjji6bih4vbsymj0hjs10fgkrd4nazqkjvgyd"))))
5688 (build-system gnu-build-system)
5692 (string-append "CC=" ,(cc-for-target))
5693 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5694 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5695 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5697 (modify-phases %standard-phases
5698 (delete 'configure)) ; no configure script
5699 #:test-target "test"))
5702 ("hicolor-icon-theme" ,hicolor-icon-theme)
5705 ("libsndfile" ,libsndfile)
5709 `(("pkg-config" ,pkg-config)))
5710 (synopsis "Audio plugin collection")
5711 (description "LSP (Linux Studio Plugins) is a collection of audio
5712 plugins available as LADSPA/LV2 plugins and as standalone JACK
5714 (home-page "https://lsp-plug.in/")
5715 (license license:lgpl3)))
5717 (define-public sherlock-lv2
5719 (name "sherlock-lv2")
5725 "https://git.open-music-kontrollers.ch/lv2/"
5726 "sherlock.lv2/snapshot/sherlock.lv2-"
5730 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5731 (build-system meson-build-system)
5736 ("sratom" ,sratom)))
5739 ("pkg-config" ,pkg-config)))
5740 (synopsis "Investigative LV2 plugin bundle")
5741 (description "The Sherlock plugin bundle contains LV2 plugins for
5742 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5743 and debugging of event signal flows inside plugin graphs.")
5744 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5745 (license license:artistic2.0)))
5747 (define-public foo-yc20
5754 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5755 version "/foo-yc20-" version ".tar.bz2"))
5758 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5759 (build-system gnu-build-system)
5762 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5763 #:tests? #f ; no automated test
5765 (modify-phases %standard-phases
5768 (substitute* "Makefile"
5769 (("-mtune=native") "")
5770 (("-march=native") ""))
5779 ("pkg-config" ,pkg-config)))
5780 (home-page "https://foo-yc20.codeforcode.com/")
5781 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5782 (description "This is a Faust implementation of a 1969 designed Yamaha
5783 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5784 version. Processing for the organ is based on original schematics and
5785 measurements from a working specimen. This instrument simulates the circutry
5786 as a whole to realisticly reproduce the features and flaws of the real deal.")
5787 ;; Note that after 1.3.0 the license was changed.
5788 (license license:gpl3+)))
5790 (define-public spectacle-analyzer
5792 (name "spectacle-analyzer")
5798 (url "https://github.com/jpcima/spectacle")
5799 (commit (string-append "v" version))
5800 ;; Bundles a specific commit of the DISTRHO plugin framework.
5802 (file-name (git-file-name name version))
5805 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5806 (build-system gnu-build-system)
5808 `(#:tests? #f ; no check target
5811 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5813 (modify-phases %standard-phases
5814 (delete 'configure))))
5816 `(("pkg-config" ,pkg-config)
5825 (synopsis "Realtime graphical spectrum analyzer")
5826 (description "Spectacle is a real-time spectral analyzer using the
5827 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5828 (home-page "https://github.com/jpcima/spectacle")
5829 ;; The project is licensed under the ISC license, and files in
5830 ;; sources/plugin carry the Expat license.
5831 (license (list license:isc license:expat))))
5833 (define-public x42-plugins
5835 (name "x42-plugins")
5836 (version "20200714")
5841 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5844 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5845 (build-system gnu-build-system)
5847 `(#:tests? #f ; no "check" target
5849 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5850 "LIBZITACONVOLVER=-lzita-convolver"
5851 (string-append "FONTFILE="
5852 (assoc-ref %build-inputs "font-dejavu")
5853 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5855 (modify-phases %standard-phases
5856 (add-before 'build 'set-CC-variable
5860 (delete 'configure))))
5867 ("hicolor-icon-theme" ,hicolor-icon-theme)
5870 ("libsamplerate" ,libsamplerate)
5873 ("zita-convolver" ,zita-convolver)))
5875 `(("help2man" ,help2man)
5878 ("font-dejavu" ,font-dejavu)
5879 ("pkg-config" ,pkg-config)))
5880 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5881 (description "x42-plugins is a collection of over 80 cross-platform LV2
5882 audio and MIDI plugins that can also run as standalone JACK applications.")
5883 (home-page "https://x42-plugins.com/x42/")
5884 (license license:gpl2+)))
5886 (define-public zam-plugins
5888 (name "zam-plugins")
5895 (url "https://github.com/zamaudio/zam-plugins")
5897 ;; Recursive to fetch the DISTRHO plugin framework. This
5898 ;; framework is intended to be included in the sources
5899 ;; and not to be used as a library.
5901 (file-name (git-file-name name version))
5903 (base32 "0bxvssqnnd7bph3w1d6xcmxradv4cqq3wyzyv1a1hfm71a0pdahs"))))
5904 (build-system gnu-build-system)
5906 `(#:tests? #f ;no "check" target
5908 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5909 "HAVE_ZITA_CONVOLVER=true")
5911 (modify-phases %standard-phases
5912 (add-before 'build 'set-CC-variable
5914 (setenv "CC" "gcc") #t))
5915 (delete 'configure))))
5918 ("jack" ,jack-1) ;for the standalone JACK application
5920 ("libsamplerate" ,libsamplerate)
5922 ("zita-convolver" ,zita-convolver)))
5924 `(("ladspa" ,ladspa)
5926 ("pkg-config" ,pkg-config)))
5927 (synopsis "Collection of audio processing plugins")
5929 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5930 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5931 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5932 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5933 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5934 (home-page "http://www.zamaudio.com/?p=976")
5935 (license license:gpl2+)))
5937 (define-public geonkick
5945 (url "https://gitlab.com/iurie-sw/geonkick")
5946 (commit (string-append "v" version))))
5947 (file-name (git-file-name name version))
5949 (base32 "0w1mvqm46qdwldcl81svaykwii4wvx7mcr57kwvnj0iv2qrc891i"))))
5950 (build-system cmake-build-system)
5952 `(#:tests? #f ;no tests included
5954 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5955 (assoc-ref %build-inputs "redkite"))
5956 (string-append "-DCMAKE_INSTALL_PREFIX="
5957 (assoc-ref %outputs "out")))))
5959 `(("hicolor-icon-theme" ,hicolor-icon-theme)
5960 ("jack" ,jack-1) ;for the standalone JACK application
5961 ("libsndfile" ,libsndfile)
5963 ("redkite" ,redkite)
5964 ("rapidjson" ,rapidjson)))
5967 ;; Fails with default gcc (#include <filesystem> not found).
5969 ("pkg-config" ,pkg-config)
5971 (synopsis "Percussion synthesizer")
5972 (description "Geonkick is a synthesizer that can synthesize elements
5973 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5974 It can also play and mix samples.")
5975 (home-page "https://gitlab.com/iurie-sw/geonkick")
5976 (license license:gpl3+)))
5978 (define-public mamba
5987 (url "https://github.com/brummer10/Mamba")
5988 (commit (string-append "v" version))
5989 (recursive? #t))) ; references specific commit of libxputty
5990 (file-name (git-file-name name version))
5993 "1bq6sqsij3cdwcsj3wpsnivi4c7jl4l5gwfywhqnib70v60smdja"))))
5994 (build-system gnu-build-system)
5996 `(#:tests? #f ; no "check" target
5998 (list (string-append "PREFIX="
5999 (assoc-ref %outputs "out"))
6000 (string-append "CC=" ,(cc-for-target)))
6002 (modify-phases %standard-phases
6003 (delete 'configure))))
6005 `(("alsa-lib" ,alsa-lib)
6007 ("fluidsynth" ,fluidsynth)
6010 ("libsigc++" ,libsigc++)
6012 ("libx11" ,libx11)))
6014 `(("pkg-config" ,pkg-config)))
6015 (home-page "https://github.com/brummer10/Mamba")
6016 (synopsis "Virtual MIDI keyboard and MIDI file player/recorder for JACK")
6017 (description "Mamba is a virtual MIDI keyboard and MIDI file
6018 player/recorder for the JACK Audio Connection Kit. It comes with predefined
6019 keymaps for QWERTZ, QWERTY and AZERTY keyboards and also allows custom
6021 (license license:bsd-0)))
6023 (define-public dpf-plugins
6025 (name "dpf-plugins")
6032 (url "https://github.com/DISTRHO/DPF-Plugins")
6033 (commit (string-append "v" version))))
6034 (file-name (git-file-name name version))
6037 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
6038 (build-system gnu-build-system)
6040 `(#:tests? #f ; no "check" target
6042 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
6044 (modify-phases %standard-phases
6045 (add-before 'build 'set-CC-variable
6046 (lambda _ (setenv "CC" "gcc") #t))
6047 (delete 'configure))))
6050 ("liblo" ,liblo) ; for dssi plugins
6051 ("jack" ,jack-1) ; for standalone applications
6054 `(("pkg-config" ,pkg-config)
6057 (home-page "https://github.com/DISTRHO/DPF-Plugins")
6058 (synopsis "Audio plugin collection")
6059 (description "Collection of audio plugins built with the DISTRHO Plugin
6060 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
6061 package includes the following plugins: glBars, Kars, Max-Gen examples
6062 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
6063 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
6064 Soul Force), MVerb, Nekobi, and ProM.")
6065 ;; This package consists of several plugins refactored to use the
6066 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
6067 ;; apply to different plugins. The root LICENSE file has a table with
6068 ;; license information for each plugin and paths to each license
6069 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
6071 (define-public avldrums-lv2
6073 (name "avldrums-lv2")
6079 (url "https://github.com/x42/avldrums.lv2")
6080 (commit (string-append "v" version))
6081 ;; This plugin expects the robtk submodule's source files to be
6082 ;; there in order to build.
6084 (file-name (git-file-name name version))
6086 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
6087 (build-system gnu-build-system)
6089 `(#:tests? #f ; no "check" target
6091 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
6093 (modify-phases %standard-phases
6094 (add-before 'build 'set-CC-variable
6096 (setenv "CC" "gcc") #t))
6097 (delete 'configure))))
6105 `(("pkg-config" ,pkg-config)
6107 (home-page "https://x42-plugins.com/x42/x42-avldrums")
6108 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
6109 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
6110 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
6111 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
6112 (license license:gpl2+)))
6123 (url "https://github.com/mtytel/helm")
6124 (commit (string-append "v" version))))
6125 (file-name (git-file-name name version))
6128 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
6129 (build-system gnu-build-system)
6131 `(#:tests? #f ; no "check" target
6133 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
6136 (modify-phases %standard-phases
6137 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
6139 (substitute* "standalone/builds/linux/Makefile"
6140 (("JUCE_INCLUDE_PNGLIB_CODE=0")
6141 "JUCE_INCLUDE_PNGLIB_CODE=1"))
6142 (substitute* "builds/linux/LV2/Makefile"
6143 (("JUCE_INCLUDE_PNGLIB_CODE=0")
6144 "JUCE_INCLUDE_PNGLIB_CODE=1"))
6145 (substitute* "Makefile"
6148 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
6149 (lambda* (#:key outputs #:allow-other-keys)
6150 (for-each make-file-writable
6151 (find-files (string-append (assoc-ref outputs "out"))
6154 (delete 'configure))))
6156 `(("alsa-lib" ,alsa-lib)
6158 ("freetype2" ,freetype)
6159 ("hicolor-icon-theme" ,hicolor-icon-theme)
6160 ("libxcursor" ,libxcursor)
6161 ("libxinerama" ,libxinerama)
6165 `(("pkg-config" ,pkg-config)
6167 (home-page "https://tytel.org/helm/")
6168 (synopsis "Polyphonic synth with lots of modulation")
6169 (description "Helm is a cross-platform polyphonic synthesizer available standalone
6170 and as an LV2 plugin.")
6171 (license license:gpl3+)))
6173 (define-public zrythm
6175 ;; Zrythm contains trademarks and comes with a trademark policy found in
6176 ;; TRADMARKS.md inside the release distribution. The trademark policy
6177 ;; allows verbatim re-distribution, and it also allows FSF-approved
6178 ;; distros to make necessary changes to integrate the software into the
6181 (version "1.0.0-alpha.12.0.1")
6185 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
6189 "1si4n8rdg0a3frlbj6yqpyzr4f20v3cpl4m6kv0yf7r25psyl5pk"))))
6190 (build-system meson-build-system)
6198 "-Dgraphviz=enabled" ; for exporting routing graphs
6199 "-Dguile=enabled" ; for Guile scripting
6200 "-Djack=enabled" ; for JACK audio/MIDI backend
6201 "-Drtmidi=enabled" ; for RtMidi backend (ALSA sequencer)
6202 "-Dsdl=enabled"))) ; for SDL audio backend (which uses ALSA)
6204 `(("alsa-lib" ,alsa-lib)
6206 ("font-dseg" ,font-dseg)
6209 ("gettext" ,gettext-minimal)
6211 ("graphviz" ,graphviz)
6213 ("gtksourceview" ,gtksourceview)
6214 ("guile" ,guile-2.2)
6215 ("libaudec" ,libaudec)
6216 ("libcyaml" ,libcyaml)
6217 ("libsamplerate" ,libsamplerate)
6218 ("libsndfile" ,libsndfile)
6219 ("libyaml" ,libyaml)
6222 ("pulseaudio" ,pulseaudio)
6224 ("rubberband" ,rubberband)
6227 ("xdg-utils" ,xdg-utils)
6228 ("zstd" ,zstd "lib")))
6230 `(("pkg-config" ,pkg-config)
6231 ("help2man" ,help2man)
6232 ("glib" ,glib "bin"))) ; for 'glib-compile-resources'
6233 (synopsis "Digital audio workstation focusing on usability")
6234 (description "Zrythm is a digital audio workstation designed to be
6235 featureful and easy to use. It offers unlimited automation options, LV2
6236 plugin support, JACK support and chord assistance.")
6237 (home-page "https://www.zrythm.org")
6238 (license license:agpl3+)))
6240 (define-public dragonfly-reverb
6242 (name "dragonfly-reverb")
6249 (url "https://github.com/michaelwillis/dragonfly-reverb")
6251 ;; Bundles a specific commit of the DISTRHO plugin framework.
6253 (file-name (git-file-name name version))
6255 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
6256 (build-system gnu-build-system)
6258 `(#:tests? #f ; no check target
6259 #:make-flags (list "CC=gcc")
6261 (modify-phases %standard-phases
6262 (delete 'configure) ;no configure target
6263 (replace 'install ;no install target
6264 (lambda* (#:key outputs #:allow-other-keys)
6265 (let* ((out (assoc-ref outputs "out"))
6266 (bin (string-append out "/bin"))
6267 (lv2 (string-append out "/lib/lv2")))
6271 (copy-recursively file
6272 (string-append lv2 "/" (basename file))))
6273 (find-files "bin" "\\.lv2$" #:directories? #t))
6274 ;; Install executables.
6277 (install-file file bin))
6281 (equal? (dirname name) "bin")
6282 (not (string-suffix? ".so" name))
6283 (not (string-suffix? ".lv2" name))))))
6286 `(("pkg-config" ,pkg-config)))
6291 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
6292 (synopsis "Concert hall reverb and room reverb effects")
6294 "Dragonfly Reverb is a bundle of two free audio effects: a concert
6295 hall reverb and a room reverb. Both are available as LV2 plugins as well
6296 as JACK standalone applications.")
6297 (license license:gpl3+)))
6299 (define-public zplugins
6308 (url "https://git.zrythm.org/git/zplugins")
6309 (commit (string-append "v" version))))
6310 (file-name (git-file-name name version))
6313 "1rkm2xajmyik6289b20rp5a5br9f3sh1xk8nb1bs6qpmcrfirgbs"))))
6314 (build-system meson-build-system)
6316 `(("guile" ,guile-2.2)
6317 ("libsndfile" ,libsndfile)
6319 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
6321 `(("pkg-config" ,pkg-config)))
6322 (synopsis "Audio plugin collection")
6323 (description "ZPlugins is a collection of audio DSP plugins intended
6324 to be bundled with the Zrythm @dfn{digital audio workstation} (DAW).")
6325 (home-page "https://www.zrythm.org/en/plugins.html")
6326 (license license:agpl3+)))
6329 ;; The "zlfo" package is now included in zplugins
6330 (deprecated-package "zlfo" zplugins))
6332 (define-public remid-lv2
6340 (url "https://github.com/ssj71/reMID.lv2")
6341 (commit (string-append "v" version))))
6342 (file-name (git-file-name name version))
6345 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
6346 (build-system cmake-build-system)
6348 `(#:tests? #f)) ; no tests included
6350 `(("alsa-lib" ,alsa-lib)
6355 `(("pkg-config" ,pkg-config)))
6356 (home-page "https://github.com/ssj71/reMID.lv2")
6358 "MIDI-controlled implementation of the SID 6581 chip used in the
6361 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
6362 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
6363 to provide a virtual SID-based synthesizer, controllable in real-time via
6364 MIDI. It includes support for scripted instruments that allow complex sonic
6365 control of the chip.")
6366 (license license:gpl2+)))
6368 (define-public vl1-emulator
6370 (name "vl1-emulator")
6376 (url "https://github.com/linuxmao-org/VL1-emulator")
6377 (commit (string-append "v" version))
6378 ;; bundles a specific commit of the DISTRHO plugin framework
6380 (file-name (git-file-name name version))
6383 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
6384 (build-system gnu-build-system)
6386 `(#:tests? #f ;no check target
6388 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
6391 (modify-phases %standard-phases
6392 (delete 'configure)))) ;no configure target
6398 `(("pkg-config" ,pkg-config)))
6399 (home-page "https://github.com/linuxmao-org/VL1-emulator")
6400 (synopsis "Emulator of Casio VL-Tone VL1")
6401 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
6402 based on source code by PolyValens, offered as an LV2 plugin and a
6403 standalone JACK application.")
6405 (license (list license:expat license:cc0))))
6407 (define-public regrader
6409 (inherit vl1-emulator)
6416 (url "https://github.com/linuxmao-org/regrader")
6417 (commit (string-append "v" version))
6418 ;; bundles a specific commit of the DISTRHO plugin framework
6420 (file-name (git-file-name name version))
6423 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
6424 (home-page "https://github.com/linuxmao-org/regrader")
6425 (synopsis "Delay effect plugin")
6427 "Regrader is a delay effect where the repeats degrade in resolution.
6428 This is an unofficial port of the Regrader plugin created by Igorski. It
6429 is available as an LV2 plugin and a standalone JACK application.")
6430 (license license:expat)))
6432 (define-public fogpad
6434 (inherit vl1-emulator)
6441 (url "https://github.com/linuxmao-org/fogpad")
6442 (commit (string-append "v" version))
6443 ;; bundles a specific commit of the DISTRHO plugin framework
6445 (file-name (git-file-name name version))
6448 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
6449 (home-page "https://github.com/linuxmao-org/fogpad")
6450 (synopsis "Reverb effect plugin")
6452 "Fogpad is a reverb effect in which the reflections can be frozen,
6453 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
6454 port of the Regrader plugin created by Igorski. It is available as an LV2
6455 plugin and a standalone JACK application.")
6456 (license license:expat)))
6458 (define-public tap-lv2
6459 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
6463 (version (git-version "0.0" revision commit))
6468 (url "https://github.com/moddevices/tap-lv2")
6470 (file-name (git-file-name name version))
6473 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
6474 (build-system gnu-build-system)
6476 `(#:tests? #f ; no check target
6480 (modify-phases %standard-phases
6481 (delete 'configure) ; no configure
6485 (string-append "INSTALL_PATH="
6486 (assoc-ref %outputs "out")
6492 `(("pkg-config" ,pkg-config)))
6493 (synopsis "Audio plugin collection")
6494 (description "TAP (Tom's Audio Processing) plugins is a collection of
6495 audio effect plugins originally released as LADSPA plugins. This package
6496 offers an LV2 version ported by moddevices.")
6497 (home-page "http://tap-plugins.sourceforge.net/")
6498 (license license:gpl2))))
6500 (define-public wolf-shaper
6502 (name "wolf-shaper")
6508 (url "https://github.com/pdesaulniers/wolf-shaper")
6509 (commit (string-append "v" version))
6510 ;; Bundles a specific commit of the DISTRHO plugin framework.
6512 (file-name (git-file-name name version))
6515 "1j9xmh1nkf45ay1c5dz2g165qvrwlanzcq6mvb3nfxar265drd9q"))))
6516 (build-system gnu-build-system)
6518 `(#:tests? #f ; no check target
6519 #:make-flags (list "CC=gcc")
6521 (modify-phases %standard-phases
6522 (delete 'configure) ;no configure target
6523 (replace 'install ;no install target
6524 (lambda* (#:key outputs #:allow-other-keys)
6525 (let* ((out (assoc-ref outputs "out"))
6526 (bin (string-append out "/bin"))
6527 (lv2 (string-append out "/lib/lv2")))
6531 (copy-recursively file
6532 (string-append lv2 "/" (basename file))))
6533 (find-files "bin" "\\.lv2$" #:directories? #t))
6534 ;; Install executables.
6537 (install-file file bin))
6541 (equal? (dirname name) "bin")
6542 (not (string-suffix? ".so" name))
6543 (not (string-suffix? ".lv2" name))))))
6546 `(("pkg-config" ,pkg-config)))
6551 (synopsis "Waveshaper plugin")
6552 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
6553 It is provided as an LV2 plugin and as a standalone Jack application.")
6554 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
6555 (license license:gpl3)))
6557 (define-public wolf-spectrum
6559 (inherit wolf-shaper)
6560 (name "wolf-spectrum")
6566 (url "https://github.com/pdesaulniers/wolf-spectrum")
6567 (commit (string-append "v" version))
6568 ;; Bundles a specific commit of the DISTRHO plugin framework.
6570 (file-name (git-file-name name version))
6573 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
6574 (synopsis "2D spectrogram plugin")
6575 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
6576 It is provided as an LV2 plugin and as a standalone Jack application.")
6577 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
6578 (license license:gpl3)))
6580 (define-public shiru-lv2
6581 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
6585 (version (git-version "0.0" revision commit))
6590 (url "https://github.com/linuxmao-org/shiru-plugins")
6592 ;; Bundles a specific commit of the DISTRHO plugin framework.
6594 (file-name (git-file-name name version))
6597 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
6598 (build-system gnu-build-system)
6600 `(#:tests? #f ; no check target
6601 #:make-flags (list "CC=gcc")
6603 (modify-phases %standard-phases
6604 (delete 'configure) ;no configure target
6605 (replace 'install ;no install target
6606 (lambda* (#:key outputs #:allow-other-keys)
6607 (let* ((out (assoc-ref outputs "out"))
6608 (bin (string-append out "/bin"))
6609 (lv2 (string-append out "/lib/lv2")))
6613 (copy-recursively file
6614 (string-append lv2 "/" (basename file))))
6615 (find-files "bin" "\\.lv2$" #:directories? #t))
6616 ;; Install executables.
6619 (install-file file bin))
6623 (equal? (dirname name) "bin")
6624 (not (string-suffix? ".so" name))
6625 (not (string-suffix? ".lv2" name))))))
6628 `(("pkg-config" ,pkg-config)))
6636 (synopsis "Audio plugin collection")
6637 (description "Shiru plugins is a collection of audio plugins created
6638 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
6640 (home-page "http://shiru.untergrund.net/software.shtml")
6641 (license license:wtfpl2))))