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