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>
40 ;;; This file is part of GNU Guix.
42 ;;; GNU Guix is free software; you can redistribute it and/or modify it
43 ;;; under the terms of the GNU General Public License as published by
44 ;;; the Free Software Foundation; either version 3 of the License, or (at
45 ;;; your option) any later version.
47 ;;; GNU Guix is distributed in the hope that it will be useful, but
48 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
49 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50 ;;; GNU General Public License for more details.
52 ;;; You should have received a copy of the GNU General Public License
53 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
55 (define-module (gnu packages music)
56 #:use-module (guix utils)
57 #:use-module (guix packages)
58 #:use-module (guix download)
59 #:use-module (guix git-download)
60 #:use-module ((guix licenses) #:prefix license:)
61 #:use-module (guix build-system gnu)
62 #:use-module (guix build-system ant)
63 #:use-module (guix build-system cmake)
64 #:use-module (guix build-system meson)
65 #:use-module (guix build-system perl)
66 #:use-module (guix build-system python)
67 #:use-module (guix build-system scons)
68 #:use-module (guix build-system glib-or-gtk)
69 #:use-module (guix build-system waf)
70 #:use-module (guix build-system trivial)
71 #:use-module (guix build-system go)
72 #:use-module (gnu packages)
73 #:use-module (gnu packages admin)
74 #:use-module (gnu packages algebra)
75 #:use-module (gnu packages apr)
76 #:use-module (gnu packages audio)
77 #:use-module (gnu packages autotools)
78 #:use-module (gnu packages backup)
79 #:use-module (gnu packages base) ;libbdf
80 #:use-module (gnu packages bash)
81 #:use-module (gnu packages bison)
82 #:use-module (gnu packages boost)
83 #:use-module (gnu packages build-tools)
84 #:use-module (gnu packages cdrom)
85 #:use-module (gnu packages code)
86 #:use-module (gnu packages check)
87 #:use-module (gnu packages cmake)
88 #:use-module (gnu packages compression)
89 #:use-module (gnu packages cpp)
90 #:use-module (gnu packages crypto)
91 #:use-module (gnu packages curl)
92 #:use-module (gnu packages cyrus-sasl)
93 #:use-module (gnu packages datastructures)
94 #:use-module (gnu packages docbook)
95 #:use-module (gnu packages documentation)
96 #:use-module (gnu packages emacs)
97 #:use-module (gnu packages file)
98 #:use-module (gnu packages flex)
99 #:use-module (gnu packages fltk)
100 #:use-module (gnu packages fonts)
101 #:use-module (gnu packages fontutils)
102 #:use-module (gnu packages freedesktop)
103 #:use-module (gnu packages game-development)
104 #:use-module (gnu packages gcc)
105 #:use-module (gnu packages gnupg)
106 #:use-module (gnu packages gettext)
107 #:use-module (gnu packages ghostscript)
108 #:use-module (gnu packages gl)
109 #:use-module (gnu packages glib)
110 #:use-module (gnu packages gnome)
111 #:use-module (gnu packages gpodder)
112 #:use-module (gnu packages graphics)
113 #:use-module (gnu packages graphviz)
114 #:use-module (gnu packages gstreamer)
115 #:use-module (gnu packages gtk)
116 #:use-module (gnu packages guile)
117 #:use-module (gnu packages haskell)
118 #:use-module (gnu packages image)
119 #:use-module (gnu packages imagemagick)
120 #:use-module (gnu packages java)
121 #:use-module (gnu packages libffi)
122 #:use-module (gnu packages libusb)
123 #:use-module (gnu packages linux) ; for alsa-utils
124 #:use-module (gnu packages lirc)
125 #:use-module (gnu packages llvm)
126 #:use-module (gnu packages man)
127 #:use-module (gnu packages mp3)
128 #:use-module (gnu packages mpd)
129 #:use-module (gnu packages ncurses)
130 #:use-module (gnu packages netpbm)
131 #:use-module (gnu packages pcre)
132 #:use-module (gnu packages pdf)
133 #:use-module (gnu packages perl)
134 #:use-module (gnu packages perl-web)
135 #:use-module (gnu packages pkg-config)
136 #:use-module (gnu packages protobuf)
137 #:use-module (gnu packages pulseaudio) ;libsndfile
138 #:use-module (gnu packages python)
139 #:use-module (gnu packages python-web)
140 #:use-module (gnu packages python-xyz)
141 #:use-module (gnu packages qt)
142 #:use-module (gnu packages rdf)
143 #:use-module (gnu packages readline)
144 #:use-module (gnu packages rsync)
145 #:use-module (gnu packages sdl)
146 #:use-module (gnu packages sqlite)
147 #:use-module (gnu packages stb)
148 #:use-module (gnu packages tcl)
149 #:use-module (gnu packages texinfo)
150 #:use-module (gnu packages tex)
151 #:use-module (gnu packages time)
152 #:use-module (gnu packages tls)
153 #:use-module (gnu packages version-control)
154 #:use-module (gnu packages video)
155 #:use-module (gnu packages vim) ;for 'xxd'
156 #:use-module (gnu packages web)
157 #:use-module (gnu packages webkit)
158 #:use-module (gnu packages wxwidgets)
159 #:use-module (gnu packages xdisorg)
160 #:use-module (gnu packages xml)
161 #:use-module (gnu packages xorg)
162 #:use-module (gnu packages xiph)
163 #:use-module (gnu packages golang)
164 #:use-module (gnu packages lua)
165 #:use-module ((srfi srfi-1) #:select (last)))
167 (define-public audacious
174 (uri (string-append "https://distfiles.audacious-media-player.org/"
175 "audacious-" version ".tar.bz2"))
177 (base32 "028zjgz0p7ys15lk2a30m5zcv9xrx3ga50wjsh4m4zxilgkakbji"))))
178 (build-system gnu-build-system)
181 (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
182 #:tests? #f ; no check target
184 (modify-phases %standard-phases
185 (add-after 'install 'unpack-plugins
186 (lambda* (#:key inputs #:allow-other-keys)
187 (let ((plugins (assoc-ref inputs "audacious-plugins")))
188 (invoke "tar" "xvf" plugins)
190 (add-after 'unpack-plugins 'configure-plugins
191 (lambda* (#:key configure-flags outputs #:allow-other-keys)
192 (let ((out (assoc-ref outputs "out")))
193 (with-directory-excursion
194 (string-append "audacious-plugins-" ,version)
195 (substitute* "configure"
196 (("/bin/sh") (which "sh")))
197 (apply invoke "./configure"
198 (append configure-flags
199 ;; audacious-plugins requires audacious to build.
200 (list (string-append "PKG_CONFIG_PATH="
201 out "/lib/pkgconfig:"
202 (getenv "PKG_CONFIG_PATH"))
203 (string-append "--prefix=" out))))))))
204 (add-after 'configure-plugins 'build-plugins
206 (with-directory-excursion
207 (string-append "audacious-plugins-" ,version)
208 (invoke "make" "-j" (number->string (parallel-job-count))))))
209 (add-after 'build-plugins 'install-plugins
211 (with-directory-excursion
212 (string-append "audacious-plugins-" ,version)
213 (invoke "make" "install")))))))
215 `(("audacious-plugins"
218 (uri (string-append "https://distfiles.audacious-media-player.org/"
219 "audacious-plugins-" version ".tar.bz2"))
221 (base32 "0ny5w1agr9jaz5w3wyyxf1ygmzmd1sivaf97lcm4z4w6529520lz"))))
222 ("gettext" ,gettext-minimal)
223 ("glib:bin" ,glib "bin") ; for gdbus-codegen
224 ("pkg-config" ,pkg-config)))
228 ("qtmultimedia" ,qtmultimedia)
229 ;; Plugin dependencies
230 ("alsa-lib" ,alsa-lib)
235 ("fluidsynth" ,fluidsynth)
239 ("libcdio-paranoia" ,libcdio-paranoia)
241 ("libmodplug" ,libmodplug)
242 ("libnotify" ,libnotify)
244 ("libsamplerate" ,libsamplerate)
245 ("libsndfile" ,libsndfile)
246 ("libvorbis" ,libvorbis)
247 ("libxcomposite" ,libxcomposite)
249 ("libxrender" ,libxrender)
255 ("pulseaudio" ,pulseaudio)
258 ("wavpack" ,wavpack)))
259 (home-page "https://audacious-media-player.org")
260 (synopsis "Modular and skinnable audio player")
262 "Audacious is an audio player descended from XMMS. Drag and drop
263 folders and individual song files, search for artists and albums in
264 your entire music library, or create and edit your own custom
265 playlists. Listen to CD’s or stream music from the Internet. Tweak
266 the sound with the graphical equalizer or experiment with LADSPA
267 effects. Enjoy the modern GTK-themed interface or change things up
268 with Winamp Classic skins. Use the plugins included with Audacious to
269 fetch lyrics for your music, to set an alarm in the morning, and
271 ;; According to COPYING, Audacious and its plugins are licensed
272 ;; under the BSD 2-clause license and libguess is licensed under
273 ;; the BSD 3-clause license.
274 (license (list license:bsd-2
276 ;; Plugin licenses that aren't BSD 2- or 3-clause.
284 (define-public aria-maestosa
286 (name "aria-maestosa")
290 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
291 version "/AriaSrc-" version ".tar.bz2"))
294 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
295 (build-system scons-build-system)
297 `(#:tests? #f ;no tests
299 (list (string-append "prefix=" (assoc-ref %outputs "out")))
300 #:scons ,scons-python2
302 (modify-phases %standard-phases
304 (add-after 'unpack 'scons-propagate-environment
306 ;; By design, SCons does not, by default, propagate
307 ;; environment variables to subprocesses. See:
308 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
309 ;; Here, we modify the SConstruct file to arrange for
310 ;; environment variables to be propagated.
311 (substitute* "SConstruct"
312 (("env = Environment\\(\\)")
313 "env = Environment(ENV=os.environ)")
314 ;; Scons errors out when copying subdirectories from Resources,
315 ;; so we move them instead.
317 ;; We move the "score" and "Documentation" directories at once,
318 ;; so we have to ignore files contained therein.
319 (("if \".svn\" in file" line)
321 " or \"score/\" in file"
322 " or \"Documentation/\" in file")))
324 (add-after 'install 'fix-directory-permissions
325 (lambda* (#:key outputs #:allow-other-keys)
326 (let ((out (assoc-ref outputs "out")))
327 (chmod (string-append out "/share/Aria/Documentation") #o555)
328 (chmod (string-append out "/share/Aria/score") #o555)
331 `(("wxwidgets" ,wxwidgets)
333 ("alsa-lib" ,alsa-lib)))
335 `(("pkg-config" ,pkg-config)))
336 (home-page "http://ariamaestosa.sourceforge.net/")
337 (synopsis "MIDI sequencer and editor")
339 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
340 and play MIDI files with a few clicks in a user-friendly interface offering
341 score, keyboard, guitar, drum and controller views.")
342 (license license:gpl3+)))
344 (define-public clementine
347 (version "1.4.0rc1-450-g2725ef99d")
351 (url "https://github.com/clementine-player/Clementine")
353 (file-name (git-file-name name version))
356 "1pcwwi9b2qcfjn748577gqx6d1hgg7cisw2dn43npwafdvvkdb90"))
357 (modules '((guix build utils)
361 (use-modules ((ice-9 regex)))
364 ;; TODO: The following dependencies are still bundled:
365 ;; - "qxt": Appears to be unmaintained upstream.
367 ;; - "qtsingleapplication"
369 ;; - "qtiocompressor"
370 (let ((bundled '("qsqlite"
371 "qtsingleapplication"
377 (string-append ".?*(" (string-join bundled "|") ")")
379 (delete-file-recursively dir))))
380 (find-files "3rdparty"
382 (string-match "^3rdparty/[^/]*$" file))
385 (build-system cmake-build-system)
387 '(#:test-target "clementine_test"
389 (list ;; Requires unpackaged "projectm"
390 "-DENABLE_VISUALISATIONS=OFF"
391 ;; Otherwise it may try to download a non-free library at run-time.
392 ;; TODO In an origin snippet, remove the code that performs the
394 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
395 ;; Clementine checks that the taglib version is higher than 1.11,
396 ;; because of https://github.com/taglib/taglib/issues/864. Remove
397 ;; this flag when 1.12 is released.
398 "-DUSE_SYSTEM_TAGLIB=TRUE")
400 (modify-phases %standard-phases
401 (add-after 'install 'wrap-program
402 (lambda* (#:key inputs outputs #:allow-other-keys)
403 (let ((out (assoc-ref outputs "out"))
404 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
405 (wrap-program (string-append out "/bin/clementine")
406 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
409 `(("gettext" ,gettext-minimal)
410 ("googletest" ,googletest)
411 ("pkg-config" ,pkg-config)
412 ("qtlinguist" ,qttools)))
415 ("chromaprint" ,chromaprint)
419 ("gstreamer" ,gstreamer)
420 ("gst-plugins-base" ,gst-plugins-base)
421 ("gst-plugins-good" ,gst-plugins-good)
422 ("gst-libav" ,gst-libav)
424 ("libmygpo-qt" ,libmygpo-qt)
425 ;; TODO: Package libgpod.
428 ("protobuf" ,protobuf)
429 ("pulseaudio" ,pulseaudio)
431 ("qtx11extras" ,qtx11extras)
433 ("sparsehash" ,sparsehash)
435 (home-page "https://clementine-player.org")
436 (synopsis "Music player and library organizer")
437 (description "Clementine is a multiplatform music player. It is inspired
438 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
439 playing your music.")
441 ;; clementine and qtiocompressor are under GPLv3.
443 ;; qxt is under CPL1.0.
445 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
447 ;; qocoa is under MIT and CC by-sa for the icons.
448 license:cc-by-sa3.0))))
450 (define-public strawberry
457 (url "https://github.com/strawberrymusicplayer/strawberry")
459 (file-name (git-file-name name version))
462 "0d9asg21j9ai23sb35cimws8bd8fsnpha777rgscraa7i09q0rx2"))
463 (modules '((guix build utils)
467 (use-modules ((ice-9 regex)))
470 ;; TODO: The following dependencies are still bundled:
471 ;; - "singleapplication"
472 (let ((bundled '("singleapplication")))
475 (string-append ".?*(" (string-join bundled "|") ")")
477 (delete-file-recursively dir))))
478 (find-files "3rdparty"
480 (string-match "^3rdparty/[^/]*$" file))
483 (build-system cmake-build-system)
485 `(#:test-target "run_strawberry_tests"
487 (modify-phases %standard-phases
488 (add-after 'install 'wrap-program
489 (lambda* (#:key inputs outputs #:allow-other-keys)
490 (let ((out (assoc-ref outputs "out"))
491 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
492 (wrap-program (string-append out "/bin/strawberry")
493 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
495 (add-before 'check 'pre-check
496 (lambda* (#:key inputs #:allow-other-keys)
497 (let ((xorg-server (assoc-ref inputs "xorg-server")))
498 (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
499 (setenv "DISPLAY" ":1")
500 (setenv "HOME" (getcwd))
503 `(("gettext" ,gettext-minimal)
504 ("googletest" ,googletest)
505 ("pkg-config" ,pkg-config)
506 ("qtlinguist" ,qttools)
507 ("xorg-server" ,xorg-server-for-tests)))
509 `(("alsa-lib" ,alsa-lib)
511 ("chromaprint" ,chromaprint)
516 ("gstreamer" ,gstreamer)
517 ("gst-plugins-base" ,gst-plugins-base)
518 ("gst-plugins-good" ,gst-plugins-good)
521 ("protobuf" ,protobuf)
522 ("pulseaudio" ,pulseaudio)
524 ("qtx11extras" ,qtx11extras)
527 (home-page "https://www.strawberrymusicplayer.org/")
528 (synopsis "Music player and library organizer")
529 (description "Strawberry is a music player and music collection organizer.
530 It is a fork of Clementine aimed at music collectors and audiophiles.")
537 license:cc-by-sa3.0))))
546 (url "https://github.com/cmus/cmus")
547 (commit (string-append "v" version))))
548 (file-name (git-file-name name version))
551 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
552 (build-system gnu-build-system)
554 `(#:tests? #f ; cmus does not include tests
556 (modify-phases %standard-phases
558 (lambda* (#:key outputs #:allow-other-keys)
559 (let ((out (assoc-ref outputs "out")))
560 ;; It's an idiosyncratic configure script that doesn't
561 ;; understand --prefix=..; it wants prefix=.. instead.
562 (invoke "./configure"
563 (string-append "prefix=" out))
565 ;; TODO: cmus optionally supports the following formats, which haven't yet
566 ;; been added to Guix:
570 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
571 ;; Guix. See <http://sourceforge.net/projects/discid/>
573 `(("pkg-config" ,pkg-config)))
575 `(("alsa-lib" ,alsa-lib)
582 ("libcdio-paranoia" ,libcdio-paranoia)
585 ("libmodplug" ,libmodplug)
586 ("libmpcdec" ,libmpcdec)
587 ("libsamplerate" ,libsamplerate)
588 ("libvorbis" ,libvorbis)
590 ("opusfile" ,opusfile)
591 ("pulseaudio" ,pulseaudio)
592 ("wavpack" ,wavpack)))
593 (home-page "https://cmus.github.io/")
594 (synopsis "Small console music player")
595 (description "Cmus is a small and fast console music player. It supports
596 many input formats and provides a customisable Vi-style user interface.")
597 (license license:gpl2+)))
599 (define-public denemo
606 (uri (string-append "mirror://gnu/denemo/denemo-" version ".tar.gz"))
608 (base32 "05kwy8894hsxr6123hc854j2qq2sxyjw721zk4g3vzz8pw29p887"))))
609 (build-system gnu-build-system)
612 (modify-phases %standard-phases
614 (lambda* (#:key inputs #:allow-other-keys)
615 ;; Tests require to write $HOME.
616 (setenv "HOME" (getcwd))
617 ;; Replace hard-coded diff file name.
618 (substitute* "tests/integration.c"
620 (string-append (assoc-ref inputs "diffutils") "/bin/diff")))
621 ;; Denemo's documentation says to use this command to run its
623 (invoke "make" "-C" "tests" "check")))
624 (add-before 'build 'set-lilypond
625 ;; This phase sets the default path for lilypond to its current
626 ;; location in the store.
627 (lambda* (#:key inputs #:allow-other-keys)
628 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
630 (substitute* "src/core/prefops.c"
631 (("g_string_new \\(\"lilypond\"\\);")
632 (string-append "g_string_new (\""
637 `(("diffutils" ,diffutils)
638 ("glib:bin" ,glib "bin") ; for gtester
640 ("intltool" ,intltool)
642 ("pkg-config" ,pkg-config)))
644 `(("alsa-lib" ,alsa-lib)
648 ("fluidsynth" ,fluidsynth)
651 ("gtksourceview" ,gtksourceview-3)
654 ("libsndfile" ,libsndfile)
656 ("lilypond" ,lilypond)
657 ("portaudio" ,portaudio)
658 ("portmidi" ,portmidi)
659 ("rubberband" ,rubberband)))
660 (synopsis "Graphical music notation, front-end to GNU Lilypond")
662 "GNU Denemo is a music notation editor that provides a convenient
663 interface to the powerful music engraving program Lilypond. Music can be
664 typed in using the computer keyboard, played in using a MIDI keyboard, or
665 even input via a microphone connected to the sound card. The final product
666 is publication-quality music notation that is continuously generated in the
667 background while you work.")
668 (home-page "http://www.denemo.org")
669 (license license:gpl3+)))
679 (url "https://github.com/kode54/dumb")
682 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
683 (file-name (git-file-name name version))))
684 (build-system cmake-build-system)
686 '(#:tests? #f ; no check target
688 (list "-DBUILD_SHARED_LIBS=ON"
689 "-DBUILD_EXAMPLES=OFF")))
690 (home-page "https://github.com/kode54/dumb")
691 (synopsis "Module audio renderer library")
693 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
694 targets maximum accuracy to the original formats, with low-pass resonant filters
695 for the IT files, accurate timing and pitching, and three resampling quality
696 settings (aliasing, linear interpolation and cubic interpolation).")
697 ;; The DUMB license is a bit peculiar.
698 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
699 ;; the first three clauses for genuine consideration.
700 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
701 ;; license, a known free software license.
702 ;; Therefore, the DUMB license may be considered a free software license.
703 (license (license:fsf-free "file://LICENSE"))))
705 (define-public dumb-allegro4
708 (name "dumb-allegro4")
710 (substitute-keyword-arguments (package-arguments dumb)
711 ((#:configure-flags flags)
712 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
714 `(("allegro" ,allegro-4)))))
716 (define-public hydrogen
724 (url "https://github.com/hydrogen-music/hydrogen")
726 (file-name (git-file-name name version))
728 (base32 "0nhn2njs8yyxcijxv5zgymf3211y6anzm0v9kn4vnd8kai7zwxxp"))))
729 (build-system cmake-build-system)
731 `(#:test-target "tests"
733 (modify-phases %standard-phases
734 (add-after 'unpack 'fix-data-directory
735 (lambda* (#:key outputs #:allow-other-keys)
736 (substitute* "CMakeLists.txt"
737 (("/usr/share/pixmaps")
738 (string-append (assoc-ref outputs "out")
742 `(("cppunit" ,cppunit)
743 ("pkg-config" ,pkg-config)
744 ("qtlinguist" ,qttools)))
746 `(("alsa-lib" ,alsa-lib)
748 ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set
750 ("libarchive" ,libarchive)
752 ("libsndfile" ,libsndfile)
754 ("pulseaudio" ,pulseaudio)
756 ("qtxmlpatterns" ,qtxmlpatterns)
758 (home-page "http://www.hydrogen-music.org")
759 (synopsis "Drum machine")
761 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
762 enable professional yet simple and intuitive pattern-based drum programming.")
763 (license license:gpl2+)))
765 (define-public easytag
771 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
775 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
776 (build-system glib-or-gtk-build-system)
778 `(("desktop-file-utils" ,desktop-file-utils)
780 ("intltool" ,intltool)
782 ("pkg-config" ,pkg-config)
783 ("xmllint" ,libxml2)))
788 ("libid3tag" ,libid3tag)
789 ("libvorbis" ,libvorbis)
790 ("opusfile" ,opusfile)
797 (modify-phases %standard-phases
798 (add-before 'configure 'configure-libid3tag
799 (lambda* (#:key inputs #:allow-other-keys)
800 ;; libid3tag does not provide a .pc file and EasyTAG's configure
801 ;; script healivy relies on pkg-config. Providing a temporary
802 ;; local .pc file is easier than patching the configure script.
803 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
804 (mkdir-p "pkgconfig")
806 "pkgconfig/id3tag.pc"
810 libdir=${prefix}/lib~@
811 includedir=${prefix}/include~@
816 Libs: -L${libdir} -lid3tag -lz~@
817 Cflags: -I${includedir}~%"
819 (setenv "PKG_CONFIG_PATH"
820 (string-append (getenv "PKG_CONFIG_PATH")
821 ":" (getcwd) "/pkgconfig"))
823 (add-after 'unpack 'patch-makefile
825 (substitute* "Makefile.in"
826 ;; The Makefile generates a test-desktop-file-validate.sh
827 ;; script with /bin/sh hard-coded.
828 (("/bin/sh") (which "sh"))
829 ;; Don't create 'icon-theme.cache'.
830 (("gtk-update-icon-cache") "true"))
832 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
833 (synopsis "Simple application for viewing and editing tags in audio files")
835 "EasyTAG is an application for viewing and editing tags in audio files.
836 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
837 MusePack, Monkey's Audio, and WavPack files.")
838 (license license:gpl2+)))
840 (define-public extempore
847 (url "https://github.com/digego/extempore")
848 (commit (string-append "v" version))))
851 "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp"))
852 (file-name (git-file-name name version))
853 (patches (search-patches
854 "extempore-unbundle-external-dependencies.patch"))
855 (modules '((guix build utils)))
858 ;; Remove bundled sources.
859 (map delete-file-recursively
863 (build-system cmake-build-system)
865 `(#:configure-flags (list "-DJACK=ON"
867 "-DEXTERNAL_SHLIBS_AUDIO=OFF"
868 "-DEXTERNAL_SHLIBS_GRAPHICS=OFF"
869 "-DCMAKE_BUILD_TYPE=Release"
870 (string-append "-DEXT_SHARE_DIR="
871 (assoc-ref %outputs "out")
873 #:modules ((ice-9 match)
874 (guix build cmake-build-system)
877 (modify-phases %standard-phases
878 (add-after 'build 'build-aot-libs
880 (for-each (lambda (target)
881 (invoke "make" target))
886 (add-after 'unpack 'patch-install-locations
887 (lambda* (#:key outputs #:allow-other-keys)
888 (substitute* "CMakeLists.txt"
889 (("EXT_SHARE_DIR=\"\\.\"\\)")
890 "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")")
891 (("DESTINATION \"\\.\"\\)") "DESTINATION bin)")
892 (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n"))
894 (add-after 'unpack 'patch-directories
895 (lambda* (#:key outputs #:allow-other-keys)
896 (substitute* "extras/extempore.el"
897 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
898 (string-append "(runtime-directory \""
899 (assoc-ref outputs "out")
900 "/share/extempore/runtime"
903 (add-after 'unpack 'link-with-additional-libs
905 ;; The executable must be linked with libffi and zlib.
906 (substitute* "CMakeLists.txt"
907 (("target_link_libraries\\(extempore PRIVATE dl" line)
908 (string-append line " ffi z")))
910 ;; FIXME: All examples that are used as tests segfault for some
912 (add-after 'unpack 'disable-broken-tests
914 (substitute* "CMakeLists.txt"
915 (("extempore_add_example_as_test\\(.*") ""))
917 (add-after 'unpack 'hardcode-external-lib-paths
918 (lambda* (#:key inputs #:allow-other-keys)
919 (use-modules (ice-9 match))
922 ((file-name lib pkg-name)
923 (substitute* (string-append "libs/external/" file-name ".xtm")
924 ((lib) (string-append (assoc-ref inputs pkg-name)
926 '(("assimp" "libassimp.so" "assimp")
927 ("portmidi" "libportmidi.so" "portmidi")
928 ("sndfile" "libsndfile.so" "libsndfile")
929 ("fft" "libkiss_fft.so" "kiss-fft")
930 ("stb_image" "libstb_image.so" "stb-image")
931 ("nanovg" "libnanovg.so" "nanovg")
932 ("glext" "libGL.so" "mesa")
933 ("glfw3" "libglfw.so" "glfw")
934 ("gl/glcore-directbind" "libGL.so" "mesa")
935 ("gl/glcompat-directbind" "libGL.so" "mesa")))
937 (add-after 'unpack 'use-own-llvm
938 (lambda* (#:key inputs #:allow-other-keys)
939 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
940 ;; Our LLVM builds shared libraries, so Extempore should use
942 (substitute* "CMakeLists.txt"
943 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
945 (add-after 'unpack 'fix-aot-compilation
946 (lambda* (#:key outputs #:allow-other-keys)
947 (substitute* "CMakeLists.txt"
948 ;; Extempore needs to be told where the runtime is to be found.
949 ;; While we're at it we disable automatic tuning for a specific
950 ;; CPU to make binary substitution possible.
951 (("COMMAND extempore" prefix)
952 (string-append prefix " --sharedir " (getcwd)
953 " --mcpu=generic --attr=none")))
959 (name "llvm-for-extempore")
963 (uri (string-append "http://extempore.moso.com.au/extras/"
964 "llvm-3.8.0.src-patched-for-extempore.tar.xz"))
967 "1svdl6fxn8l01ni8mpm0bd5h856ahv3h9sdzgmymr6fayckjvqzs"))))))
970 ("libsndfile" ,libsndfile)
974 ,(let ((revision "1")
975 (commit "152a250a702bf28951bb0220d63bc0c99830c498"))
978 (name "stb-image-for-extempore")
979 (version (git-version "0" revision commit))
981 (origin (method git-fetch)
983 (url "https://github.com/extemporelang/stb")
987 "0y0aa20pj9311x2ii06zg8xs34idg14hfgldqc5ymizc6cf1qiqv"))
988 (file-name (git-file-name name version))))
989 (build-system cmake-build-system)
990 (arguments `(#:tests? #f)) ;no tests included
992 ("kiss-fft" ,kiss-fft-for-extempore)
993 ("nanovg" ,nanovg-for-extempore)
995 ,(let ((version "217")
997 (commit "8602f548f71daf5ef638b2f7d224753400cb2158"))
1000 (name "portmidi-for-extempore")
1001 (version (git-version version revision commit))
1005 (url "https://github.com/extemporelang/portmidi")
1007 (file-name (git-file-name name version))
1010 "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w"))))
1011 (build-system cmake-build-system)
1012 (arguments `(#:tests? #f)) ;no tests
1013 (native-inputs '()))))
1015 ("alsa-lib" ,alsa-lib)
1016 ("portaudio" ,portaudio)
1022 ("emacs" ,emacs-no-x)))
1023 ;; Extempore refuses to build on architectures other than x86_64
1024 (supported-systems '("x86_64-linux"))
1025 (home-page "https://github.com/digego/extempore")
1026 (synopsis "Programming environment for live coding of multimedia")
1028 "Extempore is a programming language and runtime environment designed
1029 with live programming in mind. It supports interactive programming in a REPL
1030 style, compiling and binding code just-in-time. Although Extempore has its
1031 roots in 'live coding' of audiovisual media art, it is suitable for any task
1032 domain where dynamic run-time modifiability and good numerical performance are
1033 required. Extempore also has strong timing and concurrency semantics, which
1034 are helpful when working in problem spaces where timing is important (such as
1036 (license license:bsd-2)))
1038 (define-public fluida-lv2
1047 (url "https://github.com/brummer10/Fluida.lv2")
1048 (commit (string-append "v" version))
1049 (recursive? #t))) ; references specific commit of libxputty
1050 (file-name (git-file-name name version))
1053 "1v0bh4wcx79y832qigc3my8ixq0r4ica6z5fg2rg946pkh20x1a2"))))
1054 (build-system gnu-build-system)
1056 `(#:tests? #f ; no "check" target
1058 (list (string-append "INSTALL_DIR="
1059 (assoc-ref %outputs "out") "/lib/lv2")
1062 (modify-phases %standard-phases
1063 (delete 'configure))))
1068 ("fluidsynth" ,fluidsynth)))
1070 `(("pkg-config" ,pkg-config)))
1071 (home-page "https://github.com/brummer10/Fluida.lv2")
1072 (synopsis "Fluidsynth as an LV2 audio plugin")
1073 (description "Fluida is an audio plugin in the LV2 format that acts as
1074 a frontend for fluidsynth.")
1075 (license license:gpl2+)))
1077 (define-public surge-synth
1079 (name "surge-synth")
1085 (url "https://github.com/surge-synthesizer/surge")
1086 (commit (string-append "release_" version))
1087 (recursive? #t))) ; build system expects modules to be there
1088 (file-name (git-file-name name version))
1091 "1jhk8iaqh89dnci4446b47315v2lc8gclraygk8m9jl20zpjxl0l"))))
1092 (build-system cmake-build-system)
1094 `(#:tests? #f ; no tests included
1096 (modify-phases %standard-phases
1097 (add-after 'unpack 'replace-python
1098 (lambda* (#:key inputs outputs #:allow-other-keys)
1099 (substitute* "CMakeLists.txt"
1101 (string-append " " (assoc-ref inputs "python")
1104 (add-after 'unpack 'fix-data-directory-name
1105 (lambda* (#:key inputs outputs #:allow-other-keys)
1106 (substitute* "src/common/SurgeStorage.cpp"
1107 (("/usr") (assoc-ref outputs "out")))
1109 (replace 'install ; no install target
1110 (lambda* (#:key inputs outputs #:allow-other-keys)
1111 (let* ((src (assoc-ref inputs "source"))
1112 (out (assoc-ref outputs "out"))
1113 (share (string-append out "/share"))
1114 (lib (string-append out "/lib"))
1115 (lv2 (string-append lib "/lv2"))
1116 (vst3 (string-append lib "/vst3")))
1119 ;; Install LV2 plugin.
1120 (copy-recursively "surge_products/Surge.lv2"
1121 (string-append lv2 "/Surge.lv2"))
1122 ;; Install VST3 plugin.
1123 (copy-recursively "surge_products/Surge.vst3"
1124 (string-append vst3 "/Surge.vst3"))
1126 (copy-recursively (string-append src "/resources/data")
1127 (string-append share "/Surge"))
1131 ("libxkbcommon" ,libxkbcommon)
1133 ("xcb-util" ,xcb-util)
1134 ("xcb-util-cursor" ,xcb-util-cursor)
1135 ("xcb-util-keysyms" ,xcb-util-keysyms)))
1137 `(("pkg-config" ,pkg-config)))
1138 (home-page "https://surge-synthesizer.github.io/")
1139 (synopsis "Synthesizer plugin")
1141 "Surge is a subtractive hybrid digital synthesizer. Each patch contains
1142 two @dfn{scenes} which are separate instances of the entire synthesis
1143 engine (except effects) that can be used for layering or split patches.")
1144 (license license:gpl3+)))
1146 (define-public klick
1152 (uri (string-append "http://das.nasophon.de/download/klick-"
1156 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
1157 (build-system scons-build-system)
1159 `(#:scons-flags (list (string-append "PREFIX=" %output))
1160 #:scons ,scons-python2
1161 #:tests? #f ; no "check" target
1163 (modify-phases %standard-phases
1164 (add-after 'unpack 'be-permissive
1166 (substitute* "SConstruct"
1167 (("'-Wall'") "'-Wall', '-fpermissive'"))
1169 (add-after 'unpack 'replace-removed-scons-syntax
1171 (substitute* "SConstruct"
1172 (("BoolOption") "BoolVariable")
1173 (("PathOption") "PathVariable")
1174 (("Options") "Variables"))
1179 ("libsndfile" ,libsndfile)
1180 ("libsamplerate" ,libsamplerate)
1182 ("rubberband" ,rubberband)))
1184 `(("pkg-config" ,pkg-config)))
1185 (home-page "http://das.nasophon.de/klick/")
1186 (synopsis "Metronome for JACK")
1188 "klick is an advanced command-line based metronome for JACK. It allows
1189 you to define complex tempo maps for entire songs or performances.")
1190 (license license:gpl2+)))
1199 (url "https://github.com/sahib/glyr")
1201 (file-name (git-file-name name version))
1204 "1miwbqzkhg0v3zysrwh60pj9sv6ci4lzq2vq2hhc6pc6hdyh8xyr"))))
1205 (build-system cmake-build-system)
1207 '(#:configure-flags '("-DTEST=true")
1209 (modify-phases %standard-phases
1210 (add-after 'unpack 'patch-tests
1212 (substitute* "spec/capi/check_api.c"
1213 (("fail_unless \\(c != NULL,\"Could not load www.google.de\"\\);")
1217 (lambda* (#:key tests? #:allow-other-keys)
1220 (invoke "bin/check_api")
1221 ;; (invoke "bin/check_opt") TODO Very dependent on the network
1222 (invoke "bin/check_dbc"))
1224 ;; TODO Work out how to run the spec/providers Python tests
1229 ("sqlite" ,sqlite)))
1231 `(("pkg-config" ,pkg-config)
1233 (home-page "https://github.com/sahib/glyr")
1234 (synopsis "Search engine for music related metadata")
1236 "Glyr comes both in a command-line interface tool (@command{glyrc}) and
1237 as a C library (libglyr).
1239 The sort of metadata glyr is searching (and downloading) is usually the data
1240 you see in your musicplayer. And indeed, originally it was written to serve
1241 as internally library for a musicplayer, but has been extended to work as a
1242 standalone program which is able to download cover art, lyrics, photos,
1243 biographies, reviews and more.")
1244 (license license:lgpl3+)))
1246 (define-public gtklick
1252 (uri (string-append "http://das.nasophon.de/download/gtklick-"
1256 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
1257 (build-system python-build-system)
1259 `(#:tests? #f ; no tests
1262 (modify-phases %standard-phases
1263 (add-before 'build 'add-sitedirs
1264 ;; .pth files are not automatically interpreted unless the
1265 ;; directories containing them are added as "sites". The directories
1266 ;; are then added to those in the PYTHONPATH. This is required for
1267 ;; the operation of pygtk.
1269 (substitute* "gtklick/gtklick.py"
1271 "import pygtk, site, sys
1272 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
1273 (add-after 'unpack 'inject-store-path-to-klick
1274 (lambda* (#:key inputs #:allow-other-keys)
1275 (substitute* "gtklick/klick_backend.py"
1276 (("KLICK_PATH = 'klick'")
1277 (string-append "KLICK_PATH = '"
1278 (assoc-ref inputs "klick")
1283 ("python2-pyliblo" ,python2-pyliblo)
1284 ("python2-pygtk" ,python2-pygtk)))
1286 `(("gettext" ,gettext-minimal)))
1287 (home-page "http://das.nasophon.de/gtklick/")
1288 (synopsis "Simple metronome with an easy-to-use graphical interface")
1290 "Gtklick is a simple metronome with an easy-to-use graphical user
1291 interface. It is implemented as a frontend to @code{klick}.")
1292 (license license:gpl2+)))
1294 (define-public libgme
1300 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
1301 "downloads/game-music-emu-" version
1305 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
1306 (build-system cmake-build-system)
1308 '(#:tests? #f)) ; no check target
1309 (home-page "https://bitbucket.org/mpyne/game-music-emu")
1310 (synopsis "Video game music file playback library")
1312 "Game-music-emu is a collection of video game music file emulators that
1313 support the following formats and systems:
1316 ZX Spectrum/Asmtrad CPC
1320 Sega Genesis/Mega Drive
1322 NEC TurboGrafx-16/PC Engine
1324 MSX Home Computer/other Z80 systems (doesn't support FM sound)
1326 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
1328 Atari systems using POKEY sound chip
1330 Super Nintendo/Super Famicom
1332 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
1334 (license (list license:lgpl2.1+
1335 ;; demo and player directories are under the Expat license
1338 (define-public ninjas2
1347 (url "https://github.com/clearly-broken-software/ninjas2")
1348 (commit (string-append "v" version))
1349 ;; Bundles a specific commit of the DISTRHO plugin framework.
1351 (file-name (git-file-name name version))
1353 (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
1354 (build-system gnu-build-system)
1356 `(#:tests? #f ;no tests
1358 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1359 (string-append "CC=" ,(cc-for-target)))
1361 (modify-phases %standard-phases
1362 (delete 'configure) ;no configure target
1363 (replace 'install ;no install target
1364 (lambda* (#:key outputs #:allow-other-keys)
1365 (let* ((out (assoc-ref outputs "out"))
1366 (bin (string-append out "/bin"))
1367 (lv2 (string-append out "/lib/lv2")))
1371 (copy-recursively file
1372 (string-append lv2 "/" (basename file))))
1373 (find-files "bin" "\\.lv2$" #:directories? #t))
1374 ;; Install executables.
1377 (install-file file bin))
1381 (equal? (dirname name) "bin")
1382 (not (string-suffix? ".so" name))
1383 (not (string-suffix? ".lv2" name))))))
1387 ("jack" ,jack-1) ; for the standalone JACK application
1388 ("libsamplerate" ,libsamplerate)
1390 ("libsndfile" ,libsndfile)))
1392 `(("ladspa" ,ladspa)
1394 ("pkg-config" ,pkg-config)))
1395 (synopsis "Sample slicer audio plugin")
1397 "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
1398 Its goal is to be an easy to use sample slicer with quick slicing of samples
1399 and auto-mapping slices to MIDI note numbers.")
1400 (home-page "https://github.com/clearly-broken-software/ninjas2")
1401 (license license:gpl3+)))
1403 (define-public lilypond
1410 (uri (string-append "http://lilypond.org/download/sources/"
1411 "v" (version-major+minor version) "/"
1412 "lilypond-" version ".tar.gz"))
1414 (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar"))))
1415 (build-system gnu-build-system)
1417 `(#:tests? #f ;out-test/collated-files.html fails
1419 #:make-flags '("conf=www") ;to generate images for info manuals
1421 (list "CONFIGURATION=www"
1422 (string-append "--with-texgyre-dir="
1423 (assoc-ref %build-inputs "font-tex-gyre")
1424 "/share/fonts/opentype/"))
1426 (modify-phases %standard-phases
1427 (add-after 'unpack 'use-texlive-union
1429 ;; FIXME: fonts are not found and have to be generated in HOME.
1430 (setenv "HOME" "/tmp")
1431 ;; The test for the "lh" package fails, even though it is among
1433 (substitute* "configure"
1434 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
1436 (add-after 'unpack 'fix-path-references
1438 (substitute* "scm/backend-library.scm"
1439 (("\\(search-executable '\\(\"gs\"\\)\\)")
1440 (string-append "\"" (which "gs") "\""))
1442 (string-append "\"" (which "sh") "\"")))
1444 (add-before 'configure 'prepare-configuration
1446 (substitute* "configure"
1447 (("SHELL=/bin/sh") "SHELL=sh")
1448 ;; When checking the fontforge version do not consider the
1449 ;; version string that's part of the directory.
1450 (("head -n") "tail -n")
1451 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
1452 (("20110222") "19700101"))
1453 (setenv "out" "www")
1454 (setenv "conf" "www")
1456 (add-after 'install 'install-info
1459 "-j" (number->string (parallel-job-count))
1460 "conf=www" "install-info")
1463 `(("guile" ,guile-1.8)
1464 ("font-dejavu" ,font-dejavu)
1465 ("font-tex-gyre" ,font-tex-gyre)
1466 ("fontconfig" ,fontconfig)
1467 ("freetype" ,freetype)
1468 ("ghostscript" ,ghostscript)
1470 ("python" ,python-2)))
1475 ("fontforge" ,fontforge)
1476 ("dblatex" ,dblatex)
1477 ("gettext" ,gettext-minimal)
1478 ("imagemagick" ,imagemagick)
1479 ("netpbm" ,netpbm) ;for pngtopnm
1480 ("texlive" ,(texlive-union (list texlive-metapost
1481 texlive-generic-epsf
1483 texlive-latex-cyrillic)))
1484 ("texinfo" ,texinfo)
1485 ("texi2html" ,texi2html-1.82)
1487 ("pkg-config" ,pkg-config)
1489 (home-page "http://www.lilypond.org/")
1490 (synopsis "Music typesetting")
1492 "GNU LilyPond is a music typesetter, which produces high-quality sheet
1493 music. Music is input in a text file containing control sequences which are
1494 interpreted by LilyPond to produce the final document. It is extendable with
1496 (license license:gpl3+)
1498 ;; On armhf and mips64el, building the documentation sometimes leads to
1499 ;; more than an hour of silence, so double the max silent time.
1500 (properties `((max-silent-time . 7200)))))
1502 (define-public non-sequencer
1503 ;; The latest tagged release is three years old and uses a custom build
1504 ;; system, so we take the last commit.
1505 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1508 (name "non-sequencer")
1509 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
1513 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1517 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
1518 (file-name (string-append name "-" version "-checkout"))))
1519 (build-system waf-build-system)
1521 `(#:tests? #f ;no "check" target
1523 (list "--project=sequencer"
1524 ;; Disable the use of SSE unless on x86_64.
1525 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1526 (%current-system))))
1529 #:python ,python-2))
1532 ("libsigc++" ,libsigc++)
1536 `(("pkg-config" ,pkg-config)))
1537 (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer")
1538 (synopsis "Pattern-based MIDI sequencer")
1540 "The Non Sequencer is a powerful, lightweight, real-time,
1541 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1542 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1543 Sequencer happens on-line, in real-time. Music can be composed live, while the
1544 transport is rolling.")
1545 (license license:gpl2+))))
1547 (define-public non-session-manager
1548 (package (inherit non-sequencer)
1549 (name "non-session-manager")
1551 (substitute-keyword-arguments (package-arguments non-sequencer)
1552 ((#:configure-flags flags)
1553 `(cons "--project=session-manager"
1554 (delete "--project=sequencer" ,flags)))))
1560 `(("pkg-config" ,pkg-config)))
1561 (home-page "https://non.tuxfamily.org/nsm/")
1562 (synopsis "Audio session management")
1564 "The Non Session Manager is an API and an implementation for audio
1565 session management. NSM clients use a well-specified OSC protocol to
1566 communicate with the session management daemon.")
1567 (license license:gpl2+)))
1569 (define-public non-mixer
1570 (package (inherit non-sequencer)
1573 (substitute-keyword-arguments (package-arguments non-sequencer)
1574 ((#:configure-flags flags)
1575 `(cons "--project=mixer"
1576 (delete "--project=sequencer" ,flags)))))
1584 `(("pkg-config" ,pkg-config)))
1585 (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
1586 (synopsis "Modular digital audio mixer")
1588 "The Non Mixer is a powerful, reliable and fast modular digital audio
1589 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1590 toolkit for a fast and lightweight user interface. Non Mixer can be used
1591 alone or in concert with Non Timeline and Non Sequencer to form a complete
1593 (license license:gpl2+)))
1595 (define-public non-timeline
1596 (package (inherit non-sequencer)
1597 (name "non-timeline")
1599 (substitute-keyword-arguments (package-arguments non-sequencer)
1600 ((#:configure-flags flags)
1601 `(cons "--project=timeline"
1602 (delete "--project=sequencer" ,flags)))))
1606 ("libsndfile" ,libsndfile)
1609 `(("pkg-config" ,pkg-config)))
1610 (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
1611 (synopsis "Modular digital audio timeline arranger")
1613 "The Non Timeline is a powerful, reliable and fast modular digital audio
1614 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1615 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1616 be used alone or in concert with Non Mixer and Non Sequencer to form a
1618 (license license:gpl2+)))
1620 (define-public tascam-gtk
1621 ;; This commit represents the latest version at the time of this writing.
1622 (let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
1626 (version (git-version "0.4" revision commit))
1630 (url "https://github.com/onkelDead/tascam-gtk")
1632 (file-name (git-file-name name version))
1635 "07k7rccqqg7lnygkh97a200l1i6s1rl92n01v0q6n4257sinir6f"))))
1636 (build-system gnu-build-system)
1640 ("alsa-lib" ,alsa-lib)
1641 ("libxmlplusplus" ,libxmlplusplus-2.6)))
1643 `(("glib:bin" ,glib "bin")
1644 ("pkg-config" ,pkg-config)))
1645 (home-page "https://github.com/onkelDead/tascam-gtk")
1646 (synopsis "GTK+ based application to control Tascam US-16x08 DSP mixer")
1647 (description "This is a mixer application to control the Tascam US-16x08
1648 audio interface. This device contains about 280 control elements and this
1649 mixer application aims to provide comfortable access to the DSP effects the
1651 (license license:expat))))
1653 (define-public bsequencer
1660 (url "https://github.com/sjaehn/BSEQuencer")
1662 (file-name (git-file-name name version))
1665 "0w7iwzz2r4a699fi24qk71vv2k3jpl9ylzlgmvyc3rlgad0m01k1"))))
1666 (build-system gnu-build-system)
1669 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1670 #:tests? #f ; there are none
1672 (modify-phases %standard-phases
1673 (delete 'configure))))
1677 ("libx11" ,libx11)))
1679 `(("pkg-config" ,pkg-config)))
1680 (home-page "https://github.com/sjaehn/BSEQuencer")
1681 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1683 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1684 with a selectable pattern matrix size.")
1685 (license license:gpl3+)))
1687 (define-public bchoppr
1689 (inherit bsequencer)
1696 (url "https://github.com/sjaehn/BChoppr")
1698 (file-name (git-file-name name version))
1701 "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"))))
1702 (synopsis "Audio stream-chopping LV2 plugin")
1703 (description "B.Choppr cuts the audio input stream into a repeated
1704 sequence of up to 16 chops. Each chop can be leveled up or down (gating).
1705 B.Choppr is the successor of B.Slizr.")
1706 (home-page "https://github.com/sjaehn/BChoppr")
1707 (license license:gpl3+)))
1709 (define-public bshapr
1711 (inherit bsequencer)
1718 (url "https://github.com/sjaehn/BShapr")
1719 (commit (string-append "v" version))))
1720 (file-name (git-file-name name version))
1722 (base32 "04zd3a178i2nivg5rjailzqvc5mlnilmhj1ziygmbhshbrywplri"))))
1723 (synopsis "Beat/envelope shaper LV2 plugin")
1724 (description "B.Shapr is a beat/envelope shaper LV2 plugin.")
1725 (home-page "https://github.com/sjaehn/BShapr")
1726 (license license:gpl3+)))
1728 (define-public bjumblr
1730 (inherit bsequencer)
1737 (url "https://github.com/sjaehn/BJumblr")
1739 (file-name (git-file-name name version))
1742 "0kl6hrxmqrdf0195bfnzsa2h1073fgiqrfhg2276fm1954sm994v"))))
1745 ("libsndfile" ,libsndfile)
1747 (synopsis "Pattern-controlled audio stream/sample re-sequencer LV2 plugin")
1748 (description "B.Jumblr is a pattern-controlled audio stream / sample
1749 re-sequencer LV2 plugin.")
1750 (home-page "https://github.com/sjaehn/BJumblr")
1751 (license license:gpl3+)))
1753 (define-public bschaffl
1755 (inherit bsequencer)
1762 (url "https://github.com/sjaehn/BSchaffl")
1764 (file-name (git-file-name name version))
1767 "1c09acqrbd387ba41f8ch1qykdap5h6cg9if5pgd16i4dmjnpghj"))))
1770 ("fontconfig" ,fontconfig)
1771 ("libsndfile" ,libsndfile)
1774 (home-page "https://github.com/sjaehn/BSchaffl")
1775 (synopsis "Pattern-controlled MIDI amp & time stretch LV2 plugin")
1776 (description "This package provides an LV2 plugin that allows for
1777 pattern-controlled MIDI amp & time stretching to produce shuffle / swing
1780 Key features include:
1783 @item MIDI velocity amplification and timing manipulation plugin
1784 @item Swing and shuffle rhythms
1785 @item Pre-generator dynamics
1787 @item Pattern (sliders) or shape-controlled
1789 @item Smart quantization
1792 (license license:gpl3+)))
1794 (define-public solfege
1801 "mirror://gnu/solfege/solfege-"
1805 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1806 (build-system gnu-build-system)
1808 `(#:tests? #f ; xmllint attempts to download DTD
1809 #:test-target "test"
1811 (modify-phases %standard-phases
1812 (add-after 'unpack 'fix-configuration
1813 (lambda* (#:key inputs #:allow-other-keys)
1814 (substitute* "default.config"
1815 (("/usr/bin/aplay") "aplay")
1816 (("/usr/bin/timidity") "timidity")
1817 (("/usr/bin/mpg123") "mpg123")
1818 (("/usr/bin/ogg123") "ogg123"))
1820 (add-before 'build 'patch-python-shebangs
1822 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1824 (substitute* '("solfege/parsetree.py"
1825 "solfege/presetup.py")
1826 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1828 (add-before 'build 'add-sitedirs
1829 ;; .pth files are not automatically interpreted unless the
1830 ;; directories containing them are added as "sites". The directories
1831 ;; are then added to those in the PYTHONPATH. This is required for
1832 ;; the operation of pygtk and pygobject.
1834 (substitute* "run-solfege.py"
1837 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1839 (add-before 'build 'adjust-config-file-prefix
1840 (lambda* (#:key outputs #:allow-other-keys)
1841 (substitute* "run-solfege.py"
1842 (("prefix = os.path.*$")
1843 (string-append "prefix = " (assoc-ref outputs "out"))))
1845 (add-after 'install 'wrap-program
1846 (lambda* (#:key inputs outputs #:allow-other-keys)
1847 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1848 (let* ((out (assoc-ref outputs "out"))
1849 (path (getenv "PYTHONPATH")))
1850 (wrap-program (string-append out "/bin/solfege")
1851 `("PYTHONPATH" ":" prefix (,path))))
1854 `(("python" ,python-2)
1855 ("pygtk" ,python2-pygtk)
1856 ("gettext" ,gettext-minimal)
1858 ("lilypond" ,lilypond)))
1860 `(("pkg-config" ,pkg-config)
1861 ("txt2man" ,txt2man)
1862 ("libxml2" ,libxml2) ; for tests
1863 ("ghostscript" ,ghostscript)
1864 ("texinfo" ,texinfo-5)))
1865 (home-page "https://www.gnu.org/software/solfege/")
1866 (synopsis "Ear training")
1868 "GNU Solfege is a program for practicing musical ear-training. With it,
1869 you can practice your recognition of various musical intervals and chords. It
1870 features a statistics overview so you can monitor your progress across several
1871 sessions. Solfege is also designed to be extensible so you can easily write
1873 (license license:gpl3+)))
1875 (define-public powertabeditor
1877 (name "powertabeditor")
1878 (version "2.0.0-alpha14")
1882 (url "https://github.com/powertab/powertabeditor")
1884 (file-name (git-file-name name version))
1887 "1wsvni2aa9h2bpndlic7ckch4n600ahwm56n521y5vxivwjx3jmj"))))
1888 (build-system cmake-build-system)
1891 (modify-phases %standard-phases
1892 (replace 'check (lambda _ (invoke "bin/pte_tests")))
1893 (add-after 'unpack 'fix-pugixml-detection
1895 (substitute* "cmake/third_party/pugixml.cmake"
1896 (("add_library") "#add_library"))
1899 `(("alsa-lib" ,alsa-lib)
1901 ("minizip" ,minizip)
1902 ("pugixml" ,pugixml)
1904 ("rapidjson" ,rapidjson)
1906 ("timidity" ,timidity++)
1909 `(("doctest" ,doctest)
1910 ("pkg-config" ,pkg-config)))
1911 (home-page "https://github.com/powertab/powertabedito")
1912 (synopsis "Guitar tablature editor")
1914 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1915 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1916 (license license:gpl3+)))
1918 (define-public jalv-select
1920 (name "jalv-select")
1925 (url "https://github.com/brummer10/jalv_select")
1926 (commit (string-append "v" version))))
1927 (file-name (git-file-name name version))
1930 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
1931 (build-system gnu-build-system)
1934 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1936 (modify-phases %standard-phases
1938 (add-after 'unpack 'ignore-PATH
1939 (lambda* (#:key inputs #:allow-other-keys)
1940 (substitute* "jalv.select.cpp"
1941 (("echo \\$PATH.*tr ':'.*xargs ls")
1942 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1944 (add-before 'reset-gzip-timestamps 'make-manpages-writable
1945 (lambda* (#:key outputs #:allow-other-keys)
1946 (for-each make-file-writable
1947 (find-files (string-append (assoc-ref outputs "out")
1955 ("gtkmm" ,gtkmm-2)))
1957 `(("pkg-config" ,pkg-config)))
1958 (home-page "https://github.com/brummer10/jalv_select")
1959 (synopsis "GUI to select LV2 plugins and run them with jalv")
1961 "The jalv.select package provides a graphical user interface allowing
1962 users to select LV2 plugins and run them with jalv.")
1963 (license license:public-domain)))
1965 (define-public synthv1
1972 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1973 "/synthv1-" version ".tar.gz"))
1976 "0wg4ywkqf307vln0y923p083xacb5ahr2ghzvb9gmqyszd7k2v15"))))
1977 (build-system gnu-build-system)
1979 `(#:tests? #f)) ; there are no tests
1983 ("alsa-lib" ,alsa-lib)
1984 ("non-session-manager" ,non-session-manager)
1986 ("qtbase" ,qtbase)))
1988 `(("pkg-config" ,pkg-config)
1989 ("qttools" ,qttools)))
1990 (home-page "https://synthv1.sourceforge.io")
1991 (synopsis "Polyphonic subtractive synthesizer")
1993 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1994 oscillators and stereo effects.")
1995 (license license:gpl2+)))
1997 (define-public drumkv1
2004 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
2005 "/drumkv1-" version ".tar.gz"))
2008 "1ym7kns7hfgxdwm2nzvpdm5vjxpkwb9dssjiic6rrpicv1p2v59m"))))
2009 (build-system gnu-build-system)
2011 `(#:tests? #f)) ; there are no tests
2015 ("libsndfile" ,libsndfile)
2016 ("alsa-lib" ,alsa-lib)
2017 ("non-session-manager" ,non-session-manager)
2019 ("qtbase" ,qtbase)))
2021 `(("pkg-config" ,pkg-config)
2022 ("qttools" ,qttools)))
2023 (home-page "https://drumkv1.sourceforge.io")
2024 (synopsis "Drum-kit sampler synthesizer with stereo effects")
2026 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
2028 (license license:gpl2+)))
2030 (define-public samplv1
2037 (string-append "mirror://sourceforge/samplv1/samplv1/" version
2038 "/samplv1-" version ".tar.gz"))
2041 "1kz8hcpzhrkvxpah6irz5gbah4m7knjhi4rk5hs1kwiikn7p6vgk"))))
2042 (build-system gnu-build-system)
2044 `(#:tests? #f)) ; there are no tests
2048 ("libsndfile" ,libsndfile)
2049 ("alsa-lib" ,alsa-lib)
2050 ("non-session-manager" ,non-session-manager)
2052 ("qtbase" ,qtbase)))
2054 `(("pkg-config" ,pkg-config)
2055 ("qttools" ,qttools)))
2056 (home-page "https://samplv1.sourceforge.io")
2057 (synopsis "Polyphonic sampler synthesizer with stereo effects")
2059 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
2061 (license license:gpl2+)))
2063 (define-public padthv1
2070 (string-append "mirror://sourceforge/padthv1/padthv1/" version
2071 "/padthv1-" version ".tar.gz"))
2074 "0s28l8vp9b85s4bdm18qm57dh8dx8rx7659r05p44828g4053ipl"))))
2075 (build-system gnu-build-system)
2077 `(#:tests? #f)) ; there are no tests
2081 ("alsa-lib" ,alsa-lib)
2082 ("non-session-manager" ,non-session-manager)
2085 ("qtbase" ,qtbase)))
2087 `(("pkg-config" ,pkg-config)
2088 ("qttools" ,qttools)))
2089 (home-page "https://padthv1.sourceforge.io")
2090 (synopsis "Polyphonic additive synthesizer")
2092 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
2093 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
2094 special variant of additive synthesis.")
2095 (license license:gpl2+)))
2097 (define-public amsynth
2104 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
2105 "download/release-" version
2106 "/amsynth-" version ".tar.bz2"))
2109 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
2110 (build-system gnu-build-system)
2113 (modify-phases %standard-phases
2114 (add-after 'unpack 'patch-file-names
2116 (substitute* "src/GUI/editor_pane.c"
2117 (("/usr/bin/unzip") (which "unzip")))
2118 (substitute* "src/GUI/GUI.cc"
2119 (("/usr/bin/which") (which "which")))
2122 `(("alsa-lib" ,alsa-lib)
2127 ("libsndfile" ,libsndfile)
2129 ;; External commands invoked at run time.
2133 `(("intltool" ,intltool)
2134 ("pkg-config" ,pkg-config)))
2135 (home-page "https://amsynth.github.io")
2136 (synopsis "Analog modeling synthesizer")
2138 "amsynth is an easy-to-use software synthesizer with a classic
2139 subtractive synthesizer topology. Its features include: dual
2140 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
2141 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
2142 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
2143 which can modulate the oscillators, filter, and amplitude; distortion and
2145 (license license:gpl2+)))
2147 (define-public setbfree
2154 (url "https://github.com/pantherb/setBfree")
2155 (commit (string-append "v" version))))
2156 (file-name (git-file-name name version))
2159 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
2160 (build-system gnu-build-system)
2162 `(#:tests? #f ; no "check" target
2164 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2165 (string-append "FONTFILE="
2166 (assoc-ref %build-inputs "font-bitstream-vera")
2167 "/share/fonts/truetype/VeraBd.ttf")
2168 ;; Disable unsupported optimization flags on non-x86
2169 ,@(let ((system (or (%current-target-system)
2170 (%current-system))))
2171 (if (or (string-prefix? "x86_64" system)
2172 (string-prefix? "i686" system))
2174 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
2176 (modify-phases %standard-phases
2177 (add-before 'build 'set-CC-variable
2178 (lambda _ (setenv "CC" "gcc") #t))
2179 (delete 'configure))))
2183 ("zita-convolver" ,zita-convolver)
2186 ("font-bitstream-vera" ,font-bitstream-vera)))
2188 `(("help2man" ,help2man)
2189 ("pkg-config" ,pkg-config)))
2190 (home-page "http://setbfree.org")
2191 (synopsis "Tonewheel organ")
2193 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
2194 the sound and properties of the electromechanical organs and sound
2195 modification devices that brought world-wide fame to the names and products of
2196 Laurens Hammond and Don Leslie.")
2197 (license license:gpl2+)))
2199 (define-public beast
2205 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
2209 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
2210 (build-system gnu-build-system)
2212 '(#:parallel-build? #f)) ; Race conditions cause build failures
2214 `(("rapicorn" ,rapicorn)
2215 ("guile" ,guile-1.8)
2216 ("python" ,python-2)
2217 ("libgnomecanvas" ,libgnomecanvas)
2221 ("alsa-lib" ,alsa-lib)
2222 ("libvorbis" ,libvorbis)
2223 ("gettext" ,gettext-minimal)))
2225 `(("pkg-config" ,pkg-config)
2226 ("glib:bin" ,glib "bin")
2227 ("cython" ,python2-cython)
2229 ("perl-xml-parser" ,perl-xml-parser)))
2230 (home-page "https://testbit.eu/wiki/Beast_Home")
2231 (synopsis "Music composition and modular synthesis environment")
2233 "Beast is a music composition and modular synthesis application. It
2234 supports a wide range of standards in the field, such as MIDI, various audio
2235 file formats and LADSPA modules. It allows for multitrack editing, real-time
2236 synthesis, 32bit audio rendering, precise timing down to sample granularity,
2237 on-demand and partial loading of wave files, on the fly decoding, stereo
2238 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
2239 (license license:gpl3+)))
2241 (define-public bristol
2247 (uri (string-append "mirror://sourceforge/bristol/bristol/"
2248 (version-major+minor version)
2249 "/bristol-" version ".tar.gz"))
2252 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
2253 (build-system gnu-build-system)
2256 (modify-phases %standard-phases
2257 (add-after 'unpack 'remove-sse-flags
2258 (lambda* (#:key system #:allow-other-keys)
2259 (when (not (or (string-prefix? "x86_64" system)
2260 (string-prefix? "i686" system)))
2261 (substitute* "bristol/Makefile.in"
2262 (("-msse -mfpmath=sse") "")))
2264 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
2265 ;; bristol actually doesn't use it.
2266 (add-after 'unpack 'do-not-use-alsa-iatomic
2268 (substitute* "libbristolaudio/audioEngineJack.c"
2269 (("#include <alsa/iatomic.h>") ""))
2271 ;; We know that Bristol has been linked with JACK and we don't have
2272 ;; ldd, so we can just skip this check.
2273 (add-after 'unpack 'do-not-grep-for-jack
2275 (substitute* "bin/startBristol.in"
2276 (("ldd `which bristol` | grep jack") "echo guix"))
2279 `(("alsa-lib" ,alsa-lib)
2282 ("libx11" ,libx11)))
2284 `(("pkg-config" ,pkg-config)))
2285 (home-page "http://bristol.sourceforge.net/")
2286 (synopsis "Synthesizer emulator")
2288 "Bristol is an emulation package for a number of different @code{classic}
2289 synthesizers including additive and subtractive and a few organs. The
2290 application consists of the engine, which is called bristol, and its own GUI
2291 library called brighton that represents all the emulations. There are
2292 currently more than twenty different emulations; each does sound different
2293 although the author maintains that the quality and accuracy of each emulation
2295 (license license:gpl3+)))
2297 (define-public tuxguitar
2304 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
2305 version "/tuxguitar-" version "-src.tar.gz"))
2308 "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg"))))
2309 (build-system ant-build-system)
2311 `(#:build-target "build"
2313 #:tests? #f ; no tests
2315 (modify-phases %standard-phases
2317 (lambda* (#:key inputs outputs #:allow-other-keys)
2318 (let* ((initial-classpath (getenv "CLASSPATH"))
2319 (build-dir (lambda (dir)
2322 (string-join (cons initial-classpath
2323 (find-files (getcwd) "\\.jar$"))
2325 (with-directory-excursion dir
2326 (if (file-exists? "build.xml")
2327 ((assoc-ref %standard-phases 'build)
2328 #:build-target "build")
2330 ;; Generate default build.xml.
2331 ((@@ (guix build ant-build-system)
2333 (string-append (string-downcase dir) ".jar")
2334 (string-append (assoc-ref outputs "out")
2336 ((assoc-ref %standard-phases 'build))))))))
2337 (map build-dir '("TuxGuitar-lib"
2338 "TuxGuitar-editor-utils"
2339 "TuxGuitar-ui-toolkit"
2340 "TuxGuitar-ui-toolkit-swt"
2343 "TuxGuitar-gm-utils"
2346 "TuxGuitar-midi-ui"))
2348 (add-after 'build 'build-jni
2351 (setenv "CFLAGS" (string-append
2354 "/build-scripts/native-modules/common-include"))
2355 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
2357 (lambda* (#:key inputs outputs #:allow-other-keys)
2358 (let* ((out (assoc-ref outputs "out"))
2359 (bin (string-append out "/bin"))
2360 (share (string-append out "/share"))
2361 (jni-lib (string-append out "/lib"))
2362 (lib (string-append share "/java"))
2363 (swt (assoc-ref inputs "java-swt"))
2364 (mime (string-append share "/mime/packages"))
2365 (app (string-append share "/applications"))
2366 (man (string-append share "/man/man1")))
2369 ;; Install all jars.
2370 (for-each (lambda (file)
2371 (install-file file lib))
2372 (find-files "." "\\.jar$"))
2374 ;; Install jni libraries
2375 (for-each (lambda (file)
2376 (install-file file jni-lib))
2377 (find-files "." "\\-jni.so$"))
2379 ;; Install all resources.
2380 (copy-recursively "./TuxGuitar/share" share)
2382 ;; Install desktop and mime files
2383 (install-file "./misc/tuxguitar.xml" mime)
2384 (install-file "./misc/tuxguitar.desktop" app)
2387 (install-file "./misc/tuxguitar.1" man)
2390 (call-with-output-file (string-append bin "/tuxguitar")
2392 (let ((classpath (string-join (append (find-files lib "\\.jar$")
2393 (find-files swt "\\.jar$"))
2397 (string-append "#!/bin/sh\n"
2400 " -Dtuxguitar.home.path=" out
2401 " -Dtuxguitar.share.path=" out "/share"
2402 " -Dswt.library.path=" swt "/lib"
2403 " -Djava.library.path=" out "/lib"
2404 " org.herac.tuxguitar.app.TGMainSingleton"
2405 " \"$1\" \"$2\"")))))
2406 (chmod (string-append bin "/tuxguitar") #o555)
2409 `(("alsa-lib" ,alsa-lib)
2410 ("java-swt" ,java-swt)))
2411 (home-page "http://tuxguitar.com.ar/")
2412 (synopsis "Multitrack tablature editor and player")
2414 "TuxGuitar is a guitar tablature editor with player support through midi.
2415 It can display scores and multitrack tabs. TuxGuitar provides various
2416 additional features, including autoscrolling while playing, note duration
2417 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
2418 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
2420 (license license:lgpl2.1+)))
2429 (string-append "http://msp.ucsd.edu/Software/pd-"
2430 version ".src.tar.gz"))
2433 "1hgw1ciwr59f4f9s0h7c2l36wcsn3jsddhr1r9qj97vf64c1ynaj"))))
2434 (build-system gnu-build-system)
2436 (let ((wish (string-append "wish" (version-major+minor
2437 (package-version tk)))))
2438 `(#:tests? #f ; no "check" target
2442 (string-append "--with-wish=" (string-append
2443 (assoc-ref %build-inputs "tk")
2446 (modify-phases %standard-phases
2447 (add-before 'configure 'fix-with-path
2449 (substitute* "tcl/pd-gui.tcl"
2450 (("exec wish ") (string-append "exec " (which ,wish) " ")))
2453 `(("autoconf" ,autoconf)
2454 ("automake" ,automake)
2455 ("libtool" ,libtool)
2456 ("gettext" ,gettext-minimal)
2457 ("pkg-config" ,pkg-config)))
2460 ("alsa-lib" ,alsa-lib)
2462 (home-page "https://puredata.info")
2463 (synopsis "Visual programming language for artistic performances")
2465 "Pure Data (aka Pd) is a visual programming language. Pd enables
2466 musicians, visual artists, performers, researchers, and developers to create
2467 software graphically, without writing lines of code. Pd is used to process
2468 and generate sound, video, 2D/3D graphics, and interface sensors, input
2469 devices, and MIDI. Pd can easily work over local and remote networks to
2470 integrate wearable technology, motor systems, lighting rigs, and other
2471 equipment. Pd is suitable for learning basic multimedia processing and visual
2472 programming methods as well as for realizing complex systems for large-scale
2474 (license license:bsd-3)))
2476 (define-public libpd
2483 (url "https://github.com/libpd/libpd")
2485 (recursive? #t))) ; for the 'pure-data' submodule
2486 (file-name (string-append name "-" version "-checkout"))
2489 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
2490 (build-system gnu-build-system)
2492 '(#:tests? #f ; no tests
2493 #:make-flags '("CC=gcc")
2495 (modify-phases %standard-phases
2496 (delete 'configure) ; no configure script
2498 (lambda* (#:key outputs #:allow-other-keys)
2499 (let ((out (assoc-ref outputs "out")))
2500 (invoke "make" "install"
2501 (string-append "prefix=" out)
2502 ;; XXX: Fix the last 2 lines of 'install' target.
2504 "LIBPD_DEF=NO")))))))
2505 (home-page "http://libpd.cc/")
2506 (synopsis "Pure Data as an embeddable audio synthesis library")
2508 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
2509 main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
2510 (license license:bsd-3)))
2512 (define-public portmidi
2518 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
2519 version "/portmidi-src-" version ".zip"))
2522 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
2523 (patches (list (search-patch "portmidi-modular-build.patch")))))
2524 (build-system cmake-build-system)
2526 `(#:tests? #f ; tests cannot be linked
2527 #:build-type "Release" ; needed to have PMALSA set
2529 (list "-DPORTMIDI_ENABLE_JAVA=Off"
2530 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
2532 (modify-phases %standard-phases
2533 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
2534 ;; "libportmidi.so". Distributions get away with it by creating an
2535 ;; appropriate symlink.
2536 (add-after 'install 'add-porttime
2537 (lambda* (#:key outputs #:allow-other-keys)
2538 (let* ((out (assoc-ref outputs "out"))
2539 (lib (string-append out "/lib")))
2540 (with-directory-excursion lib
2541 (symlink "libportmidi.so" "libporttime.so")))))
2542 (add-after 'install 'install-pkg-config
2543 (lambda* (#:key outputs #:allow-other-keys)
2544 (let* ((out (assoc-ref outputs "out"))
2545 (pkg-config-dir (string-append out "/lib/pkgconfig")))
2546 (mkdir-p pkg-config-dir)
2547 (with-output-to-file (string-append pkg-config-dir "/portmidi.pc")
2551 libdir=${prefix}/lib~@
2552 includedir=${prefix}/include~@
2557 Libs: -L${libdir} -lportmidi~@
2558 Cflags: -I${includedir}~%"
2559 out ,version)))))))))
2561 `(("alsa-lib" ,alsa-lib)))
2563 `(("unzip" ,unzip)))
2564 (home-page "http://portmedia.sourceforge.net/portmidi/")
2565 (synopsis "Library for MIDI I/O")
2567 "PortMidi is a library supporting real-time input and output of MIDI data
2568 using a system-independent interface.")
2569 (license license:expat)))
2571 (define-public python-pyportmidi
2573 (name "python-pyportmidi")
2574 (version (package-version portmidi))
2575 (source (package-source portmidi))
2576 (build-system python-build-system)
2578 `(#:tests? #f ; no tests included
2580 (modify-phases %standard-phases
2581 (add-after 'unpack 'enter-dir
2582 (lambda _ (chdir "pm_python") #t))
2583 (add-after 'enter-dir 'fix-setup.py
2585 (substitute* "setup.py"
2586 ;; Use Python 3 syntax
2587 (("print (\".*\")" _ text)
2588 (string-append "print(" text ")\n"))
2589 ;; TODO.txt and CHANGES.txt don't exist
2590 (("CHANGES =.*") "CHANGES = \"\"\n")
2591 (("TODO =.*") "TODO = \"\"\n"))
2594 `(("portmidi" ,portmidi)
2595 ("alsa-lib" ,alsa-lib)))
2597 `(("python-cython" ,python-cython)
2599 (home-page "http://portmedia.sourceforge.net/portmidi/")
2600 (synopsis "Python bindings to PortMidi")
2602 "This package provides Python bindings to the PortMidi library.")
2603 (license license:expat)))
2605 (define-public frescobaldi
2607 (name "frescobaldi")
2613 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2614 version "/frescobaldi-" version ".tar.gz"))
2616 (base32 "1hg9yc8kj445fjsby92g3qf50crcl1pb079zfma18sb7ycv50zww"))))
2617 (build-system python-build-system)
2619 `(#:tests? #f)) ;no tests included
2621 `(("lilypond" ,lilypond)
2622 ("poppler" ,poppler)
2623 ("portmidi" ,portmidi)
2624 ("python-ly" ,python-ly)
2625 ("python-poppler-qt5" ,python-poppler-qt5)
2626 ("python-pyportmidi" ,python-pyportmidi)
2627 ("python-pyqt" ,python-pyqt)
2628 ("python-sip" ,python-sip)))
2629 (home-page "https://www.frescobaldi.org/")
2630 (synopsis "LilyPond sheet music text editor")
2632 "Frescobaldi is a LilyPond sheet music text editor with syntax
2633 highlighting and automatic completion. Among other things, it can render
2634 scores next to the source, can capture input from MIDI or read MusicXML and
2635 ABC files, has a MIDI player for proof-listening, and includes a documentation
2637 (license license:gpl2+)))
2639 (define-public drumstick
2645 (uri (string-append "mirror://sourceforge/drumstick/"
2646 version "/drumstick-" version ".tar.bz2"))
2649 "06lz4kzpgg5lalcjb14pi35jxca5f4j6ckqf6mdxs1k42dfhjpjp"))))
2650 (build-system cmake-build-system)
2652 `(#:tests? #f ; no test target
2654 (modify-phases %standard-phases
2655 (add-before 'configure 'fix-docbook
2656 (lambda* (#:key inputs #:allow-other-keys)
2657 (substitute* "cmake_admin/CreateManpages.cmake"
2658 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2659 (string-append (assoc-ref inputs "docbook-xsl")
2660 "/xml/xsl/docbook-xsl-"
2661 ,(package-version docbook-xsl)
2662 "/manpages/docbook.xsl")))
2665 `(("qtbase" ,qtbase)
2667 ("qttools" ,qttools)
2668 ("alsa-lib" ,alsa-lib)))
2670 `(("pkg-config" ,pkg-config)
2671 ("libxslt" ,libxslt) ; for xsltproc
2672 ("docbook-xsl" ,docbook-xsl)
2673 ("doxygen" ,doxygen)
2674 ("graphviz" ,graphviz))) ; for dot
2675 (home-page "https://drumstick.sourceforge.io/")
2676 (synopsis "C++ MIDI library")
2678 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2679 includes a C++ wrapper around the ALSA library sequencer interface. A
2680 complementary library provides classes for processing SMF (Standard MIDI
2681 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2682 multiplatform realtime MIDI I/O library is also provided with various output
2683 backends, including ALSA, OSS, Network and FluidSynth.")
2684 (license license:gpl2+)))
2692 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2693 version "/vmpk-" version ".tar.bz2"))
2696 "1kv256j13adk4ib7r464gsl4vjhih820bq37ddhqfyfd07wh53a2"))))
2697 (build-system cmake-build-system)
2699 `(#:tests? #f ; no test target
2701 (modify-phases %standard-phases
2702 (add-before 'configure 'fix-docbook
2703 (lambda* (#:key inputs #:allow-other-keys)
2704 (substitute* "cmake_admin/CreateManpages.cmake"
2705 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2706 (string-append (assoc-ref inputs "docbook-xsl")
2707 "/xml/xsl/docbook-xsl-"
2708 ,(package-version docbook-xsl)
2709 "/manpages/docbook.xsl")))
2712 `(("drumstick" ,drumstick)
2715 ("qtx11extras" ,qtx11extras)))
2717 `(("libxslt" ,libxslt) ;for xsltproc
2718 ("docbook-xsl" ,docbook-xsl)
2719 ("qttools" ,qttools)
2720 ("pkg-config" ,pkg-config)))
2721 (home-page "https://vmpk.sourceforge.io/")
2722 (synopsis "Virtual MIDI piano keyboard")
2724 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2725 doesn't produce any sound by itself, but can be used to drive a MIDI
2726 synthesizer (either hardware or software, internal or external). You can use
2727 the computer's keyboard to play MIDI notes, and also the mouse. You can use
2728 the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2729 instrument or MIDI file player.")
2730 (license license:gpl3+)))
2732 (define-public zynaddsubfx
2734 (name "zynaddsubfx")
2739 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
2740 version "/zynaddsubfx-" version ".tar.bz2"))
2743 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
2744 (build-system cmake-build-system)
2747 (modify-phases %standard-phases
2748 ;; Move SSE compiler optimization flags from generic target to
2749 ;; athlon64 and core2 targets, because otherwise the build would fail
2750 ;; on non-Intel machines.
2751 (add-after 'unpack 'remove-sse-flags-from-generic-target
2753 (substitute* "src/CMakeLists.txt"
2754 (("-msse -msse2 -mfpmath=sse") "")
2755 (("-march=(athlon64|core2)" flag)
2756 (string-append flag " -msse -msse2 -mfpmath=sse")))
2762 ("alsa-lib" ,alsa-lib)
2765 ("minixml" ,minixml)
2769 `(("pkg-config" ,pkg-config)))
2770 (home-page "http://zynaddsubfx.sf.net/")
2771 (synopsis "Software synthesizer")
2773 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2774 three synthesizer engines, multitimbral and polyphonic synths, microtonal
2775 capabilities, custom envelopes, effects, etc.")
2776 (license license:gpl2)))
2778 (define-public yoshimi
2785 (uri (string-append "mirror://sourceforge/yoshimi/"
2786 (version-major+minor version)
2787 "/yoshimi-" version ".tar.bz2"))
2789 (base32 "0lxfqj4p4njww3n0wa6yfj38zfls16y3wszd47gvc5asmqyg5vjd"))))
2790 (build-system cmake-build-system)
2792 `(#:tests? #f ; there are no tests
2794 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2795 (assoc-ref %outputs "out") "/share"))
2797 (modify-phases %standard-phases
2798 (add-before 'configure 'enter-dir
2799 (lambda _ (chdir "src") #t))
2800 ;; Move SSE compiler optimization flags from generic target to
2801 ;; athlon64 and core2 targets, because otherwise the build would fail
2802 ;; on non-Intel machines.
2803 (add-after 'unpack 'remove-sse-flags-from-generic-target
2805 (substitute* "src/CMakeLists.txt"
2806 (("-msse -msse2 -mfpmath=sse") "")
2807 (("-march=(athlon64|core2)" flag)
2808 (string-append flag " -msse -msse2 -mfpmath=sse")))
2813 ("alsa-lib" ,alsa-lib)
2815 ("fontconfig" ,fontconfig)
2816 ("minixml" ,minixml)
2820 ("readline" ,readline)
2821 ("ncurses" ,ncurses)
2825 `(("pkg-config" ,pkg-config)))
2826 (home-page "http://yoshimi.sourceforge.net/")
2827 (synopsis "Multi-paradigm software synthesizer")
2829 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2830 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2831 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2832 improves on support for JACK features, such as JACK MIDI.")
2833 (license license:gpl2)))
2835 (define-public libgig
2841 (uri (string-append "http://download.linuxsampler.org/packages/"
2842 "libgig-" version ".tar.bz2"))
2845 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
2846 (build-system gnu-build-system)
2848 `(("libuuid" ,util-linux "lib")
2849 ("libsndfile" ,libsndfile)))
2851 `(("pkg-config" ,pkg-config)))
2852 (home-page "https://linuxsampler.org/libgig/")
2853 (synopsis "C++ library for working with Gigasampler (.gig) files")
2855 "Libgig is a C++ library for loading, modifying existing and creating new
2856 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2857 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2858 AKAI sampler data. The package includes a couple of command line tools based
2860 ;; The library and tools are released under the GPL, except the AKAI
2861 ;; classes which are released under the LGPL.
2862 (license (list license:gpl2+ license:lgpl2.1+))))
2864 (define-public jack-keyboard
2866 (name "jack-keyboard")
2871 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2872 version "/jack-keyboard-" version ".tar.gz"))
2875 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2876 (build-system gnu-build-system)
2882 `(("pkg-config" ,pkg-config)))
2883 (home-page "http://jack-keyboard.sourceforge.net/")
2884 (synopsis "Virtual MIDI keyboard")
2885 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2886 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2887 (license license:bsd-2)))
2889 (define-public jack-capture
2891 (name "jack-capture")
2896 (url "https://github.com/kmatheussen/jack_capture")
2898 (file-name (string-append name "-" version "-checkout"))
2901 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2902 (build-system gnu-build-system)
2905 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2906 #:tests? #f ; there are none
2908 (modify-phases %standard-phases
2909 (delete 'configure))))
2911 `(("pkg-config" ,pkg-config)
2919 ("libsndfile" ,libsndfile)))
2920 (home-page "https://github.com/kmatheussen/jack_capture")
2921 (synopsis "Program for recording sound files with JACK")
2922 (description "This is a program for recording sound files with JACK. It
2923 can connect to any JACK port and record the output into a stereo WAV file.")
2924 (license license:gpl2+)))
2926 (define-public jack-select
2928 (name "jack-select")
2932 (uri (pypi-uri "jack-select" version))
2935 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
2936 (build-system gnu-build-system)
2938 `(#:modules ((guix build gnu-build-system)
2939 ((guix build python-build-system) #:prefix python:)
2941 #:imported-modules (,@%gnu-build-system-modules
2942 (guix build python-build-system))
2944 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2945 #:tests? #f ; there are none
2947 (modify-phases %standard-phases
2949 (lambda* (#:key inputs #:allow-other-keys)
2950 ;; python-dbus cannot be found but it's really there. See
2951 ;; https://github.com/SpotlightKid/jack-select/issues/2
2952 (substitute* "setup.py"
2953 (("'dbus-python',") ""))
2954 ;; Fix reference to dlopened libraries.
2955 (substitute* "jackselect/alsainfo.py"
2957 (string-append (assoc-ref inputs "alsa-lib")
2958 "/lib/libasound.so.2")))
2961 (assoc-ref python:%standard-phases 'build))
2962 (add-after 'install 'wrap
2963 (assoc-ref python:%standard-phases 'wrap)))))
2965 `(("pkg-config" ,pkg-config)))
2967 `(("alsa-lib" ,alsa-lib)
2968 ("python" ,python-wrapper)
2969 ("python-pyudev" ,python-pyudev)
2970 ("python-pyxdg" ,python-pyxdg)
2971 ("python-dbus" ,python-dbus)
2972 ("python-pygobject" ,python-pygobject)))
2973 (home-page "https://github.com/SpotlightKid/jack-select")
2974 (synopsis "Systray application to quickly change the JACK-DBus configuration")
2975 (description "This application displays an icon in the system tray (also
2976 known as notification area) of your desktop, which shows the status of the
2977 JACK audio server and when you click on it, a menu pops up, which lets you
2978 quickly select from the JACK configuration presets you created with QjackCtl.
2979 When you select a preset, its JACK engine and driver configuration settings
2980 are loaded via DBus into JACK and then the server is restarted. This allows
2981 you to switch between different audio setups with just two mouse clicks.")
2982 (license license:expat)))
2984 (define-public cursynth
2991 (uri (string-append "mirror://gnu/cursynth/cursynth-"
2994 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
2995 (patches (search-patches "cursynth-wave-rand.patch"))))
2996 (build-system gnu-build-system)
2997 (native-inputs `(("pkg-config" ,pkg-config)))
2998 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
2999 ;; prevents us from using pulseaudio
3000 (inputs `(("ncurses" ,ncurses)
3001 ("alsa" ,alsa-lib)))
3002 (home-page "https://www.gnu.org/software/cursynth/")
3003 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
3004 (description "GNU cursynth is a polyphonic synthesizer that runs
3005 graphically in the terminal. It is built on a full-featured subtractive
3006 synthesis engine. Notes and parameter changes may be entered via MIDI or the
3007 computer's keyboard.")
3008 (license license:gpl3+)))
3010 (define-public aj-snapshot
3012 (name "aj-snapshot")
3016 (uri (string-append "mirror://sourceforge/aj-snapshot/"
3017 "aj-snapshot-" version ".tar.bz2"))
3020 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
3021 (build-system gnu-build-system)
3023 `(("minixml" ,minixml)
3025 ("alsa-lib" ,alsa-lib)))
3027 `(("pkg-config" ,pkg-config)))
3028 (home-page "http://aj-snapshot.sourceforge.net/")
3029 (synopsis "Snapshot connections between ALSA and JACK clients")
3030 (description "Aj-snapshot is a small program that can be used to make
3031 snapshots of the connections made between JACK and/or ALSA clients. Because
3032 JACK can provide both audio and MIDI support to programs, aj-snapshot can
3033 store both types of connections for JACK. ALSA, on the other hand, only
3034 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
3035 from the command line.")
3036 (license license:gpl3+)))
3038 (define-public qtractor
3044 (uri (string-append "https://downloads.sourceforge.net/qtractor/"
3045 "qtractor-" version ".tar.gz"))
3048 "12hn17hqs3jndv6238wj8yhw07n99s0zachab4kfvhwa0qfflsbl"))))
3049 (build-system gnu-build-system)
3051 `(#:tests? #f)) ; no "check" target
3054 ("qtx11extras" ,qtx11extras)
3055 ("alsa-lib" ,alsa-lib)
3057 ("libsndfile" ,libsndfile)
3062 ("libsamplerate" ,libsamplerate)
3063 ("libvorbis" ,libvorbis)
3065 ("rubberband" ,rubberband)
3069 `(("pkg-config" ,pkg-config)
3070 ("qttools" ,qttools)))
3071 (home-page "https://qtractor.org/")
3072 (synopsis "Audio/MIDI multi-track sequencer")
3074 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
3075 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
3076 follows a traditional multi-track tape recorder control paradigm.")
3077 (license license:gpl2+)))
3079 (define-public ams-lv2
3087 (url "https://github.com/blablack/ams-lv2")
3088 (commit (string-append "v" version))))
3089 (file-name (git-file-name name version))
3091 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
3092 (build-system waf-build-system)
3095 (modify-phases %standard-phases
3096 (add-after 'unpack 'remove-sse-flags
3097 (lambda* (#:key system #:allow-other-keys)
3098 (unless (or (string-prefix? "x86_64" system)
3099 (string-prefix? "i686" system))
3100 (substitute* "wscript"
3101 (("'-msse', '-mfpmath=sse', ") "")))
3103 #:tests? #f)) ; no tests
3112 `(("pkg-config" ,pkg-config)))
3113 (home-page "https://github.com/blablack/ams-lv2")
3114 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
3115 (description "This set of LV2 plugins is a port of the internal modules
3116 found in Alsa Modular Synth. These plugins are used to create modular
3117 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
3119 (license license:gpl2)))
3121 (define-public gxtuner
3128 (url "https://github.com/brummer10/gxtuner")
3129 (commit (string-append "v" version))))
3130 (file-name (git-file-name name version))
3133 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
3134 (build-system gnu-build-system)
3137 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3138 (string-append "INCLUDE_L_DIR="
3139 (assoc-ref %build-inputs "zita-resampler")
3142 (modify-phases %standard-phases
3143 (delete 'configure))))
3149 ("zita-resampler" ,zita-resampler)))
3151 `(("pkg-config" ,pkg-config)))
3152 (home-page "https://github.com/brummer10/gxtuner")
3153 (synopsis "Guitar tuner")
3154 (description "GXtuner is a simple guitar tuner for JACK with an
3155 analogue-like user interface.")
3156 (license license:gpl2+)))
3158 (define-public mod-host
3159 ;; The last release was in 2014 but since then hundreds of commits have
3161 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
3165 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
3169 (url "https://github.com/moddevices/mod-host")
3173 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
3174 (file-name (string-append name "-" version "-checkout"))))
3175 (build-system gnu-build-system)
3177 `(#:tests? #f ; no tests included
3179 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3182 (modify-phases %standard-phases
3184 (add-after 'unpack 'fix-jack-installation-directory
3186 ;; Do not attempt to install files to output of "jack" package.
3187 (substitute* "Makefile"
3188 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
3197 ("readline" ,readline)))
3199 `(("pkg-config" ,pkg-config)
3200 ("python" ,python-2)))
3201 (home-page "https://github.com/moddevices/mod-host")
3202 (synopsis "LV2 host for Jack controllable via socket or command line")
3203 (description "mod-host is an LV2 plugin host for JACK, controllable via
3204 socket or command line.")
3205 (license license:gpl3+))))
3207 (define-public curseradio
3208 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
3212 (version (git-version "0" revision commit))
3216 (url "https://github.com/chronitis/curseradio")
3218 (file-name (git-file-name name version))
3221 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
3222 (build-system python-build-system)
3225 (modify-phases %standard-phases
3226 (add-after 'unpack 'link-to-mpv
3227 (lambda* (#:key inputs #:allow-other-keys)
3228 (substitute* "curseradio/curseradio.py"
3230 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
3233 `(("python-lxml" ,python-lxml)
3234 ("python-requests" ,python-requests)
3235 ("python-pyxdg" ,python-pyxdg)))
3238 (home-page "https://github.com/chronitis/curseradio")
3239 (synopsis "Command-line Internet radio player")
3240 (description "Curseradio is a Curses-based radio player that uses a
3241 tune-in sender list from @url{http://opml.radiotime.com}.")
3242 (license license:expat))))
3244 (define-public pianobar
3247 (version "2020.11.28")
3251 (url "https://github.com/PromyLOPh/pianobar")
3253 (file-name (git-file-name name version))
3256 "13qx52a1yj2wghf7yd9jf4ar92scbc8zgqdq0kkqf4p9isf1phf3"))))
3257 (build-system gnu-build-system)
3259 `(#:tests? #f ; no tests
3260 #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
3261 #:phases (modify-phases %standard-phases
3262 (delete 'configure))))
3266 ("libgcrypt" ,libgcrypt)
3268 ("ffmpeg" ,ffmpeg)))
3270 `(("pkg-config" ,pkg-config)))
3271 (home-page "https://6xq.net/pianobar/")
3272 (synopsis "Console-based pandora.com player")
3273 (description "pianobar is a console-based music player for the
3274 personalized online radio pandora.com. It has configurable keys for playing
3275 and managing stations, can be controlled remotely via fifo, and can run
3276 event-based scripts for scrobbling, notifications, etc.")
3277 (license license:expat)))
3279 (define-public picard
3286 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
3287 "picard/picard-" version ".tar.gz"))
3290 "1c5l7i43jaj3s4wklc0cba6nn2x9cmpcggk4q4h9m1bci2xilsiy"))
3291 (patches (search-patches "picard-fix-id3-rename-test.patch"))))
3292 (build-system python-build-system)
3294 '(#:use-setuptools? #f
3297 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
3298 "--disable-autoupdate")
3300 (modify-phases %standard-phases
3301 (add-after 'unpack 'patch-source
3302 (lambda* (#:key inputs #:allow-other-keys)
3303 (substitute* "picard/const/__init__.py"
3307 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
3310 `(("gettext" ,gettext-minimal)
3311 ("python-dateutil" ,python-dateutil)))
3313 `(("chromaprint" ,chromaprint)
3314 ("python-discid" ,python-discid)
3315 ("python-pyqt" ,python-pyqt)
3316 ("python-mutagen" ,python-mutagen)))
3317 (home-page "https://picard.musicbrainz.org/")
3318 (synopsis "Graphical music tagging application")
3320 "MusicBrainz Picard is a music tagging application, supporting multiple
3321 formats, looking up tracks through metadata and audio fingerprints.")
3322 (license license:gpl2+)))
3324 (define-public python-mutagen
3326 (name "python-mutagen")
3330 (uri (pypi-uri "mutagen" version))
3333 "1qdk6i8gyhbi1c4j5jmbfpac3q8sff2ysri1pnp7nb9wzcp615v3"))))
3334 (build-system python-build-system)
3336 `(("python-pytest" ,python-pytest)
3337 ("python-hypothesis" ,python-hypothesis)
3338 ("python-flake8" ,python-flake8)))
3339 (home-page "https://bitbucket.org/lazka/mutagen")
3340 (synopsis "Read and write audio tags")
3341 (description "Mutagen is a Python module to handle audio metadata. It
3342 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
3343 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
3344 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
3345 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
3346 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
3347 streams on an individual packet/page level.")
3348 (license license:gpl2))) ; "later version" never mentioned
3350 (define-public python-mediafile
3352 (name "python-mediafile")
3357 (uri (pypi-uri "mediafile" version))
3358 (patches (search-patches "python-mediafile-wavpack.patch"))
3361 "0jmsp3f57xj35ayp8b6didk85nxgl3viw34s5px3l5dwgc055yx3"))))
3362 (build-system python-build-system)
3364 `(("python-mutagen" ,python-mutagen)
3365 ("python-six" ,python-six)
3366 ("python-tox" ,python-tox)))
3367 (home-page "https://github.com/beetbox/mediafile")
3368 (synopsis "Read and write audio file tags")
3370 "MediaFile is a simple interface to the metadata tags for many audio file
3371 formats. It wraps Mutagen, a high-quality library for low-level tag
3372 manipulation, with a high-level, format-independent interface for a common set
3374 (license license:expat)))
3376 (define-public python-musicbrainzngs
3378 (name "python-musicbrainzngs")
3382 (uri (pypi-uri "musicbrainzngs" version))
3385 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
3386 (build-system python-build-system)
3388 '(;; The tests fail suffer from race conditions:
3389 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
3391 (home-page "https://python-musicbrainzngs.readthedocs.org/")
3392 (synopsis "Python bindings for MusicBrainz NGS webservice")
3393 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
3394 web service. This library can be used to retrieve music metadata from the
3395 MusicBrainz database.")
3396 ;; 'musicbrainzngs/compat.py' is ISC licensed.
3397 (license (list license:bsd-2 license:isc))))
3399 (define-public python2-musicbrainzngs
3400 (package-with-python2 python-musicbrainzngs))
3402 (define-public python-isrcsubmit
3404 (name "python-isrcsubmit")
3409 (uri (pypi-uri "isrcsubmit" version))
3412 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
3413 (build-system python-build-system)
3415 `(("python-discid" ,python-discid)
3416 ("python-musicbrainzngs" ,python-musicbrainzngs)))
3417 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
3418 (synopsis "Submit ISRCs from CDs to MusicBrainz")
3419 (description "@code{isrcsubmit} is a tool to extract @dfn{International
3420 Standard Recording Code} (ISRCs) from audio CDs and submit them to
3421 @url{https://musicbrainz.org/, MusicBrainz}.")
3422 (license license:gpl3+)))
3424 (define-public python2-pyechonest
3426 (name "python2-pyechonest")
3430 (uri (pypi-uri "pyechonest" version))
3433 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
3434 (build-system python-build-system)
3436 `(;; Python 3 is not supported:
3437 ;; https://github.com/echonest/pyechonest/issues/42
3438 #:python ,python-2))
3439 (home-page "https://github.com/echonest/pyechonest")
3440 (synopsis "Python interface to The Echo Nest APIs")
3441 (description "Pyechonest is a Python library for the Echo Nest API. With
3442 Pyechonest you have Python access to the entire set of API methods including:
3445 @item artist - search for artists by name, description, or attribute, and get
3446 back detailed information about any artist including audio, similar artists,
3447 blogs, familiarity, hotttnesss, news, reviews, urls and video.
3448 @item song - search songs by artist, title, description, or attribute (tempo,
3449 duration, etc) and get detailed information back about each song, such as
3450 hotttnesss, audio_summary, or tracks.
3451 @item track - upload a track to the Echo Nest and receive summary information
3452 about the track including key, duration, mode, tempo, time signature along with
3453 detailed track info including timbre, pitch, rhythm and loudness information.
3455 (license license:bsd-3)))
3457 (define-public python-pylast
3459 (name "python-pylast")
3463 (uri (pypi-uri "pylast" version))
3466 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
3467 (build-system python-build-system)
3468 ;; Tests require network access. See
3469 ;; https://github.com/pylast/pylast/issues/105
3470 (arguments '(#:tests? #f))
3472 `(("python-coverage" ,python-coverage)
3473 ("python-pycodestyle" ,python-pycodestyle)
3474 ("python-mock" ,python-mock)
3475 ("python-pep8" ,python-pep8)
3476 ("python-pytest" ,python-pytest)
3477 ("python-flaky" ,python-flaky)
3478 ("python-pyflakes" ,python-pyflakes)
3479 ("python-pyyaml" ,python-pyyaml)))
3481 `(("python-six" ,python-six)))
3482 (home-page "https://github.com/pylast/pylast")
3483 (synopsis "Python interface to Last.fm and Libre.fm")
3484 (description "A Python interface to Last.fm and other API-compatible
3485 websites such as Libre.fm.")
3486 (license license:asl2.0)))
3488 (define-public python2-pylast
3489 (package-with-python2 python-pylast))
3491 (define-public instantmusic
3492 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
3495 (name "instantmusic")
3496 (version (git-version "1.0" revision commit))
3500 (url "https://github.com/yask123/Instant-Music-Downloader")
3502 (file-name (git-file-name name version))
3505 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
3506 (build-system python-build-system)
3508 `(("python-requests" ,python-requests)
3510 ("python-beautifulsoup4" ,python-beautifulsoup4)
3511 ("youtube-dl" ,youtube-dl)))
3513 '(#:modules ((guix build python-build-system)
3516 #:phases (modify-phases %standard-phases
3517 (add-before 'build 'change-directory
3519 (chdir "instantmusic-0.1") #t))
3520 (add-before 'install 'fix-file-permissions
3522 ;; Fix some read-only files that would cause a build failure
3523 (for-each (cut chmod <> #o644)
3524 (find-files "instantmusic.egg-info"
3525 "PKG-INFO|.*\\.txt"))
3527 (home-page "https://github.com/yask123/Instant-Music-Downloader")
3528 (synopsis "Command-line program to download a song from YouTube")
3529 (description "InstantMusic downloads a song from YouTube in MP3 format.
3530 Songs can be searched by artist, name or even by a part of the song text.")
3531 (license license:expat))))
3533 (define-public beets
3539 (uri (pypi-uri "beets" version))
3540 (patches (search-patches "beets-werkzeug-compat.patch"))
3543 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3544 (build-system python-build-system)
3547 (modify-phases %standard-phases
3548 ;; Reported upstream: <https://github.com/beetbox/beets/issues/3771>.
3549 ;; Disable the faulty test as the fix is unclear.
3550 (add-after 'unpack 'disable-failing-tests
3552 (substitute* "test/test_mediafile.py"
3553 (("def test_read_audio_properties") "def _test_read_audio_properties"))
3555 (add-after 'unpack 'set-HOME
3557 (setenv "HOME" (string-append (getcwd) "/tmp"))
3561 (invoke "nosetests" "-v")))
3562 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3563 ;; gstreamer plugins.
3564 (add-after 'wrap 'wrap-typelib
3565 (lambda* (#:key outputs #:allow-other-keys)
3566 (let ((prog (string-append (assoc-ref outputs "out")
3568 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3569 (types (getenv "GI_TYPELIB_PATH")))
3571 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3572 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3575 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3576 ("python-flask" ,python-flask)
3577 ("python-mock" ,python-mock)
3578 ("python-mpd2" ,python-mpd2)
3579 ("python-nose" ,python-nose)
3580 ("python-pathlib" ,python-pathlib)
3581 ("python-pyxdg" ,python-pyxdg)
3582 ("python-pylast" ,python-pylast)
3583 ("python-rarfile" ,python-rarfile)
3584 ("python-responses" ,python-responses)))
3585 ;; TODO: Install optional plugins and dependencies.
3587 `(("python-discogs-client" ,python-discogs-client)
3588 ("python-jellyfish" ,python-jellyfish)
3589 ("python-munkres" ,python-munkres)
3590 ("python-musicbrainzngs" ,python-musicbrainzngs)
3591 ("python-mutagen" ,python-mutagen)
3592 ("python-pyacoustid" ,python-pyacoustid)
3593 ("python-pyyaml" ,python-pyyaml)
3594 ("python-unidecode" ,python-unidecode)
3595 ;; For plugin replaygain.
3596 ("python-pygobject" ,python-pygobject)
3597 ("gobject-introspection" ,gobject-introspection)
3598 ("gst-plugins-base" ,gst-plugins-base)
3599 ("gst-plugins-good" ,gst-plugins-good)
3600 ("gstreamer" ,gstreamer)))
3601 (home-page "https://beets.io")
3602 (synopsis "Music organizer")
3603 (description "The purpose of beets is to get your music collection right
3604 once and for all. It catalogs your collection, automatically improving its
3605 metadata as it goes using the MusicBrainz database. Then it provides a variety
3606 of tools for manipulating and accessing your music.")
3607 (license license:expat)))
3609 (define-public beets-next
3610 (let ((commit "04ea754d00e2873ae9aa2d9e07c5cefd790eaee2")
3615 (version (git-version (package-version beets) revision commit))
3619 (url "https://github.com/beetbox/beets")
3621 (file-name (git-file-name "beets" version))
3624 "092a9sss2shhcjmpgbwvscv8brpm5970i5hddkhi81xcff3bg1h4"))))
3627 (modify-phases %standard-phases
3628 ;; XXX: unclear why this fails
3629 (add-after 'unpack 'disable-failing-tests
3631 (substitute* "test/test_zero.py"
3632 (("def test_album_art") "def _test_album_art"))
3634 (add-after 'unpack 'set-HOME
3636 (setenv "HOME" (string-append (getcwd) "/tmp"))
3640 ;; Resources must be writable.
3641 (for-each make-file-writable
3642 (find-files "test/rsrc" "."))
3643 (invoke "nosetests" "-v")))
3644 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3645 ;; gstreamer plugins.
3646 (add-after 'wrap 'wrap-typelib
3647 (lambda* (#:key outputs #:allow-other-keys)
3648 (let ((prog (string-append (assoc-ref outputs "out")
3650 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3651 (types (getenv "GI_TYPELIB_PATH")))
3653 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3654 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3657 `(("python-confuse" ,python-confuse)
3658 ("python-mediafile" ,python-mediafile)
3659 ("python-reflink" ,python-reflink)
3660 ("python-requests-oauthlib" ,python-requests-oauthlib)
3661 ("opusfile" ,opusfile)
3662 ,@(package-inputs beets))))))
3664 (define-public beets-bandcamp
3666 (name "beets-bandcamp")
3670 (uri (pypi-uri "beets-bandcamp" version))
3673 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
3674 (build-system python-build-system)
3675 (arguments '(#:tests? #f)) ; there are no tests
3678 ("python-isodate" ,python-isodate)))
3680 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3681 ("python-requests" ,python-requests)
3682 ("python-six" ,python-six)))
3683 (home-page "https://github.com/unrblt/beets-bandcamp")
3684 (synopsis "Bandcamp plugin for beets")
3686 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3687 https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3688 using the beets FetchArt plugin.")
3689 (license license:gpl2)))
3691 (define-public milkytracker
3693 (name "milkytracker")
3698 (url "https://github.com/milkytracker/MilkyTracker")
3699 (commit (string-append "v" version))))
3700 (file-name (git-file-name name version))
3703 "025fj34gq2kmkpwcswcyx7wdxb89vm944dh685zi4bxx0hz16vvk"))
3704 (modules '((guix build utils)))
3705 ;; Remove non-FSDG compliant sample songs.
3708 (delete-file-recursively "resources/music")
3709 (substitute* "CMakeLists.txt"
3710 (("add_subdirectory\\(resources/music\\)") ""))
3712 (build-system cmake-build-system)
3714 '(#:tests? #f ; no check target
3715 ;; This flag ensures that MilkyTracker links with the JACK library.
3716 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
3718 `(("alsa-lib" ,alsa-lib)
3724 ("zziplib" ,zziplib)))
3726 `(("pkg-config" ,pkg-config)))
3727 (synopsis "Music tracker for working with .MOD/.XM module files")
3728 (description "MilkyTracker is a music application for creating .MOD and .XM
3729 module files. It attempts to recreate the module replay and user experience of
3730 the popular DOS program Fasttracker II, with special playback modes available
3731 for improved Amiga ProTracker 2/3 compatibility.")
3732 (home-page "https://milkytracker.titandemo.org/")
3733 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3734 (license (list license:bsd-3 license:gpl3+))))
3736 (define-public schismtracker
3738 (name "schismtracker")
3739 (version "20190805")
3743 (url "https://github.com/schismtracker/schismtracker")
3745 (file-name (git-file-name name version))
3748 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
3749 (modules '((guix build utils)))
3751 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
3753 (substitute* "schism/version.c"
3754 (("Schism Tracker built %s %s.*$")
3755 (string-append "Schism Tracker version " ,version "\") ;")))
3757 (build-system gnu-build-system)
3760 (modify-phases %standard-phases
3761 (add-before 'configure 'link-libm
3762 (lambda _ (setenv "LIBS" "-lm") #t)))))
3764 `(("autoconf" ,autoconf)
3765 ("automake" ,automake)
3766 ("python" ,python)))
3768 `(("alsa-lib" ,alsa-lib) ; for asound dependency
3770 ("libxext" ,libxext)
3772 (home-page "http://schismtracker.org")
3773 (synopsis "Oldschool sample-based music composition tool")
3775 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3776 create high quality music without the requirements of specialized, expensive
3777 equipment, and with a unique \"finger feel\" that is difficult to replicate in
3778 part. The player is based on a highly modified version of the ModPlug engine,
3779 with a number of bugfixes and changes to improve IT playback.")
3780 (license license:gpl2+)))
3782 (define-public sooperlooper
3784 (name "sooperlooper")
3789 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3792 (base32 "0kbb1pj62rl32c88j6p7dg823kvs0gb5s42qy3bl6yg0wn10dksj"))))
3793 (build-system gnu-build-system)
3796 (modify-phases %standard-phases
3797 (add-after 'unpack 'add-sigc++-includes
3798 (lambda* (#:key inputs #:allow-other-keys)
3799 (let ((sig (assoc-ref inputs "libsigc++"))
3800 (xml (assoc-ref inputs "libxml2"))
3803 (string-append sig "/include/sigc++-2.0:"
3804 sig "/lib/sigc++-2.0/include:"
3805 xml "/include/libxml2/:"
3808 (or (getenv "CPATH") ""))))
3809 (substitute* '("src/control_osc.hpp"
3810 "src/gui/app_frame.hpp"
3811 "src/gui/config_panel.hpp"
3812 "src/gui/keys_panel.hpp"
3813 "src/gui/latency_panel.hpp"
3814 "src/gui/main_panel.hpp"
3815 "src/gui/midi_bind_panel.hpp"
3816 "src/gui/prefs_dialog.hpp")
3817 (("sigc\\+\\+/object.h")
3819 (substitute* '("src/engine.cpp"
3820 "src/gui/latency_panel.cpp"
3821 "src/gui/looper_panel.cpp"
3822 "src/gui/main_panel.cpp")
3823 (("(\\(| )bind " _ pre)
3824 (string-append pre "sigc::bind ")))
3826 (add-after 'unpack 'fix-xpm-warnings
3828 (substitute* (find-files "." "\\.xpm$")
3829 (("static char") "static const char"))
3833 ("alsa-lib" ,alsa-lib)
3834 ("wxwidgets" ,wxwidgets-gtk2)
3835 ("libsndfile" ,libsndfile)
3836 ("libsamplerate" ,libsamplerate)
3838 ("rubberband" ,rubberband)
3839 ("libxml2" ,libxml2)
3840 ("libsigc++" ,libsigc++)
3841 ("ncurses" ,ncurses)))
3843 `(("pkg-config" ,pkg-config)))
3844 (home-page "http://essej.net/sooperlooper/")
3845 (synopsis "Live looping sampler")
3847 "SooperLooper is a live looping sampler capable of immediate loop
3848 recording, overdubbing, multiplying, reversing and more. It allows for
3849 multiple simultaneous multi-channel loops limited only by your computer's
3851 (license license:gpl2+)))
3859 (uri (string-append "http://ftp.daper.net/pub/soft/"
3861 name "-" version ".tar.bz2"))
3864 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
3865 (build-system gnu-build-system)
3867 `(("alsa-lib" ,alsa-lib)
3870 ("ffmpeg" ,ffmpeg-3.4)
3873 ("libid3tag" ,libid3tag)
3874 ("libltdl" ,libltdl)
3875 ("libmodplug" ,libmodplug)
3876 ("libmpcdec" ,libmpcdec)
3879 ("libvorbis" ,libvorbis)
3880 ("ncurses" ,ncurses)
3881 ("openssl" ,openssl)
3882 ("sasl" ,cyrus-sasl)
3885 ("wavpack" ,wavpack)
3888 `(("pkg-config" ,pkg-config)))
3889 (synopsis "Console audio player designed to be powerful and easy to use")
3891 "Music on Console is a console audio player that supports many file
3892 formats, including most audio formats recognized by FFMpeg.")
3893 (home-page "http://moc.daper.net")
3894 (license license:gpl2+)))
3896 (define-public midicsv
3902 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3903 name "-" version ".tar.gz"))
3906 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3907 (build-system gnu-build-system)
3909 `(#:phases (modify-phases %standard-phases (delete 'configure))
3910 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
3911 (synopsis "Convert MIDI files to and from CSV")
3913 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
3914 value file (CSV), which preserves all the information in the MIDI file. The
3915 ASCII CSV file may be loaded into a spreadsheet or database application, or
3916 processed by a program to transform the MIDI data (for example, to key
3917 transpose a composition or extract a track from a multi-track sequence). A
3918 CSV file in the format created by midicsv may be converted back into a
3919 standard MIDI file with the csvmidi program.")
3920 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
3921 (license license:public-domain)))
3923 (define-public gx-guvnor-lv2
3925 (name "gx-guvnor-lv2")
3930 (url "https://github.com/brummer10/GxGuvnor.lv2")
3931 (commit (string-append "v" version))))
3932 (file-name (string-append name "-" version "-checkout"))
3935 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
3936 (build-system gnu-build-system)
3938 `(;; The check target is used only to output a warning.
3941 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
3943 (modify-phases %standard-phases
3946 (substitute* "Makefile"
3947 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
3948 (("install : all") "install :"))
3952 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
3953 (synopsis "Overdrive/distortion pedal simulation")
3954 (description "This package provides the LV2 plugin \"GxGuvnor\", a
3955 simulation of an overdrive or distortion pedal for guitars.")
3956 ;; The LICENSE file says GPLv3 but the license headers in the files say
3957 ;; GPLv2 or later. The whole project is released under GPLv3 or later
3958 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
3959 (license license:gpl3+)))
3961 (define-public gx-vbass-preamp-lv2
3962 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
3964 (package (inherit gx-guvnor-lv2)
3965 (name "gx-vbass-preamp-lv2")
3966 (version (string-append "0-" revision "." (string-take commit 9)))
3970 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
3974 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
3975 (file-name (string-append name "-" version "-checkout"))))
3980 `(("pkg-config" ,pkg-config)))
3981 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
3982 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
3983 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
3984 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
3987 (define-public gx-overdriver-lv2
3988 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
3990 (package (inherit gx-guvnor-lv2)
3991 (name "gx-overdriver-lv2")
3992 (version (string-append "0-" revision "." (string-take commit 9)))
3996 (url "https://github.com/brummer10/GxOverDriver.lv2")
4000 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
4001 (file-name (string-append name "-" version "-checkout"))))
4002 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
4003 (synopsis "Overdrive effect with level and tone control")
4004 (description "This package provides the LV2 plugin \"GxOverDriver\", an
4005 overdrive effect."))))
4007 (define-public gx-tone-mender-lv2
4008 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
4010 (package (inherit gx-guvnor-lv2)
4011 (name "gx-tone-mender-lv2")
4012 (version (string-append "0-" revision "." (string-take commit 9)))
4016 (url "https://github.com/brummer10/GxToneMender.lv2")
4020 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
4021 (file-name (string-append name "-" version "-checkout"))))
4022 (home-page "https://github.com/brummer10/GxToneMender.lv2")
4023 (synopsis "Clean boost with a 3-knob tonestack")
4024 (description "This package provides the LV2 plugin \"GxToneMender\", a
4025 clean boost effect with a 3-knob tonestack."))))
4027 (define-public gx-push-pull-lv2
4028 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
4030 (package (inherit gx-guvnor-lv2)
4031 (name "gx-push-pull-lv2")
4032 (version (string-append "0-" revision "." (string-take commit 9)))
4036 (url "https://github.com/brummer10/GxPushPull.lv2")
4040 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
4041 (file-name (string-append name "-" version "-checkout"))))
4042 (home-page "https://github.com/brummer10/GxPushPull.lv2")
4043 (synopsis "Octave up push pull transistor fuzz simulation")
4044 (description "This package provides the LV2 plugin \"GxPushPull\", a
4045 simulation of a push pull transistor fuzz effect with added high octave."))))
4047 (define-public gx-suppa-tone-bender-lv2
4048 (package (inherit gx-guvnor-lv2)
4049 (name "gx-suppa-tone-bender-lv2")
4054 (url "https://github.com/brummer10/GxSuppaToneBender.lv2")
4055 (commit (string-append "v" version))))
4056 (file-name (string-append name "-" version "-checkout"))
4059 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
4060 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
4061 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
4062 (description "This package provides the LV2 plugin
4063 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
4066 (define-public gx-saturator-lv2
4067 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
4069 (package (inherit gx-vbass-preamp-lv2)
4070 (name "gx-saturator-lv2")
4071 (version (string-append "0-" revision "." (string-take commit 9)))
4075 (url "https://github.com/brummer10/GxSaturator.lv2")
4079 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
4080 (file-name (string-append name "-" version "-checkout"))))
4081 (home-page "https://github.com/brummer10/GxSaturator.lv2")
4082 (synopsis "Saturation effect")
4083 (description "This package provides the LV2 plugin \"GxSaturator\", a
4084 saturation effect."))))
4086 (define-public gx-hyperion-lv2
4087 (package (inherit gx-guvnor-lv2)
4088 (name "gx-hyperion-lv2")
4093 (url "https://github.com/brummer10/GxHyperion.lv2")
4094 (commit (string-append "v" version))))
4095 (file-name (string-append name "-" version "-checkout"))
4098 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
4099 (home-page "https://github.com/brummer10/GxHyperion.lv2")
4100 (synopsis "Simulation of the Hyperion Fuzz pedal")
4101 (description "This package provides the LV2 plugin \"GxHyperion\", a
4102 simulation of the Hyperion Fuzz pedal.")))
4104 (define-public gx-voodoo-fuzz-lv2
4105 (package (inherit gx-guvnor-lv2)
4106 (name "gx-voodoo-fuzz-lv2")
4111 (url "https://github.com/brummer10/GxVoodoFuzz.lv2")
4112 (commit (string-append "v" version))))
4113 (file-name (string-append name "-" version "-checkout"))
4116 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
4117 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
4118 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
4119 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
4120 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
4121 Bosstone circuit, followed by the tone control of the FoxToneMachine in
4122 parallel with a DarkBooster, followed by a volume control.")))
4124 (define-public gx-super-fuzz-lv2
4125 (package (inherit gx-guvnor-lv2)
4126 (name "gx-super-fuzz-lv2")
4131 (url "https://github.com/brummer10/GxSuperFuzz.lv2")
4132 (commit (string-append "v" version))))
4133 (file-name (string-append name "-" version "-checkout"))
4136 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
4137 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
4138 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
4139 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
4140 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
4141 pot, which is usually in the housing, is exposed as a control parameter. It
4142 adjusts the amount of harmonics.")))
4144 (define-public gx-vintage-fuzz-master-lv2
4145 (package (inherit gx-guvnor-lv2)
4146 (name "gx-vintage-fuzz-master-lv2")
4151 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
4152 (commit (string-append "v" version))))
4153 (file-name (string-append name "-" version "-checkout"))
4156 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
4157 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
4158 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
4159 (description "This package provides the LV2 plugin
4160 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
4162 (define-public gx-slow-gear-lv2
4163 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
4165 (package (inherit gx-vbass-preamp-lv2)
4166 (name "gx-slow-gear-lv2")
4167 (version (string-append "0-" revision "." (string-take commit 9)))
4171 (url "https://github.com/brummer10/GxSlowGear.lv2")
4175 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
4176 (file-name (string-append name "-" version "-checkout"))))
4177 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
4178 (synopsis "Slow gear audio effect")
4179 (description "This package provides the LV2 plugin \"GxSlowGear\", a
4180 slow gear audio effect to produce volume swells."))))
4182 (define-public gx-switchless-wah-lv2
4183 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
4185 (package (inherit gx-guvnor-lv2)
4186 (name "gx-switchless-wah-lv2")
4187 (version (string-append "0-" revision "." (string-take commit 9)))
4191 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
4195 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
4196 (file-name (string-append name "-" version "-checkout"))))
4197 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
4198 (synopsis "Wah emulation with switchless activation")
4199 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
4200 a simulation of an analog Wah pedal with switchless activation."))))
4202 (define-public rkrlv2
4203 ;; This commit corresponds to the beta_3 tag
4204 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
4208 (version (git-version "0" revision commit))
4212 (url "https://github.com/ssj71/rkrlv2")
4216 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
4217 (file-name (git-file-name name version))))
4218 (build-system cmake-build-system)
4219 (arguments '(#:tests? #f)) ; there are no tests
4222 ("libsamplerate" ,libsamplerate)
4225 `(("pkg-config" ,pkg-config)))
4226 (home-page "https://github.com/ssj71/rkrlv2")
4227 (synopsis "Rakarrack effects ported to LV2 plugins")
4228 (description "This package provides the Rakarrack effects as LV2
4229 plugins. The ports are done such that hopefully when Rakarrack gets an active
4230 maintainer these will get merged into the original project.")
4231 (license license:gpl2))))
4233 (define-public mod-utilities
4234 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
4237 (name "mod-utilities")
4238 (version (string-append "0-" revision "." (string-take commit 9)))
4242 (url "https://github.com/moddevices/mod-utilities")
4244 (file-name (string-append name "-" version "-checkout"))
4247 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
4248 (build-system gnu-build-system)
4250 `(#:tests? #f ; there are no tests
4252 (list (string-append "INSTALL_PATH="
4253 (assoc-ref %outputs "out")
4255 (string-append "PREFIX=" (assoc-ref %outputs "out"))
4258 (modify-phases %standard-phases
4259 (delete 'configure))))
4262 (home-page "https://github.com/moddevices/mod-utilities")
4263 (synopsis "LV2 utility plugins")
4264 (description "This package provides LV2 audio utility plugins, such as
4265 filters, crossovers, simple gain plugins without zipper noise, switch box
4266 plugins, a switch trigger, a toggle switch, and a peakmeter.")
4267 (license license:gpl2+))))
4269 (define-public ingen
4270 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
4274 (version (string-append "0.0.0-" revision "."
4275 (string-take commit 9)))
4280 (url "https://git.drobilla.net/ingen.git")
4282 (file-name (string-append name "-" version "-checkout"))
4285 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
4286 (build-system waf-build-system)
4288 `(#:python ,python-2
4289 #:tests? #f ; no "check" target
4290 #:configure-flags (list "--no-webkit")
4292 (modify-phases %standard-phases
4293 (add-after 'unpack 'patch-wscript
4294 (lambda* (#:key outputs #:allow-other-keys)
4295 (let ((out (assoc-ref outputs "out")))
4296 (substitute* "wscript"
4297 ;; FIXME: Our version of lv2specgen.py does not behave as
4298 ;; expected. Maybe this requires a development version of
4300 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
4301 ;; Add libraries to RUNPATH.
4302 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
4303 (string-append prefix
4304 "linkflags=[\"-Wl,-rpath="
4305 out "/lib" "\"]," line)))
4306 (substitute* '("src/wscript"
4307 "src/server/wscript")
4308 ;; Add libraries to RUNPATH.
4309 (("bld.env.PTHREAD_LINKFLAGS" line)
4311 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
4312 (substitute* "src/client/wscript"
4313 ;; Add libraries to RUNPATH.
4314 (("^(.+)target.*= 'ingen_client'," line prefix)
4315 (string-append prefix
4316 "linkflags=[\"-Wl,-rpath="
4317 out "/lib" "\"]," line)))
4318 (substitute* "src/gui/wscript"
4319 ;; Add libraries to RUNPATH.
4320 (("^(.+)target.* = 'ingen_gui.*" line prefix)
4321 (string-append prefix
4322 "linkflags=[\"-Wl,-rpath="
4323 out "/lib" "\"]," line))))
4327 ("python-rdflib" ,python-rdflib)
4332 ("raul" ,raul-devel)
4338 ("gtkmm" ,gtkmm-2)))
4340 `(("pkg-config" ,pkg-config)
4341 ("python-pygments" ,python-pygments)))
4342 (home-page "https://drobilla.net/software/ingen")
4343 (synopsis "Modular audio processing system")
4344 (description "Ingen is a modular audio processing system for JACK and
4345 LV2 based systems. Ingen is built around LV2 technology and a strict
4346 separation of engine from user interface. The engine is controlled
4347 exclusively through a protocol, and can execute as a headless process, with an
4348 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
4349 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
4350 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
4351 plugin on any system where Ingen is installed. This allows users to visually
4352 develop custom plugins for use in other applications without programming.")
4353 (license license:agpl3+))))
4355 (define-public qmidiarp
4361 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
4362 version "/qmidiarp-" version ".tar.bz2"))
4365 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
4366 (build-system gnu-build-system)
4369 (list "--enable-qt5")))
4371 `(("qtbase" ,qtbase)
4372 ("alsa-lib" ,alsa-lib)
4377 `(("pkg-config" ,pkg-config)
4378 ("qttools" ,qttools)))
4379 (home-page "http://qmidiarp.sourceforge.net/")
4380 (synopsis "MIDI arpeggiator")
4381 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
4382 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
4383 modules running in parallel.")
4384 (license license:gpl2+)))
4386 (define-public qmidiroute
4392 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
4393 version "/qmidiroute-" version ".tar.bz2"))
4396 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
4397 (build-system gnu-build-system)
4400 (list "--enable-qt5")))
4402 `(("qtbase" ,qtbase)
4403 ("alsa-lib" ,alsa-lib)))
4405 `(("pkg-config" ,pkg-config)
4406 ("qttools" ,qttools)))
4407 (home-page "http://alsamodular.sourceforge.net/")
4408 (synopsis "MIDI event router and filter")
4409 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
4410 control change, program change and pitch bend events are logged, and can be
4411 filtered, redirected and transformed into other events according to MIDI maps
4412 defined as tabs in the main control surface.")
4413 (license license:gpl2+)))
4415 (define-public seq24
4421 (uri (string-append "https://launchpad.net/seq24/trunk/"
4422 version "/+download/seq24-"
4423 version ".tar.bz2"))
4426 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
4427 (patches (search-patches "seq24-rename-mutex.patch"))))
4428 (build-system gnu-build-system)
4430 `(("gtkmm" ,gtkmm-2)
4431 ("alsa-lib" ,alsa-lib)
4435 `(("pkg-config" ,pkg-config)))
4436 (home-page "https://edge.launchpad.net/seq24/")
4437 (synopsis "Real-time MIDI sequencer")
4438 (description "Seq24 is a real-time MIDI sequencer. It was created to
4439 provide a very simple interface for editing and playing MIDI loops.")
4440 (license license:gpl2+)))
4442 (define-public python-discogs-client
4444 (name "python-discogs-client")
4448 (uri (pypi-uri "discogs-client" version))
4451 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
4452 (build-system python-build-system)
4454 `(("python-oauthlib" ,python-oauthlib)
4455 ("python-requests" ,python-requests)))
4457 `(("python-six" ,python-six)))
4458 (home-page "https://github.com/discogs/discogs_client")
4459 (synopsis "Official Python client for the Discogs API")
4460 (description "This is the official Discogs API client for Python. It enables
4461 you to query the Discogs database for information on artists, releases, labels,
4462 users, Marketplace listings, and more. It also supports OAuth 1.0a
4463 authorization, which allows you to change user data such as profile information,
4464 collections and wantlists, inventory, and orders.")
4465 (license license:bsd-2)))
4467 (define-public python2-discogs-client
4468 (package-with-python2 python-discogs-client))
4470 (define-public libsmf
4477 ;; SF download page says development moved, but the link it points to
4478 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
4479 ;; it but made no release so far (https://github.com/stump/libsmf).
4480 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
4481 version "/libsmf-" version ".tar.gz"))
4484 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
4485 (build-system gnu-build-system)
4487 "static")) ; 88KiB of .a files
4490 (modify-phases %standard-phases
4491 (add-after 'install 'move-static-libraries
4492 (lambda* (#:key outputs #:allow-other-keys)
4493 ;; Move static libraries to the "static" output.
4494 (let* ((out (assoc-ref outputs "out"))
4495 (lib (string-append out "/lib"))
4496 (static (assoc-ref outputs "static"))
4497 (slib (string-append static "/lib")))
4499 (for-each (lambda (file)
4500 (install-file file slib)
4502 (find-files lib "\\.a$"))
4505 `(("readline" ,readline)
4508 `(("doxygen" ,doxygen)
4509 ("pkg-config" ,pkg-config)))
4510 (home-page "http://libsmf.sourceforge.net/")
4511 (synopsis "Standard MIDI File format library")
4513 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
4514 conversions between time and pulses, tempo map handling and more. The only dependencies
4515 are a C compiler and glib. Full API documentation and examples are included.")
4516 (license license:bsd-2)))
4526 (url "https://github.com/LMMS/lmms")
4527 (commit (string-append "v" version))))
4528 (file-name (git-file-name name version))
4531 "11xgf461cnmq0jkgdgx5bddi87ammpik4whg1m4fcvd3i0d5i601"))))
4532 (build-system cmake-build-system)
4534 `(#:tests? #f ; no tests
4535 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
4536 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
4537 ;; Also, explicitly disabling VST support gets rid of the in-tree
4538 ;; dependency on qt5-x11embed.
4539 #:configure-flags '("-DWANT_QT5=ON"
4542 (modify-phases %standard-phases
4543 (add-after 'unpack 'unpack-rpmalloc
4544 (lambda* (#:key inputs #:allow-other-keys)
4545 (copy-recursively (assoc-ref inputs "rpmalloc")
4546 "src/3rdparty/rpmalloc/rpmalloc")
4548 (add-before 'configure 'set-ldflags
4549 (lambda* (#:key outputs #:allow-other-keys)
4553 (assoc-ref outputs "out") "/lib/lmms"
4555 (assoc-ref outputs "out") "/lib/lmms/ladspa"
4558 (add-before 'reset-gzip-timestamps 'make-manpages-writable
4559 (lambda* (#:key outputs #:allow-other-keys)
4561 (make-file-writable file))
4562 (find-files (string-append (assoc-ref outputs "out")
4567 `(("pkg-config" ,pkg-config)
4568 ("qttools" ,qttools)
4569 ;; rpmalloc is a public domain memory allocator. This version specified
4570 ;; below is the version required by LMMS.
4571 ;; To get the new commit of rpmalloc to use here, run
4572 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
4573 ;; in the cloned LMMS repository.
4578 (url "https://github.com/mjansson/rpmalloc")
4579 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
4582 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
4586 ("qtx11extras" ,qtx11extras)
4589 ("libsamplerate" ,libsamplerate)
4590 ("fluidsynth" ,fluidsynth)
4591 ("libvorbis" ,libvorbis)
4592 ("alsa-lib" ,alsa-lib)
4593 ("portaudio" ,portaudio)
4595 ("libsndfile1" ,libsndfile)
4597 ("freetype2" ,freetype)
4601 (home-page "https://lmms.io/")
4602 (synopsis "Music composition tool")
4603 (description "LMMS is a digital audio workstation. It includes tools for sequencing
4604 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
4605 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
4606 (license license:gpl2+)))
4608 (define-public liquidsfz
4614 (uri (string-append "https://space.twc.de/~stefan/liquidsfz/"
4615 "liquidsfz-" version ".tar.bz2"))
4618 "1hb4hc3gkvjfbx0ls6wxzavhv2hf9ix11cz8yvndyb6q9lwkimwl"))))
4619 (build-system gnu-build-system)
4621 `(#:configure-flags '("--enable-shared")))
4623 `(("pkg-config" ,pkg-config)
4624 ;; Fails with default gcc (#include <filesystem> not found).
4629 ("readline" ,readline)
4630 ("libsndfile" ,libsndfile)))
4631 (home-page "https://github.com/swesterfeld/liquidsfz")
4632 (synopsis "Sampler library")
4633 (description "The main goal of liquidsfz is to provide an SFZ sampler
4634 implementation library that is easy to integrate into other projects. A
4635 standalone JACK client and an LV2 plugin is also available.")
4636 (license license:lgpl2.1+)))
4638 (define-public musescore
4646 (url "https://github.com/musescore/MuseScore")
4647 (commit (string-append "v" version))))
4648 (file-name (git-file-name name version))
4650 (base32 "0szvb6mlzy9df9lrq546rrpixa480knzij1wgh6ilflxz87q048q"))
4651 (modules '((guix build utils)))
4653 ;; Remove unused libraries.
4655 (for-each delete-file-recursively
4656 '("thirdparty/freetype"
4657 "thirdparty/openssl"
4658 "thirdparty/portmidi"
4659 "thirdparty/qt-google-analytics"))
4661 (build-system cmake-build-system)
4664 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
4665 "-DBUILD_WEBENGINE=OFF"
4666 "-DDOWNLOAD_SOUNDFONT=OFF"
4667 "-DMUSESCORE_BUILD_CONFIG=release"
4668 "-DUSE_SYSTEM_FREETYPE=ON")
4669 ;; There are tests, but no simple target to run. The command used to
4672 ;; make debug && sudo make installdebug && cd \
4673 ;; build.debug/mtest && make && ctest
4675 ;; Basically, it requires to start a whole new build process.
4676 ;; So we simply skip them.
4679 `(("alsa-lib" ,alsa-lib)
4680 ("freetype" ,freetype)
4681 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
4685 ("libsndfile" ,libsndfile)
4686 ("libvorbis" ,libvorbis)
4687 ("portaudio" ,portaudio)
4688 ("portmidi" ,portmidi)
4689 ("pulseaudio" ,pulseaudio)
4691 ("qtdeclarative" ,qtdeclarative)
4692 ("qtquickcontrols2" ,qtquickcontrols2)
4693 ("qtscript" ,qtscript)
4695 ("qtxmlpatterns" ,qtxmlpatterns)))
4697 `(("pkg-config" ,pkg-config)
4698 ("qttools" ,qttools)))
4699 (synopsis "Music composition and notation software")
4701 "MuseScore is a music score typesetter. Its main purpose is the creation
4702 of high-quality engraved musical scores in a WYSIWYG environment.
4704 It supports unlimited staves, linked parts and part extraction, tablature,
4705 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
4706 lyrics (multiple verses), fretboard diagrams, and in general everything
4707 commonly used in sheet music. Style options and style sheets to change the
4708 appearance and layout are provided.
4710 MuseScore can also play back scores through the built-in sequencer and SoundFont
4712 (home-page "https://musescore.org")
4713 (license license:gpl2)))
4715 (define-public muse-sequencer
4717 (name "muse-sequencer")
4722 (url "https://github.com/muse-sequencer/muse")
4723 (commit (string-append "muse_"
4724 (string-map (lambda (c)
4726 #\_ c)) version)))))
4727 (file-name (git-file-name name version))
4730 "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p"))))
4731 (build-system cmake-build-system)
4733 `(#:tests? #f ; there is no test target
4735 (list "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4736 "-DENABLE_VST_NATIVE=OFF"
4737 (string-append "-DCMAKE_EXE_LINKER_FLAGS="
4739 (assoc-ref %outputs "out") "/lib/muse-"
4740 ,(version-major+minor version) "/modules")
4741 (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
4743 (assoc-ref %outputs "out") "/lib/muse-"
4744 ,(version-major+minor version) "/modules"))
4746 (modify-phases %standard-phases
4747 (add-after 'unpack 'chdir
4748 (lambda _ (chdir "muse3") #t))
4749 (add-after 'chdir 'fix-include
4751 (substitute* "muse/driver/rtaudio.h"
4752 (("rtaudio/RtAudio.h") "RtAudio.h"))
4755 `(("alsa-lib" ,alsa-lib)
4764 ("libsndfile" ,libsndfile)
4765 ("libsamplerate" ,libsamplerate)
4767 ("fluidsynth" ,fluidsynth)
4769 ("pulseaudio" ,pulseaudio) ; required by rtaudio
4772 ("rtaudio" ,rtaudio)
4773 ("rubberband" ,rubberband)))
4775 `(("pkg-config" ,pkg-config)
4776 ("qttools" ,qttools)))
4777 (home-page "https://muse-sequencer.github.io/")
4778 (synopsis "MIDI/Audio sequencer")
4779 (description "MusE is a MIDI/Audio sequencer with recording and editing
4780 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4781 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4782 list view, and a score editor. MusE aims to be a complete multitrack virtual
4784 (license license:gpl2+)))
4786 (define-public gsequencer
4794 (url "https://git.savannah.gnu.org/git/gsequencer.git/")
4796 (file-name (git-file-name name version))
4798 (base32 "0pqaj09x3lzcj0zbbkqpyaky9i1w462bhhvg1akh73nzwvyy46zd"))))
4799 (build-system gnu-build-system)
4802 (modify-phases %standard-phases
4803 (add-before 'build 'prepare-x-for-test
4806 (setenv "DISPLAY" ":0")
4809 `(("autoconf" ,autoconf)
4810 ("automake" ,automake)
4812 ("gettext" ,gettext-minimal)
4813 ("gobject-introspection" ,gobject-introspection)
4814 ("gtk-doc" ,gtk-doc)
4815 ("libtool" ,libtool)
4816 ("libxslt" ,libxslt)
4817 ("pkg-config" ,pkg-config)
4818 ("xorg-server" ,xorg-server-for-tests)))
4820 `(("alsa-lib" ,alsa-lib)
4823 ("gst-plugins-base" ,gst-plugins-base)
4824 ("gstreamer" ,gstreamer)
4828 ("libinstpatch" ,libinstpatch)
4829 ("libsamplerate" ,libsamplerate)
4830 ("libsndfile" ,libsndfile)
4831 ("libsoup" ,libsoup)
4832 ("libuuid" ,util-linux "lib")
4833 ("libxml2" ,libxml2)
4835 ("pulseaudio" ,pulseaudio)
4836 ("webkitgtk" ,webkitgtk)))
4837 (home-page "https://nongnu.org/gsequencer/")
4838 (synopsis "Advanced Gtk+ Sequencer")
4840 "GSequencer allows you to play, capture and create music. There is a piano
4841 roll, automation and wave form editor. It has machines for playing drum samples,
4842 Soundfont2 sound containers and synthesizers. They usually can be connected to a
4843 MIDI input source (instrument). It has support for various audio backends like
4844 ALSA, Pulseaudio, JACK, OSSv4 and CoreAudio.")
4845 (license license:gpl3+)))
4854 "mirror://sourceforge/dssi/dssi/" version
4855 "/dssi-" version ".tar.gz"))
4858 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4859 (build-system gnu-build-system)
4861 `(("alsa-lib" ,alsa-lib)
4864 ("libsamplerate" ,libsamplerate)
4865 ("libsndfile" ,libsndfile)
4868 `(("pkg-config" ,pkg-config)))
4869 (synopsis "Audio plugin API for soft synths and effects")
4870 (description "DSSI is a plugin API for software instruments with user
4871 interfaces, permitting them to be hosted in-process by audio applications.
4872 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4873 towards familiarity with MIDI. The DSSI distribution package contains
4874 a JACK/ALSA-sequencer reference host and some plugins as well as the
4875 specification and header.")
4876 (home-page "http://dssi.sourceforge.net/")
4877 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4878 ;; The vast majority of examples are in the public domain.
4879 (license (list license:lgpl2.1+ license:gpl2+))))
4881 (define-public rosegarden
4888 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4889 version "/rosegarden-" version ".tar.bz2"))
4891 (base32 "0nqw2caxmv6mqh485wzvywa024yvi18q87sd4dw9b2l5qnpq8rl8"))))
4892 (build-system cmake-build-system)
4894 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4896 (modify-phases %standard-phases
4897 (add-after 'unpack 'patch-tests
4899 (substitute* "CMakeLists.txt"
4900 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4902 ((" -fvisibility=hidden") ""))
4904 (add-after 'unpack 'fix-references
4905 (lambda* (#:key inputs #:allow-other-keys)
4906 (substitute* "src/gui/general/ProjectPackager.cpp"
4908 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4910 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4912 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4914 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4916 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4917 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4918 (("\"convert-ly\\>")
4919 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4921 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4923 (add-after 'unpack 'make-reproducible
4925 ;; Prevent Last-Modified from being written.
4926 ;; The "*.qm" files that are used in locale.qrc would have a new
4927 ;; mtime otherwise that is written into qrc_locale.cpp in the
4928 ;; end - except when we disable it.
4929 (substitute* "src/CMakeLists.txt"
4930 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4931 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4933 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4934 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4936 ;; Make hashtable traversal order predicable.
4937 (setenv "QT_RCC_TEST" "1") ; important
4939 (add-before 'check 'prepare-check
4941 (setenv "QT_QPA_PLATFORM" "offscreen")
4942 ;; Tests create files in $HOME/.local/share/rosegarden .
4943 (mkdir-p "/tmp/foo")
4944 (setenv "HOME" "/tmp/foo")
4945 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
4948 `(("alsa-lib" ,alsa-lib)
4956 ("libsamplerate" ,libsamplerate)
4957 ("lilypond" ,lilypond)
4962 ("wavpack" ,wavpack)
4965 `(("pkg-config" ,pkg-config)
4966 ("qtlinguist" ,qttools)))
4967 (synopsis "Music composition and editing environment based around a MIDI
4969 (description "Rosegarden is a music composition and editing environment
4970 based around a MIDI sequencer that features a rich understanding of music
4971 notation and includes basic support for digital audio.")
4972 (home-page "https://www.rosegardenmusic.com/")
4973 (license license:gpl2)))
4975 (define-public patchmatrix
4977 (name "patchmatrix")
4982 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
4984 (file-name (git-file-name "patchmatrix" version))
4987 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
4988 (build-system meson-build-system)
4989 (arguments '(#:tests? #f)) ; no test target
4995 `(("pkg-config" ,pkg-config)))
4996 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
4997 (synopsis "Simple JACK patch bay")
4998 (description "PatchMatrix is a patch bay for the JACK audio connection
4999 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
5001 (license license:artistic2.0)))
5003 (define-public sorcer
5009 (uri (string-append "https://github.com/openAVproductions/"
5010 "openAV-Sorcer/archive/release-"
5012 (file-name (string-append name "-" version ".tar.gz"))
5015 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
5016 (build-system cmake-build-system)
5018 `(#:tests? #f ; no tests included
5020 (modify-phases %standard-phases
5021 (add-after 'unpack 'remove-architecture-specific-flags
5023 (substitute* "CMakeLists.txt"
5024 (("-msse2 -mfpmath=sse") ""))
5026 (add-after 'unpack 'build-faust-sources
5027 (lambda* (#:key inputs #:allow-other-keys)
5028 (with-directory-excursion "faust"
5029 (delete-file "main.cpp")
5030 (invoke "faust" "-i"
5032 "-o" "main.cpp" "main.dsp")))))))
5039 ("pkg-config" ,pkg-config)))
5040 (home-page "http://openavproductions.com/sorcer/")
5041 (synopsis "Wavetable LV2 plugin synth")
5042 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
5043 the electronic or dubstep genre.")
5044 (license license:gpl3+)))
5046 (define-public sonivox-eas
5048 (name "sonivox-eas")
5053 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
5054 (commit (string-append "v" version))))
5055 (file-name (string-append name "-" version "-checkout"))
5058 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
5059 (build-system cmake-build-system)
5060 (arguments '(#:tests? #f)) ; there are no tests
5062 `(("alsa-lib" ,alsa-lib)
5063 ("drumstick" ,drumstick)
5064 ("pulseaudio" ,pulseaudio)
5065 ("qtbase" ,qtbase)))
5067 `(("pkg-config" ,pkg-config)))
5068 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
5069 (synopsis "MIDI synthesizer library")
5070 (description "This project is a real time General MIDI synthesizer based
5071 on the Sonivox EAS Synthesizer by Google. It does not need external
5072 soundfonts, using embedded samples instead.")
5073 ;; Sonivox is released under the ASL2.0; the rest of the code is under
5075 (license (list license:gpl2+ license:asl2.0))))
5077 (define-public whysynth
5080 (version "20170701")
5083 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
5084 version ".tar.bz2"))
5087 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
5088 (build-system gnu-build-system)
5095 ("alsa-lib" ,alsa-lib)))
5097 `(("pkg-config" ,pkg-config)))
5098 (home-page "http://smbolton.com/whysynth.html")
5099 (synopsis "DSSI software synthesizer")
5100 (description "WhySynth is a versatile softsynth which operates as a plugin
5101 for the DSSI Soft Synth Interface. A brief list of features:
5104 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
5105 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
5106 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
5108 @item 10 filter modes.
5109 @item flexible modulation and mixdown options, plus effects.
5112 (license license:gpl2+)))
5114 (define-public libdiscid
5122 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
5126 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
5127 (arguments `(#:test-target "check"))
5128 (build-system cmake-build-system)
5129 (home-page "https://musicbrainz.org/doc/libdiscid")
5130 (synopsis "Disc id reader library")
5131 (description "libdiscid is a C library for creating MusicBrainz and freedb
5132 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
5133 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
5134 it provides a submission URL for adding the disc ID to the database and gathers
5135 ISRCs and the MCN (=UPC/EAN) from disc.")
5136 (license license:lgpl2.1+)))
5138 (define-public python-discid
5140 (name "python-discid")
5145 (uri (pypi-uri "discid" version))
5148 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
5149 (build-system python-build-system)
5151 `(("libdiscid" ,libdiscid)))
5154 (modify-phases %standard-phases
5155 (add-before 'build 'set-libdiscid
5156 ;; Set path of libdiscid
5157 (lambda* (#:key inputs #:allow-other-keys)
5158 (let ((discid (assoc-ref inputs "libdiscid")))
5159 (substitute* "discid/libdiscid.py"
5160 (("lib_name = (.*)$" all name)
5161 (string-append "lib_name = \"" discid
5162 "/lib/libdiscid.so.0\"\n")))
5164 (home-page "https://python-discid.readthedocs.io/")
5165 (synopsis "Python bindings for Libdiscid")
5167 "This package provides Python bindings for the Libdiscid library. The
5168 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
5169 Disc IDs} for use with the MusicBrainz database. Additionally the disc
5170 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
5171 Recording Code} (ISRC) can be extracted.}")
5172 (license license:lgpl3+)))
5174 (define-public libmusicbrainz
5176 (name "libmusicbrainz")
5182 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
5183 version "/libmusicbrainz-" version ".tar.gz"))
5186 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
5187 (build-system cmake-build-system)
5190 (modify-phases %standard-phases
5193 ;; requires network connections
5194 ;; (invoke "tests/mbtest")
5195 (invoke "tests/ctest")
5197 (inputs `(("neon" ,neon)
5198 ("libxml2" ,libxml2)))
5199 (native-inputs `(("pkg-config" ,pkg-config)))
5200 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
5201 (synopsis "MusicBrainz client library")
5202 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
5203 mb_client, is a development library geared towards developers who wish to add
5204 MusicBrainz lookup capabilities to their applications.")
5205 (license license:lgpl2.1+)))
5207 (define-public perl-musicbrainz-discid
5209 (name "perl-musicbrainz-discid")
5214 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
5218 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
5219 (build-system perl-build-system)
5220 (native-inputs `(("pkg-config" ,pkg-config)
5222 (inputs `(("libdiscid" ,libdiscid)))
5223 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
5224 (synopsis "Perl interface to the MusicBrainz libdiscid library")
5226 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
5227 MusicBrainz libdiscid library, allowing you to manipulate digital audio
5228 compact disc (CDDA) identifiers.")
5229 (license license:gpl2)))
5231 (define-public perl-webservice-musicbrainz
5233 (name "perl-webservice-musicbrainz")
5238 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
5242 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
5243 (build-system perl-build-system)
5245 ;; Tests try to connect to http://musicbrainz.org.
5248 `(("perl-module-build" ,perl-module-build)))
5250 `(("perl-mojolicious" ,perl-mojolicious)))
5251 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
5252 (synopsis "Web service API to the MusicBrainz database")
5254 "This module searches the MusicBrainz database through their web service
5255 at @code{musicbrainz.org}.")
5256 (license license:perl-license)))
5258 (define-public clyrics
5266 (url "https://github.com/trizen/clyrics")
5268 (file-name (git-file-name name version))
5270 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
5271 (build-system trivial-build-system)
5273 `(("bash" ,bash) ; for the wrapped program
5275 ("perl-www-mechanize" ,perl-www-mechanize)
5276 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
5277 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
5278 ;; 500 Can't verify SSL peers without knowing which Certificate
5279 ;; Authorities to trust".
5280 ("perl-mozilla-ca" ,perl-mozilla-ca)))
5282 `(#:modules ((guix build utils))
5284 (use-modules (guix build utils)
5287 (let* ((source (assoc-ref %build-inputs "source"))
5288 (output (assoc-ref %outputs "out")))
5291 (assoc-ref %build-inputs "bash") "/bin" ":"
5292 (assoc-ref %build-inputs "perl") "/bin" ":"))
5293 (copy-recursively source (getcwd))
5294 (patch-shebang "clyrics")
5295 (substitute* "clyrics"
5296 (("/usr/share") output))
5297 (install-file "clyrics" (string-append output "/bin"))
5298 (wrap-program (string-append output "/bin/clyrics")
5303 (((? (cut string-prefix? "perl-" <>) name) . dir)
5304 (string-append dir "/lib/perl5/site_perl"))
5307 (copy-recursively "plugins" (string-append output "/clyrics"))
5309 (home-page "https://github.com/trizen/clyrics")
5310 (synopsis "Extensible lyrics fetcher")
5312 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
5313 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
5314 console music players.")
5315 (license license:gpl3+)))
5317 (define-public demlo
5318 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
5322 (version (git-version "3.8" revision commit))
5328 "https://gitlab.com/ambrevar/demlo")
5330 (file-name (git-file-name name version))
5333 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
5334 (build-system go-build-system)
5337 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5338 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
5339 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
5340 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
5341 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
5342 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
5343 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
5344 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
5345 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
5346 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
5348 `(("chromaprint" ,chromaprint)
5349 ("ffmpeg" ,ffmpeg)))
5351 `(#:import-path "gitlab.com/ambrevar/demlo"
5353 (modify-phases %standard-phases
5354 (add-after 'install 'wrap-program
5355 (lambda* (#:key inputs outputs #:allow-other-keys)
5356 (let ((out (assoc-ref outputs "out"))
5357 (ffmpeg (assoc-ref inputs "ffmpeg"))
5358 (chromaprint (assoc-ref inputs "chromaprint")))
5359 (wrap-program (string-append out "/bin/demlo")
5360 `("XDG_DATA_DIRS" ":" prefix (,out))
5363 (string-append dir "/bin:"
5365 (list ffmpeg chromaprint))))
5367 (add-after 'install 'install-scripts
5368 (lambda* (#:key outputs #:allow-other-keys)
5369 (let* ((out (assoc-ref outputs "out"))
5370 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
5371 (xdg-data-dirs (string-append out "/demlo")))
5372 (copy-recursively (string-append root "/actions")
5373 (string-append xdg-data-dirs "/actions"))
5374 (copy-recursively (string-append root "/scripts")
5375 (string-append xdg-data-dirs "/scripts"))
5376 (install-file (string-append root "/config.lua") xdg-data-dirs)
5377 ;; TODO: Test fish completion.
5378 (install-file (string-append root "/completion/demlo.fish")
5379 (string-append out "/share/fish/vendor_completions.d"))
5381 (home-page "https://gitlab.com/ambrevar/demlo")
5382 (synopsis "Dynamic and extensible music library organizer")
5383 (description "Demlo is a music library organizer. It can encode, fix
5384 case, change folder hierarchy according to tags or file properties, tag from
5385 an online database, copy covers while ignoring duplicates or those below a
5386 quality threshold, and much more. It makes it possible to manage your
5387 libraries uniformly and dynamically. You can write your own rules to fit your
5390 Demlo can address any of these recurring music library issues (and much more):
5393 @item Fix the lack of folder structure.
5394 @item Normalize tags, fix their case, chose which tags to keep and which to
5396 @item Handle lossy and lossless audio differently.
5397 @item Handle mp3 id3tags hell...
5398 @item Handle multiple covers, whether embedded and/or external, resize covers,
5399 discard bad quality ones.
5401 (license license:expat))))
5410 (url "https://github.com/gillesdegottex/fmit/")
5411 (commit (string-append "v" version))))
5412 (file-name (git-file-name name version))
5415 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
5416 (build-system gnu-build-system)
5419 (modify-phases %standard-phases
5421 (add-before 'build 'qmake
5423 (let ((out (assoc-ref %outputs "out")))
5426 (string-append "PREFIX=" out)
5427 (string-append "PREFIXSHORTCUT=" out)
5428 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
5429 (add-after 'install 'wrap-executable
5430 (lambda* (#:key inputs outputs #:allow-other-keys)
5431 (let ((out (assoc-ref outputs "out")))
5432 (wrap-program (string-append out "/bin/fmit")
5433 `("QT_PLUGIN_PATH" ":" prefix
5434 ,(map (lambda (label)
5435 (string-append (assoc-ref inputs label)
5436 "/lib/qt5/plugins"))
5437 '("qtbase" "qtmultimedia" "qtsvg")))
5438 `("QML2_IMPORT_PATH" ":" prefix
5439 ,(map (lambda (label)
5440 (string-append (assoc-ref inputs label)
5442 '("qtmultimedia"))))
5445 `(("alsa-lib" ,alsa-lib)
5448 ("portaudio" ,portaudio)
5450 ("qtmultimedia" ,qtmultimedia)
5453 `(("gettext" ,gettext-minimal)
5454 ("hicolor-icon-theme" ,hicolor-icon-theme)
5455 ("itstool" ,itstool)
5456 ("qttools" ,qttools)))
5457 (synopsis "Musical instrument tuner")
5458 (description "FMIT is a graphical utility for tuning musical instruments,
5459 with error and volume history, and advanced features.")
5460 (home-page "https://gillesdegottex.github.io/fmit/")
5461 ;; Most of the code is under GPL2+, but some abstract or helper classes
5462 ;; are under LGPL2.1.
5463 (license (list license:gpl2+ license:lgpl2.1))))
5465 (define-public mloop
5466 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
5470 (version (git-version "0.0.1" revision commit))
5474 (url "http://git.fuzzle.org/mloop")
5476 (file-name (git-file-name name version))
5479 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
5480 (build-system waf-build-system)
5482 `(#:python ,python-2
5483 #:tests? #f)) ; no "check" target
5486 ("ncurses" ,ncurses)))
5488 `(("pkg-config" ,pkg-config)))
5489 (home-page "https://fuzzle.org/~petern/mloop.html")
5490 (synopsis "Live MIDI looper")
5491 (description "mloop is a live MIDI looping system, using jack-midi.
5492 Loops are recorded, optionally with beat quantization, and can then be played
5493 back, either once or looping. A 'note cache' system is implemented to
5494 remember which notes are pressed and their velocities. This allows for a loop
5495 to start off with the currently pressed notes, making seamless loops much
5496 easier to perform. Features include:
5499 @item Quantisation; end a loop on a beat exactly.
5500 @item Delayed recording; wait for a MIDI event before starting a loop record.
5501 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
5503 (license license:gpl2))))
5505 (define-public pragha
5511 (uri (string-append "https://github.com/pragha-music-player/pragha/"
5512 "releases/download/v" version "/pragha-" version
5516 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
5517 (build-system glib-or-gtk-build-system)
5519 `(("intltool" ,intltool)
5520 ("pkg-config" ,pkg-config)))
5524 ("gstreamer" ,gstreamer)
5525 ("gst-plugins-base" ,gst-plugins-base)
5526 ("gst-plugins-good" ,gst-plugins-good)
5528 ("libcddb" ,libcddb)
5529 ("libcdio" ,libcdio)
5530 ("libcdio-paranoia" ,libcdio-paranoia)
5531 ("libgudev" ,libgudev)
5532 ("libnotify" ,libnotify)
5533 ("libpeas" ,libpeas)
5534 ("libsoup" ,libsoup)
5536 ("taglib" ,taglib)))
5539 (modify-phases %standard-phases
5540 (add-after 'install 'wrap-program
5541 (lambda* (#:key inputs outputs #:allow-other-keys)
5542 (let ((out (assoc-ref outputs "out"))
5543 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
5544 (wrap-program (string-append out "/bin/pragha")
5545 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
5547 (home-page "https://pragha-music-player.github.io")
5548 (synopsis "Music player")
5549 (description "Pragha is a lightweight music player based on Gtk and
5550 sqlite. It is constructed to be fast, light, and simultaneously tries to be
5551 complete without obstructing your daily work.")
5552 (license license:gpl3+)))
5554 (define-public playerctl
5561 (url "https://github.com/altdesktop/playerctl")
5562 (commit (string-append "v" version))))
5563 (file-name (git-file-name name version))
5566 "17hi33sw3663qz5v54bqqil31sgkrlxkb2l5bgqk87pac6x2wnbz"))))
5567 (build-system meson-build-system)
5569 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
5570 (inputs `(("python-pygobject" ,python-pygobject)))
5572 `(("glib:bin" ,glib "bin")
5573 ("pkg-config" ,pkg-config)))
5574 (synopsis "Control MPRIS-supporting media player applications")
5576 "Playerctl is a command-line utility and library for controlling media
5577 players that implement the MPRIS D-Bus Interface Specification. Playerctl
5578 makes it easy to bind player actions, such as play and pause, to media keys.
5579 You can also get metadata about the playing track such as the artist and title
5580 for integration into status line generators or other command-line tools.")
5581 (home-page "https://github.com/altdesktop/playerctl")
5582 (license license:lgpl3+)))
5584 (define-public artyfx
5592 "https://github.com/openAVproductions/openAV-ArtyFX")
5593 (commit (string-append "release-" version))))
5594 (file-name (git-file-name name version))
5597 "0cxikdnxgjk5gp6kmml4dx2jy2cy4x0c837h7bwraj2pfz0nfgqq"))))
5598 (build-system cmake-build-system)
5600 `(#:tests? #f ; no tests included
5602 (modify-phases %standard-phases
5603 (add-after 'unpack 'remove-architecture-specific-flags
5605 (substitute* "CMakeLists.txt"
5606 (("-msse2 -mfpmath=sse") ""))
5610 ("libsndfile" ,libsndfile)))
5612 `(("pkg-config" ,pkg-config)
5614 (home-page "http://openavproductions.com/artyfx/")
5615 (synopsis "Audio effect LV2 plugin bundle")
5616 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
5617 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
5619 (license license:gpl2+)))
5621 (define-public lsp-plugins
5623 (name "lsp-plugins")
5629 (url "https://github.com/sadko4u/lsp-plugins")
5630 (commit (string-append "lsp-plugins-" version))))
5631 (file-name (git-file-name name version))
5633 (base32 "1apw8zh3a3il4smkjji6bih4vbsymj0hjs10fgkrd4nazqkjvgyd"))))
5634 (build-system gnu-build-system)
5638 (string-append "CC=" ,(cc-for-target))
5639 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5640 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5641 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5643 (modify-phases %standard-phases
5644 (delete 'configure)) ; no configure script
5645 #:test-target "test"))
5648 ("hicolor-icon-theme" ,hicolor-icon-theme)
5651 ("libsndfile" ,libsndfile)
5655 `(("pkg-config" ,pkg-config)))
5656 (synopsis "Audio plugin collection")
5657 (description "LSP (Linux Studio Plugins) is a collection of audio
5658 plugins available as LADSPA/LV2 plugins and as standalone JACK
5660 (home-page "https://lsp-plug.in/")
5661 (license license:lgpl3)))
5663 (define-public sherlock-lv2
5665 (name "sherlock-lv2")
5671 "https://git.open-music-kontrollers.ch/lv2/"
5672 "sherlock.lv2/snapshot/sherlock.lv2-"
5676 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5677 (build-system meson-build-system)
5682 ("sratom" ,sratom)))
5685 ("pkg-config" ,pkg-config)))
5686 (synopsis "Investigative LV2 plugin bundle")
5687 (description "The Sherlock plugin bundle contains LV2 plugins for
5688 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5689 and debugging of event signal flows inside plugin graphs.")
5690 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5691 (license license:artistic2.0)))
5693 (define-public foo-yc20
5700 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5701 version "/foo-yc20-" version ".tar.bz2"))
5704 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5705 (build-system gnu-build-system)
5708 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5709 #:tests? #f ; no automated test
5711 (modify-phases %standard-phases
5714 (substitute* "Makefile"
5715 (("-mtune=native") "")
5716 (("-march=native") ""))
5725 ("pkg-config" ,pkg-config)))
5726 (home-page "https://foo-yc20.codeforcode.com/")
5727 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5728 (description "This is a Faust implementation of a 1969 designed Yamaha
5729 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5730 version. Processing for the organ is based on original schematics and
5731 measurements from a working specimen. This instrument simulates the circutry
5732 as a whole to realisticly reproduce the features and flaws of the real deal.")
5733 ;; Note that after 1.3.0 the license was changed.
5734 (license license:gpl3+)))
5736 (define-public spectacle-analyzer
5738 (name "spectacle-analyzer")
5744 (url "https://github.com/jpcima/spectacle")
5745 (commit (string-append "v" version))
5746 ;; Bundles a specific commit of the DISTRHO plugin framework.
5748 (file-name (git-file-name name version))
5751 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5752 (build-system gnu-build-system)
5754 `(#:tests? #f ; no check target
5757 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5759 (modify-phases %standard-phases
5760 (delete 'configure))))
5762 `(("pkg-config" ,pkg-config)
5771 (synopsis "Realtime graphical spectrum analyzer")
5772 (description "Spectacle is a real-time spectral analyzer using the
5773 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5774 (home-page "https://github.com/jpcima/spectacle")
5775 ;; The project is licensed under the ISC license, and files in
5776 ;; sources/plugin carry the Expat license.
5777 (license (list license:isc license:expat))))
5779 (define-public x42-plugins
5781 (name "x42-plugins")
5782 (version "20200714")
5787 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5790 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5791 (build-system gnu-build-system)
5793 `(#:tests? #f ; no "check" target
5795 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5796 "LIBZITACONVOLVER=-lzita-convolver"
5797 (string-append "FONTFILE="
5798 (assoc-ref %build-inputs "font-dejavu")
5799 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5801 (modify-phases %standard-phases
5802 (add-before 'build 'set-CC-variable
5806 (delete 'configure))))
5813 ("hicolor-icon-theme" ,hicolor-icon-theme)
5816 ("libsamplerate" ,libsamplerate)
5819 ("zita-convolver" ,zita-convolver)))
5821 `(("help2man" ,help2man)
5824 ("font-dejavu" ,font-dejavu)
5825 ("pkg-config" ,pkg-config)))
5826 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5827 (description "x42-plugins is a collection of over 80 cross-platform LV2
5828 audio and MIDI plugins that can also run as standalone JACK applications.")
5829 (home-page "https://x42-plugins.com/x42/")
5830 (license license:gpl2+)))
5832 (define-public zam-plugins
5834 (name "zam-plugins")
5841 (url "https://github.com/zamaudio/zam-plugins")
5843 ;; Recursive to fetch the DISTRHO plugin framework. This
5844 ;; framework is intended to be included in the sources
5845 ;; and not to be used as a library.
5847 (file-name (git-file-name name version))
5849 (base32 "0bxvssqnnd7bph3w1d6xcmxradv4cqq3wyzyv1a1hfm71a0pdahs"))))
5850 (build-system gnu-build-system)
5852 `(#:tests? #f ;no "check" target
5854 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5855 "HAVE_ZITA_CONVOLVER=true")
5857 (modify-phases %standard-phases
5858 (add-before 'build 'set-CC-variable
5860 (setenv "CC" "gcc") #t))
5861 (delete 'configure))))
5864 ("jack" ,jack-1) ;for the standalone JACK application
5866 ("libsamplerate" ,libsamplerate)
5868 ("zita-convolver" ,zita-convolver)))
5870 `(("ladspa" ,ladspa)
5872 ("pkg-config" ,pkg-config)))
5873 (synopsis "Collection of audio processing plugins")
5875 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5876 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5877 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5878 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5879 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5880 (home-page "http://www.zamaudio.com/?p=976")
5881 (license license:gpl2+)))
5883 (define-public geonkick
5891 (url "https://gitlab.com/iurie-sw/geonkick")
5892 (commit (string-append "v" version))))
5893 (file-name (git-file-name name version))
5895 (base32 "0w1mvqm46qdwldcl81svaykwii4wvx7mcr57kwvnj0iv2qrc891i"))))
5896 (build-system cmake-build-system)
5898 `(#:tests? #f ;no tests included
5900 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5901 (assoc-ref %build-inputs "redkite"))
5902 (string-append "-DCMAKE_INSTALL_PREFIX="
5903 (assoc-ref %outputs "out")))))
5905 `(("hicolor-icon-theme" ,hicolor-icon-theme)
5906 ("jack" ,jack-1) ;for the standalone JACK application
5907 ("libsndfile" ,libsndfile)
5909 ("redkite" ,redkite)
5910 ("rapidjson" ,rapidjson)))
5913 ;; Fails with default gcc (#include <filesystem> not found).
5915 ("pkg-config" ,pkg-config)
5917 (synopsis "Percussion synthesizer")
5918 (description "Geonkick is a synthesizer that can synthesize elements
5919 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5920 It can also play and mix samples.")
5921 (home-page "https://gitlab.com/iurie-sw/geonkick")
5922 (license license:gpl3+)))
5924 (define-public mamba
5933 (url "https://github.com/brummer10/Mamba")
5934 (commit (string-append "v" version))
5935 (recursive? #t))) ; references specific commit of libxputty
5936 (file-name (git-file-name name version))
5939 "1bq6sqsij3cdwcsj3wpsnivi4c7jl4l5gwfywhqnib70v60smdja"))))
5940 (build-system gnu-build-system)
5942 `(#:tests? #f ; no "check" target
5944 (list (string-append "PREFIX="
5945 (assoc-ref %outputs "out"))
5948 (modify-phases %standard-phases
5949 (delete 'configure))))
5951 `(("alsa-lib" ,alsa-lib)
5953 ("fluidsynth" ,fluidsynth)
5956 ("libsigc++" ,libsigc++)
5958 ("libx11" ,libx11)))
5960 `(("pkg-config" ,pkg-config)))
5961 (home-page "https://github.com/brummer10/Mamba")
5962 (synopsis "Virtual MIDI keyboard and MIDI file player/recorder for JACK")
5963 (description "Mamba is a virtual MIDI keyboard and MIDI file
5964 player/recorder for the JACK Audio Connection Kit. It comes with predefined
5965 keymaps for QWERTZ, QWERTY and AZERTY keyboards and also allows custom
5967 (license license:bsd-0)))
5969 (define-public dpf-plugins
5971 (name "dpf-plugins")
5978 (url "https://github.com/DISTRHO/DPF-Plugins")
5979 (commit (string-append "v" version))))
5980 (file-name (git-file-name name version))
5983 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
5984 (build-system gnu-build-system)
5986 `(#:tests? #f ; no "check" target
5988 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5990 (modify-phases %standard-phases
5991 (add-before 'build 'set-CC-variable
5992 (lambda _ (setenv "CC" "gcc") #t))
5993 (delete 'configure))))
5996 ("liblo" ,liblo) ; for dssi plugins
5997 ("jack" ,jack-1) ; for standalone applications
6000 `(("pkg-config" ,pkg-config)
6003 (home-page "https://github.com/DISTRHO/DPF-Plugins")
6004 (synopsis "Audio plugin collection")
6005 (description "Collection of audio plugins built with the DISTRHO Plugin
6006 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
6007 package includes the following plugins: glBars, Kars, Max-Gen examples
6008 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
6009 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
6010 Soul Force), MVerb, Nekobi, and ProM.")
6011 ;; This package consists of several plugins refactored to use the
6012 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
6013 ;; apply to different plugins. The root LICENSE file has a table with
6014 ;; license information for each plugin and paths to each license
6015 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
6017 (define-public avldrums-lv2
6019 (name "avldrums-lv2")
6025 (url "https://github.com/x42/avldrums.lv2")
6026 (commit (string-append "v" version))
6027 ;; This plugin expects the robtk submodule's source files to be
6028 ;; there in order to build.
6030 (file-name (git-file-name name version))
6032 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
6033 (build-system gnu-build-system)
6035 `(#:tests? #f ; no "check" target
6037 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
6039 (modify-phases %standard-phases
6040 (add-before 'build 'set-CC-variable
6042 (setenv "CC" "gcc") #t))
6043 (delete 'configure))))
6051 `(("pkg-config" ,pkg-config)
6053 (home-page "https://x42-plugins.com/x42/x42-avldrums")
6054 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
6055 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
6056 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
6057 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
6058 (license license:gpl2+)))
6069 (url "https://github.com/mtytel/helm")
6070 (commit (string-append "v" version))))
6071 (file-name (git-file-name name version))
6074 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
6075 (build-system gnu-build-system)
6077 `(#:tests? #f ; no "check" target
6079 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
6082 (modify-phases %standard-phases
6083 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
6085 (substitute* "standalone/builds/linux/Makefile"
6086 (("JUCE_INCLUDE_PNGLIB_CODE=0")
6087 "JUCE_INCLUDE_PNGLIB_CODE=1"))
6088 (substitute* "builds/linux/LV2/Makefile"
6089 (("JUCE_INCLUDE_PNGLIB_CODE=0")
6090 "JUCE_INCLUDE_PNGLIB_CODE=1"))
6091 (substitute* "Makefile"
6094 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
6095 (lambda* (#:key outputs #:allow-other-keys)
6096 (for-each make-file-writable
6097 (find-files (string-append (assoc-ref outputs "out"))
6100 (delete 'configure))))
6102 `(("alsa-lib" ,alsa-lib)
6104 ("freetype2" ,freetype)
6105 ("hicolor-icon-theme" ,hicolor-icon-theme)
6106 ("libxcursor" ,libxcursor)
6107 ("libxinerama" ,libxinerama)
6111 `(("pkg-config" ,pkg-config)
6113 (home-page "https://tytel.org/helm/")
6114 (synopsis "Polyphonic synth with lots of modulation")
6115 (description "Helm is a cross-platform polyphonic synthesizer available standalone
6116 and as an LV2 plugin.")
6117 (license license:gpl3+)))
6119 (define-public zrythm
6121 ;; Zrythm contains trademarks and comes with a trademark policy found in
6122 ;; TRADMARKS.md inside the release distribution. The trademark policy
6123 ;; allows verbatim re-distribution, and it also allows FSF-approved
6124 ;; distros to make necessary changes to integrate the software into the
6127 (version "1.0.0-alpha.12.0.1")
6131 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
6135 "1si4n8rdg0a3frlbj6yqpyzr4f20v3cpl4m6kv0yf7r25psyl5pk"))))
6136 (build-system meson-build-system)
6144 "-Dgraphviz=enabled" ; for exporting routing graphs
6145 "-Dguile=enabled" ; for Guile scripting
6146 "-Djack=enabled" ; for JACK audio/MIDI backend
6147 "-Drtmidi=enabled" ; for RtMidi backend (ALSA sequencer)
6148 "-Dsdl=enabled"))) ; for SDL audio backend (which uses ALSA)
6150 `(("alsa-lib" ,alsa-lib)
6152 ("font-dseg" ,font-dseg)
6155 ("gettext" ,gettext-minimal)
6157 ("graphviz" ,graphviz)
6159 ("gtksourceview" ,gtksourceview)
6160 ("guile" ,guile-2.2)
6161 ("libaudec" ,libaudec)
6162 ("libcyaml" ,libcyaml)
6163 ("libsamplerate" ,libsamplerate)
6164 ("libsndfile" ,libsndfile)
6165 ("libyaml" ,libyaml)
6168 ("pulseaudio" ,pulseaudio)
6170 ("rubberband" ,rubberband)
6173 ("xdg-utils" ,xdg-utils)
6174 ("zstd" ,zstd "lib")))
6176 `(("pkg-config" ,pkg-config)
6177 ("help2man" ,help2man)
6178 ("glib" ,glib "bin"))) ; for 'glib-compile-resources'
6179 (synopsis "Digital audio workstation focusing on usability")
6180 (description "Zrythm is a digital audio workstation designed to be
6181 featureful and easy to use. It offers unlimited automation options, LV2
6182 plugin support, JACK support and chord assistance.")
6183 (home-page "https://www.zrythm.org")
6184 (license license:agpl3+)))
6186 (define-public dragonfly-reverb
6188 (name "dragonfly-reverb")
6195 (url "https://github.com/michaelwillis/dragonfly-reverb")
6197 ;; Bundles a specific commit of the DISTRHO plugin framework.
6199 (file-name (git-file-name name version))
6201 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
6202 (build-system gnu-build-system)
6204 `(#:tests? #f ; no check target
6205 #:make-flags (list "CC=gcc")
6207 (modify-phases %standard-phases
6208 (delete 'configure) ;no configure target
6209 (replace 'install ;no install target
6210 (lambda* (#:key outputs #:allow-other-keys)
6211 (let* ((out (assoc-ref outputs "out"))
6212 (bin (string-append out "/bin"))
6213 (lv2 (string-append out "/lib/lv2")))
6217 (copy-recursively file
6218 (string-append lv2 "/" (basename file))))
6219 (find-files "bin" "\\.lv2$" #:directories? #t))
6220 ;; Install executables.
6223 (install-file file bin))
6227 (equal? (dirname name) "bin")
6228 (not (string-suffix? ".so" name))
6229 (not (string-suffix? ".lv2" name))))))
6232 `(("pkg-config" ,pkg-config)))
6237 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
6238 (synopsis "Concert hall reverb and room reverb effects")
6240 "Dragonfly Reverb is a bundle of two free audio effects: a concert
6241 hall reverb and a room reverb. Both are available as LV2 plugins as well
6242 as JACK standalone applications.")
6243 (license license:gpl3+)))
6245 (define-public zplugins
6254 (url "https://git.zrythm.org/git/zplugins")
6255 (commit (string-append "v" version))))
6256 (file-name (git-file-name name version))
6259 "1rkm2xajmyik6289b20rp5a5br9f3sh1xk8nb1bs6qpmcrfirgbs"))))
6260 (build-system meson-build-system)
6262 `(("guile" ,guile-2.2)
6263 ("libsndfile" ,libsndfile)
6265 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
6267 `(("pkg-config" ,pkg-config)))
6268 (synopsis "Audio plugin collection")
6269 (description "ZPlugins is a collection of audio DSP plugins intended
6270 to be bundled with the Zrythm @dfn{digital audio workstation} (DAW).")
6271 (home-page "https://www.zrythm.org/en/plugins.html")
6272 (license license:agpl3+)))
6275 ;; The "zlfo" package is now included in zplugins
6276 (deprecated-package "zlfo" zplugins))
6278 (define-public remid-lv2
6286 (url "https://github.com/ssj71/reMID.lv2")
6287 (commit (string-append "v" version))))
6288 (file-name (git-file-name name version))
6291 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
6292 (build-system cmake-build-system)
6294 `(#:tests? #f)) ; no tests included
6296 `(("alsa-lib" ,alsa-lib)
6301 `(("pkg-config" ,pkg-config)))
6302 (home-page "https://github.com/ssj71/reMID.lv2")
6304 "MIDI-controlled implementation of the SID 6581 chip used in the
6307 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
6308 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
6309 to provide a virtual SID-based synthesizer, controllable in real-time via
6310 MIDI. It includes support for scripted instruments that allow complex sonic
6311 control of the chip.")
6312 (license license:gpl2+)))
6314 (define-public vl1-emulator
6316 (name "vl1-emulator")
6322 (url "https://github.com/linuxmao-org/VL1-emulator")
6323 (commit (string-append "v" version))
6324 ;; bundles a specific commit of the DISTRHO plugin framework
6326 (file-name (git-file-name name version))
6329 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
6330 (build-system gnu-build-system)
6332 `(#:tests? #f ;no check target
6334 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
6337 (modify-phases %standard-phases
6338 (delete 'configure)))) ;no configure target
6344 `(("pkg-config" ,pkg-config)))
6345 (home-page "https://github.com/linuxmao-org/VL1-emulator")
6346 (synopsis "Emulator of Casio VL-Tone VL1")
6347 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
6348 based on source code by PolyValens, offered as an LV2 plugin and a
6349 standalone JACK application.")
6351 (license (list license:expat license:cc0))))
6353 (define-public regrader
6355 (inherit vl1-emulator)
6362 (url "https://github.com/linuxmao-org/regrader")
6363 (commit (string-append "v" version))
6364 ;; bundles a specific commit of the DISTRHO plugin framework
6366 (file-name (git-file-name name version))
6369 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
6370 (home-page "https://github.com/linuxmao-org/regrader")
6371 (synopsis "Delay effect plugin")
6373 "Regrader is a delay effect where the repeats degrade in resolution.
6374 This is an unofficial port of the Regrader plugin created by Igorski. It
6375 is available as an LV2 plugin and a standalone JACK application.")
6376 (license license:expat)))
6378 (define-public fogpad
6380 (inherit vl1-emulator)
6387 (url "https://github.com/linuxmao-org/fogpad")
6388 (commit (string-append "v" version))
6389 ;; bundles a specific commit of the DISTRHO plugin framework
6391 (file-name (git-file-name name version))
6394 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
6395 (home-page "https://github.com/linuxmao-org/fogpad")
6396 (synopsis "Reverb effect plugin")
6398 "Fogpad is a reverb effect in which the reflections can be frozen,
6399 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
6400 port of the Regrader plugin created by Igorski. It is available as an LV2
6401 plugin and a standalone JACK application.")
6402 (license license:expat)))
6404 (define-public tap-lv2
6405 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
6409 (version (git-version "0.0" revision commit))
6414 (url "https://github.com/moddevices/tap-lv2")
6416 (file-name (git-file-name name version))
6419 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
6420 (build-system gnu-build-system)
6422 `(#:tests? #f ; no check target
6426 (modify-phases %standard-phases
6427 (delete 'configure) ; no configure
6431 (string-append "INSTALL_PATH="
6432 (assoc-ref %outputs "out")
6438 `(("pkg-config" ,pkg-config)))
6439 (synopsis "Audio plugin collection")
6440 (description "TAP (Tom's Audio Processing) plugins is a collection of
6441 audio effect plugins originally released as LADSPA plugins. This package
6442 offers an LV2 version ported by moddevices.")
6443 (home-page "http://tap-plugins.sourceforge.net/")
6444 (license license:gpl2))))
6446 (define-public wolf-shaper
6448 (name "wolf-shaper")
6454 (url "https://github.com/pdesaulniers/wolf-shaper")
6455 (commit (string-append "v" version))
6456 ;; Bundles a specific commit of the DISTRHO plugin framework.
6458 (file-name (git-file-name name version))
6461 "1j9xmh1nkf45ay1c5dz2g165qvrwlanzcq6mvb3nfxar265drd9q"))))
6462 (build-system gnu-build-system)
6464 `(#:tests? #f ; no check target
6465 #:make-flags (list "CC=gcc")
6467 (modify-phases %standard-phases
6468 (delete 'configure) ;no configure target
6469 (replace 'install ;no install target
6470 (lambda* (#:key outputs #:allow-other-keys)
6471 (let* ((out (assoc-ref outputs "out"))
6472 (bin (string-append out "/bin"))
6473 (lv2 (string-append out "/lib/lv2")))
6477 (copy-recursively file
6478 (string-append lv2 "/" (basename file))))
6479 (find-files "bin" "\\.lv2$" #:directories? #t))
6480 ;; Install executables.
6483 (install-file file bin))
6487 (equal? (dirname name) "bin")
6488 (not (string-suffix? ".so" name))
6489 (not (string-suffix? ".lv2" name))))))
6492 `(("pkg-config" ,pkg-config)))
6497 (synopsis "Waveshaper plugin")
6498 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
6499 It is provided as an LV2 plugin and as a standalone Jack application.")
6500 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
6501 (license license:gpl3)))
6503 (define-public wolf-spectrum
6505 (inherit wolf-shaper)
6506 (name "wolf-spectrum")
6512 (url "https://github.com/pdesaulniers/wolf-spectrum")
6513 (commit (string-append "v" version))
6514 ;; Bundles a specific commit of the DISTRHO plugin framework.
6516 (file-name (git-file-name name version))
6519 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
6520 (synopsis "2D spectrogram plugin")
6521 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
6522 It is provided as an LV2 plugin and as a standalone Jack application.")
6523 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
6524 (license license:gpl3)))
6526 (define-public shiru-lv2
6527 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
6531 (version (git-version "0.0" revision commit))
6536 (url "https://github.com/linuxmao-org/shiru-plugins")
6538 ;; Bundles a specific commit of the DISTRHO plugin framework.
6540 (file-name (git-file-name name version))
6543 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
6544 (build-system gnu-build-system)
6546 `(#:tests? #f ; no check target
6547 #:make-flags (list "CC=gcc")
6549 (modify-phases %standard-phases
6550 (delete 'configure) ;no configure target
6551 (replace 'install ;no install target
6552 (lambda* (#:key outputs #:allow-other-keys)
6553 (let* ((out (assoc-ref outputs "out"))
6554 (bin (string-append out "/bin"))
6555 (lv2 (string-append out "/lib/lv2")))
6559 (copy-recursively file
6560 (string-append lv2 "/" (basename file))))
6561 (find-files "bin" "\\.lv2$" #:directories? #t))
6562 ;; Install executables.
6565 (install-file file bin))
6569 (equal? (dirname name) "bin")
6570 (not (string-suffix? ".so" name))
6571 (not (string-suffix? ".lv2" name))))))
6574 `(("pkg-config" ,pkg-config)))
6582 (synopsis "Audio plugin collection")
6583 (description "Shiru plugins is a collection of audio plugins created
6584 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
6586 (home-page "http://shiru.untergrund.net/software.shtml")
6587 (license license:wtfpl2))))