gnu: musescore: Update to 3.6.
[jackhill/guix/guix.git] / gnu / packages / music.scm
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 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 Nicolas Goaziou <mail@nicolasgoaziou.fr>
14 ;;; Copyright © 2017, 2018, 2019 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 Stefan Reichör <stefan@xsteve.at>
19 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
20 ;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
21 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
22 ;;; Copyright © 2019 Gabriel Hondet <gabrielhondet@gmail.com>
23 ;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
24 ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
25 ;;; Copyright © 2019 raingloom <raingloom@protonmail.com>
26 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
27 ;;; Copyright © 2019, 2020 Alexandros Theodotou <alex@zrythm.org>
28 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
29 ;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
30 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
31 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
32 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
33 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
34 ;;; Copyright © 2019 Riku Viitanen <riku.viitanen0@gmail.com>
35 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
36 ;;;
37 ;;; This file is part of GNU Guix.
38 ;;;
39 ;;; GNU Guix is free software; you can redistribute it and/or modify it
40 ;;; under the terms of the GNU General Public License as published by
41 ;;; the Free Software Foundation; either version 3 of the License, or (at
42 ;;; your option) any later version.
43 ;;;
44 ;;; GNU Guix is distributed in the hope that it will be useful, but
45 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
46 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47 ;;; GNU General Public License for more details.
48 ;;;
49 ;;; You should have received a copy of the GNU General Public License
50 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
51
52 (define-module (gnu packages music)
53 #:use-module (guix utils)
54 #:use-module (guix packages)
55 #:use-module (guix download)
56 #:use-module (guix git-download)
57 #:use-module ((guix licenses) #:prefix license:)
58 #:use-module (guix build-system gnu)
59 #:use-module (guix build-system ant)
60 #:use-module (guix build-system cmake)
61 #:use-module (guix build-system meson)
62 #:use-module (guix build-system perl)
63 #:use-module (guix build-system python)
64 #:use-module (guix build-system scons)
65 #:use-module (guix build-system glib-or-gtk)
66 #:use-module (guix build-system waf)
67 #:use-module (guix build-system trivial)
68 #:use-module (guix build-system go)
69 #:use-module (gnu packages)
70 #:use-module (gnu packages admin)
71 #:use-module (gnu packages algebra)
72 #:use-module (gnu packages apr)
73 #:use-module (gnu packages audio)
74 #:use-module (gnu packages autotools)
75 #:use-module (gnu packages backup)
76 #:use-module (gnu packages base) ;libbdf
77 #:use-module (gnu packages bash)
78 #:use-module (gnu packages bison)
79 #:use-module (gnu packages boost)
80 #:use-module (gnu packages build-tools)
81 #:use-module (gnu packages cdrom)
82 #:use-module (gnu packages code)
83 #:use-module (gnu packages check)
84 #:use-module (gnu packages cmake)
85 #:use-module (gnu packages compression)
86 #:use-module (gnu packages cpp)
87 #:use-module (gnu packages crypto)
88 #:use-module (gnu packages curl)
89 #:use-module (gnu packages cyrus-sasl)
90 #:use-module (gnu packages datastructures)
91 #:use-module (gnu packages docbook)
92 #:use-module (gnu packages documentation)
93 #:use-module (gnu packages emacs)
94 #:use-module (gnu packages file)
95 #:use-module (gnu packages flex)
96 #:use-module (gnu packages fltk)
97 #:use-module (gnu packages fonts)
98 #:use-module (gnu packages fontutils)
99 #:use-module (gnu packages freedesktop)
100 #:use-module (gnu packages game-development)
101 #:use-module (gnu packages gcc)
102 #:use-module (gnu packages gnupg)
103 #:use-module (gnu packages gettext)
104 #:use-module (gnu packages ghostscript)
105 #:use-module (gnu packages gl)
106 #:use-module (gnu packages glib)
107 #:use-module (gnu packages gnome)
108 #:use-module (gnu packages gpodder)
109 #:use-module (gnu packages graphics)
110 #:use-module (gnu packages graphviz)
111 #:use-module (gnu packages gstreamer)
112 #:use-module (gnu packages gtk)
113 #:use-module (gnu packages guile)
114 #:use-module (gnu packages haskell)
115 #:use-module (gnu packages image)
116 #:use-module (gnu packages imagemagick)
117 #:use-module (gnu packages java)
118 #:use-module (gnu packages libffi)
119 #:use-module (gnu packages libusb)
120 #:use-module (gnu packages linux) ; for alsa-utils
121 #:use-module (gnu packages lirc)
122 #:use-module (gnu packages llvm)
123 #:use-module (gnu packages man)
124 #:use-module (gnu packages mp3)
125 #:use-module (gnu packages mpd)
126 #:use-module (gnu packages ncurses)
127 #:use-module (gnu packages netpbm)
128 #:use-module (gnu packages pcre)
129 #:use-module (gnu packages pdf)
130 #:use-module (gnu packages perl)
131 #:use-module (gnu packages perl-web)
132 #:use-module (gnu packages pkg-config)
133 #:use-module (gnu packages protobuf)
134 #:use-module (gnu packages pulseaudio) ;libsndfile
135 #:use-module (gnu packages python)
136 #:use-module (gnu packages python-web)
137 #:use-module (gnu packages python-xyz)
138 #:use-module (gnu packages qt)
139 #:use-module (gnu packages rdf)
140 #:use-module (gnu packages readline)
141 #:use-module (gnu packages rsync)
142 #:use-module (gnu packages sdl)
143 #:use-module (gnu packages sqlite)
144 #:use-module (gnu packages stb)
145 #:use-module (gnu packages tcl)
146 #:use-module (gnu packages texinfo)
147 #:use-module (gnu packages tex)
148 #:use-module (gnu packages time)
149 #:use-module (gnu packages tls)
150 #:use-module (gnu packages version-control)
151 #:use-module (gnu packages video)
152 #:use-module (gnu packages vim) ;for 'xxd'
153 #:use-module (gnu packages web)
154 #:use-module (gnu packages wxwidgets)
155 #:use-module (gnu packages xdisorg)
156 #:use-module (gnu packages xml)
157 #:use-module (gnu packages xorg)
158 #:use-module (gnu packages xiph)
159 #:use-module (gnu packages golang)
160 #:use-module (gnu packages lua)
161 #:use-module ((srfi srfi-1) #:select (last)))
162
163 (define-public audacious
164 (package
165 (name "audacious")
166 (version "4.0.5")
167 (source
168 (origin
169 (method url-fetch)
170 (uri (string-append "https://distfiles.audacious-media-player.org/"
171 "audacious-" version ".tar.bz2"))
172 (sha256
173 (base32 "028zjgz0p7ys15lk2a30m5zcv9xrx3ga50wjsh4m4zxilgkakbji"))))
174 (build-system gnu-build-system)
175 (arguments
176 `(#:configure-flags
177 (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
178 #:tests? #f ; no check target
179 #:phases
180 (modify-phases %standard-phases
181 (add-after 'install 'unpack-plugins
182 (lambda* (#:key inputs #:allow-other-keys)
183 (let ((plugins (assoc-ref inputs "audacious-plugins")))
184 (invoke "tar" "xvf" plugins)
185 #t)))
186 (add-after 'unpack-plugins 'configure-plugins
187 (lambda* (#:key configure-flags outputs #:allow-other-keys)
188 (let ((out (assoc-ref outputs "out")))
189 (with-directory-excursion
190 (string-append "audacious-plugins-" ,version)
191 (substitute* "configure"
192 (("/bin/sh") (which "sh")))
193 (apply invoke "./configure"
194 (append configure-flags
195 ;; audacious-plugins requires audacious to build.
196 (list (string-append "PKG_CONFIG_PATH="
197 out "/lib/pkgconfig:"
198 (getenv "PKG_CONFIG_PATH"))
199 (string-append "--prefix=" out))))))))
200 (add-after 'configure-plugins 'build-plugins
201 (lambda _
202 (with-directory-excursion
203 (string-append "audacious-plugins-" ,version)
204 (invoke "make" "-j" (number->string (parallel-job-count))))))
205 (add-after 'build-plugins 'install-plugins
206 (lambda _
207 (with-directory-excursion
208 (string-append "audacious-plugins-" ,version)
209 (invoke "make" "install")))))))
210 (native-inputs
211 `(("audacious-plugins"
212 ,(origin
213 (method url-fetch)
214 (uri (string-append "https://distfiles.audacious-media-player.org/"
215 "audacious-plugins-" version ".tar.bz2"))
216 (sha256
217 (base32 "0ny5w1agr9jaz5w3wyyxf1ygmzmd1sivaf97lcm4z4w6529520lz"))))
218 ("gettext" ,gettext-minimal)
219 ("glib:bin" ,glib "bin") ; for gdbus-codegen
220 ("pkg-config" ,pkg-config)))
221 (inputs
222 `(("dbus" ,dbus)
223 ("qtbase" ,qtbase)
224 ("qtmultimedia" ,qtmultimedia)
225 ;; Plugin dependencies
226 ("alsa-lib" ,alsa-lib)
227 ("curl" ,curl)
228 ("faad2" ,faad2)
229 ("ffmpeg" ,ffmpeg)
230 ("flac" ,flac)
231 ("fluidsynth" ,fluidsynth)
232 ("lame" ,lame)
233 ("libbs2b" ,libbs2b)
234 ("libcddb" ,libcddb)
235 ("libcdio-paranoia" ,libcdio-paranoia)
236 ("libcue" ,libcue)
237 ("libmodplug" ,libmodplug)
238 ("libnotify" ,libnotify)
239 ("libogg" ,libogg)
240 ("libsamplerate" ,libsamplerate)
241 ("libsndfile" ,libsndfile)
242 ("libvorbis" ,libvorbis)
243 ("libxcomposite" ,libxcomposite)
244 ("libxml2" ,libxml2)
245 ("libxrender" ,libxrender)
246 ("lirc" ,lirc)
247 ("jack" ,jack-1)
248 ("mesa" ,mesa)
249 ("mpg123" ,mpg123)
250 ("neon" ,neon)
251 ("pulseaudio" ,pulseaudio)
252 ("sdl2" ,sdl2)
253 ("soxr" ,soxr)
254 ("wavpack" ,wavpack)))
255 (home-page "https://audacious-media-player.org")
256 (synopsis "Modular and skinnable audio player")
257 (description
258 "Audacious is an audio player descended from XMMS. Drag and drop
259 folders and individual song files, search for artists and albums in
260 your entire music library, or create and edit your own custom
261 playlists. Listen to CD’s or stream music from the Internet. Tweak
262 the sound with the graphical equalizer or experiment with LADSPA
263 effects. Enjoy the modern GTK-themed interface or change things up
264 with Winamp Classic skins. Use the plugins included with Audacious to
265 fetch lyrics for your music, to set an alarm in the morning, and
266 more.")
267 ;; According to COPYING, Audacious and its plugins are licensed
268 ;; under the BSD 2-clause license and libguess is licensed under
269 ;; the BSD 3-clause license.
270 (license (list license:bsd-2
271 license:bsd-3
272 ;; Plugin licenses that aren't BSD 2- or 3-clause.
273 license:lgpl2.1
274 license:gpl2
275 license:gpl3
276 license:expat
277 license:isc
278 license:lgpl2.0))))
279
280 (define-public aria-maestosa
281 (package
282 (name "aria-maestosa")
283 (version "1.4.13")
284 (source (origin
285 (method url-fetch)
286 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
287 version "/AriaSrc-" version ".tar.bz2"))
288 (sha256
289 (base32
290 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
291 (build-system scons-build-system)
292 (arguments
293 `(#:tests? #f ;no tests
294 #:scons-flags
295 (list (string-append "prefix=" (assoc-ref %outputs "out")))
296 #:scons ,scons-python2
297 #:phases
298 (modify-phases %standard-phases
299 (delete 'configure)
300 (add-after 'unpack 'scons-propagate-environment
301 (lambda _
302 ;; By design, SCons does not, by default, propagate
303 ;; environment variables to subprocesses. See:
304 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
305 ;; Here, we modify the SConstruct file to arrange for
306 ;; environment variables to be propagated.
307 (substitute* "SConstruct"
308 (("env = Environment\\(\\)")
309 "env = Environment(ENV=os.environ)")
310 ;; Scons errors out when copying subdirectories from Resources,
311 ;; so we move them instead.
312 (("Copy") "Move")
313 ;; We move the "score" and "Documentation" directories at once,
314 ;; so we have to ignore files contained therein.
315 (("if \".svn\" in file" line)
316 (string-append line
317 " or \"score/\" in file"
318 " or \"Documentation/\" in file")))
319 #t))
320 (add-after 'install 'fix-directory-permissions
321 (lambda* (#:key outputs #:allow-other-keys)
322 (let ((out (assoc-ref outputs "out")))
323 (chmod (string-append out "/share/Aria/Documentation") #o555)
324 (chmod (string-append out "/share/Aria/score") #o555)
325 #t))))))
326 (inputs
327 `(("wxwidgets" ,wxwidgets)
328 ("glib" ,glib)
329 ("alsa-lib" ,alsa-lib)))
330 (native-inputs
331 `(("pkg-config" ,pkg-config)))
332 (home-page "http://ariamaestosa.sourceforge.net/")
333 (synopsis "MIDI sequencer and editor")
334 (description
335 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
336 and play MIDI files with a few clicks in a user-friendly interface offering
337 score, keyboard, guitar, drum and controller views.")
338 (license license:gpl3+)))
339
340 ;; We don't use the latest release because it depends on Qt4. Instead we
341 ;; download the sources from the tip of the "qt5" branch.
342 (define-public clementine
343 (let ((commit "4619a4c1ab3b17b13d4b2327ad477912917eaf36")
344 (revision "2"))
345 (package
346 (name "clementine")
347 (version (git-version "1.3.1" revision commit))
348 (source (origin
349 (method git-fetch)
350 (uri (git-reference
351 (url "https://github.com/clementine-player/Clementine")
352 (commit commit)))
353 (file-name (git-file-name name version))
354 (sha256
355 (base32
356 "1hximk3q0p8nw8is5w7215xgkb7k4flnfyr0pdz9svfwvcm05w1i"))
357 (modules '((guix build utils)))
358 (snippet
359 '(begin
360 (for-each
361 (lambda (dir)
362 (delete-file-recursively
363 (string-append "3rdparty/" dir)))
364 (list
365 ;; TODO: The following dependencies are still bundled:
366 ;; - "qxt": Appears to be unmaintained upstream.
367 ;; - "qsqlite"
368 ;; - "qtsingleapplication"
369 ;; - "qocoa"
370 ;; - "qtiocompressor"
371 ;; - "gmock": The tests crash when using our googletest
372 ;; package instead of the bundled gmock.
373 "SPMediaKeyTap"
374 "fancytabwidget"
375 "google-breakpad"
376 "libmygpo-qt"
377 "libmygpo-qt5"
378 "libprojectm"
379 "qtwin"
380 "sha2" ;; Replaced by openssl.
381 "taglib"
382 "tinysvcmdns"))
383 #t))
384 (patches (search-patches "clementine-use-openssl.patch"
385 "clementine-remove-crypto++-dependency.patch"
386 "clementine-fix-sqlite.patch"))))
387 (build-system cmake-build-system)
388 (arguments
389 '(#:test-target "clementine_test"
390 #:configure-flags
391 (list ;; Requires unpackaged "projectm"
392 "-DENABLE_VISUALISATIONS=OFF"
393 ;; Otherwise it may try to download a non-free library at run-time.
394 ;; TODO In an origin snippet, remove the code that performs the
395 ;; download.
396 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
397 "-DUSE_SYSTEM_SHA2=TRUE")
398 #:phases
399 (modify-phases %standard-phases
400 (add-after 'install 'wrap-program
401 (lambda* (#:key inputs outputs #:allow-other-keys)
402 (let ((out (assoc-ref outputs "out"))
403 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
404 (wrap-program (string-append out "/bin/clementine")
405 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
406 #t))))))
407 (native-inputs
408 `(("gettext" ,gettext-minimal)
409 ("pkg-config" ,pkg-config)
410 ("qtlinguist" ,qttools)))
411 (inputs
412 `(("boost" ,boost)
413 ("chromaprint" ,chromaprint)
414 ("fftw" ,fftw)
415 ("glib" ,glib)
416 ("glu" ,glu)
417 ("gstreamer" ,gstreamer)
418 ("gst-plugins-base" ,gst-plugins-base)
419 ("gst-plugins-good" ,gst-plugins-good)
420 ("gst-libav" ,gst-libav)
421 ("libcdio" ,libcdio)
422 ("libmygpo-qt" ,libmygpo-qt)
423 ;; TODO: Package libgpod.
424 ("libmtp" ,libmtp)
425 ("libxml2" ,libxml2)
426 ("openssl" ,openssl)
427 ("protobuf" ,protobuf)
428 ("pulseaudio" ,pulseaudio)
429 ("qtbase" ,qtbase)
430 ("qtx11extras" ,qtx11extras)
431 ("sqlite" ,sqlite)
432 ("sparsehash" ,sparsehash)
433 ("taglib" ,taglib)))
434 (home-page "https://clementine-player.org")
435 (synopsis "Music player and library organizer")
436 (description "Clementine is a multiplatform music player. It is inspired
437 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
438 playing your music.")
439 (license (list
440 ;; clementine and qtiocompressor are under GPLv3.
441 license:gpl3+
442 ;; gmock is under BSD-3.
443 license:bsd-3
444 ;; qxt is under CPL1.0.
445 license:cpl1.0
446 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
447 license:lgpl2.1+
448 ;; qocoa is under MIT and CC by-sa for the icons.
449 license:cc-by-sa3.0)))))
450
451 (define-public cmus
452 (package
453 (name "cmus")
454 (version "2.8.0")
455 (source (origin
456 (method git-fetch)
457 (uri (git-reference
458 (url "https://github.com/cmus/cmus")
459 (commit (string-append "v" version))))
460 (file-name (git-file-name name version))
461 (sha256
462 (base32
463 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
464 (build-system gnu-build-system)
465 (arguments
466 `(#:tests? #f ; cmus does not include tests
467 #:phases
468 (modify-phases %standard-phases
469 (replace 'configure
470 (lambda* (#:key outputs #:allow-other-keys)
471 (let ((out (assoc-ref outputs "out")))
472 ;; It's an idiosyncratic configure script that doesn't
473 ;; understand --prefix=..; it wants prefix=.. instead.
474 (invoke "./configure"
475 (string-append "prefix=" out))
476 #t))))))
477 ;; TODO: cmus optionally supports the following formats, which haven't yet
478 ;; been added to Guix:
479 ;;
480 ;; - Roar, libroar
481 ;;
482 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
483 ;; Guix. See <http://sourceforge.net/projects/discid/>
484 (native-inputs
485 `(("pkg-config" ,pkg-config)))
486 (inputs
487 `(("alsa-lib" ,alsa-lib)
488 ("ao" ,ao)
489 ("faad2" ,faad2)
490 ("ffmpeg" ,ffmpeg)
491 ("flac" ,flac)
492 ("jack" ,jack-1)
493 ("libcddb" ,libcddb)
494 ("libcdio-paranoia" ,libcdio-paranoia)
495 ("libcue" ,libcue)
496 ("libmad" ,libmad)
497 ("libmodplug" ,libmodplug)
498 ("libmpcdec" ,libmpcdec)
499 ("libsamplerate" ,libsamplerate)
500 ("libvorbis" ,libvorbis)
501 ("ncurses" ,ncurses)
502 ("opusfile" ,opusfile)
503 ("pulseaudio" ,pulseaudio)
504 ("wavpack" ,wavpack)))
505 (home-page "https://cmus.github.io/")
506 (synopsis "Small console music player")
507 (description "Cmus is a small and fast console music player. It supports
508 many input formats and provides a customisable Vi-style user interface.")
509 (license license:gpl2+)))
510
511 (define-public denemo
512 (package
513 (name "denemo")
514 (version "2.4.0")
515 (source
516 (origin
517 (method url-fetch)
518 (uri (string-append "mirror://gnu/denemo/"
519 "denemo-" version ".tar.gz"))
520 (sha256
521 (base32 "145kq0zfgdadykl3i6na221i4s5wzdrcqq48amzyfarnrqk2rmpd"))))
522 (build-system gnu-build-system)
523 (arguments
524 `(#:phases
525 (modify-phases %standard-phases
526 (replace 'check
527 (lambda* (#:key inputs #:allow-other-keys)
528 ;; Tests require to write $HOME.
529 (setenv "HOME" (getcwd))
530 ;; Replace hard-coded diff file name.
531 (substitute* "tests/integration.c"
532 (("/usr/bin/diff")
533 (string-append (assoc-ref inputs "diffutils") "/bin/diff")))
534 ;; Denemo's documentation says to use this command to run its
535 ;; test suite.
536 (invoke "make" "-C" "tests" "check")))
537 (add-before 'build 'set-lilypond
538 ;; This phase sets the default path for lilypond to its current
539 ;; location in the store.
540 (lambda* (#:key inputs #:allow-other-keys)
541 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
542 "/bin/lilypond")))
543 (substitute* "src/core/prefops.c"
544 (("g_string_new \\(\"lilypond\"\\);")
545 (string-append "g_string_new (\""
546 lilypond
547 "\");"))))
548 #t)))))
549 (native-inputs
550 `(("diffutils" ,diffutils)
551 ("glib:bin" ,glib "bin") ; for gtester
552 ("gtk-doc" ,gtk-doc)
553 ("intltool" ,intltool)
554 ("libtool" ,libtool)
555 ("pkg-config" ,pkg-config)))
556 (inputs
557 `(("alsa-lib" ,alsa-lib)
558 ("aubio" ,aubio)
559 ("evince" ,evince)
560 ("fftw" ,fftw)
561 ("fluidsynth" ,fluidsynth)
562 ("glib" ,glib)
563 ("gtk+" ,gtk+)
564 ("gtksourceview" ,gtksourceview-3)
565 ("guile" ,guile-2.0)
566 ("librsvg" ,librsvg)
567 ("libsndfile" ,libsndfile)
568 ("libxml2" ,libxml2)
569 ("lilypond" ,lilypond)
570 ("portaudio" ,portaudio)
571 ("portmidi" ,portmidi)
572 ("rubberband" ,rubberband)))
573 (synopsis "Graphical music notation, front-end to GNU Lilypond")
574 (description
575 "GNU Denemo is a music notation editor that provides a convenient
576 interface to the powerful music engraving program Lilypond. Music can be
577 typed in using the computer keyboard, played in using a MIDI keyboard, or
578 even input via a microphone connected to the sound card. The final product
579 is publication-quality music notation that is continuously generated in the
580 background while you work.")
581 (home-page "http://www.denemo.org")
582 (license license:gpl3+)))
583
584 (define-public dumb
585 (package
586 (name "dumb")
587 (version "2.0.3")
588 (source
589 (origin
590 (method git-fetch)
591 (uri (git-reference
592 (url "https://github.com/kode54/dumb")
593 (commit version)))
594 (sha256
595 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
596 (file-name (git-file-name name version))))
597 (build-system cmake-build-system)
598 (arguments
599 '(#:tests? #f ; no check target
600 #:configure-flags
601 (list "-DBUILD_SHARED_LIBS=ON"
602 "-DBUILD_EXAMPLES=OFF")))
603 (home-page "https://github.com/kode54/dumb")
604 (synopsis "Module audio renderer library")
605 (description
606 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
607 targets maximum accuracy to the original formats, with low-pass resonant filters
608 for the IT files, accurate timing and pitching, and three resampling quality
609 settings (aliasing, linear interpolation and cubic interpolation).")
610 ;; The DUMB license is a bit peculiar.
611 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
612 ;; the first three clauses for genuine consideration.
613 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
614 ;; license, a known free software license.
615 ;; Therefore, the DUMB license may be considered a free software license.
616 (license (license:fsf-free "file://LICENSE"))))
617
618 (define-public dumb-allegro4
619 (package
620 (inherit dumb)
621 (name "dumb-allegro4")
622 (arguments
623 (substitute-keyword-arguments (package-arguments dumb)
624 ((#:configure-flags flags)
625 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
626 (inputs
627 `(("allegro" ,allegro-4)))))
628
629 (define-public hydrogen
630 (package
631 (name "hydrogen")
632 (version "1.0.1")
633 (source
634 (origin
635 (method git-fetch)
636 (uri (git-reference
637 (url "https://github.com/hydrogen-music/hydrogen")
638 (commit version)))
639 (file-name (git-file-name name version))
640 (sha256
641 (base32 "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1"))))
642 (build-system cmake-build-system)
643 (arguments
644 `(#:test-target "tests"
645 #:phases
646 (modify-phases %standard-phases
647 (add-after 'unpack 'fix-data-directory
648 (lambda* (#:key outputs #:allow-other-keys)
649 (substitute* "CMakeLists.txt"
650 (("/usr/share/pixmaps")
651 (string-append (assoc-ref outputs "out")
652 "/share/pixmaps")))
653 #t)))))
654 (native-inputs
655 `(("cppunit" ,cppunit)
656 ("pkg-config" ,pkg-config)
657 ("qtlinguist" ,qttools)))
658 (inputs
659 `(("alsa-lib" ,alsa-lib)
660 ("jack" ,jack-1)
661 ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set
662 ("lash" ,lash)
663 ("libarchive" ,libarchive)
664 ("liblo" ,liblo)
665 ("libsndfile" ,libsndfile)
666 ("lrdf" ,lrdf)
667 ("pulseaudio" ,pulseaudio)
668 ("qtbase" ,qtbase)
669 ("qtxmlpatterns" ,qtxmlpatterns)
670 ("zlib" ,zlib)))
671 (home-page "http://www.hydrogen-music.org")
672 (synopsis "Drum machine")
673 (description
674 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
675 enable professional yet simple and intuitive pattern-based drum programming.")
676 (license license:gpl2+)))
677
678 (define-public easytag
679 (package
680 (name "easytag")
681 (version "2.4.3")
682 (source (origin
683 (method url-fetch)
684 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
685 version ".tar.xz"))
686 (sha256
687 (base32
688 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
689 (build-system glib-or-gtk-build-system)
690 (native-inputs
691 `(("desktop-file-utils" ,desktop-file-utils)
692 ("glib" ,glib "bin")
693 ("intltool" ,intltool)
694 ("itstool" ,itstool)
695 ("pkg-config" ,pkg-config)
696 ("xmllint" ,libxml2)))
697 (inputs
698 `(("flac" ,flac)
699 ("gtk+" ,gtk+)
700 ("id3lib" ,id3lib)
701 ("libid3tag" ,libid3tag)
702 ("libvorbis" ,libvorbis)
703 ("opusfile" ,opusfile)
704 ("speex" ,speex)
705 ("taglib" ,taglib)
706 ("wavpack" ,wavpack)
707 ("yelp" ,yelp)))
708 (arguments
709 '(#:phases
710 (modify-phases %standard-phases
711 (add-before 'configure 'configure-libid3tag
712 (lambda* (#:key inputs #:allow-other-keys)
713 ;; libid3tag does not provide a .pc file and EasyTAG's configure
714 ;; script healivy relies on pkg-config. Providing a temporary
715 ;; local .pc file is easier than patching the configure script.
716 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
717 (mkdir-p "pkgconfig")
718 (with-output-to-file
719 "pkgconfig/id3tag.pc"
720 (lambda _
721 (format #t
722 "prefix=~@*~a~@
723 libdir=${prefix}/lib~@
724 includedir=${prefix}/include~@
725
726 Name: libid3tag~@
727 Description:~@
728 Version:~@
729 Libs: -L${libdir} -lid3tag -lz~@
730 Cflags: -I${includedir}~%"
731 libid3tag)))
732 (setenv "PKG_CONFIG_PATH"
733 (string-append (getenv "PKG_CONFIG_PATH")
734 ":" (getcwd) "/pkgconfig"))
735 #t)))
736 (add-after 'unpack 'patch-makefile
737 (lambda _
738 (substitute* "Makefile.in"
739 ;; The Makefile generates a test-desktop-file-validate.sh
740 ;; script with /bin/sh hard-coded.
741 (("/bin/sh") (which "sh"))
742 ;; Don't create 'icon-theme.cache'.
743 (("gtk-update-icon-cache") "true"))
744 #t)))))
745 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
746 (synopsis "Simple application for viewing and editing tags in audio files")
747 (description
748 "EasyTAG is an application for viewing and editing tags in audio files.
749 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
750 MusePack, Monkey's Audio, and WavPack files.")
751 (license license:gpl2+)))
752
753 (define-public extempore
754 (package
755 (name "extempore")
756 (version "0.8.6")
757 (source (origin
758 (method git-fetch)
759 (uri (git-reference
760 (url "https://github.com/digego/extempore")
761 (commit (string-append "v" version))))
762 (sha256
763 (base32
764 "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp"))
765 (file-name (git-file-name name version))
766 (patches (search-patches
767 "extempore-unbundle-external-dependencies.patch"))
768 (modules '((guix build utils)))
769 (snippet
770 '(begin
771 ;; Remove bundled sources.
772 (map delete-file-recursively
773 '("src/portaudio"
774 "src/pcre"))
775 #t))))
776 (build-system cmake-build-system)
777 (arguments
778 `(#:configure-flags (list "-DJACK=ON"
779 "-DPACKAGE=ON"
780 "-DEXTERNAL_SHLIBS_AUDIO=OFF"
781 "-DEXTERNAL_SHLIBS_GRAPHICS=OFF"
782 "-DCMAKE_BUILD_TYPE=Release"
783 (string-append "-DEXT_SHARE_DIR="
784 (assoc-ref %outputs "out")
785 "/share"))
786 #:modules ((ice-9 match)
787 (guix build cmake-build-system)
788 (guix build utils))
789 #:phases
790 (modify-phases %standard-phases
791 (add-after 'build 'build-aot-libs
792 (lambda _
793 (for-each (lambda (target)
794 (invoke "make" target))
795 '("aot_base"
796 "aot_math"
797 "aot_instruments"))
798 #t))
799 (add-after 'unpack 'patch-install-locations
800 (lambda* (#:key outputs #:allow-other-keys)
801 (substitute* "CMakeLists.txt"
802 (("EXT_SHARE_DIR=\"\\.\"\\)")
803 "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")")
804 (("DESTINATION \"\\.\"\\)") "DESTINATION bin)")
805 (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n"))
806 #t))
807 (add-after 'unpack 'patch-directories
808 (lambda* (#:key outputs #:allow-other-keys)
809 (substitute* "extras/extempore.el"
810 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
811 (string-append "(runtime-directory \""
812 (assoc-ref outputs "out")
813 "/share/extempore/runtime"
814 "\")")))
815 #t))
816 (add-after 'unpack 'link-with-additional-libs
817 (lambda _
818 ;; The executable must be linked with libffi and zlib.
819 (substitute* "CMakeLists.txt"
820 (("target_link_libraries\\(extempore PRIVATE dl" line)
821 (string-append line " ffi z")))
822 #t))
823 ;; FIXME: All examples that are used as tests segfault for some
824 ;; unknown reason.
825 (add-after 'unpack 'disable-broken-tests
826 (lambda _
827 (substitute* "CMakeLists.txt"
828 (("extempore_add_example_as_test\\(.*") ""))
829 #t))
830 (add-after 'unpack 'hardcode-external-lib-paths
831 (lambda* (#:key inputs #:allow-other-keys)
832 (use-modules (ice-9 match))
833 (for-each
834 (match-lambda
835 ((file-name lib pkg-name)
836 (substitute* (string-append "libs/external/" file-name ".xtm")
837 ((lib) (string-append (assoc-ref inputs pkg-name)
838 "/lib/" lib)))))
839 '(("assimp" "libassimp.so" "assimp")
840 ("portmidi" "libportmidi.so" "portmidi")
841 ("sndfile" "libsndfile.so" "libsndfile")
842 ("fft" "libkiss_fft.so" "kiss-fft")
843 ("stb_image" "libstb_image.so" "stb-image")
844 ("nanovg" "libnanovg.so" "nanovg")
845 ("glext" "libGL.so" "mesa")
846 ("glfw3" "libglfw.so" "glfw")
847 ("gl/glcore-directbind" "libGL.so" "mesa")
848 ("gl/glcompat-directbind" "libGL.so" "mesa")))
849 #t))
850 (add-after 'unpack 'use-own-llvm
851 (lambda* (#:key inputs #:allow-other-keys)
852 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
853 ;; Our LLVM builds shared libraries, so Extempore should use
854 ;; those.
855 (substitute* "CMakeLists.txt"
856 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
857 #t))
858 (add-after 'unpack 'fix-aot-compilation
859 (lambda* (#:key outputs #:allow-other-keys)
860 (substitute* "CMakeLists.txt"
861 ;; Extempore needs to be told where the runtime is to be found.
862 ;; While we're at it we disable automatic tuning for a specific
863 ;; CPU to make binary substitution possible.
864 (("COMMAND extempore" prefix)
865 (string-append prefix " --sharedir " (getcwd)
866 " --mcpu=generic --attr=none")))
867 #t)))))
868 (inputs
869 `(("llvm"
870 ,(package
871 (inherit llvm-3.8)
872 (name "llvm-for-extempore")
873 (source
874 (origin
875 (method url-fetch)
876 (uri (string-append "http://extempore.moso.com.au/extras/"
877 "llvm-3.8.0.src-patched-for-extempore.tar.xz"))
878 (sha256
879 (base32
880 "1svdl6fxn8l01ni8mpm0bd5h856ahv3h9sdzgmymr6fayckjvqzs"))))))
881 ("libffi" ,libffi)
882 ("jack" ,jack-1)
883 ("libsndfile" ,libsndfile)
884 ("glfw" ,glfw)
885 ("apr" ,apr)
886 ("stb-image"
887 ,(let ((revision "1")
888 (commit "152a250a702bf28951bb0220d63bc0c99830c498"))
889 (package
890 (inherit stb-image)
891 (name "stb-image-for-extempore")
892 (version (git-version "0" revision commit))
893 (source
894 (origin (method git-fetch)
895 (uri (git-reference
896 (url "https://github.com/extemporelang/stb")
897 (commit commit)))
898 (sha256
899 (base32
900 "0y0aa20pj9311x2ii06zg8xs34idg14hfgldqc5ymizc6cf1qiqv"))
901 (file-name (git-file-name name version))))
902 (build-system cmake-build-system)
903 (arguments `(#:tests? #f)) ;no tests included
904 (inputs '()))))
905 ("kiss-fft" ,kiss-fft-for-extempore)
906 ("nanovg" ,nanovg-for-extempore)
907 ("portmidi"
908 ,(let ((version "217")
909 (revision "0")
910 (commit "8602f548f71daf5ef638b2f7d224753400cb2158"))
911 (package
912 (inherit portmidi)
913 (name "portmidi-for-extempore")
914 (version (git-version version revision commit))
915 (source (origin
916 (method git-fetch)
917 (uri (git-reference
918 (url "https://github.com/extemporelang/portmidi")
919 (commit commit)))
920 (file-name (git-file-name name version))
921 (sha256
922 (base32
923 "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w"))))
924 (build-system cmake-build-system)
925 (arguments `(#:tests? #f)) ;no tests
926 (native-inputs '()))))
927 ("assimp" ,assimp)
928 ("alsa-lib" ,alsa-lib)
929 ("portaudio" ,portaudio)
930 ("mesa" ,mesa)
931 ("pcre" ,pcre)
932 ("zlib" ,zlib)))
933 (native-inputs
934 `(("perl" ,perl)
935 ("emacs" ,emacs-no-x)))
936 ;; Extempore refuses to build on architectures other than x86_64
937 (supported-systems '("x86_64-linux"))
938 (home-page "https://digego.github.io/extempore/")
939 (synopsis "Programming environment for live coding of multimedia")
940 (description
941 "Extempore is a programming language and runtime environment designed
942 with live programming in mind. It supports interactive programming in a REPL
943 style, compiling and binding code just-in-time. Although Extempore has its
944 roots in 'live coding' of audiovisual media art, it is suitable for any task
945 domain where dynamic run-time modifiability and good numerical performance are
946 required. Extempore also has strong timing and concurrency semantics, which
947 are helpful when working in problem spaces where timing is important (such as
948 audio and video).")
949 (license license:bsd-2)))
950
951 (define-public surge-synth
952 (package
953 (name "surge-synth")
954 (version "1.7.1")
955 (source
956 (origin
957 (method git-fetch)
958 (uri (git-reference
959 (url "https://github.com/surge-synthesizer/surge")
960 (commit (string-append "release_" version))
961 (recursive? #t))) ; build system expects modules to be there
962 (file-name (git-file-name name version))
963 (sha256
964 (base32
965 "1jhk8iaqh89dnci4446b47315v2lc8gclraygk8m9jl20zpjxl0l"))))
966 (build-system cmake-build-system)
967 (arguments
968 `(#:tests? #f ; no tests included
969 #:phases
970 (modify-phases %standard-phases
971 (add-after 'unpack 'replace-python
972 (lambda* (#:key inputs outputs #:allow-other-keys)
973 (substitute* "CMakeLists.txt"
974 ((" python ")
975 (string-append " " (assoc-ref inputs "python")
976 "/bin/python3 ")))
977 #t))
978 (add-after 'unpack 'fix-data-directory-name
979 (lambda* (#:key inputs outputs #:allow-other-keys)
980 (substitute* "src/common/SurgeStorage.cpp"
981 (("/usr") (assoc-ref outputs "out")))
982 #t))
983 (replace 'install ; no install target
984 (lambda* (#:key inputs outputs #:allow-other-keys)
985 (let* ((src (assoc-ref inputs "source"))
986 (out (assoc-ref outputs "out"))
987 (share (string-append out "/share"))
988 (lib (string-append out "/lib"))
989 (lv2 (string-append lib "/lv2"))
990 (vst3 (string-append lib "/vst3")))
991 (mkdir-p lv2)
992 (mkdir-p vst3)
993 ;; Install LV2 plugin.
994 (copy-recursively "surge_products/Surge.lv2"
995 (string-append lv2 "/Surge.lv2"))
996 ;; Install VST3 plugin.
997 (copy-recursively "surge_products/Surge.vst3"
998 (string-append vst3 "/Surge.vst3"))
999 ;; Install data.
1000 (copy-recursively (string-append src "/resources/data")
1001 (string-append share "/Surge"))
1002 #t))))))
1003 (inputs
1004 `(("cairo" ,cairo)
1005 ("libxkbcommon" ,libxkbcommon)
1006 ("python" ,python)
1007 ("xcb-util" ,xcb-util)
1008 ("xcb-util-cursor" ,xcb-util-cursor)
1009 ("xcb-util-keysyms" ,xcb-util-keysyms)))
1010 (native-inputs
1011 `(("pkg-config" ,pkg-config)))
1012 (home-page "https://surge-synthesizer.github.io/")
1013 (synopsis "Synthesizer plugin")
1014 (description
1015 "Surge is a subtractive hybrid digital synthesizer. Each patch contains
1016 two @dfn{scenes} which are separate instances of the entire synthesis
1017 engine (except effects) that can be used for layering or split patches.")
1018 (license license:gpl3+)))
1019
1020 (define-public klick
1021 (package
1022 (name "klick")
1023 (version "0.12.2")
1024 (source (origin
1025 (method url-fetch)
1026 (uri (string-append "http://das.nasophon.de/download/klick-"
1027 version ".tar.gz"))
1028 (sha256
1029 (base32
1030 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
1031 (build-system scons-build-system)
1032 (arguments
1033 `(#:scons-flags (list (string-append "PREFIX=" %output))
1034 #:scons ,scons-python2
1035 #:tests? #f ; no "check" target
1036 #:phases
1037 (modify-phases %standard-phases
1038 (add-after 'unpack 'be-permissive
1039 (lambda _
1040 (substitute* "SConstruct"
1041 (("'-Wall'") "'-Wall', '-fpermissive'"))
1042 #t))
1043 (add-after 'unpack 'replace-removed-scons-syntax
1044 (lambda _
1045 (substitute* "SConstruct"
1046 (("BoolOption") "BoolVariable")
1047 (("PathOption") "PathVariable")
1048 (("Options") "Variables"))
1049 #t)))))
1050 (inputs
1051 `(("boost" ,boost)
1052 ("jack" ,jack-1)
1053 ("libsndfile" ,libsndfile)
1054 ("libsamplerate" ,libsamplerate)
1055 ("liblo" ,liblo)
1056 ("rubberband" ,rubberband)))
1057 (native-inputs
1058 `(("pkg-config" ,pkg-config)))
1059 (home-page "http://das.nasophon.de/klick/")
1060 (synopsis "Metronome for JACK")
1061 (description
1062 "klick is an advanced command-line based metronome for JACK. It allows
1063 you to define complex tempo maps for entire songs or performances.")
1064 (license license:gpl2+)))
1065
1066 (define-public glyr
1067 (package
1068 (name "glyr")
1069 (version "1.0.10")
1070 (source (origin
1071 (method git-fetch)
1072 (uri (git-reference
1073 (url "https://github.com/sahib/glyr")
1074 (commit version)))
1075 (file-name (git-file-name name version))
1076 (sha256
1077 (base32
1078 "1miwbqzkhg0v3zysrwh60pj9sv6ci4lzq2vq2hhc6pc6hdyh8xyr"))))
1079 (build-system cmake-build-system)
1080 (arguments
1081 '(#:configure-flags '("-DTEST=true")
1082 #:phases
1083 (modify-phases %standard-phases
1084 (add-after 'unpack 'patch-tests
1085 (lambda _
1086 (substitute* "spec/capi/check_api.c"
1087 (("fail_unless \\(c != NULL,\"Could not load www.google.de\"\\);")
1088 ""))
1089 #t))
1090 (replace 'check
1091 (lambda* (#:key tests? #:allow-other-keys)
1092 (when tests?
1093 ;; capi tests
1094 (invoke "bin/check_api")
1095 ;; (invoke "bin/check_opt") TODO Very dependent on the network
1096 (invoke "bin/check_dbc"))
1097
1098 ;; TODO Work out how to run the spec/providers Python tests
1099 #t)))))
1100 (inputs
1101 `(("glib" ,glib)
1102 ("curl" ,curl)
1103 ("sqlite" ,sqlite)))
1104 (native-inputs
1105 `(("pkg-config" ,pkg-config)
1106 ("check" ,check)))
1107 (home-page "https://github.com/sahib/glyr")
1108 (synopsis "Search engine for music related metadata")
1109 (description
1110 "Glyr comes both in a command-line interface tool (@command{glyrc}) and
1111 as a C library (libglyr).
1112
1113 The sort of metadata glyr is searching (and downloading) is usually the data
1114 you see in your musicplayer. And indeed, originally it was written to serve
1115 as internally library for a musicplayer, but has been extended to work as a
1116 standalone program which is able to download cover art, lyrics, photos,
1117 biographies, reviews and more.")
1118 (license license:lgpl3+)))
1119
1120 (define-public gtklick
1121 (package
1122 (name "gtklick")
1123 (version "0.6.4")
1124 (source (origin
1125 (method url-fetch)
1126 (uri (string-append "http://das.nasophon.de/download/gtklick-"
1127 version ".tar.gz"))
1128 (sha256
1129 (base32
1130 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
1131 (build-system python-build-system)
1132 (arguments
1133 `(#:tests? #f ; no tests
1134 #:python ,python-2
1135 #:phases
1136 (modify-phases %standard-phases
1137 (add-before 'build 'add-sitedirs
1138 ;; .pth files are not automatically interpreted unless the
1139 ;; directories containing them are added as "sites". The directories
1140 ;; are then added to those in the PYTHONPATH. This is required for
1141 ;; the operation of pygtk.
1142 (lambda _
1143 (substitute* "gtklick/gtklick.py"
1144 (("import pygtk")
1145 "import pygtk, site, sys
1146 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
1147 (add-after 'unpack 'inject-store-path-to-klick
1148 (lambda* (#:key inputs #:allow-other-keys)
1149 (substitute* "gtklick/klick_backend.py"
1150 (("KLICK_PATH = 'klick'")
1151 (string-append "KLICK_PATH = '"
1152 (assoc-ref inputs "klick")
1153 "/bin/klick'")))
1154 #t)))))
1155 (inputs
1156 `(("klick" ,klick)
1157 ("python2-pyliblo" ,python2-pyliblo)
1158 ("python2-pygtk" ,python2-pygtk)))
1159 (native-inputs
1160 `(("gettext" ,gettext-minimal)))
1161 (home-page "http://das.nasophon.de/gtklick/")
1162 (synopsis "Simple metronome with an easy-to-use graphical interface")
1163 (description
1164 "Gtklick is a simple metronome with an easy-to-use graphical user
1165 interface. It is implemented as a frontend to @code{klick}.")
1166 (license license:gpl2+)))
1167
1168 (define-public libgme
1169 (package
1170 (name "libgme")
1171 (version "0.6.3")
1172 (source (origin
1173 (method url-fetch)
1174 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
1175 "downloads/game-music-emu-" version
1176 ".tar.xz"))
1177 (sha256
1178 (base32
1179 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
1180 (build-system cmake-build-system)
1181 (arguments
1182 '(#:tests? #f)) ; no check target
1183 (home-page "https://bitbucket.org/mpyne/game-music-emu")
1184 (synopsis "Video game music file playback library")
1185 (description
1186 "Game-music-emu is a collection of video game music file emulators that
1187 support the following formats and systems:
1188 @table @code
1189 @item AY
1190 ZX Spectrum/Asmtrad CPC
1191 @item GBS
1192 Nintendo Game Boy
1193 @item GYM
1194 Sega Genesis/Mega Drive
1195 @item HES
1196 NEC TurboGrafx-16/PC Engine
1197 @item KSS
1198 MSX Home Computer/other Z80 systems (doesn't support FM sound)
1199 @item NSF/NSFE
1200 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
1201 @item SAP
1202 Atari systems using POKEY sound chip
1203 @item SPC
1204 Super Nintendo/Super Famicom
1205 @item VGM/VGZ
1206 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
1207 @end table")
1208 (license (list license:lgpl2.1+
1209 ;; demo and player directories are under the Expat license
1210 license:expat))))
1211
1212 (define-public ninjas2
1213 (package
1214 (name "ninjas2")
1215 (version "0.2.0")
1216 (source
1217 (origin
1218 (method git-fetch)
1219 (uri
1220 (git-reference
1221 (url "https://github.com/clearly-broken-software/ninjas2")
1222 (commit (string-append "v" version))
1223 ;; Bundles a specific commit of the DISTRHO plugin framework.
1224 (recursive? #t)))
1225 (file-name (git-file-name name version))
1226 (sha256
1227 (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
1228 (build-system gnu-build-system)
1229 (arguments
1230 `(#:tests? #f ;no tests
1231 #:make-flags
1232 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1233 (string-append "CC=" ,(cc-for-target)))
1234 #:phases
1235 (modify-phases %standard-phases
1236 (delete 'configure) ;no configure target
1237 (replace 'install ;no install target
1238 (lambda* (#:key outputs #:allow-other-keys)
1239 (let* ((out (assoc-ref outputs "out"))
1240 (bin (string-append out "/bin"))
1241 (lv2 (string-append out "/lib/lv2")))
1242 ;; Install LV2.
1243 (for-each
1244 (lambda (file)
1245 (copy-recursively file
1246 (string-append lv2 "/" (basename file))))
1247 (find-files "bin" "\\.lv2$" #:directories? #t))
1248 ;; Install executables.
1249 (for-each
1250 (lambda (file)
1251 (install-file file bin))
1252 (find-files "bin"
1253 (lambda (name stat)
1254 (and
1255 (equal? (dirname name) "bin")
1256 (not (string-suffix? ".so" name))
1257 (not (string-suffix? ".lv2" name))))))
1258 #t))))))
1259 (inputs
1260 `(("fftwf" ,fftwf)
1261 ("jack" ,jack-1) ; for the standalone JACK application
1262 ("libsamplerate" ,libsamplerate)
1263 ("mesa" ,mesa)
1264 ("libsndfile" ,libsndfile)))
1265 (native-inputs
1266 `(("ladspa" ,ladspa)
1267 ("lv2" ,lv2)
1268 ("pkg-config" ,pkg-config)))
1269 (synopsis "Sample slicer audio plugin")
1270 (description
1271 "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
1272 Its goal is to be an easy to use sample slicer with quick slicing of samples
1273 and auto-mapping slices to MIDI note numbers.")
1274 (home-page "https://github.com/clearly-broken-software/ninjas2")
1275 (license license:gpl3+)))
1276
1277 (define-public lilypond
1278 (package
1279 (name "lilypond")
1280 (version "2.20.0")
1281 (source
1282 (origin
1283 (method url-fetch)
1284 (uri (string-append "http://lilypond.org/download/sources/"
1285 "v" (version-major+minor version) "/"
1286 "lilypond-" version ".tar.gz"))
1287 (sha256
1288 (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar"))))
1289 (build-system gnu-build-system)
1290 (arguments
1291 `(#:tests? #f ;out-test/collated-files.html fails
1292 #:out-of-source? #t
1293 #:make-flags '("conf=www") ;to generate images for info manuals
1294 #:configure-flags
1295 (list "CONFIGURATION=www"
1296 (string-append "--with-texgyre-dir="
1297 (assoc-ref %build-inputs "font-tex-gyre")
1298 "/share/fonts/opentype/"))
1299 #:phases
1300 (modify-phases %standard-phases
1301 (add-after 'unpack 'use-texlive-union
1302 (lambda _
1303 ;; FIXME: fonts are not found and have to be generated in HOME.
1304 (setenv "HOME" "/tmp")
1305 ;; The test for the "lh" package fails, even though it is among
1306 ;; the inputs.
1307 (substitute* "configure"
1308 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
1309 #t))
1310 (add-after 'unpack 'fix-path-references
1311 (lambda _
1312 (substitute* "scm/backend-library.scm"
1313 (("\\(search-executable '\\(\"gs\"\\)\\)")
1314 (string-append "\"" (which "gs") "\""))
1315 (("\"/bin/sh\"")
1316 (string-append "\"" (which "sh") "\"")))
1317 #t))
1318 (add-before 'configure 'prepare-configuration
1319 (lambda _
1320 (substitute* "configure"
1321 (("SHELL=/bin/sh") "SHELL=sh")
1322 ;; When checking the fontforge version do not consider the
1323 ;; version string that's part of the directory.
1324 (("head -n") "tail -n")
1325 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
1326 (("20110222") "19700101"))
1327 (setenv "out" "www")
1328 (setenv "conf" "www")
1329 #t))
1330 (add-after 'install 'install-info
1331 (lambda _
1332 (invoke "make"
1333 "-j" (number->string (parallel-job-count))
1334 "conf=www" "install-info")
1335 #t)))))
1336 (inputs
1337 `(("guile" ,guile-1.8)
1338 ("font-dejavu" ,font-dejavu)
1339 ("font-tex-gyre" ,font-tex-gyre)
1340 ("fontconfig" ,fontconfig)
1341 ("freetype" ,freetype)
1342 ("ghostscript" ,ghostscript)
1343 ("pango" ,pango)
1344 ("python" ,python-2)))
1345 (native-inputs
1346 `(("bison" ,bison)
1347 ("perl" ,perl)
1348 ("flex" ,flex)
1349 ("fontforge" ,fontforge)
1350 ("dblatex" ,dblatex)
1351 ("gettext" ,gettext-minimal)
1352 ("imagemagick" ,imagemagick)
1353 ("netpbm" ,netpbm) ;for pngtopnm
1354 ("texlive" ,(texlive-union (list texlive-metapost
1355 texlive-generic-epsf
1356 texlive-latex-lh
1357 texlive-latex-cyrillic)))
1358 ("texinfo" ,texinfo)
1359 ("texi2html" ,texi2html-1.82)
1360 ("rsync" ,rsync)
1361 ("pkg-config" ,pkg-config)
1362 ("zip" ,zip)))
1363 (home-page "http://www.lilypond.org/")
1364 (synopsis "Music typesetting")
1365 (description
1366 "GNU LilyPond is a music typesetter, which produces high-quality sheet
1367 music. Music is input in a text file containing control sequences which are
1368 interpreted by LilyPond to produce the final document. It is extendable with
1369 Guile.")
1370 (license license:gpl3+)
1371
1372 ;; On armhf and mips64el, building the documentation sometimes leads to
1373 ;; more than an hour of silence, so double the max silent time.
1374 (properties `((max-silent-time . 7200)))))
1375
1376 (define-public non-sequencer
1377 ;; The latest tagged release is three years old and uses a custom build
1378 ;; system, so we take the last commit.
1379 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1380 (revision "4"))
1381 (package
1382 (name "non-sequencer")
1383 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
1384 (source (origin
1385 (method git-fetch)
1386 (uri (git-reference
1387 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1388 (commit commit)))
1389 (sha256
1390 (base32
1391 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
1392 (file-name (string-append name "-" version "-checkout"))))
1393 (build-system waf-build-system)
1394 (arguments
1395 `(#:tests? #f ;no "check" target
1396 #:configure-flags
1397 (list "--project=sequencer"
1398 ;; Disable the use of SSE unless on x86_64.
1399 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1400 (%current-system))))
1401 '("--disable-sse")
1402 '()))
1403 #:python ,python-2))
1404 (inputs
1405 `(("jack" ,jack-1)
1406 ("libsigc++" ,libsigc++)
1407 ("liblo" ,liblo)
1408 ("ntk" ,ntk)))
1409 (native-inputs
1410 `(("pkg-config" ,pkg-config)))
1411 (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer")
1412 (synopsis "Pattern-based MIDI sequencer")
1413 (description
1414 "The Non Sequencer is a powerful, lightweight, real-time,
1415 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1416 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1417 Sequencer happens on-line, in real-time. Music can be composed live, while the
1418 transport is rolling.")
1419 (license license:gpl2+))))
1420
1421 (define-public non-session-manager
1422 (package (inherit non-sequencer)
1423 (name "non-session-manager")
1424 (arguments
1425 (substitute-keyword-arguments (package-arguments non-sequencer)
1426 ((#:configure-flags flags)
1427 `(cons "--project=session-manager"
1428 (delete "--project=sequencer" ,flags)))))
1429 (inputs
1430 `(("jack" ,jack-1)
1431 ("liblo" ,liblo)
1432 ("ntk" ,ntk)))
1433 (native-inputs
1434 `(("pkg-config" ,pkg-config)))
1435 (home-page "https://non.tuxfamily.org/nsm/")
1436 (synopsis "Audio session management")
1437 (description
1438 "The Non Session Manager is an API and an implementation for audio
1439 session management. NSM clients use a well-specified OSC protocol to
1440 communicate with the session management daemon.")
1441 (license license:gpl2+)))
1442
1443 (define-public non-mixer
1444 (package (inherit non-sequencer)
1445 (name "non-mixer")
1446 (arguments
1447 (substitute-keyword-arguments (package-arguments non-sequencer)
1448 ((#:configure-flags flags)
1449 `(cons "--project=mixer"
1450 (delete "--project=sequencer" ,flags)))))
1451 (inputs
1452 `(("jack" ,jack-1)
1453 ("liblo" ,liblo)
1454 ("ladspa" ,ladspa)
1455 ("lrdf" ,lrdf)
1456 ("ntk" ,ntk)))
1457 (native-inputs
1458 `(("pkg-config" ,pkg-config)))
1459 (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
1460 (synopsis "Modular digital audio mixer")
1461 (description
1462 "The Non Mixer is a powerful, reliable and fast modular digital audio
1463 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1464 toolkit for a fast and lightweight user interface. Non Mixer can be used
1465 alone or in concert with Non Timeline and Non Sequencer to form a complete
1466 studio.")
1467 (license license:gpl2+)))
1468
1469 (define-public non-timeline
1470 (package (inherit non-sequencer)
1471 (name "non-timeline")
1472 (arguments
1473 (substitute-keyword-arguments (package-arguments non-sequencer)
1474 ((#:configure-flags flags)
1475 `(cons "--project=timeline"
1476 (delete "--project=sequencer" ,flags)))))
1477 (inputs
1478 `(("jack" ,jack-1)
1479 ("liblo" ,liblo)
1480 ("libsndfile" ,libsndfile)
1481 ("ntk" ,ntk)))
1482 (native-inputs
1483 `(("pkg-config" ,pkg-config)))
1484 (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
1485 (synopsis "Modular digital audio timeline arranger")
1486 (description
1487 "The Non Timeline is a powerful, reliable and fast modular digital audio
1488 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1489 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1490 be used alone or in concert with Non Mixer and Non Sequencer to form a
1491 complete studio.")
1492 (license license:gpl2+)))
1493
1494 (define-public tascam-gtk
1495 ;; This commit represents the latest version at the time of this writing.
1496 (let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
1497 (revision "0"))
1498 (package
1499 (name "tascam-gtk")
1500 (version (git-version "0.4" revision commit))
1501 (source (origin
1502 (method git-fetch)
1503 (uri (git-reference
1504 (url "https://github.com/onkelDead/tascam-gtk")
1505 (commit commit)))
1506 (file-name (git-file-name name version))
1507 (sha256
1508 (base32
1509 "07k7rccqqg7lnygkh97a200l1i6s1rl92n01v0q6n4257sinir6f"))))
1510 (build-system gnu-build-system)
1511 (inputs
1512 `(("liblo" ,liblo)
1513 ("gtkmm" ,gtkmm)
1514 ("alsa-lib" ,alsa-lib)
1515 ("libxmlplusplus" ,libxmlplusplus-2.6)))
1516 (native-inputs
1517 `(("glib:bin" ,glib "bin")
1518 ("pkg-config" ,pkg-config)))
1519 (home-page "https://github.com/onkelDead/tascam-gtk")
1520 (synopsis "GTK+ based application to control Tascam US-16x08 DSP mixer")
1521 (description "This is a mixer application to control the Tascam US-16x08
1522 audio interface. This device contains about 280 control elements and this
1523 mixer application aims to provide comfortable access to the DSP effects the
1524 device supports.")
1525 (license license:expat))))
1526
1527 (define-public bsequencer
1528 (package
1529 (name "bsequencer")
1530 (version "1.8.0")
1531 (source (origin
1532 (method git-fetch)
1533 (uri (git-reference
1534 (url "https://github.com/sjaehn/BSEQuencer")
1535 (commit version)))
1536 (file-name (git-file-name name version))
1537 (sha256
1538 (base32
1539 "0w7iwzz2r4a699fi24qk71vv2k3jpl9ylzlgmvyc3rlgad0m01k1"))))
1540 (build-system gnu-build-system)
1541 (arguments
1542 `(#:make-flags
1543 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1544 #:tests? #f ; there are none
1545 #:phases
1546 (modify-phases %standard-phases
1547 (delete 'configure))))
1548 (inputs
1549 `(("cairo" ,cairo)
1550 ("lv2" ,lv2)
1551 ("libx11" ,libx11)))
1552 (native-inputs
1553 `(("pkg-config" ,pkg-config)))
1554 (home-page "https://github.com/sjaehn/BSEQuencer")
1555 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1556 (description
1557 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1558 with a selectable pattern matrix size.")
1559 (license license:gpl3+)))
1560
1561 (define-public bchoppr
1562 (package
1563 (inherit bsequencer)
1564 (name "bchoppr")
1565 (version "1.8.0")
1566 (source
1567 (origin
1568 (method git-fetch)
1569 (uri (git-reference
1570 (url "https://github.com/sjaehn/BChoppr")
1571 (commit version)))
1572 (file-name (git-file-name name version))
1573 (sha256
1574 (base32
1575 "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"))))
1576 (synopsis "Audio stream-chopping LV2 plugin")
1577 (description "B.Choppr cuts the audio input stream into a repeated
1578 sequence of up to 16 chops. Each chop can be leveled up or down (gating).
1579 B.Choppr is the successor of B.Slizr.")
1580 (home-page "https://github.com/sjaehn/BChoppr")
1581 (license license:gpl3+)))
1582
1583 (define-public bshapr
1584 (package
1585 (inherit bsequencer)
1586 (name "bshapr")
1587 (version "0.9")
1588 (source
1589 (origin
1590 (method git-fetch)
1591 (uri (git-reference
1592 (url "https://github.com/sjaehn/BShapr")
1593 (commit (string-append "v" version))))
1594 (file-name (git-file-name name version))
1595 (sha256
1596 (base32 "04zd3a178i2nivg5rjailzqvc5mlnilmhj1ziygmbhshbrywplri"))))
1597 (synopsis "Beat/envelope shaper LV2 plugin")
1598 (description "B.Shapr is a beat/envelope shaper LV2 plugin.")
1599 (home-page "https://github.com/sjaehn/BShapr")
1600 (license license:gpl3+)))
1601
1602 (define-public bjumblr
1603 (package
1604 (inherit bsequencer)
1605 (name "bjumblr")
1606 (version "1.4.2")
1607 (source
1608 (origin
1609 (method git-fetch)
1610 (uri (git-reference
1611 (url "https://github.com/sjaehn/BJumblr")
1612 (commit version)))
1613 (file-name (git-file-name name version))
1614 (sha256
1615 (base32
1616 "0kl6hrxmqrdf0195bfnzsa2h1073fgiqrfhg2276fm1954sm994v"))))
1617 (inputs
1618 `(("cairo" ,cairo)
1619 ("libsndfile" ,libsndfile)
1620 ("lv2" ,lv2)))
1621 (synopsis "Pattern-controlled audio stream/sample re-sequencer LV2 plugin")
1622 (description "B.Jumblr is a pattern-controlled audio stream / sample
1623 re-sequencer LV2 plugin.")
1624 (home-page "https://github.com/sjaehn/BJumblr")
1625 (license license:gpl3+)))
1626
1627 (define-public bschaffl
1628 (package
1629 (inherit bsequencer)
1630 (name "bschaffl")
1631 (version "1.2.0")
1632 (source
1633 (origin
1634 (method git-fetch)
1635 (uri (git-reference
1636 (url "https://github.com/sjaehn/BSchaffl")
1637 (commit version)))
1638 (file-name (git-file-name name version))
1639 (sha256
1640 (base32
1641 "1c09acqrbd387ba41f8ch1qykdap5h6cg9if5pgd16i4dmjnpghj"))))
1642 (inputs
1643 `(("cairo" ,cairo)
1644 ("fontconfig" ,fontconfig)
1645 ("libsndfile" ,libsndfile)
1646 ("libx11" ,libx11)
1647 ("lv2" ,lv2)))
1648 (home-page "https://github.com/sjaehn/BSchaffl")
1649 (synopsis "Pattern-controlled MIDI amp & time stretch LV2 plugin")
1650 (description "This package provides an LV2 plugin that allows for
1651 pattern-controlled MIDI amp & time stretching to produce shuffle / swing
1652 effects.
1653
1654 Key features include:
1655
1656 @enumerate
1657 @item MIDI velocity amplification and timing manipulation plugin
1658 @item Swing and shuffle rhythms
1659 @item Pre-generator dynamics
1660 @item Tempo rubato
1661 @item Pattern (sliders) or shape-controlled
1662 @item MIDI filters
1663 @item Smart quantization
1664 @end itemize
1665 ")
1666 (license license:gpl3+)))
1667
1668 (define-public solfege
1669 (package
1670 (name "solfege")
1671 (version "3.22.2")
1672 (source (origin
1673 (method url-fetch)
1674 (uri (string-append
1675 "mirror://gnu/solfege/solfege-"
1676 version ".tar.xz"))
1677 (sha256
1678 (base32
1679 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1680 (build-system gnu-build-system)
1681 (arguments
1682 `(#:tests? #f ; xmllint attempts to download DTD
1683 #:test-target "test"
1684 #:phases
1685 (modify-phases %standard-phases
1686 (add-after 'unpack 'fix-configuration
1687 (lambda* (#:key inputs #:allow-other-keys)
1688 (substitute* "default.config"
1689 (("/usr/bin/aplay") "aplay")
1690 (("/usr/bin/timidity") "timidity")
1691 (("/usr/bin/mpg123") "mpg123")
1692 (("/usr/bin/ogg123") "ogg123"))
1693 #t))
1694 (add-before 'build 'patch-python-shebangs
1695 (lambda _
1696 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1697 ;; has no effect.
1698 (substitute* '("solfege/parsetree.py"
1699 "solfege/presetup.py")
1700 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1701 #t))
1702 (add-before 'build 'add-sitedirs
1703 ;; .pth files are not automatically interpreted unless the
1704 ;; directories containing them are added as "sites". The directories
1705 ;; are then added to those in the PYTHONPATH. This is required for
1706 ;; the operation of pygtk and pygobject.
1707 (lambda _
1708 (substitute* "run-solfege.py"
1709 (("import os")
1710 "import os, site
1711 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1712 #t))
1713 (add-before 'build 'adjust-config-file-prefix
1714 (lambda* (#:key outputs #:allow-other-keys)
1715 (substitute* "run-solfege.py"
1716 (("prefix = os.path.*$")
1717 (string-append "prefix = " (assoc-ref outputs "out"))))
1718 #t))
1719 (add-after 'install 'wrap-program
1720 (lambda* (#:key inputs outputs #:allow-other-keys)
1721 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1722 (let* ((out (assoc-ref outputs "out"))
1723 (path (getenv "PYTHONPATH")))
1724 (wrap-program (string-append out "/bin/solfege")
1725 `("PYTHONPATH" ":" prefix (,path))))
1726 #t)))))
1727 (inputs
1728 `(("python" ,python-2)
1729 ("pygtk" ,python2-pygtk)
1730 ("gettext" ,gettext-minimal)
1731 ("gtk" ,gtk+)
1732 ("lilypond" ,lilypond)))
1733 (native-inputs
1734 `(("pkg-config" ,pkg-config)
1735 ("txt2man" ,txt2man)
1736 ("libxml2" ,libxml2) ; for tests
1737 ("ghostscript" ,ghostscript)
1738 ("texinfo" ,texinfo)))
1739 (home-page "https://www.gnu.org/software/solfege/")
1740 (synopsis "Ear training")
1741 (description
1742 "GNU Solfege is a program for practicing musical ear-training. With it,
1743 you can practice your recognition of various musical intervals and chords. It
1744 features a statistics overview so you can monitor your progress across several
1745 sessions. Solfege is also designed to be extensible so you can easily write
1746 your own lessons.")
1747 (license license:gpl3+)))
1748
1749 (define-public powertabeditor
1750 (package
1751 (name "powertabeditor")
1752 (version "2.0.0-alpha14")
1753 (source (origin
1754 (method git-fetch)
1755 (uri (git-reference
1756 (url "https://github.com/powertab/powertabeditor")
1757 (commit version)))
1758 (file-name (git-file-name name version))
1759 (sha256
1760 (base32
1761 "1wsvni2aa9h2bpndlic7ckch4n600ahwm56n521y5vxivwjx3jmj"))))
1762 (build-system cmake-build-system)
1763 (arguments
1764 `(#:phases
1765 (modify-phases %standard-phases
1766 (replace 'check (lambda _ (invoke "bin/pte_tests")))
1767 (add-after 'unpack 'fix-pugixml-detection
1768 (lambda _
1769 (substitute* "cmake/third_party/pugixml.cmake"
1770 (("add_library") "#add_library"))
1771 #t)))))
1772 (inputs
1773 `(("alsa-lib" ,alsa-lib)
1774 ("boost" ,boost)
1775 ("minizip" ,minizip)
1776 ("pugixml" ,pugixml)
1777 ("qtbase" ,qtbase)
1778 ("rapidjson" ,rapidjson)
1779 ("rtmidi" ,rtmidi)
1780 ("timidity" ,timidity++)
1781 ("zlib" ,zlib)))
1782 (native-inputs
1783 `(("doctest" ,doctest)
1784 ("pkg-config" ,pkg-config)))
1785 (home-page "https://github.com/powertab/powertabedito")
1786 (synopsis "Guitar tablature editor")
1787 (description
1788 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1789 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1790 (license license:gpl3+)))
1791
1792 (define-public jalv-select
1793 (package
1794 (name "jalv-select")
1795 (version "1.3")
1796 (source (origin
1797 (method git-fetch)
1798 (uri (git-reference
1799 (url "https://github.com/brummer10/jalv_select")
1800 (commit (string-append "v" version))))
1801 (file-name (git-file-name name version))
1802 (sha256
1803 (base32
1804 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
1805 (build-system gnu-build-system)
1806 (arguments
1807 `(#:make-flags
1808 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1809 #:phases
1810 (modify-phases %standard-phases
1811 (delete 'configure)
1812 (add-after 'unpack 'ignore-PATH
1813 (lambda* (#:key inputs #:allow-other-keys)
1814 (substitute* "jalv.select.cpp"
1815 (("echo \\$PATH.*tr ':'.*xargs ls")
1816 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1817 #t))
1818 (add-before 'reset-gzip-timestamps 'make-manpages-writable
1819 (lambda* (#:key outputs #:allow-other-keys)
1820 (for-each make-file-writable
1821 (find-files (string-append (assoc-ref outputs "out")
1822 "/share/man")
1823 ".*\\.gz$"))
1824 #t)))))
1825 (inputs
1826 `(("lilv" ,lilv)
1827 ("lv2" ,lv2)
1828 ("jalv" ,jalv)
1829 ("gtkmm" ,gtkmm-2)))
1830 (native-inputs
1831 `(("pkg-config" ,pkg-config)))
1832 (home-page "https://github.com/brummer10/jalv_select")
1833 (synopsis "GUI to select LV2 plugins and run them with jalv")
1834 (description
1835 "The jalv.select package provides a graphical user interface allowing
1836 users to select LV2 plugins and run them with jalv.")
1837 (license license:public-domain)))
1838
1839 (define-public synthv1
1840 (package
1841 (name "synthv1")
1842 (version "0.9.19")
1843 (source (origin
1844 (method url-fetch)
1845 (uri
1846 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1847 "/synthv1-" version ".tar.gz"))
1848 (sha256
1849 (base32
1850 "17sizhav01mn07gi812n8wqdcr85290zqg609s18cww2b95dy6mn"))))
1851 (build-system gnu-build-system)
1852 (arguments
1853 `(#:tests? #f)) ; there are no tests
1854 (inputs
1855 `(("jack" ,jack-1)
1856 ("lv2" ,lv2)
1857 ("alsa-lib" ,alsa-lib)
1858 ("non-session-manager" ,non-session-manager)
1859 ("liblo" ,liblo)
1860 ("qtbase" ,qtbase)))
1861 (native-inputs
1862 `(("pkg-config" ,pkg-config)
1863 ("qttools" ,qttools)))
1864 (home-page "https://synthv1.sourceforge.io")
1865 (synopsis "Polyphonic subtractive synthesizer")
1866 (description
1867 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1868 oscillators and stereo effects.")
1869 (license license:gpl2+)))
1870
1871 (define-public drumkv1
1872 (package
1873 (name "drumkv1")
1874 (version "0.9.19")
1875 (source (origin
1876 (method url-fetch)
1877 (uri
1878 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
1879 "/drumkv1-" version ".tar.gz"))
1880 (sha256
1881 (base32
1882 "0w9frc634yg2m0yc84szdf6x7l4f19pcviqpg065a1kdixf98qrf"))))
1883 (build-system gnu-build-system)
1884 (arguments
1885 `(#:tests? #f)) ; there are no tests
1886 (inputs
1887 `(("jack" ,jack-1)
1888 ("lv2" ,lv2)
1889 ("libsndfile" ,libsndfile)
1890 ("alsa-lib" ,alsa-lib)
1891 ("non-session-manager" ,non-session-manager)
1892 ("liblo" ,liblo)
1893 ("qtbase" ,qtbase)))
1894 (native-inputs
1895 `(("pkg-config" ,pkg-config)
1896 ("qttools" ,qttools)))
1897 (home-page "https://drumkv1.sourceforge.io")
1898 (synopsis "Drum-kit sampler synthesizer with stereo effects")
1899 (description
1900 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
1901 effects.")
1902 (license license:gpl2+)))
1903
1904 (define-public samplv1
1905 (package
1906 (name "samplv1")
1907 (version "0.9.19")
1908 (source (origin
1909 (method url-fetch)
1910 (uri
1911 (string-append "mirror://sourceforge/samplv1/samplv1/" version
1912 "/samplv1-" version ".tar.gz"))
1913 (sha256
1914 (base32
1915 "1fwvk83sfvp1k6qyqv1a7a1l8sbm6azcldaiiqa3ls1vhl4m5wv4"))))
1916 (build-system gnu-build-system)
1917 (arguments
1918 `(#:tests? #f)) ; there are no tests
1919 (inputs
1920 `(("jack" ,jack-1)
1921 ("lv2" ,lv2)
1922 ("libsndfile" ,libsndfile)
1923 ("alsa-lib" ,alsa-lib)
1924 ("non-session-manager" ,non-session-manager)
1925 ("liblo" ,liblo)
1926 ("qtbase" ,qtbase)))
1927 (native-inputs
1928 `(("pkg-config" ,pkg-config)
1929 ("qttools" ,qttools)))
1930 (home-page "https://samplv1.sourceforge.io")
1931 (synopsis "Polyphonic sampler synthesizer with stereo effects")
1932 (description
1933 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
1934 effects.")
1935 (license license:gpl2+)))
1936
1937 (define-public padthv1
1938 (package
1939 (name "padthv1")
1940 (version "0.9.19")
1941 (source (origin
1942 (method url-fetch)
1943 (uri
1944 (string-append "mirror://sourceforge/padthv1/padthv1/" version
1945 "/padthv1-" version ".tar.gz"))
1946 (sha256
1947 (base32
1948 "06fkrc4xxzr3sa3c76lnkcm4q9k0xl5993bn60la0ja4sz2kp6r7"))))
1949 (build-system gnu-build-system)
1950 (arguments
1951 `(#:tests? #f)) ; there are no tests
1952 (inputs
1953 `(("jack" ,jack-1)
1954 ("lv2" ,lv2)
1955 ("alsa-lib" ,alsa-lib)
1956 ("non-session-manager" ,non-session-manager)
1957 ("liblo" ,liblo)
1958 ("fftwf" ,fftwf)
1959 ("qtbase" ,qtbase)))
1960 (native-inputs
1961 `(("pkg-config" ,pkg-config)
1962 ("qttools" ,qttools)))
1963 (home-page "https://padthv1.sourceforge.io")
1964 (synopsis "Polyphonic additive synthesizer")
1965 (description
1966 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
1967 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
1968 special variant of additive synthesis.")
1969 (license license:gpl2+)))
1970
1971 (define-public amsynth
1972 (package
1973 (name "amsynth")
1974 (version "1.7.1")
1975 (source
1976 (origin
1977 (method url-fetch)
1978 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
1979 "download/release-" version
1980 "/amsynth-" version ".tar.bz2"))
1981 (sha256
1982 (base32
1983 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
1984 (build-system gnu-build-system)
1985 (arguments
1986 `(#:phases
1987 (modify-phases %standard-phases
1988 (add-after 'unpack 'patch-file-names
1989 (lambda _
1990 (substitute* "src/GUI/editor_pane.c"
1991 (("/usr/bin/unzip") (which "unzip")))
1992 (substitute* "src/GUI/GUI.cc"
1993 (("/usr/bin/which") (which "which")))
1994 #t)))))
1995 (inputs
1996 `(("alsa-lib" ,alsa-lib)
1997 ("gtk+" ,gtk+-2)
1998 ("gtkmm" ,gtkmm-2)
1999 ("jack" ,jack-1)
2000 ("lash" ,lash)
2001 ("libsndfile" ,libsndfile)
2002 ("lv2" ,lv2)
2003 ;; External commands invoked at run time.
2004 ("unzip" ,unzip)
2005 ("which" ,which)))
2006 (native-inputs
2007 `(("intltool" ,intltool)
2008 ("pkg-config" ,pkg-config)))
2009 (home-page "https://amsynth.github.io")
2010 (synopsis "Analog modeling synthesizer")
2011 (description
2012 "amsynth is an easy-to-use software synthesizer with a classic
2013 subtractive synthesizer topology. Its features include: dual
2014 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
2015 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
2016 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
2017 which can modulate the oscillators, filter, and amplitude; distortion and
2018 reverb effects.")
2019 (license license:gpl2+)))
2020
2021 (define-public setbfree
2022 (package
2023 (name "setbfree")
2024 (version "0.8.11")
2025 (source (origin
2026 (method git-fetch)
2027 (uri (git-reference
2028 (url "https://github.com/pantherb/setBfree")
2029 (commit (string-append "v" version))))
2030 (file-name (git-file-name name version))
2031 (sha256
2032 (base32
2033 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
2034 (build-system gnu-build-system)
2035 (arguments
2036 `(#:tests? #f ; no "check" target
2037 #:make-flags
2038 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2039 (string-append "FONTFILE="
2040 (assoc-ref %build-inputs "font-bitstream-vera")
2041 "/share/fonts/truetype/VeraBd.ttf")
2042 ;; Disable unsupported optimization flags on non-x86
2043 ,@(let ((system (or (%current-target-system)
2044 (%current-system))))
2045 (if (or (string-prefix? "x86_64" system)
2046 (string-prefix? "i686" system))
2047 '()
2048 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
2049 #:phases
2050 (modify-phases %standard-phases
2051 (add-before 'build 'set-CC-variable
2052 (lambda _ (setenv "CC" "gcc") #t))
2053 (delete 'configure))))
2054 (inputs
2055 `(("jack" ,jack-1)
2056 ("lv2" ,lv2)
2057 ("zita-convolver" ,zita-convolver)
2058 ("glu" ,glu)
2059 ("ftgl" ,ftgl)
2060 ("font-bitstream-vera" ,font-bitstream-vera)))
2061 (native-inputs
2062 `(("help2man" ,help2man)
2063 ("pkg-config" ,pkg-config)))
2064 (home-page "http://setbfree.org")
2065 (synopsis "Tonewheel organ")
2066 (description
2067 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
2068 the sound and properties of the electromechanical organs and sound
2069 modification devices that brought world-wide fame to the names and products of
2070 Laurens Hammond and Don Leslie.")
2071 (license license:gpl2+)))
2072
2073 (define-public beast
2074 (package
2075 (name "beast")
2076 (version "0.10.0")
2077 (source (origin
2078 (method url-fetch)
2079 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
2080 version ".tar.xz"))
2081 (sha256
2082 (base32
2083 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
2084 (build-system gnu-build-system)
2085 (arguments
2086 '(#:parallel-build? #f)) ; Race conditions cause build failures
2087 (inputs
2088 `(("rapicorn" ,rapicorn)
2089 ("guile" ,guile-1.8)
2090 ("python" ,python-2)
2091 ("libgnomecanvas" ,libgnomecanvas)
2092 ("libogg" ,libogg)
2093 ("libmad" ,libmad)
2094 ("flac" ,flac)
2095 ("alsa-lib" ,alsa-lib)
2096 ("libvorbis" ,libvorbis)
2097 ("gettext" ,gettext-minimal)))
2098 (native-inputs
2099 `(("pkg-config" ,pkg-config)
2100 ("glib:bin" ,glib "bin")
2101 ("cython" ,python2-cython)
2102 ("perl" ,perl)
2103 ("perl-xml-parser" ,perl-xml-parser)))
2104 (home-page "https://testbit.eu/wiki/Beast_Home")
2105 (synopsis "Music composition and modular synthesis environment")
2106 (description
2107 "Beast is a music composition and modular synthesis application. It
2108 supports a wide range of standards in the field, such as MIDI, various audio
2109 file formats and LADSPA modules. It allows for multitrack editing, real-time
2110 synthesis, 32bit audio rendering, precise timing down to sample granularity,
2111 on-demand and partial loading of wave files, on the fly decoding, stereo
2112 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
2113 (license license:gpl3+)))
2114
2115 (define-public bristol
2116 (package
2117 (name "bristol")
2118 (version "0.60.11")
2119 (source (origin
2120 (method url-fetch)
2121 (uri (string-append "mirror://sourceforge/bristol/bristol/"
2122 (version-major+minor version)
2123 "/bristol-" version ".tar.gz"))
2124 (sha256
2125 (base32
2126 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
2127 (build-system gnu-build-system)
2128 (arguments
2129 `(#:phases
2130 (modify-phases %standard-phases
2131 (add-after 'unpack 'remove-sse-flags
2132 (lambda* (#:key system #:allow-other-keys)
2133 (when (not (or (string-prefix? "x86_64" system)
2134 (string-prefix? "i686" system)))
2135 (substitute* "bristol/Makefile.in"
2136 (("-msse -mfpmath=sse") "")))
2137 #t))
2138 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
2139 ;; bristol actually doesn't use it.
2140 (add-after 'unpack 'do-not-use-alsa-iatomic
2141 (lambda _
2142 (substitute* "libbristolaudio/audioEngineJack.c"
2143 (("#include <alsa/iatomic.h>") ""))
2144 #t))
2145 ;; We know that Bristol has been linked with JACK and we don't have
2146 ;; ldd, so we can just skip this check.
2147 (add-after 'unpack 'do-not-grep-for-jack
2148 (lambda _
2149 (substitute* "bin/startBristol.in"
2150 (("ldd `which bristol` | grep jack") "echo guix"))
2151 #t)))))
2152 (inputs
2153 `(("alsa-lib" ,alsa-lib)
2154 ("jack" ,jack-1)
2155 ("liblo" ,liblo)
2156 ("libx11" ,libx11)))
2157 (native-inputs
2158 `(("pkg-config" ,pkg-config)))
2159 (home-page "http://bristol.sourceforge.net/")
2160 (synopsis "Synthesizer emulator")
2161 (description
2162 "Bristol is an emulation package for a number of different @code{classic}
2163 synthesizers including additive and subtractive and a few organs. The
2164 application consists of the engine, which is called bristol, and its own GUI
2165 library called brighton that represents all the emulations. There are
2166 currently more than twenty different emulations; each does sound different
2167 although the author maintains that the quality and accuracy of each emulation
2168 is subjective.")
2169 (license license:gpl3+)))
2170
2171 (define-public tuxguitar
2172 (package
2173 (name "tuxguitar")
2174 (version "1.5.4")
2175 (source (origin
2176 (method url-fetch)
2177 (uri (string-append
2178 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
2179 version "/tuxguitar-" version "-src.tar.gz"))
2180 (sha256
2181 (base32
2182 "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg"))))
2183 (build-system ant-build-system)
2184 (arguments
2185 `(#:build-target "build"
2186 #:jdk ,icedtea-8
2187 #:tests? #f ; no tests
2188 #:phases
2189 (modify-phases %standard-phases
2190 (replace 'build
2191 (lambda* (#:key inputs outputs #:allow-other-keys)
2192 (let* ((initial-classpath (getenv "CLASSPATH"))
2193 (build-dir (lambda (dir)
2194 (setenv
2195 "CLASSPATH"
2196 (string-join (cons initial-classpath
2197 (find-files (getcwd) "\\.jar$"))
2198 ":"))
2199 (with-directory-excursion dir
2200 (if (file-exists? "build.xml")
2201 ((assoc-ref %standard-phases 'build)
2202 #:build-target "build")
2203 (begin
2204 ;; Generate default build.xml.
2205 ((@@ (guix build ant-build-system)
2206 default-build.xml)
2207 (string-append (string-downcase dir) ".jar")
2208 (string-append (assoc-ref outputs "out")
2209 "/share/java"))
2210 ((assoc-ref %standard-phases 'build))))))))
2211 (map build-dir '("TuxGuitar-lib"
2212 "TuxGuitar-editor-utils"
2213 "TuxGuitar-ui-toolkit"
2214 "TuxGuitar-ui-toolkit-swt"
2215 "TuxGuitar-viewer"
2216 "TuxGuitar"
2217 "TuxGuitar-gm-utils"
2218 "TuxGuitar-alsa"
2219 "TuxGuitar-midi"
2220 "TuxGuitar-midi-ui"))
2221 #t)))
2222 (add-after 'build 'build-jni
2223 (lambda _
2224 (setenv "CC" "gcc")
2225 (setenv "CFLAGS" (string-append
2226 "-fpic -I"
2227 (getcwd)
2228 "/build-scripts/native-modules/common-include"))
2229 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
2230 (replace 'install
2231 (lambda* (#:key inputs outputs #:allow-other-keys)
2232 (let* ((out (assoc-ref outputs "out"))
2233 (bin (string-append out "/bin"))
2234 (share (string-append out "/share"))
2235 (jni-lib (string-append out "/lib"))
2236 (lib (string-append share "/java"))
2237 (swt (assoc-ref inputs "java-swt"))
2238 (mime (string-append share "/mime/packages"))
2239 (app (string-append share "/applications"))
2240 (man (string-append share "/man/man1")))
2241
2242 (mkdir-p bin)
2243 ;; Install all jars.
2244 (for-each (lambda (file)
2245 (install-file file lib))
2246 (find-files "." "\\.jar$"))
2247
2248 ;; Install jni libraries
2249 (for-each (lambda (file)
2250 (install-file file jni-lib))
2251 (find-files "." "\\-jni.so$"))
2252
2253 ;; Install all resources.
2254 (copy-recursively "./TuxGuitar/share" share)
2255
2256 ;; Install desktop and mime files
2257 (install-file "./misc/tuxguitar.xml" mime)
2258 (install-file "./misc/tuxguitar.desktop" app)
2259
2260 ;; Install manaual
2261 (install-file "./misc/tuxguitar.1" man)
2262
2263 ;; Create wrapper.
2264 (call-with-output-file (string-append bin "/tuxguitar")
2265 (lambda (port)
2266 (let ((classpath (string-join (append (find-files lib "\\.jar$")
2267 (find-files swt "\\.jar$"))
2268 ":")))
2269 (format
2270 port
2271 (string-append "#!/bin/sh\n"
2272 (which "java")
2273 " -cp " classpath
2274 " -Dtuxguitar.home.path=" out
2275 " -Dtuxguitar.share.path=" out "/share"
2276 " -Dswt.library.path=" swt "/lib"
2277 " -Djava.library.path=" out "/lib"
2278 " org.herac.tuxguitar.app.TGMainSingleton"
2279 " \"$1\" \"$2\"")))))
2280 (chmod (string-append bin "/tuxguitar") #o555)
2281 #t))))))
2282 (inputs
2283 `(("alsa-lib" ,alsa-lib)
2284 ("java-swt" ,java-swt)))
2285 (home-page "http://tuxguitar.com.ar/")
2286 (synopsis "Multitrack tablature editor and player")
2287 (description
2288 "TuxGuitar is a guitar tablature editor with player support through midi.
2289 It can display scores and multitrack tabs. TuxGuitar provides various
2290 additional features, including autoscrolling while playing, note duration
2291 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
2292 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
2293 export.")
2294 (license license:lgpl2.1+)))
2295
2296 (define-public pd
2297 (package
2298 (name "pd")
2299 (version "0.51-4")
2300 (source (origin
2301 (method url-fetch)
2302 (uri
2303 (string-append "http://msp.ucsd.edu/Software/pd-"
2304 version ".src.tar.gz"))
2305 (sha256
2306 (base32
2307 "1hgw1ciwr59f4f9s0h7c2l36wcsn3jsddhr1r9qj97vf64c1ynaj"))))
2308 (build-system gnu-build-system)
2309 (arguments
2310 (let ((wish (string-append "wish" (version-major+minor
2311 (package-version tk)))))
2312 `(#:tests? #f ; no "check" target
2313 #:configure-flags
2314 (list
2315 "--enable-jack"
2316 (string-append "--with-wish=" (string-append
2317 (assoc-ref %build-inputs "tk")
2318 "/bin/" ,wish)))
2319 #:phases
2320 (modify-phases %standard-phases
2321 (add-before 'configure 'fix-with-path
2322 (lambda _
2323 (substitute* "tcl/pd-gui.tcl"
2324 (("exec wish ") (string-append "exec " (which ,wish) " ")))
2325 #t))))))
2326 (native-inputs
2327 `(("autoconf" ,autoconf)
2328 ("automake" ,automake)
2329 ("libtool" ,libtool)
2330 ("gettext" ,gettext-minimal)
2331 ("pkg-config" ,pkg-config)))
2332 (inputs
2333 `(("tk" ,tk)
2334 ("alsa-lib" ,alsa-lib)
2335 ("jack" ,jack-1)))
2336 (home-page "https://puredata.info")
2337 (synopsis "Visual programming language for artistic performances")
2338 (description
2339 "Pure Data (aka Pd) is a visual programming language. Pd enables
2340 musicians, visual artists, performers, researchers, and developers to create
2341 software graphically, without writing lines of code. Pd is used to process
2342 and generate sound, video, 2D/3D graphics, and interface sensors, input
2343 devices, and MIDI. Pd can easily work over local and remote networks to
2344 integrate wearable technology, motor systems, lighting rigs, and other
2345 equipment. Pd is suitable for learning basic multimedia processing and visual
2346 programming methods as well as for realizing complex systems for large-scale
2347 projects.")
2348 (license license:bsd-3)))
2349
2350 (define-public libpd
2351 (package
2352 (name "libpd")
2353 (version "0.11.0")
2354 (source (origin
2355 (method git-fetch)
2356 (uri (git-reference
2357 (url "https://github.com/libpd/libpd")
2358 (commit version)
2359 (recursive? #t))) ; for the 'pure-data' submodule
2360 (file-name (string-append name "-" version "-checkout"))
2361 (sha256
2362 (base32
2363 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
2364 (build-system gnu-build-system)
2365 (arguments
2366 '(#:tests? #f ; no tests
2367 #:make-flags '("CC=gcc")
2368 #:phases
2369 (modify-phases %standard-phases
2370 (delete 'configure) ; no configure script
2371 (replace 'install
2372 (lambda* (#:key outputs #:allow-other-keys)
2373 (let ((out (assoc-ref outputs "out")))
2374 (invoke "make" "install"
2375 (string-append "prefix=" out)
2376 ;; XXX: Fix the last 2 lines of 'install' target.
2377 "LIBPD_IMPLIB=NO"
2378 "LIBPD_DEF=NO")))))))
2379 (home-page "http://libpd.cc/")
2380 (synopsis "Pure Data as an embeddable audio synthesis library")
2381 (description
2382 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
2383 main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
2384 (license license:bsd-3)))
2385
2386 (define-public portmidi
2387 (package
2388 (name "portmidi")
2389 (version "217")
2390 (source (origin
2391 (method url-fetch)
2392 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
2393 version "/portmidi-src-" version ".zip"))
2394 (sha256
2395 (base32
2396 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
2397 (patches (list (search-patch "portmidi-modular-build.patch")))))
2398 (build-system cmake-build-system)
2399 (arguments
2400 `(#:tests? #f ; tests cannot be linked
2401 #:build-type "Release" ; needed to have PMALSA set
2402 #:configure-flags
2403 (list "-DPORTMIDI_ENABLE_JAVA=Off"
2404 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
2405 #:phases
2406 (modify-phases %standard-phases
2407 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
2408 ;; "libportmidi.so". Distributions get away with it by creating an
2409 ;; appropriate symlink.
2410 (add-after 'install 'add-porttime
2411 (lambda* (#:key outputs #:allow-other-keys)
2412 (let* ((out (assoc-ref outputs "out"))
2413 (lib (string-append out "/lib")))
2414 (with-directory-excursion lib
2415 (symlink "libportmidi.so" "libporttime.so")))))
2416 (add-after 'install 'install-pkg-config
2417 (lambda* (#:key outputs #:allow-other-keys)
2418 (let* ((out (assoc-ref outputs "out"))
2419 (pkg-config-dir (string-append out "/lib/pkgconfig")))
2420 (mkdir-p pkg-config-dir)
2421 (with-output-to-file (string-append pkg-config-dir "/portmidi.pc")
2422 (lambda _
2423 (format #t
2424 "prefix=~@*~a~@
2425 libdir=${prefix}/lib~@
2426 includedir=${prefix}/include~@
2427
2428 Name: portmidi~@
2429 Description:~@
2430 Version: ~a~@
2431 Libs: -L${libdir} -lportmidi~@
2432 Cflags: -I${includedir}~%"
2433 out ,version)))))))))
2434 (inputs
2435 `(("alsa-lib" ,alsa-lib)))
2436 (native-inputs
2437 `(("unzip" ,unzip)))
2438 (home-page "http://portmedia.sourceforge.net/portmidi/")
2439 (synopsis "Library for MIDI I/O")
2440 (description
2441 "PortMidi is a library supporting real-time input and output of MIDI data
2442 using a system-independent interface.")
2443 (license license:expat)))
2444
2445 (define-public python-pyportmidi
2446 (package
2447 (name "python-pyportmidi")
2448 (version (package-version portmidi))
2449 (source (package-source portmidi))
2450 (build-system python-build-system)
2451 (arguments
2452 `(#:tests? #f ; no tests included
2453 #:phases
2454 (modify-phases %standard-phases
2455 (add-after 'unpack 'enter-dir
2456 (lambda _ (chdir "pm_python") #t))
2457 (add-after 'enter-dir 'fix-setup.py
2458 (lambda _
2459 (substitute* "setup.py"
2460 ;; Use Python 3 syntax
2461 (("print (\".*\")" _ text)
2462 (string-append "print(" text ")\n"))
2463 ;; TODO.txt and CHANGES.txt don't exist
2464 (("CHANGES =.*") "CHANGES = \"\"\n")
2465 (("TODO =.*") "TODO = \"\"\n"))
2466 #t)))))
2467 (inputs
2468 `(("portmidi" ,portmidi)
2469 ("alsa-lib" ,alsa-lib)))
2470 (native-inputs
2471 `(("python-cython" ,python-cython)
2472 ("unzip" ,unzip)))
2473 (home-page "http://portmedia.sourceforge.net/portmidi/")
2474 (synopsis "Python bindings to PortMidi")
2475 (description
2476 "This package provides Python bindings to the PortMidi library.")
2477 (license license:expat)))
2478
2479 (define-public frescobaldi
2480 (package
2481 (name "frescobaldi")
2482 (version "3.1.3")
2483 (source
2484 (origin
2485 (method url-fetch)
2486 (uri (string-append
2487 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2488 version "/frescobaldi-" version ".tar.gz"))
2489 (sha256
2490 (base32 "1hg9yc8kj445fjsby92g3qf50crcl1pb079zfma18sb7ycv50zww"))))
2491 (build-system python-build-system)
2492 (arguments
2493 `(#:tests? #f)) ;no tests included
2494 (inputs
2495 `(("lilypond" ,lilypond)
2496 ("poppler" ,poppler)
2497 ("portmidi" ,portmidi)
2498 ("python-ly" ,python-ly)
2499 ("python-poppler-qt5" ,python-poppler-qt5)
2500 ("python-pyportmidi" ,python-pyportmidi)
2501 ("python-pyqt" ,python-pyqt)
2502 ("python-sip" ,python-sip)))
2503 (home-page "https://www.frescobaldi.org/")
2504 (synopsis "LilyPond sheet music text editor")
2505 (description
2506 "Frescobaldi is a LilyPond sheet music text editor with syntax
2507 highlighting and automatic completion. Among other things, it can render
2508 scores next to the source, can capture input from MIDI or read MusicXML and
2509 ABC files, has a MIDI player for proof-listening, and includes a documentation
2510 browser.")
2511 (license license:gpl2+)))
2512
2513 (define-public drumstick
2514 (package
2515 (name "drumstick")
2516 (version "2.0.0")
2517 (source (origin
2518 (method url-fetch)
2519 (uri (string-append "mirror://sourceforge/drumstick/"
2520 version "/drumstick-" version ".tar.bz2"))
2521 (sha256
2522 (base32
2523 "088j0w3kr9i4lh78y0js0q8adlfzkr89xq2dxc8y3bafsgihax1x"))))
2524 (build-system cmake-build-system)
2525 (arguments
2526 `(#:tests? #f ; no test target
2527 #:configure-flags '("-DLIB_SUFFIX=")
2528 #:phases
2529 (modify-phases %standard-phases
2530 (add-before 'configure 'fix-docbook
2531 (lambda* (#:key inputs #:allow-other-keys)
2532 (substitute* "cmake_admin/CreateManpages.cmake"
2533 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2534 (string-append (assoc-ref inputs "docbook-xsl")
2535 "/xml/xsl/docbook-xsl-"
2536 ,(package-version docbook-xsl)
2537 "/manpages/docbook.xsl")))
2538 #t)))))
2539 (inputs
2540 `(("qtbase" ,qtbase)
2541 ("qtsvg" ,qtsvg)
2542 ("qttools" ,qttools)
2543 ("alsa-lib" ,alsa-lib)))
2544 (native-inputs
2545 `(("pkg-config" ,pkg-config)
2546 ("libxslt" ,libxslt) ; for xsltproc
2547 ("docbook-xsl" ,docbook-xsl)
2548 ("doxygen" ,doxygen)
2549 ("graphviz" ,graphviz))) ; for dot
2550 (home-page "http://drumstick.sourceforge.net/")
2551 (synopsis "C++ MIDI library")
2552 (description
2553 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2554 includes a C++ wrapper around the ALSA library sequencer interface. A
2555 complementary library provides classes for processing SMF (Standard MIDI
2556 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2557 multiplatform realtime MIDI I/O library is also provided with various output
2558 backends, including ALSA, OSS, Network and FluidSynth.")
2559 (license license:gpl2+)))
2560
2561 (define-public vmpk
2562 (package
2563 (name "vmpk")
2564 (version "0.8.0")
2565 (source (origin
2566 (method url-fetch)
2567 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2568 version "/vmpk-" version ".tar.bz2"))
2569 (sha256
2570 (base32
2571 "0wn45c4sbvan7schq93zmsgg5fcf144mbbawxn5kq699vrbc3473"))))
2572 (build-system cmake-build-system)
2573 (arguments
2574 `(#:tests? #f ; no test target
2575 #:phases
2576 (modify-phases %standard-phases
2577 (add-before 'configure 'fix-docbook
2578 (lambda* (#:key inputs #:allow-other-keys)
2579 (substitute* "cmake_admin/CreateManpages.cmake"
2580 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2581 (string-append (assoc-ref inputs "docbook-xsl")
2582 "/xml/xsl/docbook-xsl-"
2583 ,(package-version docbook-xsl)
2584 "/manpages/docbook.xsl")))
2585 #t)))))
2586 (inputs
2587 `(("drumstick" ,drumstick)
2588 ("qtbase" ,qtbase)
2589 ("qtsvg" ,qtsvg)
2590 ("qtx11extras" ,qtx11extras)))
2591 (native-inputs
2592 `(("libxslt" ,libxslt) ;for xsltproc
2593 ("docbook-xsl" ,docbook-xsl)
2594 ("qttools" ,qttools)
2595 ("pkg-config" ,pkg-config)))
2596 (home-page "https://vmpk.sourceforge.io/")
2597 (synopsis "Virtual MIDI piano keyboard")
2598 (description
2599 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2600 doesn't produce any sound by itself, but can be used to drive a MIDI
2601 synthesizer (either hardware or software, internal or external). You can use
2602 the computer's keyboard to play MIDI notes, and also the mouse. You can use
2603 the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2604 instrument or MIDI file player.")
2605 (license license:gpl3+)))
2606
2607 (define-public zynaddsubfx
2608 (package
2609 (name "zynaddsubfx")
2610 (version "3.0.5")
2611 (source (origin
2612 (method url-fetch)
2613 (uri (string-append
2614 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
2615 version "/zynaddsubfx-" version ".tar.bz2"))
2616 (sha256
2617 (base32
2618 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
2619 (build-system cmake-build-system)
2620 (arguments
2621 `(#:phases
2622 (modify-phases %standard-phases
2623 ;; Move SSE compiler optimization flags from generic target to
2624 ;; athlon64 and core2 targets, because otherwise the build would fail
2625 ;; on non-Intel machines.
2626 (add-after 'unpack 'remove-sse-flags-from-generic-target
2627 (lambda _
2628 (substitute* "src/CMakeLists.txt"
2629 (("-msse -msse2 -mfpmath=sse") "")
2630 (("-march=(athlon64|core2)" flag)
2631 (string-append flag " -msse -msse2 -mfpmath=sse")))
2632 #t)))))
2633 (inputs
2634 `(("liblo" ,liblo)
2635 ("ntk" ,ntk)
2636 ("mesa" ,mesa)
2637 ("alsa-lib" ,alsa-lib)
2638 ("jack" ,jack-1)
2639 ("fftw" ,fftw)
2640 ("minixml" ,minixml)
2641 ("libxpm" ,libxpm)
2642 ("zlib" ,zlib)))
2643 (native-inputs
2644 `(("pkg-config" ,pkg-config)))
2645 (home-page "http://zynaddsubfx.sf.net/")
2646 (synopsis "Software synthesizer")
2647 (description
2648 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2649 three synthesizer engines, multitimbral and polyphonic synths, microtonal
2650 capabilities, custom envelopes, effects, etc.")
2651 (license license:gpl2)))
2652
2653 (define-public yoshimi
2654 (package
2655 (name "yoshimi")
2656 (version "1.7.4")
2657 (source
2658 (origin
2659 (method url-fetch)
2660 (uri (string-append "mirror://sourceforge/yoshimi/"
2661 (version-major+minor version)
2662 "/yoshimi-" version ".tar.bz2"))
2663 (sha256
2664 (base32 "0lxfqj4p4njww3n0wa6yfj38zfls16y3wszd47gvc5asmqyg5vjd"))))
2665 (build-system cmake-build-system)
2666 (arguments
2667 `(#:tests? #f ; there are no tests
2668 #:configure-flags
2669 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2670 (assoc-ref %outputs "out") "/share"))
2671 #:phases
2672 (modify-phases %standard-phases
2673 (add-before 'configure 'enter-dir
2674 (lambda _ (chdir "src") #t))
2675 ;; Move SSE compiler optimization flags from generic target to
2676 ;; athlon64 and core2 targets, because otherwise the build would fail
2677 ;; on non-Intel machines.
2678 (add-after 'unpack 'remove-sse-flags-from-generic-target
2679 (lambda _
2680 (substitute* "src/CMakeLists.txt"
2681 (("-msse -msse2 -mfpmath=sse") "")
2682 (("-march=(athlon64|core2)" flag)
2683 (string-append flag " -msse -msse2 -mfpmath=sse")))
2684 #t)))))
2685 (inputs
2686 `(("boost" ,boost)
2687 ("fftwf" ,fftwf)
2688 ("alsa-lib" ,alsa-lib)
2689 ("jack" ,jack-1)
2690 ("fontconfig" ,fontconfig)
2691 ("minixml" ,minixml)
2692 ("mesa" ,mesa)
2693 ("fltk" ,fltk)
2694 ("lv2" ,lv2)
2695 ("readline" ,readline)
2696 ("ncurses" ,ncurses)
2697 ("cairo" ,cairo)
2698 ("zlib" ,zlib)))
2699 (native-inputs
2700 `(("pkg-config" ,pkg-config)))
2701 (home-page "http://yoshimi.sourceforge.net/")
2702 (synopsis "Multi-paradigm software synthesizer")
2703 (description
2704 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2705 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2706 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2707 improves on support for JACK features, such as JACK MIDI.")
2708 (license license:gpl2)))
2709
2710 (define-public libgig
2711 (package
2712 (name "libgig")
2713 (version "4.2.0")
2714 (source (origin
2715 (method url-fetch)
2716 (uri (string-append "http://download.linuxsampler.org/packages/"
2717 "libgig-" version ".tar.bz2"))
2718 (sha256
2719 (base32
2720 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
2721 (build-system gnu-build-system)
2722 (inputs
2723 `(("libuuid" ,util-linux "lib")
2724 ("libsndfile" ,libsndfile)))
2725 (native-inputs
2726 `(("pkg-config" ,pkg-config)))
2727 (home-page "https://linuxsampler.org/libgig/")
2728 (synopsis "C++ library for working with Gigasampler (.gig) files")
2729 (description
2730 "Libgig is a C++ library for loading, modifying existing and creating new
2731 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2732 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2733 AKAI sampler data. The package includes a couple of command line tools based
2734 on the library.")
2735 ;; The library and tools are released under the GPL, except the AKAI
2736 ;; classes which are released under the LGPL.
2737 (license (list license:gpl2+ license:lgpl2.1+))))
2738
2739 (define-public jack-keyboard
2740 (package
2741 (name "jack-keyboard")
2742 (version "2.5")
2743 (source
2744 (origin
2745 (method url-fetch)
2746 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2747 version "/jack-keyboard-" version ".tar.gz"))
2748 (sha256
2749 (base32
2750 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2751 (build-system gnu-build-system)
2752 (inputs
2753 `(("jack" ,jack-1)
2754 ("lash" ,lash)
2755 ("gtk+" ,gtk+-2)))
2756 (native-inputs
2757 `(("pkg-config" ,pkg-config)))
2758 (home-page "http://jack-keyboard.sourceforge.net/")
2759 (synopsis "Virtual MIDI keyboard")
2760 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2761 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2762 (license license:bsd-2)))
2763
2764 (define-public jack-capture
2765 (package
2766 (name "jack-capture")
2767 (version "0.9.73")
2768 (source (origin
2769 (method git-fetch)
2770 (uri (git-reference
2771 (url "https://github.com/kmatheussen/jack_capture")
2772 (commit version)))
2773 (file-name (string-append name "-" version "-checkout"))
2774 (sha256
2775 (base32
2776 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2777 (build-system gnu-build-system)
2778 (arguments
2779 `(#:make-flags
2780 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2781 #:tests? #f ; there are none
2782 #:phases
2783 (modify-phases %standard-phases
2784 (delete 'configure))))
2785 (native-inputs
2786 `(("pkg-config" ,pkg-config)
2787 ("which" ,which)))
2788 (inputs
2789 `(("gtk+" ,gtk+-2)
2790 ("jack" ,jack-1)
2791 ("libogg" ,libogg)
2792 ("liblo" ,liblo)
2793 ("lame" ,lame)
2794 ("libsndfile" ,libsndfile)))
2795 (home-page "https://github.com/kmatheussen/jack_capture")
2796 (synopsis "Program for recording sound files with JACK")
2797 (description "This is a program for recording sound files with JACK. It
2798 can connect to any JACK port and record the output into a stereo WAV file.")
2799 (license license:gpl2+)))
2800
2801 (define-public jack-select
2802 (package
2803 (name "jack-select")
2804 (version "1.5.0")
2805 (source (origin
2806 (method url-fetch)
2807 (uri (pypi-uri "jack-select" version))
2808 (sha256
2809 (base32
2810 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
2811 (build-system gnu-build-system)
2812 (arguments
2813 `(#:modules ((guix build gnu-build-system)
2814 ((guix build python-build-system) #:prefix python:)
2815 (guix build utils))
2816 #:imported-modules (,@%gnu-build-system-modules
2817 (guix build python-build-system))
2818 #:make-flags
2819 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2820 #:tests? #f ; there are none
2821 #:phases
2822 (modify-phases %standard-phases
2823 (replace 'configure
2824 (lambda* (#:key inputs #:allow-other-keys)
2825 ;; python-dbus cannot be found but it's really there. See
2826 ;; https://github.com/SpotlightKid/jack-select/issues/2
2827 (substitute* "setup.py"
2828 (("'dbus-python',") ""))
2829 ;; Fix reference to dlopened libraries.
2830 (substitute* "jackselect/alsainfo.py"
2831 (("libasound.so.2")
2832 (string-append (assoc-ref inputs "alsa-lib")
2833 "/lib/libasound.so.2")))
2834 #t))
2835 (replace 'build
2836 (assoc-ref python:%standard-phases 'build))
2837 (add-after 'install 'wrap
2838 (assoc-ref python:%standard-phases 'wrap)))))
2839 (native-inputs
2840 `(("pkg-config" ,pkg-config)))
2841 (inputs
2842 `(("alsa-lib" ,alsa-lib)
2843 ("python" ,python-wrapper)
2844 ("python-pyudev" ,python-pyudev)
2845 ("python-pyxdg" ,python-pyxdg)
2846 ("python-dbus" ,python-dbus)
2847 ("python-pygobject" ,python-pygobject)))
2848 (home-page "https://github.com/SpotlightKid/jack-select")
2849 (synopsis "Systray application to quickly change the JACK-DBus configuration")
2850 (description "This application displays an icon in the system tray (also
2851 known as notification area) of your desktop, which shows the status of the
2852 JACK audio server and when you click on it, a menu pops up, which lets you
2853 quickly select from the JACK configuration presets you created with QjackCtl.
2854 When you select a preset, its JACK engine and driver configuration settings
2855 are loaded via DBus into JACK and then the server is restarted. This allows
2856 you to switch between different audio setups with just two mouse clicks.")
2857 (license license:expat)))
2858
2859 (define-public cursynth
2860 (package
2861 (name "cursynth")
2862 (version "1.5")
2863 (source
2864 (origin
2865 (method url-fetch)
2866 (uri (string-append "mirror://gnu/cursynth/cursynth-"
2867 version ".tar.gz"))
2868 (sha256
2869 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
2870 (patches (search-patches "cursynth-wave-rand.patch"))))
2871 (build-system gnu-build-system)
2872 (native-inputs `(("pkg-config" ,pkg-config)))
2873 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
2874 ;; prevents us from using pulseaudio
2875 (inputs `(("ncurses" ,ncurses)
2876 ("alsa" ,alsa-lib)))
2877 (home-page "https://www.gnu.org/software/cursynth/")
2878 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
2879 (description "GNU cursynth is a polyphonic synthesizer that runs
2880 graphically in the terminal. It is built on a full-featured subtractive
2881 synthesis engine. Notes and parameter changes may be entered via MIDI or the
2882 computer's keyboard.")
2883 (license license:gpl3+)))
2884
2885 (define-public aj-snapshot
2886 (package
2887 (name "aj-snapshot")
2888 (version "0.9.9")
2889 (source (origin
2890 (method url-fetch)
2891 (uri (string-append "mirror://sourceforge/aj-snapshot/"
2892 "aj-snapshot-" version ".tar.bz2"))
2893 (sha256
2894 (base32
2895 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
2896 (build-system gnu-build-system)
2897 (inputs
2898 `(("minixml" ,minixml)
2899 ("jack" ,jack-1)
2900 ("alsa-lib" ,alsa-lib)))
2901 (native-inputs
2902 `(("pkg-config" ,pkg-config)))
2903 (home-page "http://aj-snapshot.sourceforge.net/")
2904 (synopsis "Snapshot connections between ALSA and JACK clients")
2905 (description "Aj-snapshot is a small program that can be used to make
2906 snapshots of the connections made between JACK and/or ALSA clients. Because
2907 JACK can provide both audio and MIDI support to programs, aj-snapshot can
2908 store both types of connections for JACK. ALSA, on the other hand, only
2909 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
2910 from the command line.")
2911 (license license:gpl3+)))
2912
2913 (define-public qtractor
2914 (package
2915 (name "qtractor")
2916 (version "0.9.19")
2917 (source (origin
2918 (method url-fetch)
2919 (uri (string-append "https://downloads.sourceforge.net/qtractor/"
2920 "qtractor-" version ".tar.gz"))
2921 (sha256
2922 (base32
2923 "0gdr1hvda56vmv4998z9xcqsp7da6lplj00f217x9g2i2snyvkzp"))))
2924 (build-system gnu-build-system)
2925 (arguments
2926 `(#:tests? #f)) ; no "check" target
2927 (inputs
2928 `(("qt" ,qtbase)
2929 ("qtx11extras" ,qtx11extras)
2930 ("alsa-lib" ,alsa-lib)
2931 ("jack" ,jack-1)
2932 ("libsndfile" ,libsndfile)
2933 ("ladspa" ,ladspa)
2934 ("lv2" ,lv2)
2935 ("lilv" ,lilv)
2936 ("suil" ,suil)
2937 ("libsamplerate" ,libsamplerate)
2938 ("libvorbis" ,libvorbis)
2939 ("libmad" ,libmad)
2940 ("rubberband" ,rubberband)
2941 ("liblo" ,liblo)
2942 ("zlib" ,zlib)))
2943 (native-inputs
2944 `(("pkg-config" ,pkg-config)
2945 ("qttools" ,qttools)))
2946 (home-page "http://qtractor.org/")
2947 (synopsis "Audio/MIDI multi-track sequencer")
2948 (description
2949 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
2950 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
2951 follows a traditional multi-track tape recorder control paradigm.")
2952 (license license:gpl2+)))
2953
2954 (define-public ams-lv2
2955 (package
2956 (name "ams-lv2")
2957 (version "1.2.2")
2958 (source
2959 (origin
2960 (method git-fetch)
2961 (uri (git-reference
2962 (url "https://github.com/blablack/ams-lv2")
2963 (commit (string-append "v" version))))
2964 (file-name (git-file-name name version))
2965 (sha256
2966 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
2967 (build-system waf-build-system)
2968 (arguments
2969 `(#:phases
2970 (modify-phases %standard-phases
2971 (add-after 'unpack 'remove-sse-flags
2972 (lambda* (#:key system #:allow-other-keys)
2973 (unless (or (string-prefix? "x86_64" system)
2974 (string-prefix? "i686" system))
2975 (substitute* "wscript"
2976 (("'-msse', '-mfpmath=sse', ") "")))
2977 #t)))
2978 #:tests? #f)) ; no tests
2979 (inputs
2980 `(("cairo" ,cairo)
2981 ("fftw" ,fftw)
2982 ("gtk" ,gtk+-2)
2983 ("gtkmm" ,gtkmm-2)
2984 ("lv2" ,lv2)
2985 ("lvtk" ,lvtk)))
2986 (native-inputs
2987 `(("pkg-config" ,pkg-config)))
2988 (home-page "https://github.com/blablack/ams-lv2")
2989 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
2990 (description "This set of LV2 plugins is a port of the internal modules
2991 found in Alsa Modular Synth. These plugins are used to create modular
2992 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
2993 and hold, etc.")
2994 (license license:gpl2)))
2995
2996 (define-public gxtuner
2997 (package
2998 (name "gxtuner")
2999 (version "2.4")
3000 (source (origin
3001 (method git-fetch)
3002 (uri (git-reference
3003 (url "https://github.com/brummer10/gxtuner")
3004 (commit (string-append "v" version))))
3005 (file-name (git-file-name name version))
3006 (sha256
3007 (base32
3008 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
3009 (build-system gnu-build-system)
3010 (arguments
3011 `(#:make-flags
3012 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3013 (string-append "INCLUDE_L_DIR="
3014 (assoc-ref %build-inputs "zita-resampler")
3015 "/include/"))
3016 #:phases
3017 (modify-phases %standard-phases
3018 (delete 'configure))))
3019 (inputs
3020 `(("gtk+" ,gtk+)
3021 ("jack" ,jack-1)
3022 ("fftwf" ,fftwf)
3023 ("cairo" ,cairo)
3024 ("zita-resampler" ,zita-resampler)))
3025 (native-inputs
3026 `(("pkg-config" ,pkg-config)))
3027 (home-page "https://github.com/brummer10/gxtuner")
3028 (synopsis "Guitar tuner")
3029 (description "GXtuner is a simple guitar tuner for JACK with an
3030 analogue-like user interface.")
3031 (license license:gpl2+)))
3032
3033 (define-public mod-host
3034 ;; The last release was in 2014 but since then hundreds of commits have
3035 ;; been made.
3036 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
3037 (revision "3"))
3038 (package
3039 (name "mod-host")
3040 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
3041 (source (origin
3042 (method git-fetch)
3043 (uri (git-reference
3044 (url "https://github.com/moddevices/mod-host")
3045 (commit commit)))
3046 (sha256
3047 (base32
3048 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
3049 (file-name (string-append name "-" version "-checkout"))))
3050 (build-system gnu-build-system)
3051 (arguments
3052 `(#:tests? #f ; no tests included
3053 #:make-flags
3054 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3055 "CC=gcc")
3056 #:phases
3057 (modify-phases %standard-phases
3058 (delete 'configure)
3059 (add-after 'unpack 'fix-jack-installation-directory
3060 (lambda _
3061 ;; Do not attempt to install files to output of "jack" package.
3062 (substitute* "Makefile"
3063 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
3064 "lib"))
3065 #t)))))
3066 (inputs
3067 `(("lilv" ,lilv)
3068 ("fftw" ,fftw)
3069 ("fftwf" ,fftwf)
3070 ("lv2" ,lv2)
3071 ("jack" ,jack-1)
3072 ("readline" ,readline)))
3073 (native-inputs
3074 `(("pkg-config" ,pkg-config)
3075 ("python" ,python-2)))
3076 (home-page "https://github.com/moddevices/mod-host")
3077 (synopsis "LV2 host for Jack controllable via socket or command line")
3078 (description "mod-host is an LV2 plugin host for JACK, controllable via
3079 socket or command line.")
3080 (license license:gpl3+))))
3081
3082 (define-public curseradio
3083 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
3084 (revision "1"))
3085 (package
3086 (name "curseradio")
3087 (version (git-version "0" revision commit))
3088 (source (origin
3089 (method git-fetch)
3090 (uri (git-reference
3091 (url "https://github.com/chronitis/curseradio")
3092 (commit commit)))
3093 (file-name (git-file-name name version))
3094 (sha256
3095 (base32
3096 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
3097 (build-system python-build-system)
3098 (arguments
3099 `(#:phases
3100 (modify-phases %standard-phases
3101 (add-after 'unpack 'link-to-mpv
3102 (lambda* (#:key inputs #:allow-other-keys)
3103 (substitute* "curseradio/curseradio.py"
3104 (("/usr/bin/mpv")
3105 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
3106 #t)))))
3107 (propagated-inputs
3108 `(("python-lxml" ,python-lxml)
3109 ("python-requests" ,python-requests)
3110 ("python-pyxdg" ,python-pyxdg)))
3111 (inputs
3112 `(("mpv" ,mpv)))
3113 (home-page "https://github.com/chronitis/curseradio")
3114 (synopsis "Command-line Internet radio player")
3115 (description "Curseradio is a Curses-based radio player that uses a
3116 tune-in sender list from @url{http://opml.radiotime.com}.")
3117 (license license:expat))))
3118
3119 (define-public pianobar
3120 (package
3121 (name "pianobar")
3122 (version "2020.04.05")
3123 (source (origin
3124 (method git-fetch)
3125 (uri (git-reference
3126 (url "https://github.com/PromyLOPh/pianobar")
3127 (commit version)))
3128 (file-name (git-file-name name version))
3129 (sha256
3130 (base32
3131 "1gq8kpks6nychqz4gf0rpy7mrhz5vjw48a60x56j6y9flmazmypw"))))
3132 (build-system gnu-build-system)
3133 (arguments
3134 `(#:tests? #f ; no tests
3135 #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
3136 #:phases (modify-phases %standard-phases
3137 (delete 'configure))))
3138 (inputs
3139 `(("ao" ,ao)
3140 ("curl" ,curl)
3141 ("libgcrypt" ,libgcrypt)
3142 ("json-c" ,json-c)
3143 ("ffmpeg" ,ffmpeg)))
3144 (native-inputs
3145 `(("pkg-config" ,pkg-config)))
3146 (home-page "https://6xq.net/pianobar/")
3147 (synopsis "Console-based pandora.com player")
3148 (description "pianobar is a console-based music player for the
3149 personalized online radio pandora.com. It has configurable keys for playing
3150 and managing stations, can be controlled remotely via fifo, and can run
3151 event-based scripts for scrobbling, notifications, etc.")
3152 (license license:expat)))
3153
3154 (define-public picard
3155 (package
3156 (name "picard")
3157 (version "2.4.4")
3158 (source (origin
3159 (method url-fetch)
3160 (uri (string-append
3161 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
3162 "picard/picard-" version ".tar.gz"))
3163 (sha256
3164 (base32
3165 "1c5l7i43jaj3s4wklc0cba6nn2x9cmpcggk4q4h9m1bci2xilsiy"))
3166 (patches (search-patches "picard-fix-id3-rename-test.patch"))))
3167 (build-system python-build-system)
3168 (arguments
3169 '(#:use-setuptools? #f
3170 #:configure-flags
3171 (list "--root=/"
3172 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
3173 "--disable-autoupdate")
3174 #:phases
3175 (modify-phases %standard-phases
3176 (add-after 'unpack 'patch-source
3177 (lambda* (#:key inputs #:allow-other-keys)
3178 (substitute* "picard/const/__init__.py"
3179 (("pyfpcalc")
3180 (string-append
3181 "pyfpcalc', '"
3182 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
3183 #t)))))
3184 (native-inputs
3185 `(("gettext" ,gettext-minimal)
3186 ("python-dateutil" ,python-dateutil)))
3187 (inputs
3188 `(("chromaprint" ,chromaprint)
3189 ("python-discid" ,python-discid)
3190 ("python-pyqt" ,python-pyqt)
3191 ("python-mutagen" ,python-mutagen)))
3192 (home-page "https://picard.musicbrainz.org/")
3193 (synopsis "Graphical music tagging application")
3194 (description
3195 "MusicBrainz Picard is a music tagging application, supporting multiple
3196 formats, looking up tracks through metadata and audio fingerprints.")
3197 (license license:gpl2+)))
3198
3199 (define-public python-mutagen
3200 (package
3201 (name "python-mutagen")
3202 (version "1.45.1")
3203 (source (origin
3204 (method url-fetch)
3205 (uri (pypi-uri "mutagen" version))
3206 (sha256
3207 (base32
3208 "1qdk6i8gyhbi1c4j5jmbfpac3q8sff2ysri1pnp7nb9wzcp615v3"))))
3209 (build-system python-build-system)
3210 (native-inputs
3211 `(("python-pytest" ,python-pytest)
3212 ("python-hypothesis" ,python-hypothesis)
3213 ("python-flake8" ,python-flake8)))
3214 (home-page "https://bitbucket.org/lazka/mutagen")
3215 (synopsis "Read and write audio tags")
3216 (description "Mutagen is a Python module to handle audio metadata. It
3217 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
3218 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
3219 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
3220 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
3221 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
3222 streams on an individual packet/page level.")
3223 (license license:gpl2))) ; "later version" never mentioned
3224
3225 (define-public python2-mutagen
3226 (package-with-python2 python-mutagen))
3227
3228 (define-public python-musicbrainzngs
3229 (package
3230 (name "python-musicbrainzngs")
3231 (version "0.6")
3232 (source (origin
3233 (method url-fetch)
3234 (uri (pypi-uri "musicbrainzngs" version))
3235 (sha256
3236 (base32
3237 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
3238 (build-system python-build-system)
3239 (arguments
3240 '(;; The tests fail suffer from race conditions:
3241 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
3242 #:tests? #f))
3243 (home-page "https://python-musicbrainzngs.readthedocs.org/")
3244 (synopsis "Python bindings for MusicBrainz NGS webservice")
3245 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
3246 web service. This library can be used to retrieve music metadata from the
3247 MusicBrainz database.")
3248 ;; 'musicbrainzngs/compat.py' is ISC licensed.
3249 (license (list license:bsd-2 license:isc))))
3250
3251 (define-public python2-musicbrainzngs
3252 (package-with-python2 python-musicbrainzngs))
3253
3254 (define-public python-isrcsubmit
3255 (package
3256 (name "python-isrcsubmit")
3257 (version "2.0.1")
3258 (source
3259 (origin
3260 (method url-fetch)
3261 (uri (pypi-uri "isrcsubmit" version))
3262 (sha256
3263 (base32
3264 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
3265 (build-system python-build-system)
3266 (propagated-inputs
3267 `(("python-discid" ,python-discid)
3268 ("python-musicbrainzngs" ,python-musicbrainzngs)))
3269 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
3270 (synopsis "Submit ISRCs from CDs to MusicBrainz")
3271 (description "@code{isrcsubmit} is a tool to extract @dfn{International
3272 Standard Recording Code} (ISRCs) from audio CDs and submit them to
3273 @url{https://musicbrainz.org/, MusicBrainz}.")
3274 (license license:gpl3+)))
3275
3276 (define-public python2-pyechonest
3277 (package
3278 (name "python2-pyechonest")
3279 (version "9.0.0")
3280 (source (origin
3281 (method url-fetch)
3282 (uri (pypi-uri "pyechonest" version))
3283 (sha256
3284 (base32
3285 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
3286 (build-system python-build-system)
3287 (arguments
3288 `(;; Python 3 is not supported:
3289 ;; https://github.com/echonest/pyechonest/issues/42
3290 #:python ,python-2))
3291 (home-page "https://github.com/echonest/pyechonest")
3292 (synopsis "Python interface to The Echo Nest APIs")
3293 (description "Pyechonest is a Python library for the Echo Nest API. With
3294 Pyechonest you have Python access to the entire set of API methods including:
3295
3296 @enumerate
3297 @item artist - search for artists by name, description, or attribute, and get
3298 back detailed information about any artist including audio, similar artists,
3299 blogs, familiarity, hotttnesss, news, reviews, urls and video.
3300 @item song - search songs by artist, title, description, or attribute (tempo,
3301 duration, etc) and get detailed information back about each song, such as
3302 hotttnesss, audio_summary, or tracks.
3303 @item track - upload a track to the Echo Nest and receive summary information
3304 about the track including key, duration, mode, tempo, time signature along with
3305 detailed track info including timbre, pitch, rhythm and loudness information.
3306 @end enumerate\n")
3307 (license license:bsd-3)))
3308
3309 (define-public python-pylast
3310 (package
3311 (name "python-pylast")
3312 (version "2.0.0")
3313 (source (origin
3314 (method url-fetch)
3315 (uri (pypi-uri "pylast" version))
3316 (sha256
3317 (base32
3318 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
3319 (build-system python-build-system)
3320 ;; Tests require network access. See
3321 ;; https://github.com/pylast/pylast/issues/105
3322 (arguments '(#:tests? #f))
3323 (native-inputs
3324 `(("python-coverage" ,python-coverage)
3325 ("python-pycodestyle" ,python-pycodestyle)
3326 ("python-mock" ,python-mock)
3327 ("python-pep8" ,python-pep8)
3328 ("python-pytest" ,python-pytest)
3329 ("python-flaky" ,python-flaky)
3330 ("python-pyflakes" ,python-pyflakes)
3331 ("python-pyyaml" ,python-pyyaml)))
3332 (propagated-inputs
3333 `(("python-six" ,python-six)))
3334 (home-page "https://github.com/pylast/pylast")
3335 (synopsis "Python interface to Last.fm and Libre.fm")
3336 (description "A Python interface to Last.fm and other API-compatible
3337 websites such as Libre.fm.")
3338 (license license:asl2.0)))
3339
3340 (define-public python2-pylast
3341 (package-with-python2 python-pylast))
3342
3343 (define-public instantmusic
3344 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
3345 (revision "1"))
3346 (package
3347 (name "instantmusic")
3348 (version (git-version "1.0" revision commit))
3349 (source (origin
3350 (method git-fetch)
3351 (uri (git-reference
3352 (url "https://github.com/yask123/Instant-Music-Downloader")
3353 (commit commit)))
3354 (file-name (git-file-name name version))
3355 (sha256
3356 (base32
3357 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
3358 (build-system python-build-system)
3359 (propagated-inputs
3360 `(("python-requests" ,python-requests)
3361 ("eyed3" ,eyed3)
3362 ("python-beautifulsoup4" ,python-beautifulsoup4)
3363 ("youtube-dl" ,youtube-dl)))
3364 (arguments
3365 '(#:modules ((guix build python-build-system)
3366 (guix build utils)
3367 (srfi srfi-26))
3368 #:phases (modify-phases %standard-phases
3369 (add-before 'build 'change-directory
3370 (lambda _
3371 (chdir "instantmusic-0.1") #t))
3372 (add-before 'install 'fix-file-permissions
3373 (lambda _
3374 ;; Fix some read-only files that would cause a build failure
3375 (for-each (cut chmod <> #o644)
3376 (find-files "instantmusic.egg-info"
3377 "PKG-INFO|.*\\.txt"))
3378 #t)))))
3379 (home-page "https://github.com/yask123/Instant-Music-Downloader")
3380 (synopsis "Command-line program to download a song from YouTube")
3381 (description "InstantMusic downloads a song from YouTube in MP3 format.
3382 Songs can be searched by artist, name or even by a part of the song text.")
3383 (license license:expat))))
3384
3385 (define-public beets
3386 (package
3387 (name "beets")
3388 (version "1.4.9")
3389 (source (origin
3390 (method url-fetch)
3391 (uri (pypi-uri "beets" version))
3392 (patches (search-patches "beets-werkzeug-compat.patch"))
3393 (sha256
3394 (base32
3395 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3396 (build-system python-build-system)
3397 (arguments
3398 `(#:phases
3399 (modify-phases %standard-phases
3400 ;; Reported upstream: <https://github.com/beetbox/beets/issues/3771>.
3401 ;; Disable the faulty test as the fix is unclear.
3402 (add-after 'unpack 'disable-failing-tests
3403 (lambda _
3404 (substitute* "test/test_mediafile.py"
3405 (("def test_read_audio_properties") "def _test_read_audio_properties"))
3406 #t))
3407 (add-after 'unpack 'set-HOME
3408 (lambda _
3409 (setenv "HOME" (string-append (getcwd) "/tmp"))
3410 #t))
3411 (replace 'check
3412 (lambda _
3413 (invoke "nosetests" "-v")))
3414 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3415 ;; gstreamer plugins.
3416 (add-after 'wrap 'wrap-typelib
3417 (lambda* (#:key outputs #:allow-other-keys)
3418 (let ((prog (string-append (assoc-ref outputs "out")
3419 "/bin/beet"))
3420 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3421 (types (getenv "GI_TYPELIB_PATH")))
3422 (wrap-program prog
3423 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3424 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3425 #t))))))
3426 (native-inputs
3427 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3428 ("python-flask" ,python-flask)
3429 ("python-mock" ,python-mock)
3430 ("python-mpd2" ,python-mpd2)
3431 ("python-nose" ,python-nose)
3432 ("python-pathlib" ,python-pathlib)
3433 ("python-pyxdg" ,python-pyxdg)
3434 ("python-pylast" ,python-pylast)
3435 ("python-rarfile" ,python-rarfile)
3436 ("python-responses" ,python-responses)))
3437 ;; TODO: Install optional plugins and dependencies.
3438 (inputs
3439 `(("python-discogs-client" ,python-discogs-client)
3440 ("python-jellyfish" ,python-jellyfish)
3441 ("python-munkres" ,python-munkres)
3442 ("python-musicbrainzngs" ,python-musicbrainzngs)
3443 ("python-mutagen" ,python-mutagen)
3444 ("python-pyacoustid" ,python-pyacoustid)
3445 ("python-pyyaml" ,python-pyyaml)
3446 ("python-unidecode" ,python-unidecode)
3447 ;; For plugin replaygain.
3448 ("python-pygobject" ,python-pygobject)
3449 ("gobject-introspection" ,gobject-introspection)
3450 ("gst-plugins-base" ,gst-plugins-base)
3451 ("gst-plugins-good" ,gst-plugins-good)
3452 ("gstreamer" ,gstreamer)))
3453 (home-page "https://beets.io")
3454 (synopsis "Music organizer")
3455 (description "The purpose of beets is to get your music collection right
3456 once and for all. It catalogs your collection, automatically improving its
3457 metadata as it goes using the MusicBrainz database. Then it provides a variety
3458 of tools for manipulating and accessing your music.")
3459 (license license:expat)))
3460
3461 (define-public beets-bandcamp
3462 (package
3463 (name "beets-bandcamp")
3464 (version "0.1.3")
3465 (source (origin
3466 (method url-fetch)
3467 (uri (pypi-uri "beets-bandcamp" version))
3468 (sha256
3469 (base32
3470 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
3471 (build-system python-build-system)
3472 (arguments '(#:tests? #f)) ; there are no tests
3473 (propagated-inputs
3474 `(("beets" ,beets)
3475 ("python-isodate" ,python-isodate)))
3476 (inputs
3477 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3478 ("python-requests" ,python-requests)
3479 ("python-six" ,python-six)))
3480 (home-page "https://github.com/unrblt/beets-bandcamp")
3481 (synopsis "Bandcamp plugin for beets")
3482 (description
3483 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3484 https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3485 using the beets FetchArt plugin.")
3486 (license license:gpl2)))
3487
3488 (define-public milkytracker
3489 (package
3490 (name "milkytracker")
3491 (version "1.03.00")
3492 (source (origin
3493 (method git-fetch)
3494 (uri (git-reference
3495 (url "https://github.com/milkytracker/MilkyTracker")
3496 (commit (string-append "v" version))))
3497 (file-name (git-file-name name version))
3498 (sha256
3499 (base32
3500 "025fj34gq2kmkpwcswcyx7wdxb89vm944dh685zi4bxx0hz16vvk"))
3501 (modules '((guix build utils)))
3502 ;; Remove non-FSDG compliant sample songs.
3503 (snippet
3504 '(begin
3505 (delete-file-recursively "resources/music")
3506 (substitute* "CMakeLists.txt"
3507 (("add_subdirectory\\(resources/music\\)") ""))
3508 #t))))
3509 (build-system cmake-build-system)
3510 (arguments
3511 '(#:tests? #f ; no check target
3512 ;; This flag ensures that MilkyTracker links with the JACK library.
3513 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
3514 (inputs
3515 `(("alsa-lib" ,alsa-lib)
3516 ("lhasa" ,lhasa)
3517 ("jack" ,jack-1)
3518 ("rtmidi" ,rtmidi)
3519 ("sdl" ,sdl2)
3520 ("zlib" ,zlib)
3521 ("zziplib" ,zziplib)))
3522 (native-inputs
3523 `(("pkg-config" ,pkg-config)))
3524 (synopsis "Music tracker for working with .MOD/.XM module files")
3525 (description "MilkyTracker is a music application for creating .MOD and .XM
3526 module files. It attempts to recreate the module replay and user experience of
3527 the popular DOS program Fasttracker II, with special playback modes available
3528 for improved Amiga ProTracker 2/3 compatibility.")
3529 (home-page "https://milkytracker.titandemo.org/")
3530 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3531 (license (list license:bsd-3 license:gpl3+))))
3532
3533 (define-public schismtracker
3534 (package
3535 (name "schismtracker")
3536 (version "20190805")
3537 (source (origin
3538 (method git-fetch)
3539 (uri (git-reference
3540 (url "https://github.com/schismtracker/schismtracker")
3541 (commit version)))
3542 (file-name (git-file-name name version))
3543 (sha256
3544 (base32
3545 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
3546 (modules '((guix build utils)))
3547 (snippet
3548 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
3549 `(begin
3550 (substitute* "schism/version.c"
3551 (("Schism Tracker built %s %s.*$")
3552 (string-append "Schism Tracker version " ,version "\") ;")))
3553 #t))))
3554 (build-system gnu-build-system)
3555 (arguments
3556 `(#:phases
3557 (modify-phases %standard-phases
3558 (add-before 'configure 'link-libm
3559 (lambda _ (setenv "LIBS" "-lm") #t)))))
3560 (native-inputs
3561 `(("autoconf" ,autoconf)
3562 ("automake" ,automake)
3563 ("python" ,python)))
3564 (inputs
3565 `(("alsa-lib" ,alsa-lib) ; for asound dependency
3566 ("libx11" ,libx11)
3567 ("libxext" ,libxext)
3568 ("sdl" ,sdl)))
3569 (home-page "http://schismtracker.org")
3570 (synopsis "Oldschool sample-based music composition tool")
3571 (description
3572 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3573 create high quality music without the requirements of specialized, expensive
3574 equipment, and with a unique \"finger feel\" that is difficult to replicate in
3575 part. The player is based on a highly modified version of the ModPlug engine,
3576 with a number of bugfixes and changes to improve IT playback.")
3577 (license license:gpl2+)))
3578
3579 (define-public sooperlooper
3580 (package
3581 (name "sooperlooper")
3582 (version "1.7.4")
3583 (source
3584 (origin
3585 (method url-fetch)
3586 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3587 version ".tar.gz"))
3588 (sha256
3589 (base32 "1jjvq4aflbyr3nr8b318k1vkad16xfa1jkqn9ckzw4419qc6c1k5"))))
3590 (build-system gnu-build-system)
3591 (arguments
3592 `(#:phases
3593 (modify-phases %standard-phases
3594 (add-after 'unpack 'add-sigc++-includes
3595 (lambda* (#:key inputs #:allow-other-keys)
3596 (let ((sig (assoc-ref inputs "libsigc++"))
3597 (xml (assoc-ref inputs "libxml2"))
3598 (cwd (getcwd)))
3599 (setenv "CPATH"
3600 (string-append sig "/include/sigc++-2.0:"
3601 sig "/lib/sigc++-2.0/include:"
3602 xml "/include/libxml2/:"
3603 cwd "/libs/pbd:"
3604 cwd "/libs/midi++:"
3605 (or (getenv "CPATH") ""))))
3606 (substitute* '("src/control_osc.hpp"
3607 "src/gui/app_frame.hpp"
3608 "src/gui/config_panel.hpp"
3609 "src/gui/keys_panel.hpp"
3610 "src/gui/latency_panel.hpp"
3611 "src/gui/main_panel.hpp"
3612 "src/gui/midi_bind_panel.hpp"
3613 "src/gui/prefs_dialog.hpp")
3614 (("sigc\\+\\+/object.h")
3615 "sigc++/sigc++.h"))
3616 (substitute* '("src/engine.cpp"
3617 "src/gui/latency_panel.cpp"
3618 "src/gui/looper_panel.cpp"
3619 "src/gui/main_panel.cpp")
3620 (("(\\(| )bind " _ pre)
3621 (string-append pre "sigc::bind ")))
3622 #t))
3623 (add-after 'unpack 'fix-xpm-warnings
3624 (lambda _
3625 (substitute* (find-files "." "\\.xpm$")
3626 (("static char") "static const char"))
3627 #t)))))
3628 (inputs
3629 `(("jack" ,jack-1)
3630 ("alsa-lib" ,alsa-lib)
3631 ("wxwidgets" ,wxwidgets-gtk2)
3632 ("libsndfile" ,libsndfile)
3633 ("libsamplerate" ,libsamplerate)
3634 ("liblo" ,liblo)
3635 ("rubberband" ,rubberband)
3636 ("libxml2" ,libxml2)
3637 ("libsigc++" ,libsigc++)
3638 ("ncurses" ,ncurses)))
3639 (native-inputs
3640 `(("pkg-config" ,pkg-config)))
3641 (home-page "http://essej.net/sooperlooper/")
3642 (synopsis "Live looping sampler")
3643 (description
3644 "SooperLooper is a live looping sampler capable of immediate loop
3645 recording, overdubbing, multiplying, reversing and more. It allows for
3646 multiple simultaneous multi-channel loops limited only by your computer's
3647 available memory.")
3648 (license license:gpl2+)))
3649
3650 (define-public moc
3651 (package
3652 (name "moc")
3653 (version "2.5.2")
3654 (source (origin
3655 (method url-fetch)
3656 (uri (string-append "http://ftp.daper.net/pub/soft/"
3657 name "/stable/"
3658 name "-" version ".tar.bz2"))
3659 (sha256
3660 (base32
3661 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
3662 (build-system gnu-build-system)
3663 (inputs
3664 `(("alsa-lib" ,alsa-lib)
3665 ("curl" ,curl)
3666 ("faad2" ,faad2)
3667 ("ffmpeg" ,ffmpeg-3.4)
3668 ("file" ,file)
3669 ("jack" ,jack-1)
3670 ("libid3tag" ,libid3tag)
3671 ("libltdl" ,libltdl)
3672 ("libmodplug" ,libmodplug)
3673 ("libmpcdec" ,libmpcdec)
3674 ("libmad" ,libmad)
3675 ("libogg" ,libogg)
3676 ("libvorbis" ,libvorbis)
3677 ("ncurses" ,ncurses)
3678 ("openssl" ,openssl)
3679 ("sasl" ,cyrus-sasl)
3680 ("speex" ,speex)
3681 ("taglib" ,taglib)
3682 ("wavpack" ,wavpack)
3683 ("zlib" ,zlib)))
3684 (native-inputs
3685 `(("pkg-config" ,pkg-config)))
3686 (synopsis "Console audio player designed to be powerful and easy to use")
3687 (description
3688 "Music on Console is a console audio player that supports many file
3689 formats, including most audio formats recognized by FFMpeg.")
3690 (home-page "http://moc.daper.net")
3691 (license license:gpl2+)))
3692
3693 (define-public midicsv
3694 (package
3695 (name "midicsv")
3696 (version "1.1")
3697 (source (origin
3698 (method url-fetch)
3699 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3700 name "-" version ".tar.gz"))
3701 (sha256
3702 (base32
3703 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3704 (build-system gnu-build-system)
3705 (arguments
3706 `(#:phases (modify-phases %standard-phases (delete 'configure))
3707 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
3708 (synopsis "Convert MIDI files to and from CSV")
3709 (description
3710 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
3711 value file (CSV), which preserves all the information in the MIDI file. The
3712 ASCII CSV file may be loaded into a spreadsheet or database application, or
3713 processed by a program to transform the MIDI data (for example, to key
3714 transpose a composition or extract a track from a multi-track sequence). A
3715 CSV file in the format created by midicsv may be converted back into a
3716 standard MIDI file with the csvmidi program.")
3717 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
3718 (license license:public-domain)))
3719
3720 (define-public gx-guvnor-lv2
3721 (package
3722 (name "gx-guvnor-lv2")
3723 (version "0.1")
3724 (source (origin
3725 (method git-fetch)
3726 (uri (git-reference
3727 (url "https://github.com/brummer10/GxGuvnor.lv2")
3728 (commit (string-append "v" version))))
3729 (file-name (string-append name "-" version "-checkout"))
3730 (sha256
3731 (base32
3732 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
3733 (build-system gnu-build-system)
3734 (arguments
3735 `(;; The check target is used only to output a warning.
3736 #:tests? #f
3737 #:make-flags
3738 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
3739 #:phases
3740 (modify-phases %standard-phases
3741 (replace 'configure
3742 (lambda _
3743 (substitute* "Makefile"
3744 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
3745 (("install : all") "install :"))
3746 #t)))))
3747 (inputs
3748 `(("lv2" ,lv2)))
3749 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
3750 (synopsis "Overdrive/distortion pedal simulation")
3751 (description "This package provides the LV2 plugin \"GxGuvnor\", a
3752 simulation of an overdrive or distortion pedal for guitars.")
3753 ;; The LICENSE file says GPLv3 but the license headers in the files say
3754 ;; GPLv2 or later. The whole project is released under GPLv3 or later
3755 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
3756 (license license:gpl3+)))
3757
3758 (define-public gx-vbass-preamp-lv2
3759 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
3760 (revision "2"))
3761 (package (inherit gx-guvnor-lv2)
3762 (name "gx-vbass-preamp-lv2")
3763 (version (string-append "0-" revision "." (string-take commit 9)))
3764 (source (origin
3765 (method git-fetch)
3766 (uri (git-reference
3767 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
3768 (commit commit)))
3769 (sha256
3770 (base32
3771 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
3772 (file-name (string-append name "-" version "-checkout"))))
3773 (inputs
3774 `(("lv2" ,lv2)
3775 ("gtk+" ,gtk+-2)))
3776 (native-inputs
3777 `(("pkg-config" ,pkg-config)))
3778 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
3779 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
3780 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
3781 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
3782 Section."))))
3783
3784 (define-public gx-overdriver-lv2
3785 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
3786 (revision "1"))
3787 (package (inherit gx-guvnor-lv2)
3788 (name "gx-overdriver-lv2")
3789 (version (string-append "0-" revision "." (string-take commit 9)))
3790 (source (origin
3791 (method git-fetch)
3792 (uri (git-reference
3793 (url "https://github.com/brummer10/GxOverDriver.lv2")
3794 (commit commit)))
3795 (sha256
3796 (base32
3797 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
3798 (file-name (string-append name "-" version "-checkout"))))
3799 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
3800 (synopsis "Overdrive effect with level and tone control")
3801 (description "This package provides the LV2 plugin \"GxOverDriver\", an
3802 overdrive effect."))))
3803
3804 (define-public gx-tone-mender-lv2
3805 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
3806 (revision "1"))
3807 (package (inherit gx-guvnor-lv2)
3808 (name "gx-tone-mender-lv2")
3809 (version (string-append "0-" revision "." (string-take commit 9)))
3810 (source (origin
3811 (method git-fetch)
3812 (uri (git-reference
3813 (url "https://github.com/brummer10/GxToneMender.lv2")
3814 (commit commit)))
3815 (sha256
3816 (base32
3817 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
3818 (file-name (string-append name "-" version "-checkout"))))
3819 (home-page "https://github.com/brummer10/GxToneMender.lv2")
3820 (synopsis "Clean boost with a 3-knob tonestack")
3821 (description "This package provides the LV2 plugin \"GxToneMender\", a
3822 clean boost effect with a 3-knob tonestack."))))
3823
3824 (define-public gx-push-pull-lv2
3825 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
3826 (revision "1"))
3827 (package (inherit gx-guvnor-lv2)
3828 (name "gx-push-pull-lv2")
3829 (version (string-append "0-" revision "." (string-take commit 9)))
3830 (source (origin
3831 (method git-fetch)
3832 (uri (git-reference
3833 (url "https://github.com/brummer10/GxPushPull.lv2")
3834 (commit commit)))
3835 (sha256
3836 (base32
3837 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
3838 (file-name (string-append name "-" version "-checkout"))))
3839 (home-page "https://github.com/brummer10/GxPushPull.lv2")
3840 (synopsis "Octave up push pull transistor fuzz simulation")
3841 (description "This package provides the LV2 plugin \"GxPushPull\", a
3842 simulation of a push pull transistor fuzz effect with added high octave."))))
3843
3844 (define-public gx-suppa-tone-bender-lv2
3845 (package (inherit gx-guvnor-lv2)
3846 (name "gx-suppa-tone-bender-lv2")
3847 (version "0.1")
3848 (source (origin
3849 (method git-fetch)
3850 (uri (git-reference
3851 (url "https://github.com/brummer10/GxSuppaToneBender.lv2")
3852 (commit (string-append "v" version))))
3853 (file-name (string-append name "-" version "-checkout"))
3854 (sha256
3855 (base32
3856 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
3857 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
3858 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
3859 (description "This package provides the LV2 plugin
3860 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
3861 pedal.")))
3862
3863 (define-public gx-saturator-lv2
3864 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
3865 (revision "3"))
3866 (package (inherit gx-vbass-preamp-lv2)
3867 (name "gx-saturator-lv2")
3868 (version (string-append "0-" revision "." (string-take commit 9)))
3869 (source (origin
3870 (method git-fetch)
3871 (uri (git-reference
3872 (url "https://github.com/brummer10/GxSaturator.lv2")
3873 (commit commit)))
3874 (sha256
3875 (base32
3876 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
3877 (file-name (string-append name "-" version "-checkout"))))
3878 (home-page "https://github.com/brummer10/GxSaturator.lv2")
3879 (synopsis "Saturation effect")
3880 (description "This package provides the LV2 plugin \"GxSaturator\", a
3881 saturation effect."))))
3882
3883 (define-public gx-hyperion-lv2
3884 (package (inherit gx-guvnor-lv2)
3885 (name "gx-hyperion-lv2")
3886 (version "0.1")
3887 (source (origin
3888 (method git-fetch)
3889 (uri (git-reference
3890 (url "https://github.com/brummer10/GxHyperion.lv2")
3891 (commit (string-append "v" version))))
3892 (file-name (string-append name "-" version "-checkout"))
3893 (sha256
3894 (base32
3895 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
3896 (home-page "https://github.com/brummer10/GxHyperion.lv2")
3897 (synopsis "Simulation of the Hyperion Fuzz pedal")
3898 (description "This package provides the LV2 plugin \"GxHyperion\", a
3899 simulation of the Hyperion Fuzz pedal.")))
3900
3901 (define-public gx-voodoo-fuzz-lv2
3902 (package (inherit gx-guvnor-lv2)
3903 (name "gx-voodoo-fuzz-lv2")
3904 (version "0.1")
3905 (source (origin
3906 (method git-fetch)
3907 (uri (git-reference
3908 (url "https://github.com/brummer10/GxVoodoFuzz.lv2")
3909 (commit (string-append "v" version))))
3910 (file-name (string-append name "-" version "-checkout"))
3911 (sha256
3912 (base32
3913 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
3914 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
3915 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
3916 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
3917 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
3918 Bosstone circuit, followed by the tone control of the FoxToneMachine in
3919 parallel with a DarkBooster, followed by a volume control.")))
3920
3921 (define-public gx-super-fuzz-lv2
3922 (package (inherit gx-guvnor-lv2)
3923 (name "gx-super-fuzz-lv2")
3924 (version "0.1")
3925 (source (origin
3926 (method git-fetch)
3927 (uri (git-reference
3928 (url "https://github.com/brummer10/GxSuperFuzz.lv2")
3929 (commit (string-append "v" version))))
3930 (file-name (string-append name "-" version "-checkout"))
3931 (sha256
3932 (base32
3933 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
3934 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
3935 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
3936 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
3937 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
3938 pot, which is usually in the housing, is exposed as a control parameter. It
3939 adjusts the amount of harmonics.")))
3940
3941 (define-public gx-vintage-fuzz-master-lv2
3942 (package (inherit gx-guvnor-lv2)
3943 (name "gx-vintage-fuzz-master-lv2")
3944 (version "0.1")
3945 (source (origin
3946 (method git-fetch)
3947 (uri (git-reference
3948 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3949 (commit (string-append "v" version))))
3950 (file-name (string-append name "-" version "-checkout"))
3951 (sha256
3952 (base32
3953 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
3954 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3955 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
3956 (description "This package provides the LV2 plugin
3957 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
3958
3959 (define-public gx-slow-gear-lv2
3960 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
3961 (revision "3"))
3962 (package (inherit gx-vbass-preamp-lv2)
3963 (name "gx-slow-gear-lv2")
3964 (version (string-append "0-" revision "." (string-take commit 9)))
3965 (source (origin
3966 (method git-fetch)
3967 (uri (git-reference
3968 (url "https://github.com/brummer10/GxSlowGear.lv2")
3969 (commit commit)))
3970 (sha256
3971 (base32
3972 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
3973 (file-name (string-append name "-" version "-checkout"))))
3974 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
3975 (synopsis "Slow gear audio effect")
3976 (description "This package provides the LV2 plugin \"GxSlowGear\", a
3977 slow gear audio effect to produce volume swells."))))
3978
3979 (define-public gx-switchless-wah-lv2
3980 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
3981 (revision "2"))
3982 (package (inherit gx-guvnor-lv2)
3983 (name "gx-switchless-wah-lv2")
3984 (version (string-append "0-" revision "." (string-take commit 9)))
3985 (source (origin
3986 (method git-fetch)
3987 (uri (git-reference
3988 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
3989 (commit commit)))
3990 (sha256
3991 (base32
3992 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
3993 (file-name (string-append name "-" version "-checkout"))))
3994 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
3995 (synopsis "Wah emulation with switchless activation")
3996 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
3997 a simulation of an analog Wah pedal with switchless activation."))))
3998
3999 (define-public rkrlv2
4000 ;; This commit corresponds to the beta_3 tag
4001 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
4002 (revision "2"))
4003 (package
4004 (name "rkrlv2")
4005 (version (git-version "0" revision commit))
4006 (source (origin
4007 (method git-fetch)
4008 (uri (git-reference
4009 (url "https://github.com/ssj71/rkrlv2")
4010 (commit commit)))
4011 (sha256
4012 (base32
4013 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
4014 (file-name (git-file-name name version))))
4015 (build-system cmake-build-system)
4016 (arguments '(#:tests? #f)) ; there are no tests
4017 (inputs
4018 `(("fftw" ,fftw)
4019 ("libsamplerate" ,libsamplerate)
4020 ("lv2" ,lv2)))
4021 (native-inputs
4022 `(("pkg-config" ,pkg-config)))
4023 (home-page "https://github.com/ssj71/rkrlv2")
4024 (synopsis "Rakarrack effects ported to LV2 plugins")
4025 (description "This package provides the Rakarrack effects as LV2
4026 plugins. The ports are done such that hopefully when Rakarrack gets an active
4027 maintainer these will get merged into the original project.")
4028 (license license:gpl2))))
4029
4030 (define-public mod-utilities
4031 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
4032 (revision "2"))
4033 (package
4034 (name "mod-utilities")
4035 (version (string-append "0-" revision "." (string-take commit 9)))
4036 (source (origin
4037 (method git-fetch)
4038 (uri (git-reference
4039 (url "https://github.com/moddevices/mod-utilities")
4040 (commit commit)))
4041 (file-name (string-append name "-" version "-checkout"))
4042 (sha256
4043 (base32
4044 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
4045 (build-system gnu-build-system)
4046 (arguments
4047 `(#:tests? #f ; there are no tests
4048 #:make-flags
4049 (list (string-append "INSTALL_PATH="
4050 (assoc-ref %outputs "out")
4051 "/lib/lv2")
4052 (string-append "PREFIX=" (assoc-ref %outputs "out"))
4053 "CC=gcc")
4054 #:phases
4055 (modify-phases %standard-phases
4056 (delete 'configure))))
4057 (inputs
4058 `(("lv2" ,lv2)))
4059 (home-page "https://github.com/moddevices/mod-utilities")
4060 (synopsis "LV2 utility plugins")
4061 (description "This package provides LV2 audio utility plugins, such as
4062 filters, crossovers, simple gain plugins without zipper noise, switch box
4063 plugins, a switch trigger, a toggle switch, and a peakmeter.")
4064 (license license:gpl2+))))
4065
4066 (define-public ingen
4067 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
4068 (revision "2"))
4069 (package
4070 (name "ingen")
4071 (version (string-append "0.0.0-" revision "."
4072 (string-take commit 9)))
4073 (source
4074 (origin
4075 (method git-fetch)
4076 (uri (git-reference
4077 (url "https://git.drobilla.net/ingen.git")
4078 (commit commit)))
4079 (file-name (string-append name "-" version "-checkout"))
4080 (sha256
4081 (base32
4082 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
4083 (build-system waf-build-system)
4084 (arguments
4085 `(#:python ,python-2
4086 #:tests? #f ; no "check" target
4087 #:configure-flags (list "--no-webkit")
4088 #:phases
4089 (modify-phases %standard-phases
4090 (add-after 'unpack 'patch-wscript
4091 (lambda* (#:key outputs #:allow-other-keys)
4092 (let ((out (assoc-ref outputs "out")))
4093 (substitute* "wscript"
4094 ;; FIXME: Our version of lv2specgen.py does not behave as
4095 ;; expected. Maybe this requires a development version of
4096 ;; LV2.
4097 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
4098 ;; Add libraries to RUNPATH.
4099 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
4100 (string-append prefix
4101 "linkflags=[\"-Wl,-rpath="
4102 out "/lib" "\"]," line)))
4103 (substitute* '("src/wscript"
4104 "src/server/wscript")
4105 ;; Add libraries to RUNPATH.
4106 (("bld.env.PTHREAD_LINKFLAGS" line)
4107 (string-append line
4108 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
4109 (substitute* "src/client/wscript"
4110 ;; Add libraries to RUNPATH.
4111 (("^(.+)target.*= 'ingen_client'," line prefix)
4112 (string-append prefix
4113 "linkflags=[\"-Wl,-rpath="
4114 out "/lib" "\"]," line)))
4115 (substitute* "src/gui/wscript"
4116 ;; Add libraries to RUNPATH.
4117 (("^(.+)target.* = 'ingen_gui.*" line prefix)
4118 (string-append prefix
4119 "linkflags=[\"-Wl,-rpath="
4120 out "/lib" "\"]," line))))
4121 #t)))))
4122 (inputs
4123 `(("boost" ,boost)
4124 ("python-rdflib" ,python-rdflib)
4125 ("python" ,python)
4126 ("jack" ,jack-1)
4127 ("lv2" ,lv2)
4128 ("lilv" ,lilv)
4129 ("raul" ,raul-devel)
4130 ("ganv" ,ganv)
4131 ("suil" ,suil)
4132 ("serd" ,serd)
4133 ("sord" ,sord)
4134 ("sratom" ,sratom)
4135 ("gtkmm" ,gtkmm-2)))
4136 (native-inputs
4137 `(("pkg-config" ,pkg-config)
4138 ("python-pygments" ,python-pygments)))
4139 (home-page "https://drobilla.net/software/ingen")
4140 (synopsis "Modular audio processing system")
4141 (description "Ingen is a modular audio processing system for JACK and
4142 LV2 based systems. Ingen is built around LV2 technology and a strict
4143 separation of engine from user interface. The engine is controlled
4144 exclusively through a protocol, and can execute as a headless process, with an
4145 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
4146 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
4147 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
4148 plugin on any system where Ingen is installed. This allows users to visually
4149 develop custom plugins for use in other applications without programming.")
4150 (license license:agpl3+))))
4151
4152 (define-public qmidiarp
4153 (package
4154 (name "qmidiarp")
4155 (version "0.6.5")
4156 (source (origin
4157 (method url-fetch)
4158 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
4159 version "/qmidiarp-" version ".tar.bz2"))
4160 (sha256
4161 (base32
4162 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
4163 (build-system gnu-build-system)
4164 (arguments
4165 `(#:configure-flags
4166 (list "--enable-qt5")))
4167 (inputs
4168 `(("qtbase" ,qtbase)
4169 ("alsa-lib" ,alsa-lib)
4170 ("jack" ,jack-1)
4171 ("liblo" ,liblo)
4172 ("lv2" ,lv2)))
4173 (native-inputs
4174 `(("pkg-config" ,pkg-config)
4175 ("qttools" ,qttools)))
4176 (home-page "http://qmidiarp.sourceforge.net/")
4177 (synopsis "MIDI arpeggiator")
4178 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
4179 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
4180 modules running in parallel.")
4181 (license license:gpl2+)))
4182
4183 (define-public qmidiroute
4184 (package
4185 (name "qmidiroute")
4186 (version "0.4.0")
4187 (source (origin
4188 (method url-fetch)
4189 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
4190 version "/qmidiroute-" version ".tar.bz2"))
4191 (sha256
4192 (base32
4193 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
4194 (build-system gnu-build-system)
4195 (arguments
4196 `(#:configure-flags
4197 (list "--enable-qt5")))
4198 (inputs
4199 `(("qtbase" ,qtbase)
4200 ("alsa-lib" ,alsa-lib)))
4201 (native-inputs
4202 `(("pkg-config" ,pkg-config)
4203 ("qttools" ,qttools)))
4204 (home-page "http://alsamodular.sourceforge.net/")
4205 (synopsis "MIDI event router and filter")
4206 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
4207 control change, program change and pitch bend events are logged, and can be
4208 filtered, redirected and transformed into other events according to MIDI maps
4209 defined as tabs in the main control surface.")
4210 (license license:gpl2+)))
4211
4212 (define-public seq24
4213 (package
4214 (name "seq24")
4215 (version "0.9.3")
4216 (source (origin
4217 (method url-fetch)
4218 (uri (string-append "https://launchpad.net/seq24/trunk/"
4219 version "/+download/seq24-"
4220 version ".tar.bz2"))
4221 (sha256
4222 (base32
4223 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
4224 (patches (search-patches "seq24-rename-mutex.patch"))))
4225 (build-system gnu-build-system)
4226 (inputs
4227 `(("gtkmm" ,gtkmm-2)
4228 ("alsa-lib" ,alsa-lib)
4229 ("jack" ,jack-1)
4230 ("lash" ,lash)))
4231 (native-inputs
4232 `(("pkg-config" ,pkg-config)))
4233 (home-page "https://edge.launchpad.net/seq24/")
4234 (synopsis "Real-time MIDI sequencer")
4235 (description "Seq24 is a real-time MIDI sequencer. It was created to
4236 provide a very simple interface for editing and playing MIDI loops.")
4237 (license license:gpl2+)))
4238
4239 (define-public python-discogs-client
4240 (package
4241 (name "python-discogs-client")
4242 (version "2.2.1")
4243 (source (origin
4244 (method url-fetch)
4245 (uri (pypi-uri "discogs-client" version))
4246 (sha256
4247 (base32
4248 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
4249 (build-system python-build-system)
4250 (propagated-inputs
4251 `(("python-oauthlib" ,python-oauthlib)
4252 ("python-requests" ,python-requests)))
4253 (native-inputs
4254 `(("python-six" ,python-six)))
4255 (home-page "https://github.com/discogs/discogs_client")
4256 (synopsis "Official Python client for the Discogs API")
4257 (description "This is the official Discogs API client for Python. It enables
4258 you to query the Discogs database for information on artists, releases, labels,
4259 users, Marketplace listings, and more. It also supports OAuth 1.0a
4260 authorization, which allows you to change user data such as profile information,
4261 collections and wantlists, inventory, and orders.")
4262 (license license:bsd-2)))
4263
4264 (define-public python2-discogs-client
4265 (package-with-python2 python-discogs-client))
4266
4267 (define-public libsmf
4268 (package
4269 (name "libsmf")
4270 (version "1.3")
4271 (source
4272 (origin
4273 (method url-fetch)
4274 ;; SF download page says development moved, but the link it points to
4275 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
4276 ;; it but made no release so far (https://github.com/stump/libsmf).
4277 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
4278 version "/libsmf-" version ".tar.gz"))
4279 (sha256
4280 (base32
4281 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
4282 (build-system gnu-build-system)
4283 (outputs '("out"
4284 "static")) ; 88KiB of .a files
4285 (arguments
4286 `(#:phases
4287 (modify-phases %standard-phases
4288 (add-after 'install 'move-static-libraries
4289 (lambda* (#:key outputs #:allow-other-keys)
4290 ;; Move static libraries to the "static" output.
4291 (let* ((out (assoc-ref outputs "out"))
4292 (lib (string-append out "/lib"))
4293 (static (assoc-ref outputs "static"))
4294 (slib (string-append static "/lib")))
4295 (mkdir-p slib)
4296 (for-each (lambda (file)
4297 (install-file file slib)
4298 (delete-file file))
4299 (find-files lib "\\.a$"))
4300 #t))))))
4301 (inputs
4302 `(("readline" ,readline)
4303 ("glib" ,glib)))
4304 (native-inputs
4305 `(("doxygen" ,doxygen)
4306 ("pkg-config" ,pkg-config)))
4307 (home-page "http://libsmf.sourceforge.net/")
4308 (synopsis "Standard MIDI File format library")
4309 (description
4310 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
4311 conversions between time and pulses, tempo map handling and more. The only dependencies
4312 are a C compiler and glib. Full API documentation and examples are included.")
4313 (license license:bsd-2)))
4314
4315 (define-public lmms
4316 (package
4317 (name "lmms")
4318 (version "1.2.1")
4319 (source
4320 (origin
4321 (method git-fetch)
4322 (uri (git-reference
4323 (url "https://github.com/LMMS/lmms")
4324 (commit (string-append "v" version))))
4325 (file-name (git-file-name name version))
4326 (sha256
4327 (base32
4328 "1gx730z361xx30iqbsm99aam1k2c8yf561gcay6sryyjksb4w1wy"))))
4329 (build-system cmake-build-system)
4330 (arguments
4331 `(#:tests? #f ; no tests
4332 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
4333 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
4334 ;; Also, explicitly disabling VST support gets rid of the in-tree
4335 ;; dependency on qt5-x11embed.
4336 #:configure-flags '("-DWANT_QT5=ON"
4337 "-DWANT_VST=OFF")
4338 #:phases
4339 (modify-phases %standard-phases
4340 (add-after 'unpack 'unpack-rpmalloc
4341 (lambda* (#:key inputs #:allow-other-keys)
4342 (copy-recursively (assoc-ref inputs "rpmalloc")
4343 "src/3rdparty/rpmalloc/rpmalloc")
4344 #t))
4345 (add-before 'configure 'set-ldflags
4346 (lambda* (#:key outputs #:allow-other-keys)
4347 (setenv "LDFLAGS"
4348 (string-append
4349 "-Wl,-rpath=\""
4350 (assoc-ref outputs "out") "/lib/lmms"
4351 ":"
4352 (assoc-ref outputs "out") "/lib/lmms/ladspa"
4353 "\""))
4354 #t))
4355 (add-before 'reset-gzip-timestamps 'make-manpages-writable
4356 (lambda* (#:key outputs #:allow-other-keys)
4357 (map (lambda (file)
4358 (make-file-writable file))
4359 (find-files (string-append (assoc-ref outputs "out")
4360 "/share/man")
4361 ".*\\.gz$"))
4362 #t)))))
4363 (native-inputs
4364 `(("pkg-config" ,pkg-config)
4365 ("qttools" ,qttools)
4366 ;; rpmalloc is a public domain memory allocator. This version specified
4367 ;; below is the version required by LMMS.
4368 ;; To get the new commit of rpmalloc to use here, run
4369 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
4370 ;; in the cloned LMMS repository.
4371 ("rpmalloc"
4372 ,(origin
4373 (method git-fetch)
4374 (uri (git-reference
4375 (url "https://github.com/mjansson/rpmalloc")
4376 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
4377 (sha256
4378 (base32
4379 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
4380 (inputs
4381 `(("sdl" ,sdl)
4382 ("qtbase" ,qtbase)
4383 ("qtx11extras" ,qtx11extras)
4384 ("fltk" ,fltk)
4385 ("libogg" ,libogg)
4386 ("libsamplerate" ,libsamplerate)
4387 ("fluidsynth" ,fluidsynth)
4388 ("libvorbis" ,libvorbis)
4389 ("alsa-lib" ,alsa-lib)
4390 ("portaudio" ,portaudio)
4391 ("ladspa" ,ladspa)
4392 ("libsndfile1" ,libsndfile)
4393 ("libxft" ,libxft)
4394 ("freetype2" ,freetype)
4395 ("fftw3f" ,fftwf)
4396 ("jack" ,jack-1)))
4397 (home-page "https://lmms.io/")
4398 (synopsis "Music composition tool")
4399 (description "LMMS is a digital audio workstation. It includes tools for sequencing
4400 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
4401 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
4402 (license license:gpl2+)))
4403
4404 (define-public liquidsfz
4405 (package
4406 (name "liquidsfz")
4407 (version "0.2.2")
4408 (source (origin
4409 (method url-fetch)
4410 (uri (string-append "https://space.twc.de/~stefan/liquidsfz/"
4411 "liquidsfz-" version ".tar.bz2"))
4412 (sha256
4413 (base32
4414 "011m839vjb8gmiv1vzc0d7xz2q2jiwk4v0j9paqyx3lm61czvy93"))))
4415 (build-system gnu-build-system)
4416 (arguments
4417 `(#:configure-flags '("--enable-shared")))
4418 (native-inputs
4419 `(("pkg-config" ,pkg-config)
4420 ;; Fails with default gcc (#include <filesystem> not found).
4421 ("gcc" ,gcc-9)))
4422 (inputs
4423 `(("jack" ,jack-2)
4424 ("lv2" ,lv2)
4425 ("readline" ,readline)
4426 ("libsndfile" ,libsndfile)))
4427 (home-page "https://github.com/swesterfeld/liquidsfz")
4428 (synopsis "Sampler library")
4429 (description "The main goal of liquidsfz is to provide an SFZ sampler
4430 implementation library that is easy to integrate into other projects. A
4431 standalone JACK client and an LV2 plugin is also available.")
4432 (license license:lgpl2.1+)))
4433
4434 (define-public musescore
4435 (package
4436 (name "musescore")
4437 (version "3.6")
4438 (source
4439 (origin
4440 (method git-fetch)
4441 (uri (git-reference
4442 (url "https://github.com/musescore/MuseScore")
4443 (commit (string-append "v" version))))
4444 (file-name (git-file-name name version))
4445 (sha256
4446 (base32 "0c9yf8irkism3ffzzpkx636wa6b1r1lgpsb2x63pr0gbi5ss5kyh"))
4447 (modules '((guix build utils)))
4448 (snippet
4449 ;; Remove unused libraries.
4450 '(begin
4451 (for-each delete-file-recursively
4452 '("thirdparty/freetype"
4453 "thirdparty/openssl"
4454 "thirdparty/portmidi"
4455 "thirdparty/qt-google-analytics"))
4456 #t))))
4457 (build-system cmake-build-system)
4458 (arguments
4459 `(#:configure-flags
4460 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
4461 "-DBUILD_WEBENGINE=OFF"
4462 "-DDOWNLOAD_SOUNDFONT=OFF"
4463 "-DMUSESCORE_BUILD_CONFIG=release"
4464 "-DUSE_SYSTEM_FREETYPE=ON")
4465 ;; There are tests, but no simple target to run. The command used to
4466 ;; run them is:
4467 ;;
4468 ;; make debug && sudo make installdebug && cd \
4469 ;; build.debug/mtest && make && ctest
4470 ;;
4471 ;; Basically, it requires to start a whole new build process.
4472 ;; So we simply skip them.
4473 #:tests? #f))
4474 (inputs
4475 `(("alsa-lib" ,alsa-lib)
4476 ("freetype" ,freetype)
4477 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
4478 ("jack" ,jack-1)
4479 ("lame" ,lame)
4480 ("libogg" ,libogg)
4481 ("libsndfile" ,libsndfile)
4482 ("libvorbis" ,libvorbis)
4483 ("portaudio" ,portaudio)
4484 ("portmidi" ,portmidi)
4485 ("pulseaudio" ,pulseaudio)
4486 ("qtbase" ,qtbase)
4487 ("qtdeclarative" ,qtdeclarative)
4488 ("qtquickcontrols2" ,qtquickcontrols2)
4489 ("qtscript" ,qtscript)
4490 ("qtsvg" ,qtsvg)
4491 ("qtxmlpatterns" ,qtxmlpatterns)))
4492 (native-inputs
4493 `(("pkg-config" ,pkg-config)
4494 ("qttools" ,qttools)))
4495 (synopsis "Music composition and notation software")
4496 (description
4497 "MuseScore is a music score typesetter. Its main purpose is the creation
4498 of high-quality engraved musical scores in a WYSIWYG environment.
4499
4500 It supports unlimited staves, linked parts and part extraction, tablature,
4501 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
4502 lyrics (multiple verses), fretboard diagrams, and in general everything
4503 commonly used in sheet music. Style options and style sheets to change the
4504 appearance and layout are provided.
4505
4506 MuseScore can also play back scores through the built-in sequencer and SoundFont
4507 sample library.")
4508 (home-page "https://musescore.org")
4509 (license license:gpl2)))
4510
4511 (define-public muse-sequencer
4512 (package
4513 (name "muse-sequencer")
4514 (version "3.1.1")
4515 (source (origin
4516 (method git-fetch)
4517 (uri (git-reference
4518 (url "https://github.com/muse-sequencer/muse")
4519 (commit (string-append "muse_"
4520 (string-map (lambda (c)
4521 (if (char=? c #\.)
4522 #\_ c)) version)))))
4523 (file-name (git-file-name name version))
4524 (sha256
4525 (base32
4526 "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p"))))
4527 (build-system cmake-build-system)
4528 (arguments
4529 `(#:tests? #f ; there is no test target
4530 #:configure-flags
4531 (list "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4532 "-DENABLE_VST_NATIVE=OFF"
4533 (string-append "-DCMAKE_EXE_LINKER_FLAGS="
4534 "-Wl,-rpath="
4535 (assoc-ref %outputs "out") "/lib/muse-"
4536 ,(version-major+minor version) "/modules")
4537 (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
4538 "-Wl,-rpath="
4539 (assoc-ref %outputs "out") "/lib/muse-"
4540 ,(version-major+minor version) "/modules"))
4541 #:phases
4542 (modify-phases %standard-phases
4543 (add-after 'unpack 'chdir
4544 (lambda _ (chdir "muse3") #t))
4545 (add-after 'chdir 'fix-include
4546 (lambda _
4547 (substitute* "muse/driver/rtaudio.h"
4548 (("rtaudio/RtAudio.h") "RtAudio.h"))
4549 #t)))))
4550 (inputs
4551 `(("alsa-lib" ,alsa-lib)
4552 ("lash" ,lash)
4553 ("jack" ,jack-1)
4554 ("liblo" ,liblo)
4555 ("dssi" ,dssi)
4556 ("ladspa" ,ladspa)
4557 ("lv2" ,lv2)
4558 ("lilv" ,lilv)
4559 ("sord" ,sord)
4560 ("libsndfile" ,libsndfile)
4561 ("libsamplerate" ,libsamplerate)
4562 ("lrdf" ,lrdf)
4563 ("fluidsynth" ,fluidsynth)
4564 ("pcre" ,pcre)
4565 ("pulseaudio" ,pulseaudio) ; required by rtaudio
4566 ("qtbase" ,qtbase)
4567 ("qtsvg" ,qtsvg)
4568 ("rtaudio" ,rtaudio)
4569 ("rubberband" ,rubberband)))
4570 (native-inputs
4571 `(("pkg-config" ,pkg-config)
4572 ("qttools" ,qttools)))
4573 (home-page "https://muse-sequencer.github.io/")
4574 (synopsis "MIDI/Audio sequencer")
4575 (description "MusE is a MIDI/Audio sequencer with recording and editing
4576 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4577 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4578 list view, and a score editor. MusE aims to be a complete multitrack virtual
4579 studio.")
4580 (license license:gpl2+)))
4581
4582 (define-public dssi
4583 (package
4584 (name "dssi")
4585 (version "1.1.1")
4586 (source (origin
4587 (method url-fetch)
4588 (uri (string-append
4589 "mirror://sourceforge/dssi/dssi/" version
4590 "/dssi-" version ".tar.gz"))
4591 (sha256
4592 (base32
4593 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4594 (build-system gnu-build-system)
4595 (inputs
4596 `(("alsa-lib" ,alsa-lib)
4597 ("jack" ,jack-1)
4598 ("ladspa" ,ladspa)
4599 ("libsamplerate" ,libsamplerate)
4600 ("libsndfile" ,libsndfile)
4601 ("liblo" ,liblo)))
4602 (native-inputs
4603 `(("pkg-config" ,pkg-config)))
4604 (synopsis "Audio plugin API for soft synths and effects")
4605 (description "DSSI is a plugin API for software instruments with user
4606 interfaces, permitting them to be hosted in-process by audio applications.
4607 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4608 towards familiarity with MIDI. The DSSI distribution package contains
4609 a JACK/ALSA-sequencer reference host and some plugins as well as the
4610 specification and header.")
4611 (home-page "http://dssi.sourceforge.net/")
4612 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4613 ;; The vast majority of examples are in the public domain.
4614 (license (list license:lgpl2.1+ license:gpl2+))))
4615
4616 (define-public rosegarden
4617 (package
4618 (name "rosegarden")
4619 (version "20.12")
4620 (source
4621 (origin
4622 (method url-fetch)
4623 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4624 version "/rosegarden-" version ".tar.bz2"))
4625 (sha256
4626 (base32 "0nqw2caxmv6mqh485wzvywa024yvi18q87sd4dw9b2l5qnpq8rl8"))))
4627 (build-system cmake-build-system)
4628 (arguments
4629 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4630 #:phases
4631 (modify-phases %standard-phases
4632 (add-after 'unpack 'patch-tests
4633 (lambda _
4634 (substitute* "CMakeLists.txt"
4635 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4636 ;; Make tests work.
4637 ((" -fvisibility=hidden") ""))
4638 #t))
4639 (add-after 'unpack 'fix-references
4640 (lambda* (#:key inputs #:allow-other-keys)
4641 (substitute* "src/gui/general/ProjectPackager.cpp"
4642 (("\"flac\\>")
4643 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4644 (("\"wavpack\\>")
4645 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4646 (("\"wvunpack\\>")
4647 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4648 (("\"bash\\>")
4649 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4650 (("\"tar\\>")
4651 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4652 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4653 (("\"convert-ly\\>")
4654 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4655 (("\"lilypond\\>")
4656 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4657 #t))
4658 (add-after 'unpack 'make-reproducible
4659 (lambda _
4660 ;; Prevent Last-Modified from being written.
4661 ;; The "*.qm" files that are used in locale.qrc would have a new
4662 ;; mtime otherwise that is written into qrc_locale.cpp in the
4663 ;; end - except when we disable it.
4664 (substitute* "src/CMakeLists.txt"
4665 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4666 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4667 ;; Extraneous.
4668 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4669 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4670 )
4671 ;; Make hashtable traversal order predicable.
4672 (setenv "QT_RCC_TEST" "1") ; important
4673 #t))
4674 (add-before 'check 'prepare-check
4675 (lambda _
4676 (setenv "QT_QPA_PLATFORM" "offscreen")
4677 ;; Tests create files in $HOME/.local/share/rosegarden .
4678 (mkdir-p "/tmp/foo")
4679 (setenv "HOME" "/tmp/foo")
4680 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
4681 #t)))))
4682 (inputs
4683 `(("alsa-lib" ,alsa-lib)
4684 ("bash" ,bash)
4685 ("dssi" ,dssi)
4686 ("flac" ,flac)
4687 ("fftwf" ,fftwf)
4688 ("jack" ,jack-1)
4689 ("ladspa" ,ladspa)
4690 ("liblo" ,liblo)
4691 ("libsamplerate" ,libsamplerate)
4692 ("lilypond" ,lilypond)
4693 ("lrdf" ,lrdf)
4694 ("qtbase" ,qtbase)
4695 ("tar" ,tar)
4696 ("lirc" ,lirc)
4697 ("wavpack" ,wavpack)
4698 ("zlib" ,zlib)))
4699 (native-inputs
4700 `(("pkg-config" ,pkg-config)
4701 ("qtlinguist" ,qttools)))
4702 (synopsis "Music composition and editing environment based around a MIDI
4703 sequencer")
4704 (description "Rosegarden is a music composition and editing environment
4705 based around a MIDI sequencer that features a rich understanding of music
4706 notation and includes basic support for digital audio.")
4707 (home-page "https://www.rosegardenmusic.com/")
4708 (license license:gpl2)))
4709
4710 (define-public patchmatrix
4711 (package
4712 (name "patchmatrix")
4713 (version "0.16.0")
4714 (source (origin
4715 (method git-fetch)
4716 (uri (git-reference
4717 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
4718 (commit version)))
4719 (file-name (git-file-name "patchmatrix" version))
4720 (sha256
4721 (base32
4722 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
4723 (build-system meson-build-system)
4724 (arguments '(#:tests? #f)) ; no test target
4725 (inputs
4726 `(("jack" ,jack-1)
4727 ("lv2" ,lv2)
4728 ("mesa" ,mesa)))
4729 (native-inputs
4730 `(("pkg-config" ,pkg-config)))
4731 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
4732 (synopsis "Simple JACK patch bay")
4733 (description "PatchMatrix is a patch bay for the JACK audio connection
4734 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
4735 OSC connections.")
4736 (license license:artistic2.0)))
4737
4738 (define-public sorcer
4739 (package
4740 (name "sorcer")
4741 (version "1.1.3")
4742 (source (origin
4743 (method url-fetch)
4744 (uri (string-append "https://github.com/openAVproductions/"
4745 "openAV-Sorcer/archive/release-"
4746 version ".tar.gz"))
4747 (file-name (string-append name "-" version ".tar.gz"))
4748 (sha256
4749 (base32
4750 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
4751 (build-system cmake-build-system)
4752 (arguments
4753 `(#:tests? #f ; no tests included
4754 #:phases
4755 (modify-phases %standard-phases
4756 (add-after 'unpack 'remove-architecture-specific-flags
4757 (lambda _
4758 (substitute* "CMakeLists.txt"
4759 (("-msse2 -mfpmath=sse") ""))
4760 #t))
4761 (add-after 'unpack 'build-faust-sources
4762 (lambda* (#:key inputs #:allow-other-keys)
4763 (with-directory-excursion "faust"
4764 (delete-file "main.cpp")
4765 (invoke "faust" "-i"
4766 "-a" "lv2synth.cpp"
4767 "-o" "main.cpp" "main.dsp")))))))
4768 (inputs
4769 `(("boost" ,boost)
4770 ("lv2" ,lv2)
4771 ("ntk" ,ntk)))
4772 (native-inputs
4773 `(("faust" ,faust)
4774 ("pkg-config" ,pkg-config)))
4775 (home-page "http://openavproductions.com/sorcer/")
4776 (synopsis "Wavetable LV2 plugin synth")
4777 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
4778 the electronic or dubstep genre.")
4779 (license license:gpl3+)))
4780
4781 (define-public sonivox-eas
4782 (package
4783 (name "sonivox-eas")
4784 (version "1.1.0")
4785 (source (origin
4786 (method git-fetch)
4787 (uri (git-reference
4788 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
4789 (commit (string-append "v" version))))
4790 (file-name (string-append name "-" version "-checkout"))
4791 (sha256
4792 (base32
4793 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
4794 (build-system cmake-build-system)
4795 (arguments '(#:tests? #f)) ; there are no tests
4796 (inputs
4797 `(("alsa-lib" ,alsa-lib)
4798 ("drumstick" ,drumstick)
4799 ("pulseaudio" ,pulseaudio)
4800 ("qtbase" ,qtbase)))
4801 (native-inputs
4802 `(("pkg-config" ,pkg-config)))
4803 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
4804 (synopsis "MIDI synthesizer library")
4805 (description "This project is a real time General MIDI synthesizer based
4806 on the Sonivox EAS Synthesizer by Google. It does not need external
4807 soundfonts, using embedded samples instead.")
4808 ;; Sonivox is released under the ASL2.0; the rest of the code is under
4809 ;; GPLv2+.
4810 (license (list license:gpl2+ license:asl2.0))))
4811
4812 (define-public whysynth
4813 (package
4814 (name "whysynth")
4815 (version "20170701")
4816 (source (origin
4817 (method url-fetch)
4818 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
4819 version ".tar.bz2"))
4820 (sha256
4821 (base32
4822 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
4823 (build-system gnu-build-system)
4824 (inputs
4825 `(("dssi" ,dssi)
4826 ("liblo" ,liblo)
4827 ("fftwf" ,fftwf)
4828 ("gtk+" ,gtk+-2)
4829 ("ladspa" ,ladspa)
4830 ("alsa-lib" ,alsa-lib)))
4831 (native-inputs
4832 `(("pkg-config" ,pkg-config)))
4833 (home-page "http://smbolton.com/whysynth.html")
4834 (synopsis "DSSI software synthesizer")
4835 (description "WhySynth is a versatile softsynth which operates as a plugin
4836 for the DSSI Soft Synth Interface. A brief list of features:
4837
4838 @enumerate
4839 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
4840 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
4841 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
4842 distortion.
4843 @item 10 filter modes.
4844 @item flexible modulation and mixdown options, plus effects.
4845 @end enumerate
4846 ")
4847 (license license:gpl2+)))
4848
4849 (define-public libdiscid
4850 (package
4851 (name "libdiscid")
4852 (version "0.6.2")
4853 (source
4854 (origin
4855 (method url-fetch)
4856 (uri (string-append
4857 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
4858 version ".tar.gz"))
4859 (sha256
4860 (base32
4861 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
4862 (arguments `(#:test-target "check"))
4863 (build-system cmake-build-system)
4864 (home-page "https://musicbrainz.org/doc/libdiscid")
4865 (synopsis "Disc id reader library")
4866 (description "libdiscid is a C library for creating MusicBrainz and freedb
4867 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
4868 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
4869 it provides a submission URL for adding the disc ID to the database and gathers
4870 ISRCs and the MCN (=UPC/EAN) from disc.")
4871 (license license:lgpl2.1+)))
4872
4873 (define-public python-discid
4874 (package
4875 (name "python-discid")
4876 (version "1.1.1")
4877 (source
4878 (origin
4879 (method url-fetch)
4880 (uri (pypi-uri "discid" version))
4881 (sha256
4882 (base32
4883 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
4884 (build-system python-build-system)
4885 (inputs
4886 `(("libdiscid" ,libdiscid)))
4887 (arguments
4888 `(#:phases
4889 (modify-phases %standard-phases
4890 (add-before 'build 'set-libdiscid
4891 ;; Set path of libdiscid
4892 (lambda* (#:key inputs #:allow-other-keys)
4893 (let ((discid (assoc-ref inputs "libdiscid")))
4894 (substitute* "discid/libdiscid.py"
4895 (("lib_name = (.*)$" all name)
4896 (string-append "lib_name = \"" discid
4897 "/lib/libdiscid.so.0\"\n")))
4898 #t))))))
4899 (home-page "https://python-discid.readthedocs.io/")
4900 (synopsis "Python bindings for Libdiscid")
4901 (description
4902 "This package provides Python bindings for the Libdiscid library. The
4903 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
4904 Disc IDs} for use with the MusicBrainz database. Additionally the disc
4905 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
4906 Recording Code} (ISRC) can be extracted.}")
4907 (license license:lgpl3+)))
4908
4909 (define-public libmusicbrainz
4910 (package
4911 (name "libmusicbrainz")
4912 (version "5.1.0")
4913 (source
4914 (origin
4915 (method url-fetch)
4916 (uri (string-append
4917 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
4918 version "/libmusicbrainz-" version ".tar.gz"))
4919 (sha256
4920 (base32
4921 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
4922 (build-system cmake-build-system)
4923 (arguments
4924 `(#:phases
4925 (modify-phases %standard-phases
4926 (replace 'check
4927 (lambda _
4928 ;; requires network connections
4929 ;; (invoke "tests/mbtest")
4930 (invoke "tests/ctest")
4931 #t)))))
4932 (inputs `(("neon" ,neon)
4933 ("libxml2" ,libxml2)))
4934 (native-inputs `(("pkg-config" ,pkg-config)))
4935 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
4936 (synopsis "MusicBrainz client library")
4937 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
4938 mb_client, is a development library geared towards developers who wish to add
4939 MusicBrainz lookup capabilities to their applications.")
4940 (license license:lgpl2.1+)))
4941
4942 (define-public perl-musicbrainz-discid
4943 (package
4944 (name "perl-musicbrainz-discid")
4945 (version "0.04")
4946 (source (origin
4947 (method url-fetch)
4948 (uri (string-append
4949 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
4950 version ".tar.gz"))
4951 (sha256
4952 (base32
4953 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
4954 (build-system perl-build-system)
4955 (native-inputs `(("pkg-config" ,pkg-config)
4956 ("which" ,which)))
4957 (inputs `(("libdiscid" ,libdiscid)))
4958 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
4959 (synopsis "Perl interface to the MusicBrainz libdiscid library")
4960 (description
4961 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
4962 MusicBrainz libdiscid library, allowing you to manipulate digital audio
4963 compact disc (CDDA) identifiers.")
4964 (license license:gpl2)))
4965
4966 (define-public perl-webservice-musicbrainz
4967 (package
4968 (name "perl-webservice-musicbrainz")
4969 (version "1.0.5")
4970 (source (origin
4971 (method url-fetch)
4972 (uri (string-append
4973 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
4974 version ".tar.gz"))
4975 (sha256
4976 (base32
4977 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
4978 (build-system perl-build-system)
4979 (arguments
4980 ;; Tests try to connect to http://musicbrainz.org.
4981 '(#:tests? #f))
4982 (native-inputs
4983 `(("perl-module-build" ,perl-module-build)))
4984 (propagated-inputs
4985 `(("perl-mojolicious" ,perl-mojolicious)))
4986 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
4987 (synopsis "Web service API to the MusicBrainz database")
4988 (description
4989 "This module searches the MusicBrainz database through their web service
4990 at @code{musicbrainz.org}.")
4991 (license license:perl-license)))
4992
4993 (define-public clyrics
4994 (package
4995 (name "clyrics")
4996 (version "0.12")
4997 (source
4998 (origin
4999 (method git-fetch)
5000 (uri (git-reference
5001 (url "https://github.com/trizen/clyrics")
5002 (commit version)))
5003 (file-name (git-file-name name version))
5004 (sha256
5005 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
5006 (build-system trivial-build-system)
5007 (inputs
5008 `(("bash" ,bash) ; for the wrapped program
5009 ("perl" ,perl)
5010 ("perl-www-mechanize" ,perl-www-mechanize)
5011 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
5012 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
5013 ;; 500 Can't verify SSL peers without knowing which Certificate
5014 ;; Authorities to trust".
5015 ("perl-mozilla-ca" ,perl-mozilla-ca)))
5016 (arguments
5017 `(#:modules ((guix build utils))
5018 #:builder (begin
5019 (use-modules (guix build utils)
5020 (ice-9 match)
5021 (srfi srfi-26))
5022 (let* ((source (assoc-ref %build-inputs "source"))
5023 (output (assoc-ref %outputs "out")))
5024 (setenv "PATH"
5025 (string-append
5026 (assoc-ref %build-inputs "bash") "/bin" ":"
5027 (assoc-ref %build-inputs "perl") "/bin" ":"))
5028 (copy-recursively source (getcwd))
5029 (patch-shebang "clyrics")
5030 (substitute* "clyrics"
5031 (("/usr/share") output))
5032 (install-file "clyrics" (string-append output "/bin"))
5033 (wrap-program (string-append output "/bin/clyrics")
5034 `("PERL5LIB" ":" =
5035 ,(delete
5036 ""
5037 (map (match-lambda
5038 (((? (cut string-prefix? "perl-" <>) name) . dir)
5039 (string-append dir "/lib/perl5/site_perl"))
5040 (_ ""))
5041 %build-inputs))))
5042 (copy-recursively "plugins" (string-append output "/clyrics"))
5043 #t))))
5044 (home-page "https://github.com/trizen/clyrics")
5045 (synopsis "Extensible lyrics fetcher")
5046 (description
5047 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
5048 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
5049 console music players.")
5050 (license license:gpl3+)))
5051
5052 (define-public demlo
5053 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
5054 (revision "0"))
5055 (package
5056 (name "demlo")
5057 (version (git-version "3.8" revision commit))
5058 (source
5059 (origin
5060 (method git-fetch)
5061 (uri (git-reference
5062 (url
5063 "https://gitlab.com/ambrevar/demlo")
5064 (commit commit)))
5065 (file-name (git-file-name name version))
5066 (sha256
5067 (base32
5068 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
5069 (build-system go-build-system)
5070 (native-inputs
5071 `(("lua" ,lua)
5072 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5073 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
5074 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
5075 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
5076 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
5077 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
5078 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
5079 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
5080 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
5081 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
5082 (inputs
5083 `(("chromaprint" ,chromaprint)
5084 ("ffmpeg" ,ffmpeg)))
5085 (arguments
5086 `(#:import-path "gitlab.com/ambrevar/demlo"
5087 #:phases
5088 (modify-phases %standard-phases
5089 (add-after 'install 'wrap-program
5090 (lambda* (#:key inputs outputs #:allow-other-keys)
5091 (let ((out (assoc-ref outputs "out"))
5092 (ffmpeg (assoc-ref inputs "ffmpeg"))
5093 (chromaprint (assoc-ref inputs "chromaprint")))
5094 (wrap-program (string-append out "/bin/demlo")
5095 `("XDG_DATA_DIRS" ":" prefix (,out))
5096 `("PATH" ":" prefix
5097 ,(map (lambda (dir)
5098 (string-append dir "/bin:"
5099 dir "/sbin"))
5100 (list ffmpeg chromaprint))))
5101 #t)))
5102 (add-after 'install 'install-scripts
5103 (lambda* (#:key outputs #:allow-other-keys)
5104 (let* ((out (assoc-ref outputs "out"))
5105 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
5106 (xdg-data-dirs (string-append out "/demlo")))
5107 (copy-recursively (string-append root "/actions")
5108 (string-append xdg-data-dirs "/actions"))
5109 (copy-recursively (string-append root "/scripts")
5110 (string-append xdg-data-dirs "/scripts"))
5111 (install-file (string-append root "/config.lua") xdg-data-dirs)
5112 ;; TODO: Test fish completion.
5113 (install-file (string-append root "/completion/demlo.fish")
5114 (string-append out "/share/fish/vendor_completions.d"))
5115 #t))))))
5116 (home-page "https://gitlab.com/ambrevar/demlo")
5117 (synopsis "Dynamic and extensible music library organizer")
5118 (description "Demlo is a music library organizer. It can encode, fix
5119 case, change folder hierarchy according to tags or file properties, tag from
5120 an online database, copy covers while ignoring duplicates or those below a
5121 quality threshold, and much more. It makes it possible to manage your
5122 libraries uniformly and dynamically. You can write your own rules to fit your
5123 needs best.
5124
5125 Demlo can address any of these recurring music library issues (and much more):
5126
5127 @itemize
5128 @item Fix the lack of folder structure.
5129 @item Normalize tags, fix their case, chose which tags to keep and which to
5130 discard.
5131 @item Handle lossy and lossless audio differently.
5132 @item Handle mp3 id3tags hell...
5133 @item Handle multiple covers, whether embedded and/or external, resize covers,
5134 discard bad quality ones.
5135 @end itemize\n")
5136 (license license:expat))))
5137
5138 (define-public fmit
5139 (package
5140 (name "fmit")
5141 (version "1.2.14")
5142 (source (origin
5143 (method git-fetch)
5144 (uri (git-reference
5145 (url "https://github.com/gillesdegottex/fmit/")
5146 (commit (string-append "v" version))))
5147 (file-name (git-file-name name version))
5148 (sha256
5149 (base32
5150 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
5151 (build-system gnu-build-system)
5152 (arguments
5153 '(#:phases
5154 (modify-phases %standard-phases
5155 (delete 'configure)
5156 (add-before 'build 'qmake
5157 (lambda _
5158 (let ((out (assoc-ref %outputs "out")))
5159 (invoke "qmake"
5160 "fmit.pro"
5161 (string-append "PREFIX=" out)
5162 (string-append "PREFIXSHORTCUT=" out)
5163 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
5164 (add-after 'install 'wrap-executable
5165 (lambda* (#:key inputs outputs #:allow-other-keys)
5166 (let ((out (assoc-ref outputs "out")))
5167 (wrap-program (string-append out "/bin/fmit")
5168 `("QT_PLUGIN_PATH" ":" prefix
5169 ,(map (lambda (label)
5170 (string-append (assoc-ref inputs label)
5171 "/lib/qt5/plugins"))
5172 '("qtbase" "qtmultimedia" "qtsvg")))
5173 `("QML2_IMPORT_PATH" ":" prefix
5174 ,(map (lambda (label)
5175 (string-append (assoc-ref inputs label)
5176 "/lib/qt5/qml"))
5177 '("qtmultimedia"))))
5178 #t))))))
5179 (inputs
5180 `(("alsa-lib" ,alsa-lib)
5181 ("fftw" ,fftw)
5182 ("jack" ,jack-1)
5183 ("portaudio" ,portaudio)
5184 ("qtbase" ,qtbase)
5185 ("qtmultimedia" ,qtmultimedia)
5186 ("qtsvg" ,qtsvg)))
5187 (native-inputs
5188 `(("gettext" ,gettext-minimal)
5189 ("hicolor-icon-theme" ,hicolor-icon-theme)
5190 ("itstool" ,itstool)
5191 ("qttools" ,qttools)))
5192 (synopsis "Musical instrument tuner")
5193 (description "FMIT is a graphical utility for tuning musical instruments,
5194 with error and volume history, and advanced features.")
5195 (home-page "https://gillesdegottex.github.io/fmit/")
5196 ;; Most of the code is under GPL2+, but some abstract or helper classes
5197 ;; are under LGPL2.1.
5198 (license (list license:gpl2+ license:lgpl2.1))))
5199
5200 (define-public mloop
5201 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
5202 (revision "0"))
5203 (package
5204 (name "mloop")
5205 (version (git-version "0.0.1" revision commit))
5206 (source (origin
5207 (method git-fetch)
5208 (uri (git-reference
5209 (url "http://git.fuzzle.org/mloop")
5210 (commit commit)))
5211 (file-name (git-file-name name version))
5212 (sha256
5213 (base32
5214 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
5215 (build-system waf-build-system)
5216 (arguments
5217 `(#:python ,python-2
5218 #:tests? #f)) ; no "check" target
5219 (inputs
5220 `(("jack" ,jack-1)
5221 ("ncurses" ,ncurses)))
5222 (native-inputs
5223 `(("pkg-config" ,pkg-config)))
5224 (home-page "https://fuzzle.org/~petern/mloop.html")
5225 (synopsis "Live MIDI looper")
5226 (description "mloop is a live MIDI looping system, using jack-midi.
5227 Loops are recorded, optionally with beat quantization, and can then be played
5228 back, either once or looping. A 'note cache' system is implemented to
5229 remember which notes are pressed and their velocities. This allows for a loop
5230 to start off with the currently pressed notes, making seamless loops much
5231 easier to perform. Features include:
5232
5233 @itemize
5234 @item Quantisation; end a loop on a beat exactly.
5235 @item Delayed recording; wait for a MIDI event before starting a loop record.
5236 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
5237 @end itemize\n")
5238 (license license:gpl2))))
5239
5240 (define-public pragha
5241 (package
5242 (name "pragha")
5243 (version "1.3.4")
5244 (source (origin
5245 (method url-fetch)
5246 (uri (string-append "https://github.com/pragha-music-player/pragha/"
5247 "releases/download/v" version "/pragha-" version
5248 ".tar.bz2"))
5249 (sha256
5250 (base32
5251 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
5252 (build-system glib-or-gtk-build-system)
5253 (native-inputs
5254 `(("intltool" ,intltool)
5255 ("pkg-config" ,pkg-config)))
5256 (inputs
5257 `(("glib" ,glib)
5258 ("grilo" ,grilo)
5259 ("gstreamer" ,gstreamer)
5260 ("gst-plugins-base" ,gst-plugins-base)
5261 ("gst-plugins-good" ,gst-plugins-good)
5262 ("gtk+" ,gtk+)
5263 ("libcddb" ,libcddb)
5264 ("libcdio" ,libcdio)
5265 ("libcdio-paranoia" ,libcdio-paranoia)
5266 ("libgudev" ,libgudev)
5267 ("libnotify" ,libnotify)
5268 ("libpeas" ,libpeas)
5269 ("libsoup" ,libsoup)
5270 ("sqlite" ,sqlite)
5271 ("taglib" ,taglib)))
5272 (arguments
5273 `(#:phases
5274 (modify-phases %standard-phases
5275 (add-after 'install 'wrap-program
5276 (lambda* (#:key inputs outputs #:allow-other-keys)
5277 (let ((out (assoc-ref outputs "out"))
5278 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
5279 (wrap-program (string-append out "/bin/pragha")
5280 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
5281 #t))))))
5282 (home-page "https://pragha-music-player.github.io")
5283 (synopsis "Music player")
5284 (description "Pragha is a lightweight music player based on Gtk and
5285 sqlite. It is constructed to be fast, light, and simultaneously tries to be
5286 complete without obstructing your daily work.")
5287 (license license:gpl3+)))
5288
5289 (define-public playerctl
5290 (package
5291 (name "playerctl")
5292 (version "2.2.1")
5293 (source (origin
5294 (method git-fetch)
5295 (uri (git-reference
5296 (url "https://github.com/altdesktop/playerctl")
5297 (commit (string-append "v" version))))
5298 (file-name (git-file-name name version))
5299 (sha256
5300 (base32
5301 "17hi33sw3663qz5v54bqqil31sgkrlxkb2l5bgqk87pac6x2wnbz"))))
5302 (build-system meson-build-system)
5303 (arguments
5304 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
5305 (inputs `(("python-pygobject" ,python-pygobject)))
5306 (native-inputs
5307 `(("glib:bin" ,glib "bin")
5308 ("pkg-config" ,pkg-config)))
5309 (synopsis "Control MPRIS-supporting media player applications")
5310 (description
5311 "Playerctl is a command-line utility and library for controlling media
5312 players that implement the MPRIS D-Bus Interface Specification. Playerctl
5313 makes it easy to bind player actions, such as play and pause, to media keys.
5314 You can also get metadata about the playing track such as the artist and title
5315 for integration into status line generators or other command-line tools.")
5316 (home-page "https://github.com/altdesktop/playerctl")
5317 (license license:lgpl3+)))
5318
5319 (define-public artyfx
5320 (package
5321 (name "artyfx")
5322 (version "1.3")
5323 (source (origin
5324 (method git-fetch)
5325 (uri (git-reference
5326 (url
5327 "https://github.com/openAVproductions/openAV-ArtyFX")
5328 (commit (string-append "release-" version))))
5329 (file-name (git-file-name name version))
5330 (sha256
5331 (base32
5332 "012hcy1mxl7gs2lipfcqp5x0xv1azb9hjrwf0h59yyxnzx96h7c9"))))
5333 (build-system cmake-build-system)
5334 (arguments
5335 `(#:tests? #f ; no tests included
5336 #:phases
5337 (modify-phases %standard-phases
5338 (add-after 'unpack 'remove-architecture-specific-flags
5339 (lambda _
5340 (substitute* "CMakeLists.txt"
5341 (("-msse2 -mfpmath=sse") ""))
5342 #t)))))
5343 (inputs
5344 `(("cairo" ,cairo)
5345 ("libsndfile" ,libsndfile)))
5346 (native-inputs
5347 `(("pkg-config" ,pkg-config)
5348 ("lv2" ,lv2)))
5349 (home-page "http://openavproductions.com/artyfx/")
5350 (synopsis "Audio effect LV2 plugin bundle")
5351 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
5352 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
5353 and reverb.")
5354 (license license:gpl2+)))
5355
5356 (define-public lsp-plugins
5357 (package
5358 (name "lsp-plugins")
5359 (version "1.1.26")
5360 (source
5361 (origin
5362 (method git-fetch)
5363 (uri (git-reference
5364 (url "https://github.com/sadko4u/lsp-plugins")
5365 (commit (string-append "lsp-plugins-" version))))
5366 (file-name (git-file-name name version))
5367 (sha256
5368 (base32 "1apw8zh3a3il4smkjji6bih4vbsymj0hjs10fgkrd4nazqkjvgyd"))))
5369 (build-system gnu-build-system)
5370 (arguments
5371 `(#:make-flags
5372 (list
5373 (string-append "CC=" ,(cc-for-target))
5374 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5375 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5376 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5377 #:phases
5378 (modify-phases %standard-phases
5379 (delete 'configure)) ; no configure script
5380 #:test-target "test"))
5381 (inputs
5382 `(("cairo" ,cairo)
5383 ("hicolor-icon-theme" ,hicolor-icon-theme)
5384 ("jack" ,jack-1)
5385 ("ladspa" ,ladspa)
5386 ("libsndfile" ,libsndfile)
5387 ("lv2" ,lv2)
5388 ("mesa" ,mesa)))
5389 (native-inputs
5390 `(("pkg-config" ,pkg-config)))
5391 (synopsis "Audio plugin collection")
5392 (description "LSP (Linux Studio Plugins) is a collection of audio
5393 plugins available as LADSPA/LV2 plugins and as standalone JACK
5394 applications.")
5395 (home-page "https://lsp-plug.in/")
5396 (license license:lgpl3)))
5397
5398 (define-public sherlock-lv2
5399 (package
5400 (name "sherlock-lv2")
5401 (version "0.24.0")
5402 (source
5403 (origin
5404 (method url-fetch)
5405 (uri (string-append
5406 "https://git.open-music-kontrollers.ch/lv2/"
5407 "sherlock.lv2/snapshot/sherlock.lv2-"
5408 version ".tar.xz"))
5409 (sha256
5410 (base32
5411 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5412 (build-system meson-build-system)
5413 (inputs
5414 `(("glu" ,glu)
5415 ("libx11" ,libx11)
5416 ("mesa" ,mesa)
5417 ("sratom" ,sratom)))
5418 (native-inputs
5419 `(("flex" ,flex)
5420 ("pkg-config" ,pkg-config)))
5421 (synopsis "Investigative LV2 plugin bundle")
5422 (description "The Sherlock plugin bundle contains LV2 plugins for
5423 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5424 and debugging of event signal flows inside plugin graphs.")
5425 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5426 (license license:artistic2.0)))
5427
5428 (define-public foo-yc20
5429 (package
5430 (name "foo-yc20")
5431 (version "1.3.0")
5432 (source
5433 (origin
5434 (method url-fetch)
5435 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5436 version "/foo-yc20-" version ".tar.bz2"))
5437 (sha256
5438 (base32
5439 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5440 (build-system gnu-build-system)
5441 (arguments
5442 `(#:make-flags
5443 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5444 #:tests? #f ; no automated test
5445 #:phases
5446 (modify-phases %standard-phases
5447 (replace 'configure
5448 (lambda _
5449 (substitute* "Makefile"
5450 (("-mtune=native") "")
5451 (("-march=native") ""))
5452 #t)))))
5453 (inputs
5454 `(("jack" ,jack-1)
5455 ("lv2" ,lv2)
5456 ("cairo" ,cairo)
5457 ("gtk" ,gtk+-2)))
5458 (native-inputs
5459 `(("faust" ,faust)
5460 ("pkg-config" ,pkg-config)))
5461 (home-page "https://foo-yc20.codeforcode.com/")
5462 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5463 (description "This is a Faust implementation of a 1969 designed Yamaha
5464 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5465 version. Processing for the organ is based on original schematics and
5466 measurements from a working specimen. This instrument simulates the circutry
5467 as a whole to realisticly reproduce the features and flaws of the real deal.")
5468 ;; Note that after 1.3.0 the license was changed.
5469 (license license:gpl3+)))
5470
5471 (define-public spectacle-analyzer
5472 (package
5473 (name "spectacle-analyzer")
5474 (version "1.0")
5475 (source
5476 (origin
5477 (method git-fetch)
5478 (uri (git-reference
5479 (url "https://github.com/jpcima/spectacle")
5480 (commit (string-append "v" version))
5481 ;; Bundles a specific commit of the DISTRHO plugin framework.
5482 (recursive? #t)))
5483 (file-name (git-file-name name version))
5484 (sha256
5485 (base32
5486 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5487 (build-system gnu-build-system)
5488 (arguments
5489 `(#:tests? #f ; no check target
5490 #:make-flags
5491 (list "CC=gcc"
5492 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5493 #:phases
5494 (modify-phases %standard-phases
5495 (delete 'configure))))
5496 (native-inputs
5497 `(("pkg-config" ,pkg-config)
5498 ("xxd" ,xxd)))
5499 (inputs
5500 `(("cairo" ,cairo)
5501 ("fftw" ,fftw)
5502 ("fftwf" ,fftwf)
5503 ("jack" ,jack-1)
5504 ("lv2" ,lv2)
5505 ("mesa" ,mesa)))
5506 (synopsis "Realtime graphical spectrum analyzer")
5507 (description "Spectacle is a real-time spectral analyzer using the
5508 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5509 (home-page "https://github.com/jpcima/spectacle")
5510 ;; The project is licensed under the ISC license, and files in
5511 ;; sources/plugin carry the Expat license.
5512 (license (list license:isc license:expat))))
5513
5514 (define-public x42-plugins
5515 (package
5516 (name "x42-plugins")
5517 (version "20200714")
5518 (source
5519 (origin
5520 (method url-fetch)
5521 (uri
5522 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5523 version ".tar.xz"))
5524 (sha256
5525 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5526 (build-system gnu-build-system)
5527 (arguments
5528 `(#:tests? #f ; no "check" target
5529 #:make-flags
5530 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5531 "LIBZITACONVOLVER=-lzita-convolver"
5532 (string-append "FONTFILE="
5533 (assoc-ref %build-inputs "font-dejavu")
5534 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5535 #:phases
5536 (modify-phases %standard-phases
5537 (add-before 'build 'set-CC-variable
5538 (lambda _
5539 (setenv "CC" "gcc")
5540 #t))
5541 (delete 'configure))))
5542 (inputs
5543 `(("cairo" ,cairo)
5544 ("fftwf" ,fftwf)
5545 ("ftgl" ,ftgl)
5546 ("glib" ,glib)
5547 ("glu" ,glu)
5548 ("hicolor-icon-theme" ,hicolor-icon-theme)
5549 ("jack" ,jack-1)
5550 ("libltc" ,libltc)
5551 ("libsamplerate" ,libsamplerate)
5552 ("libx11" ,libx11)
5553 ("pango" ,pango)
5554 ("zita-convolver" ,zita-convolver)))
5555 (native-inputs
5556 `(("help2man" ,help2man)
5557 ("liblo" ,liblo)
5558 ("lv2" ,lv2)
5559 ("font-dejavu" ,font-dejavu)
5560 ("pkg-config" ,pkg-config)))
5561 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5562 (description "x42-plugins is a collection of over 80 cross-platform LV2
5563 audio and MIDI plugins that can also run as standalone JACK applications.")
5564 (home-page "https://x42-plugins.com/x42/")
5565 (license license:gpl2+)))
5566
5567 (define-public zam-plugins
5568 (package
5569 (name "zam-plugins")
5570 (version "3.13")
5571 (source
5572 (origin
5573 (method git-fetch)
5574 (uri
5575 (git-reference
5576 (url "https://github.com/zamaudio/zam-plugins")
5577 (commit version)
5578 ;; Recursive to fetch the DISTRHO plugin framework. This
5579 ;; framework is intended to be included in the sources
5580 ;; and not to be used as a library.
5581 (recursive? #t)))
5582 (file-name (git-file-name name version))
5583 (sha256
5584 (base32 "0bxvssqnnd7bph3w1d6xcmxradv4cqq3wyzyv1a1hfm71a0pdahs"))))
5585 (build-system gnu-build-system)
5586 (arguments
5587 `(#:tests? #f ;no "check" target
5588 #:make-flags
5589 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5590 "HAVE_ZITA_CONVOLVER=true")
5591 #:phases
5592 (modify-phases %standard-phases
5593 (add-before 'build 'set-CC-variable
5594 (lambda _
5595 (setenv "CC" "gcc") #t))
5596 (delete 'configure))))
5597 (inputs
5598 `(("fftwf" ,fftwf)
5599 ("jack" ,jack-1) ;for the standalone JACK application
5600 ("liblo" ,liblo)
5601 ("libsamplerate" ,libsamplerate)
5602 ("mesa" ,mesa)
5603 ("zita-convolver" ,zita-convolver)))
5604 (native-inputs
5605 `(("ladspa" ,ladspa)
5606 ("lv2" ,lv2)
5607 ("pkg-config" ,pkg-config)))
5608 (synopsis "Collection of audio processing plugins")
5609 (description
5610 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5611 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5612 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5613 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5614 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5615 (home-page "http://www.zamaudio.com/?p=976")
5616 (license license:gpl2+)))
5617
5618 (define-public geonkick
5619 (package
5620 (name "geonkick")
5621 (version "2.3.8")
5622 (source
5623 (origin
5624 (method git-fetch)
5625 (uri (git-reference
5626 (url "https://gitlab.com/geontime/geonkick.git")
5627 (commit (string-append "v" version))))
5628 (file-name (git-file-name name version))
5629 (sha256
5630 (base32 "07809yy2q7dd6fcp0yndlg1vw2ca2zisnsplb3xrxvzdvrqlw910"))))
5631 (build-system cmake-build-system)
5632 (arguments
5633 `(#:tests? #f ;no tests included
5634 #:configure-flags
5635 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5636 (assoc-ref %build-inputs "redkite"))
5637 (string-append "-DCMAKE_INSTALL_PREFIX="
5638 (assoc-ref %outputs "out")))))
5639 (inputs
5640 `(("cairo" ,cairo)
5641 ("hicolor-icon-theme" ,hicolor-icon-theme)
5642 ("jack" ,jack-1) ;for the standalone JACK application
5643 ("libsndfile" ,libsndfile)
5644 ("libx11" ,libx11)
5645 ("redkite" ,redkite)
5646 ("rapidjson" ,rapidjson)))
5647 (native-inputs
5648 `(("lv2" ,lv2)
5649 ;; Fails with default gcc (#include <filesystem> not found).
5650 ("gcc" ,gcc-9)
5651 ("pkg-config" ,pkg-config)
5652 ("sord" ,sord)))
5653 (synopsis "Percussion synthesizer")
5654 (description "Geonkick is a synthesizer that can synthesize elements
5655 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5656 It can also play and mix samples.")
5657 (home-page "https://gitlab.com/geontime/geonkick")
5658 (license license:gpl3+)))
5659
5660 (define-public dpf-plugins
5661 (package
5662 (name "dpf-plugins")
5663 (version "1.3")
5664 (source
5665 (origin
5666 (method git-fetch)
5667 (uri
5668 (git-reference
5669 (url "https://github.com/DISTRHO/DPF-Plugins")
5670 (commit (string-append "v" version))))
5671 (file-name (git-file-name name version))
5672 (sha256
5673 (base32
5674 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
5675 (build-system gnu-build-system)
5676 (arguments
5677 `(#:tests? #f ; no "check" target
5678 #:make-flags
5679 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5680 #:phases
5681 (modify-phases %standard-phases
5682 (add-before 'build 'set-CC-variable
5683 (lambda _ (setenv "CC" "gcc") #t))
5684 (delete 'configure))))
5685 (inputs
5686 `(("cairo" ,cairo)
5687 ("liblo" ,liblo) ; for dssi plugins
5688 ("jack" ,jack-1) ; for standalone applications
5689 ("mesa" ,mesa)))
5690 (native-inputs
5691 `(("pkg-config" ,pkg-config)
5692 ("dssi" ,dssi)
5693 ("lv2" ,lv2)))
5694 (home-page "https://github.com/DISTRHO/DPF-Plugins")
5695 (synopsis "Audio plugin collection")
5696 (description "Collection of audio plugins built with the DISTRHO Plugin
5697 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
5698 package includes the following plugins: glBars, Kars, Max-Gen examples
5699 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
5700 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
5701 Soul Force), MVerb, Nekobi, and ProM.")
5702 ;; This package consists of several plugins refactored to use the
5703 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
5704 ;; apply to different plugins. The root LICENSE file has a table with
5705 ;; license information for each plugin and paths to each license
5706 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
5707
5708 (define-public avldrums-lv2
5709 (package
5710 (name "avldrums-lv2")
5711 (version "0.4.1")
5712 (source
5713 (origin
5714 (method git-fetch)
5715 (uri (git-reference
5716 (url "https://github.com/x42/avldrums.lv2")
5717 (commit (string-append "v" version))
5718 ;; This plugin expects the robtk submodule's source files to be
5719 ;; there in order to build.
5720 (recursive? #t)))
5721 (file-name (git-file-name name version))
5722 (sha256
5723 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
5724 (build-system gnu-build-system)
5725 (arguments
5726 `(#:tests? #f ; no "check" target
5727 #:make-flags
5728 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5729 #:phases
5730 (modify-phases %standard-phases
5731 (add-before 'build 'set-CC-variable
5732 (lambda _
5733 (setenv "CC" "gcc") #t))
5734 (delete 'configure))))
5735 (inputs
5736 `(("cairo" ,cairo)
5737 ("dssi" ,dssi)
5738 ("glu" ,glu)
5739 ("mesa" ,mesa)
5740 ("pango" ,pango)))
5741 (native-inputs
5742 `(("pkg-config" ,pkg-config)
5743 ("lv2" ,lv2)))
5744 (home-page "https://x42-plugins.com/x42/x42-avldrums")
5745 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
5746 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
5747 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
5748 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
5749 (license license:gpl2+)))
5750
5751 (define-public helm
5752 (package
5753 (name "helm")
5754 (version "0.9.0")
5755 (source
5756 (origin
5757 (method git-fetch)
5758 (uri
5759 (git-reference
5760 (url "https://github.com/mtytel/helm")
5761 (commit (string-append "v" version))))
5762 (file-name (git-file-name name version))
5763 (sha256
5764 (base32
5765 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
5766 (build-system gnu-build-system)
5767 (arguments
5768 `(#:tests? #f ; no "check" target
5769 #:make-flags
5770 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
5771 "lv2" "standalone")
5772 #:phases
5773 (modify-phases %standard-phases
5774 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
5775 (lambda _
5776 (substitute* "standalone/builds/linux/Makefile"
5777 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5778 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5779 (substitute* "builds/linux/LV2/Makefile"
5780 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5781 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5782 (substitute* "Makefile"
5783 (("/usr") ""))
5784 #t))
5785 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
5786 (lambda* (#:key outputs #:allow-other-keys)
5787 (for-each make-file-writable
5788 (find-files (string-append (assoc-ref outputs "out"))
5789 ".*\\.gz$"))
5790 #t))
5791 (delete 'configure))))
5792 (inputs
5793 `(("alsa-lib" ,alsa-lib)
5794 ("curl" ,curl)
5795 ("freetype2" ,freetype)
5796 ("hicolor-icon-theme" ,hicolor-icon-theme)
5797 ("libxcursor" ,libxcursor)
5798 ("libxinerama" ,libxinerama)
5799 ("jack" ,jack-1)
5800 ("mesa" ,mesa)))
5801 (native-inputs
5802 `(("pkg-config" ,pkg-config)
5803 ("lv2" ,lv2)))
5804 (home-page "https://tytel.org/helm/")
5805 (synopsis "Polyphonic synth with lots of modulation")
5806 (description "Helm is a cross-platform polyphonic synthesizer available standalone
5807 and as an LV2 plugin.")
5808 (license license:gpl3+)))
5809
5810 (define-public zrythm
5811 (package
5812 ;; Zrythm contains trademarks and comes with a trademark policy found in
5813 ;; TRADMARKS.md inside the release distribution. The trademark policy
5814 ;; allows verbatim re-distribution, and it also allows FSF-approved
5815 ;; distros to make necessary changes to integrate the software into the
5816 ;; distribution.
5817 (name "zrythm")
5818 (version "1.0.0-alpha.6.0.1")
5819 (source
5820 (origin
5821 (method url-fetch)
5822 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
5823 version ".tar.xz"))
5824 (sha256
5825 (base32
5826 "1zfky3yj0k0rmbxighlk9sp4fsgw8rj7viv44yv626kldfvc04ab"))))
5827 (build-system meson-build-system)
5828 (arguments
5829 `(#:glib-or-gtk? #t
5830 #:meson ,meson-0.55
5831 #:configure-flags
5832 `("-Dtests=true"
5833 "-Dmanpage=true"
5834 "-Ddseg_font=false"
5835 "-Dgraphviz=enabled" ; for exporting routing graphs
5836 "-Dguile=enabled" ; for Guile scripting
5837 "-Djack=enabled" ; for JACK audio/MIDI backend
5838 "-Drtmidi=enabled" ; for RtMidi backend (ALSA sequencer)
5839 "-Dsdl=enabled"))) ; for SDL audio backend (which uses ALSA)
5840 (inputs
5841 `(("alsa-lib" ,alsa-lib)
5842 ("jack" ,jack-1)
5843 ("font-dseg" ,font-dseg)
5844 ("fftw" ,fftw)
5845 ("fftwf" ,fftwf)
5846 ("gettext" ,gettext-minimal)
5847 ("glibc" ,glibc)
5848 ("graphviz" ,graphviz)
5849 ("gtk+" ,gtk+)
5850 ("gtksourceview" ,gtksourceview)
5851 ("guile" ,guile-2.2)
5852 ("libaudec" ,libaudec)
5853 ("libcyaml" ,libcyaml)
5854 ("libsamplerate" ,libsamplerate)
5855 ("libsndfile" ,libsndfile)
5856 ("libyaml" ,libyaml)
5857 ("lilv" ,lilv)
5858 ("lv2" ,lv2)
5859 ("reproc" ,reproc)
5860 ("rubberband" ,rubberband)
5861 ("rtmidi" ,rtmidi)
5862 ("sdl2" ,sdl2)
5863 ("xdg-utils" ,xdg-utils)
5864 ("zstd" ,zstd "lib")))
5865 (native-inputs
5866 `(("pkg-config" ,pkg-config)
5867 ("help2man" ,help2man)
5868 ("glib" ,glib "bin"))) ; for 'glib-compile-resources'
5869 (synopsis "Digital audio workstation focusing on usability")
5870 (description "Zrythm is a digital audio workstation designed to be
5871 featureful and easy to use. It offers unlimited automation options, LV2
5872 plugin support, JACK support and chord assistance.")
5873 (home-page "https://www.zrythm.org")
5874 (license license:agpl3+)))
5875
5876 (define-public dragonfly-reverb
5877 (package
5878 (name "dragonfly-reverb")
5879 (version "3.2.1")
5880 (source
5881 (origin
5882 (method git-fetch)
5883 (uri
5884 (git-reference
5885 (url "https://github.com/michaelwillis/dragonfly-reverb")
5886 (commit version)
5887 ;; Bundles a specific commit of the DISTRHO plugin framework.
5888 (recursive? #t)))
5889 (file-name (git-file-name name version))
5890 (sha256
5891 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
5892 (build-system gnu-build-system)
5893 (arguments
5894 `(#:tests? #f ; no check target
5895 #:make-flags (list "CC=gcc")
5896 #:phases
5897 (modify-phases %standard-phases
5898 (delete 'configure) ;no configure target
5899 (replace 'install ;no install target
5900 (lambda* (#:key outputs #:allow-other-keys)
5901 (let* ((out (assoc-ref outputs "out"))
5902 (bin (string-append out "/bin"))
5903 (lv2 (string-append out "/lib/lv2")))
5904 ;; Install LV2.
5905 (for-each
5906 (lambda (file)
5907 (copy-recursively file
5908 (string-append lv2 "/" (basename file))))
5909 (find-files "bin" "\\.lv2$" #:directories? #t))
5910 ;; Install executables.
5911 (for-each
5912 (lambda (file)
5913 (install-file file bin))
5914 (find-files "bin"
5915 (lambda (name stat)
5916 (and
5917 (equal? (dirname name) "bin")
5918 (not (string-suffix? ".so" name))
5919 (not (string-suffix? ".lv2" name))))))
5920 #t))))))
5921 (native-inputs
5922 `(("pkg-config" ,pkg-config)))
5923 (inputs
5924 `(("jack" ,jack-1)
5925 ("libx11" ,libx11)
5926 ("mesa" ,mesa)))
5927 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
5928 (synopsis "Concert hall reverb and room reverb effects")
5929 (description
5930 "Dragonfly Reverb is a bundle of two free audio effects: a concert
5931 hall reverb and a room reverb. Both are available as LV2 plugins as well
5932 as JACK standalone applications.")
5933 (license license:gpl3+)))
5934
5935 (define-public zlfo
5936 (package
5937 (name "zlfo")
5938 (version "0.1.3")
5939 (source
5940 (origin
5941 (method git-fetch)
5942 (uri (git-reference
5943 (url "https://git.zrythm.org/git/ZLFO")
5944 (commit (string-append "v" version))))
5945 (file-name (git-file-name name version))
5946 (sha256
5947 (base32
5948 "0bm466ci5xyvxvq7l9p6xyh789lvk6i31b4zja1igqh13akbjnjz"))))
5949 (build-system meson-build-system)
5950 (inputs
5951 `(("librsvg" ,librsvg)
5952 ("lv2" ,lv2)
5953 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
5954 (native-inputs
5955 `(("pkg-config" ,pkg-config)))
5956 (synopsis "Low frequency oscillator plugin")
5957 (description "ZLFO is a fully featured
5958 @dfn{low frequency oscillator} (LFO) for @dfn{control voltage} (CV)-based
5959 automation that comes as an LV2 plugin bundle with a custom UI.")
5960 (home-page "https://git.zrythm.org/cgit/ZLFO/")
5961 (license license:agpl3+)))
5962
5963 (define-public remid-lv2
5964 (package
5965 (name "remid-lv2")
5966 (version "0.3")
5967 (source
5968 (origin
5969 (method git-fetch)
5970 (uri (git-reference
5971 (url "https://github.com/ssj71/reMID.lv2")
5972 (commit (string-append "v" version))))
5973 (file-name (git-file-name name version))
5974 (sha256
5975 (base32
5976 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
5977 (build-system cmake-build-system)
5978 (arguments
5979 `(#:tests? #f)) ; no tests included
5980 (inputs
5981 `(("alsa-lib" ,alsa-lib)
5982 ("glib" ,glib)
5983 ("jack" ,jack-1)
5984 ("lv2" ,lv2)))
5985 (native-inputs
5986 `(("pkg-config" ,pkg-config)))
5987 (home-page "https://github.com/ssj71/reMID.lv2")
5988 (synopsis
5989 "MIDI-controlled implementation of the SID 6581 chip used in the
5990 Commodore 64")
5991 (description
5992 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
5993 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
5994 to provide a virtual SID-based synthesizer, controllable in real-time via
5995 MIDI. It includes support for scripted instruments that allow complex sonic
5996 control of the chip.")
5997 (license license:gpl2+)))
5998
5999 (define-public vl1-emulator
6000 (package
6001 (name "vl1-emulator")
6002 (version "1.1.0.0")
6003 (source
6004 (origin
6005 (method git-fetch)
6006 (uri (git-reference
6007 (url "https://github.com/linuxmao-org/VL1-emulator")
6008 (commit (string-append "v" version))
6009 ;; bundles a specific commit of the DISTRHO plugin framework
6010 (recursive? #t)))
6011 (file-name (git-file-name name version))
6012 (sha256
6013 (base32
6014 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
6015 (build-system gnu-build-system)
6016 (arguments
6017 `(#:tests? #f ;no check target
6018 #:make-flags
6019 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
6020 "CC=gcc")
6021 #:phases
6022 (modify-phases %standard-phases
6023 (delete 'configure)))) ;no configure target
6024 (inputs
6025 `(("cairo" ,cairo)
6026 ("jack" ,jack-1)
6027 ("mesa" ,mesa)))
6028 (native-inputs
6029 `(("pkg-config" ,pkg-config)))
6030 (home-page "https://github.com/linuxmao-org/VL1-emulator")
6031 (synopsis "Emulator of Casio VL-Tone VL1")
6032 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
6033 based on source code by PolyValens, offered as an LV2 plugin and a
6034 standalone JACK application.")
6035 ;; Expat or CC0
6036 (license (list license:expat license:cc0))))
6037
6038 (define-public regrader
6039 (package
6040 (inherit vl1-emulator)
6041 (name "regrader")
6042 (version "1.0.0")
6043 (source
6044 (origin
6045 (method git-fetch)
6046 (uri (git-reference
6047 (url "https://github.com/linuxmao-org/regrader")
6048 (commit (string-append "v" version))
6049 ;; bundles a specific commit of the DISTRHO plugin framework
6050 (recursive? #t)))
6051 (file-name (git-file-name name version))
6052 (sha256
6053 (base32
6054 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
6055 (home-page "https://github.com/linuxmao-org/regrader")
6056 (synopsis "Delay effect plugin")
6057 (description
6058 "Regrader is a delay effect where the repeats degrade in resolution.
6059 This is an unofficial port of the Regrader plugin created by Igorski. It
6060 is available as an LV2 plugin and a standalone JACK application.")
6061 (license license:expat)))
6062
6063 (define-public fogpad
6064 (package
6065 (inherit vl1-emulator)
6066 (name "fogpad")
6067 (version "1.0.0")
6068 (source
6069 (origin
6070 (method git-fetch)
6071 (uri (git-reference
6072 (url "https://github.com/linuxmao-org/fogpad")
6073 (commit (string-append "v" version))
6074 ;; bundles a specific commit of the DISTRHO plugin framework
6075 (recursive? #t)))
6076 (file-name (git-file-name name version))
6077 (sha256
6078 (base32
6079 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
6080 (home-page "https://github.com/linuxmao-org/fogpad")
6081 (synopsis "Reverb effect plugin")
6082 (description
6083 "Fogpad is a reverb effect in which the reflections can be frozen,
6084 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
6085 port of the Regrader plugin created by Igorski. It is available as an LV2
6086 plugin and a standalone JACK application.")
6087 (license license:expat)))
6088
6089 (define-public tap-lv2
6090 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
6091 (revision "1"))
6092 (package
6093 (name "tap-lv2")
6094 (version (git-version "0.0" revision commit))
6095 (source
6096 (origin
6097 (method git-fetch)
6098 (uri (git-reference
6099 (url "https://github.com/moddevices/tap-lv2")
6100 (commit commit)))
6101 (file-name (git-file-name name version))
6102 (sha256
6103 (base32
6104 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
6105 (build-system gnu-build-system)
6106 (arguments
6107 `(#:tests? #f ; no check target
6108 #:make-flags
6109 (list "CC=gcc")
6110 #:phases
6111 (modify-phases %standard-phases
6112 (delete 'configure) ; no configure
6113 (replace 'install
6114 (lambda _
6115 (invoke "make"
6116 (string-append "INSTALL_PATH="
6117 (assoc-ref %outputs "out")
6118 "/lib/lv2")
6119 "install"))))))
6120 (inputs
6121 `(("lv2" ,lv2)))
6122 (native-inputs
6123 `(("pkg-config" ,pkg-config)))
6124 (synopsis "Audio plugin collection")
6125 (description "TAP (Tom's Audio Processing) plugins is a collection of
6126 audio effect plugins originally released as LADSPA plugins. This package
6127 offers an LV2 version ported by moddevices.")
6128 (home-page "http://tap-plugins.sourceforge.net/")
6129 (license license:gpl2))))
6130
6131 (define-public wolf-shaper
6132 (package
6133 (name "wolf-shaper")
6134 (version "0.1.8")
6135 (source
6136 (origin
6137 (method git-fetch)
6138 (uri (git-reference
6139 (url "https://github.com/pdesaulniers/wolf-shaper")
6140 (commit (string-append "v" version))
6141 ;; Bundles a specific commit of the DISTRHO plugin framework.
6142 (recursive? #t)))
6143 (file-name (git-file-name name version))
6144 (sha256
6145 (base32
6146 "1j9xmh1nkf45ay1c5dz2g165qvrwlanzcq6mvb3nfxar265drd9q"))))
6147 (build-system gnu-build-system)
6148 (arguments
6149 `(#:tests? #f ; no check target
6150 #:make-flags (list "CC=gcc")
6151 #:phases
6152 (modify-phases %standard-phases
6153 (delete 'configure) ;no configure target
6154 (replace 'install ;no install target
6155 (lambda* (#:key outputs #:allow-other-keys)
6156 (let* ((out (assoc-ref outputs "out"))
6157 (bin (string-append out "/bin"))
6158 (lv2 (string-append out "/lib/lv2")))
6159 ;; Install LV2.
6160 (for-each
6161 (lambda (file)
6162 (copy-recursively file
6163 (string-append lv2 "/" (basename file))))
6164 (find-files "bin" "\\.lv2$" #:directories? #t))
6165 ;; Install executables.
6166 (for-each
6167 (lambda (file)
6168 (install-file file bin))
6169 (find-files "bin"
6170 (lambda (name stat)
6171 (and
6172 (equal? (dirname name) "bin")
6173 (not (string-suffix? ".so" name))
6174 (not (string-suffix? ".lv2" name))))))
6175 #t))))))
6176 (native-inputs
6177 `(("pkg-config" ,pkg-config)))
6178 (inputs
6179 `(("jack" ,jack-1)
6180 ("lv2" ,lv2)
6181 ("mesa" ,mesa)))
6182 (synopsis "Waveshaper plugin")
6183 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
6184 It is provided as an LV2 plugin and as a standalone Jack application.")
6185 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
6186 (license license:gpl3)))
6187
6188 (define-public wolf-spectrum
6189 (package
6190 (inherit wolf-shaper)
6191 (name "wolf-spectrum")
6192 (version "1.0.0")
6193 (source
6194 (origin
6195 (method git-fetch)
6196 (uri (git-reference
6197 (url "https://github.com/pdesaulniers/wolf-spectrum")
6198 (commit (string-append "v" version))
6199 ;; Bundles a specific commit of the DISTRHO plugin framework.
6200 (recursive? #t)))
6201 (file-name (git-file-name name version))
6202 (sha256
6203 (base32
6204 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
6205 (synopsis "2D spectrogram plugin")
6206 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
6207 It is provided as an LV2 plugin and as a standalone Jack application.")
6208 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
6209 (license license:gpl3)))
6210
6211 (define-public shiru-lv2
6212 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
6213 (revision "1"))
6214 (package
6215 (name "shiru-lv2")
6216 (version (git-version "0.0" revision commit))
6217 (source
6218 (origin
6219 (method git-fetch)
6220 (uri (git-reference
6221 (url "https://github.com/linuxmao-org/shiru-plugins")
6222 (commit commit)
6223 ;; Bundles a specific commit of the DISTRHO plugin framework.
6224 (recursive? #t)))
6225 (file-name (git-file-name name version))
6226 (sha256
6227 (base32
6228 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
6229 (build-system gnu-build-system)
6230 (arguments
6231 `(#:tests? #f ; no check target
6232 #:make-flags (list "CC=gcc")
6233 #:phases
6234 (modify-phases %standard-phases
6235 (delete 'configure) ;no configure target
6236 (replace 'install ;no install target
6237 (lambda* (#:key outputs #:allow-other-keys)
6238 (let* ((out (assoc-ref outputs "out"))
6239 (bin (string-append out "/bin"))
6240 (lv2 (string-append out "/lib/lv2")))
6241 ;; Install LV2.
6242 (for-each
6243 (lambda (file)
6244 (copy-recursively file
6245 (string-append lv2 "/" (basename file))))
6246 (find-files "bin" "\\.lv2$" #:directories? #t))
6247 ;; Install executables.
6248 (for-each
6249 (lambda (file)
6250 (install-file file bin))
6251 (find-files "bin"
6252 (lambda (name stat)
6253 (and
6254 (equal? (dirname name) "bin")
6255 (not (string-suffix? ".so" name))
6256 (not (string-suffix? ".lv2" name))))))
6257 #t))))))
6258 (native-inputs
6259 `(("pkg-config" ,pkg-config)))
6260 (inputs
6261 `(("cairo" ,cairo)
6262 ("glu" ,glu)
6263 ("jack" ,jack-1)
6264 ("lv2" ,lv2)
6265 ("mesa" ,mesa)
6266 ("pango" ,pango)))
6267 (synopsis "Audio plugin collection")
6268 (description "Shiru plugins is a collection of audio plugins created
6269 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
6270 framework.")
6271 (home-page "http://shiru.untergrund.net/software.shtml")
6272 (license license:wtfpl2))))