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