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