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