gnu: r-maldiquant: Move to (gnu packages cran).
[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.2.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 "08xwz5v8wrar0rx7qdr9pkpjz2k9sw6bn5glhpn6sp6453fabf8q"))))
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.16")
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 "1f2v60dpja0rnml60g463fjiz0f84v32yjwpvr56z79h1i6fssmv"))))
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 ("fftw" ,fftw)
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.0.0")
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 "1nninz8qyqlxxjdnrm79y3gr3056pga9l2fsqh674jd3cjvafya3"))))
4174 (build-system cmake-build-system)
4175 (arguments
4176 `(#:tests? #f ; there is no test target
4177 #:configure-flags
4178 (list "-DENABLE_LV2_SUPPLIED=OFF"
4179 "-DENABLE_RTAUDIO=OFF" ; FIXME: not packaged
4180 "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4181 "-DENABLE_VST_NATIVE=OFF")
4182 #:phases
4183 (modify-phases %standard-phases
4184 (add-after 'unpack 'chdir
4185 (lambda _ (chdir "muse3"))))))
4186 (inputs
4187 `(("alsa-lib" ,alsa-lib)
4188 ("lash" ,lash)
4189 ("jack" ,jack-1)
4190 ("liblo" ,liblo)
4191 ("dssi" ,dssi)
4192 ("ladspa" ,ladspa)
4193 ("lv2" ,lv2)
4194 ("lilv" ,lilv)
4195 ("sord" ,sord)
4196 ("libsndfile" ,libsndfile)
4197 ("libsamplerate" ,libsamplerate)
4198 ("fluidsynth" ,fluidsynth)
4199 ("pcre" ,pcre)
4200 ("qtbase" ,qtbase)
4201 ("qtsvg" ,qtsvg)))
4202 (native-inputs
4203 `(("pkg-config" ,pkg-config)
4204 ("qttools" ,qttools)))
4205 (home-page "https://muse-sequencer.github.io/")
4206 (synopsis "MIDI/Audio sequencer")
4207 (description "MusE is a MIDI/Audio sequencer with recording and editing
4208 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4209 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4210 list view, and a score editor. MusE aims to be a complete multitrack virtual
4211 studio.")
4212 (license license:gpl2+)))
4213
4214 (define-public dssi
4215 (package
4216 (name "dssi")
4217 (version "1.1.1")
4218 (source (origin
4219 (method url-fetch)
4220 (uri (string-append
4221 "mirror://sourceforge/dssi/dssi/" version
4222 "/dssi-" version ".tar.gz"))
4223 (sha256
4224 (base32
4225 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4226 (build-system gnu-build-system)
4227 (inputs
4228 `(("alsa-lib" ,alsa-lib)
4229 ("jack" ,jack-1)
4230 ("ladspa" ,ladspa)
4231 ("libsamplerate" ,libsamplerate)
4232 ("libsndfile" ,libsndfile)
4233 ("liblo" ,liblo)))
4234 (native-inputs
4235 `(("pkg-config" ,pkg-config)))
4236 (synopsis "Audio plugin API for soft synths and effects")
4237 (description "DSSI is a plugin API for software instruments with user
4238 interfaces, permitting them to be hosted in-process by audio applications.
4239 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4240 towards familiarity with MIDI. The DSSI distribution package contains
4241 a JACK/ALSA-sequencer reference host and some plugins as well as the
4242 specification and header.")
4243 (home-page "http://dssi.sourceforge.net/")
4244 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4245 ;; The vast majority of examples are in the public domain.
4246 (license (list license:lgpl2.1+ license:gpl2+))))
4247
4248 (define-public rosegarden
4249 (package
4250 (name "rosegarden")
4251 (version "20.06")
4252 (source
4253 (origin
4254 (method url-fetch)
4255 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4256 version "/rosegarden-" version ".tar.bz2"))
4257 (sha256
4258 (base32 "1i9x9rkqwwdrk77xl5ra8i48cjirbc7fbisnj0nnclccwaq0wk6r"))))
4259 (build-system cmake-build-system)
4260 (arguments
4261 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4262 #:phases
4263 (modify-phases %standard-phases
4264 (add-after 'unpack 'patch-tests
4265 (lambda _
4266 (substitute* "CMakeLists.txt"
4267 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4268 ;; Make tests work.
4269 ((" -fvisibility=hidden") ""))
4270 #t))
4271 (add-after 'unpack 'fix-references
4272 (lambda* (#:key inputs #:allow-other-keys)
4273 (substitute* "src/gui/general/ProjectPackager.cpp"
4274 (("\"flac\\>")
4275 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4276 (("\"wavpack\\>")
4277 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4278 (("\"wvunpack\\>")
4279 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4280 (("\"bash\\>")
4281 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4282 (("\"tar\\>")
4283 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4284 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4285 (("\"convert-ly\\>")
4286 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4287 (("\"lilypond\\>")
4288 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4289 #t))
4290 (add-after 'unpack 'make-reproducible
4291 (lambda _
4292 ;; Prevent Last-Modified from being written.
4293 ;; The "*.qm" files that are used in locale.qrc would have a new
4294 ;; mtime otherwise that is written into qrc_locale.cpp in the
4295 ;; end - except when we disable it.
4296 (substitute* "src/CMakeLists.txt"
4297 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4298 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4299 ;; Extraneous.
4300 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4301 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4302 )
4303 ;; Make hashtable traversal order predicable.
4304 (setenv "QT_RCC_TEST" "1") ; important
4305 #t))
4306 (add-before 'check 'prepare-check
4307 (lambda _
4308 (setenv "QT_QPA_PLATFORM" "offscreen")
4309 ;; Tests create files in $HOME/.local/share/rosegarden .
4310 (mkdir-p "/tmp/foo")
4311 (setenv "HOME" "/tmp/foo")
4312 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
4313 #t)))))
4314 (inputs
4315 `(("alsa-lib" ,alsa-lib)
4316 ("bash" ,bash)
4317 ("dssi" ,dssi)
4318 ("flac" ,flac)
4319 ("fftwf" ,fftwf)
4320 ("jack" ,jack-1)
4321 ("ladspa" ,ladspa)
4322 ("liblo" ,liblo)
4323 ("libsamplerate" ,libsamplerate)
4324 ("lilypond" ,lilypond)
4325 ("lrdf" ,lrdf)
4326 ("qtbase" ,qtbase)
4327 ("tar" ,tar)
4328 ("lirc" ,lirc)
4329 ("wavpack" ,wavpack)
4330 ("zlib" ,zlib)))
4331 (native-inputs
4332 `(("pkg-config" ,pkg-config)
4333 ("qtlinguist" ,qttools)))
4334 (synopsis "Music composition and editing environment based around a MIDI
4335 sequencer")
4336 (description "Rosegarden is a music composition and editing environment
4337 based around a MIDI sequencer that features a rich understanding of music
4338 notation and includes basic support for digital audio.")
4339 (home-page "https://www.rosegardenmusic.com/")
4340 (license license:gpl2)))
4341
4342 (define-public patchmatrix
4343 (package
4344 (name "patchmatrix")
4345 (version "0.16.0")
4346 (source (origin
4347 (method git-fetch)
4348 (uri (git-reference
4349 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
4350 (commit version)))
4351 (file-name (git-file-name "patchmatrix" version))
4352 (sha256
4353 (base32
4354 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
4355 (build-system meson-build-system)
4356 (arguments '(#:tests? #f)) ; no test target
4357 (inputs
4358 `(("jack" ,jack-1)
4359 ("lv2" ,lv2)
4360 ("mesa" ,mesa)))
4361 (native-inputs
4362 `(("pkg-config" ,pkg-config)))
4363 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
4364 (synopsis "Simple JACK patch bay")
4365 (description "PatchMatrix is a patch bay for the JACK audio connection
4366 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
4367 OSC connections.")
4368 (license license:artistic2.0)))
4369
4370 (define-public sorcer
4371 (package
4372 (name "sorcer")
4373 (version "1.1.3")
4374 (source (origin
4375 (method url-fetch)
4376 (uri (string-append "https://github.com/openAVproductions/"
4377 "openAV-Sorcer/archive/release-"
4378 version ".tar.gz"))
4379 (file-name (string-append name "-" version ".tar.gz"))
4380 (sha256
4381 (base32
4382 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
4383 (build-system cmake-build-system)
4384 (arguments
4385 `(#:tests? #f ; no tests included
4386 #:phases
4387 (modify-phases %standard-phases
4388 (add-after 'unpack 'remove-architecture-specific-flags
4389 (lambda _
4390 (substitute* "CMakeLists.txt"
4391 (("-msse2 -mfpmath=sse") ""))
4392 #t))
4393 (add-after 'unpack 'build-faust-sources
4394 (lambda* (#:key inputs #:allow-other-keys)
4395 (with-directory-excursion "faust"
4396 (delete-file "main.cpp")
4397 (invoke "faust" "-i"
4398 "-a" "lv2synth.cpp"
4399 "-o" "main.cpp" "main.dsp")))))))
4400 (inputs
4401 `(("boost" ,boost)
4402 ("lv2" ,lv2)
4403 ("ntk" ,ntk)))
4404 (native-inputs
4405 `(("faust" ,faust)
4406 ("pkg-config" ,pkg-config)))
4407 (home-page "http://openavproductions.com/sorcer/")
4408 (synopsis "Wavetable LV2 plugin synth")
4409 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
4410 the electronic or dubstep genre.")
4411 (license license:gpl3+)))
4412
4413 (define-public sonivox-eas
4414 (package
4415 (name "sonivox-eas")
4416 (version "1.1.0")
4417 (source (origin
4418 (method git-fetch)
4419 (uri (git-reference
4420 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
4421 (commit (string-append "v" version))))
4422 (file-name (string-append name "-" version "-checkout"))
4423 (sha256
4424 (base32
4425 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
4426 (build-system cmake-build-system)
4427 (arguments '(#:tests? #f)) ; there are no tests
4428 (inputs
4429 `(("alsa-lib" ,alsa-lib)
4430 ("drumstick" ,drumstick)
4431 ("pulseaudio" ,pulseaudio)
4432 ("qtbase" ,qtbase)))
4433 (native-inputs
4434 `(("pkg-config" ,pkg-config)))
4435 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
4436 (synopsis "MIDI synthesizer library")
4437 (description "This project is a real time General MIDI synthesizer based
4438 on the Sonivox EAS Synthesizer by Google. It does not need external
4439 soundfonts, using embedded samples instead.")
4440 ;; Sonivox is released under the ASL2.0; the rest of the code is under
4441 ;; GPLv2+.
4442 (license (list license:gpl2+ license:asl2.0))))
4443
4444 (define-public whysynth
4445 (package
4446 (name "whysynth")
4447 (version "20170701")
4448 (source (origin
4449 (method url-fetch)
4450 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
4451 version ".tar.bz2"))
4452 (sha256
4453 (base32
4454 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
4455 (build-system gnu-build-system)
4456 (inputs
4457 `(("dssi" ,dssi)
4458 ("liblo" ,liblo)
4459 ("fftwf" ,fftwf)
4460 ("gtk+" ,gtk+-2)
4461 ("ladspa" ,ladspa)
4462 ("alsa-lib" ,alsa-lib)))
4463 (native-inputs
4464 `(("pkg-config" ,pkg-config)))
4465 (home-page "http://smbolton.com/whysynth.html")
4466 (synopsis "DSSI software synthesizer")
4467 (description "WhySynth is a versatile softsynth which operates as a plugin
4468 for the DSSI Soft Synth Interface. A brief list of features:
4469
4470 @enumerate
4471 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
4472 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
4473 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
4474 distortion.
4475 @item 10 filter modes.
4476 @item flexible modulation and mixdown options, plus effects.
4477 @end enumerate
4478 ")
4479 (license license:gpl2+)))
4480
4481 (define-public libdiscid
4482 (package
4483 (name "libdiscid")
4484 (version "0.6.2")
4485 (source
4486 (origin
4487 (method url-fetch)
4488 (uri (string-append
4489 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
4490 version ".tar.gz"))
4491 (sha256
4492 (base32
4493 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
4494 (arguments `(#:test-target "check"))
4495 (build-system cmake-build-system)
4496 (home-page "https://musicbrainz.org/doc/libdiscid")
4497 (synopsis "Disc id reader library")
4498 (description "libdiscid is a C library for creating MusicBrainz and freedb
4499 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
4500 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
4501 it provides a submission URL for adding the disc ID to the database and gathers
4502 ISRCs and the MCN (=UPC/EAN) from disc.")
4503 (license license:lgpl2.1+)))
4504
4505 (define-public python-discid
4506 (package
4507 (name "python-discid")
4508 (version "1.1.1")
4509 (source
4510 (origin
4511 (method url-fetch)
4512 (uri (pypi-uri "discid" version))
4513 (sha256
4514 (base32
4515 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
4516 (build-system python-build-system)
4517 (inputs
4518 `(("libdiscid" ,libdiscid)))
4519 (arguments
4520 `(#:phases
4521 (modify-phases %standard-phases
4522 (add-before 'build 'set-libdiscid
4523 ;; Set path of libdiscid
4524 (lambda* (#:key inputs #:allow-other-keys)
4525 (let ((discid (assoc-ref inputs "libdiscid")))
4526 (substitute* "discid/libdiscid.py"
4527 (("lib_name = (.*)$" all name)
4528 (string-append "lib_name = \"" discid
4529 "/lib/libdiscid.so.0\"\n")))
4530 #t))))))
4531 (home-page "https://python-discid.readthedocs.io/")
4532 (synopsis "Python bindings for Libdiscid")
4533 (description
4534 "This package provides Python bindings for the Libdiscid library. The
4535 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
4536 Disc IDs} for use with the MusicBrainz database. Additionally the disc
4537 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
4538 Recording Code} (ISRC) can be extracted.}")
4539 (license license:lgpl3+)))
4540
4541 (define-public libmusicbrainz
4542 (package
4543 (name "libmusicbrainz")
4544 (version "5.1.0")
4545 (source
4546 (origin
4547 (method url-fetch)
4548 (uri (string-append
4549 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
4550 version "/libmusicbrainz-" version ".tar.gz"))
4551 (sha256
4552 (base32
4553 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
4554 (build-system cmake-build-system)
4555 (arguments
4556 `(#:phases
4557 (modify-phases %standard-phases
4558 (replace 'check
4559 (lambda _
4560 ;; requires network connections
4561 ;; (invoke "tests/mbtest")
4562 (invoke "tests/ctest")
4563 #t)))))
4564 (inputs `(("neon" ,neon)
4565 ("libxml2" ,libxml2)))
4566 (native-inputs `(("pkg-config" ,pkg-config)))
4567 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
4568 (synopsis "MusicBrainz client library")
4569 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
4570 mb_client, is a development library geared towards developers who wish to add
4571 MusicBrainz lookup capabilities to their applications.")
4572 (license license:lgpl2.1+)))
4573
4574 (define-public perl-musicbrainz-discid
4575 (package
4576 (name "perl-musicbrainz-discid")
4577 (version "0.04")
4578 (source (origin
4579 (method url-fetch)
4580 (uri (string-append
4581 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
4582 version ".tar.gz"))
4583 (sha256
4584 (base32
4585 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
4586 (build-system perl-build-system)
4587 (native-inputs `(("pkg-config" ,pkg-config)
4588 ("which" ,which)))
4589 (inputs `(("libdiscid" ,libdiscid)))
4590 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
4591 (synopsis "Perl interface to the MusicBrainz libdiscid library")
4592 (description
4593 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
4594 MusicBrainz libdiscid library, allowing you to manipulate digital audio
4595 compact disc (CDDA) identifiers.")
4596 (license license:gpl2)))
4597
4598 (define-public perl-webservice-musicbrainz
4599 (package
4600 (name "perl-webservice-musicbrainz")
4601 (version "1.0.5")
4602 (source (origin
4603 (method url-fetch)
4604 (uri (string-append
4605 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
4606 version ".tar.gz"))
4607 (sha256
4608 (base32
4609 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
4610 (build-system perl-build-system)
4611 (arguments
4612 ;; Tests try to connect to http://musicbrainz.org.
4613 '(#:tests? #f))
4614 (native-inputs
4615 `(("perl-module-build" ,perl-module-build)))
4616 (propagated-inputs
4617 `(("perl-mojolicious" ,perl-mojolicious)))
4618 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
4619 (synopsis "Web service API to the MusicBrainz database")
4620 (description
4621 "This module searches the MusicBrainz database through their web service
4622 at @code{musicbrainz.org}.")
4623 (license license:perl-license)))
4624
4625 (define-public clyrics
4626 (package
4627 (name "clyrics")
4628 (version "0.12")
4629 (source
4630 (origin
4631 (method git-fetch)
4632 (uri (git-reference
4633 (url "https://github.com/trizen/clyrics")
4634 (commit version)))
4635 (file-name (git-file-name name version))
4636 (sha256
4637 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
4638 (build-system trivial-build-system)
4639 (inputs
4640 `(("bash" ,bash) ; for the wrapped program
4641 ("perl" ,perl)
4642 ("perl-www-mechanize" ,perl-www-mechanize)
4643 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
4644 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
4645 ;; 500 Can't verify SSL peers without knowing which Certificate
4646 ;; Authorities to trust".
4647 ("perl-mozilla-ca" ,perl-mozilla-ca)))
4648 (arguments
4649 `(#:modules ((guix build utils))
4650 #:builder (begin
4651 (use-modules (guix build utils)
4652 (ice-9 match)
4653 (srfi srfi-26))
4654 (let* ((source (assoc-ref %build-inputs "source"))
4655 (output (assoc-ref %outputs "out")))
4656 (setenv "PATH"
4657 (string-append
4658 (assoc-ref %build-inputs "bash") "/bin" ":"
4659 (assoc-ref %build-inputs "perl") "/bin" ":"))
4660 (copy-recursively source (getcwd))
4661 (patch-shebang "clyrics")
4662 (substitute* "clyrics"
4663 (("/usr/share") output))
4664 (install-file "clyrics" (string-append output "/bin"))
4665 (wrap-program (string-append output "/bin/clyrics")
4666 `("PERL5LIB" ":" =
4667 ,(delete
4668 ""
4669 (map (match-lambda
4670 (((? (cut string-prefix? "perl-" <>) name) . dir)
4671 (string-append dir "/lib/perl5/site_perl"))
4672 (_ ""))
4673 %build-inputs))))
4674 (copy-recursively "plugins" (string-append output "/clyrics"))
4675 #t))))
4676 (home-page "https://github.com/trizen/clyrics")
4677 (synopsis "Extensible lyrics fetcher")
4678 (description
4679 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
4680 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
4681 console music players.")
4682 (license license:gpl3+)))
4683
4684 (define-public demlo
4685 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
4686 (revision "0"))
4687 (package
4688 (name "demlo")
4689 (version (git-version "3.8" revision commit))
4690 (source
4691 (origin
4692 (method git-fetch)
4693 (uri (git-reference
4694 (url
4695 "https://gitlab.com/ambrevar/demlo")
4696 (commit commit)))
4697 (file-name (git-file-name name version))
4698 (sha256
4699 (base32
4700 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
4701 (build-system go-build-system)
4702 (native-inputs
4703 `(("lua" ,lua)
4704 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4705 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
4706 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
4707 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
4708 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
4709 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
4710 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
4711 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
4712 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
4713 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
4714 (inputs
4715 `(("chromaprint" ,chromaprint)
4716 ("ffmpeg" ,ffmpeg)))
4717 (arguments
4718 `(#:import-path "gitlab.com/ambrevar/demlo"
4719 #:phases
4720 (modify-phases %standard-phases
4721 (add-after 'install 'wrap-program
4722 (lambda* (#:key inputs outputs #:allow-other-keys)
4723 (let ((out (assoc-ref outputs "out"))
4724 (ffmpeg (assoc-ref inputs "ffmpeg"))
4725 (chromaprint (assoc-ref inputs "chromaprint")))
4726 (wrap-program (string-append out "/bin/demlo")
4727 `("XDG_DATA_DIRS" ":" prefix (,out))
4728 `("PATH" ":" prefix
4729 ,(map (lambda (dir)
4730 (string-append dir "/bin:"
4731 dir "/sbin"))
4732 (list ffmpeg chromaprint))))
4733 #t)))
4734 (add-after 'install 'install-scripts
4735 (lambda* (#:key outputs #:allow-other-keys)
4736 (let* ((out (assoc-ref outputs "out"))
4737 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
4738 (xdg-data-dirs (string-append out "/demlo")))
4739 (copy-recursively (string-append root "/actions")
4740 (string-append xdg-data-dirs "/actions"))
4741 (copy-recursively (string-append root "/scripts")
4742 (string-append xdg-data-dirs "/scripts"))
4743 (install-file (string-append root "/config.lua") xdg-data-dirs)
4744 ;; TODO: Test fish completion.
4745 (install-file (string-append root "/completion/demlo.fish")
4746 (string-append out "/share/fish/vendor_completions.d"))
4747 #t))))))
4748 (home-page "https://gitlab.com/ambrevar/demlo")
4749 (synopsis "Dynamic and extensible music library organizer")
4750 (description "Demlo is a music library organizer. It can encode, fix
4751 case, change folder hierarchy according to tags or file properties, tag from
4752 an online database, copy covers while ignoring duplicates or those below a
4753 quality threshold, and much more. It makes it possible to manage your
4754 libraries uniformly and dynamically. You can write your own rules to fit your
4755 needs best.
4756
4757 Demlo can address any of these recurring music library issues (and much more):
4758
4759 @itemize
4760 @item Fix the lack of folder structure.
4761 @item Normalize tags, fix their case, chose which tags to keep and which to
4762 discard.
4763 @item Handle lossy and lossless audio differently.
4764 @item Handle mp3 id3tags hell...
4765 @item Handle multiple covers, whether embedded and/or external, resize covers,
4766 discard bad quality ones.
4767 @end itemize\n")
4768 (license license:expat))))
4769
4770 (define-public fmit
4771 (package
4772 (name "fmit")
4773 (version "1.2.14")
4774 (source (origin
4775 (method git-fetch)
4776 (uri (git-reference
4777 (url "https://github.com/gillesdegottex/fmit/")
4778 (commit (string-append "v" version))))
4779 (file-name (git-file-name name version))
4780 (sha256
4781 (base32
4782 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
4783 (build-system gnu-build-system)
4784 (arguments
4785 '(#:phases
4786 (modify-phases %standard-phases
4787 (delete 'configure)
4788 (add-before 'build 'qmake
4789 (lambda _
4790 (let ((out (assoc-ref %outputs "out")))
4791 (invoke "qmake"
4792 "fmit.pro"
4793 (string-append "PREFIX=" out)
4794 (string-append "PREFIXSHORTCUT=" out)
4795 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
4796 (add-after 'install 'wrap-executable
4797 (lambda* (#:key inputs outputs #:allow-other-keys)
4798 (let ((out (assoc-ref outputs "out")))
4799 (wrap-program (string-append out "/bin/fmit")
4800 `("QT_PLUGIN_PATH" ":" prefix
4801 ,(map (lambda (label)
4802 (string-append (assoc-ref inputs label)
4803 "/lib/qt5/plugins"))
4804 '("qtbase" "qtmultimedia" "qtsvg")))
4805 `("QML2_IMPORT_PATH" ":" prefix
4806 ,(map (lambda (label)
4807 (string-append (assoc-ref inputs label)
4808 "/lib/qt5/qml"))
4809 '("qtmultimedia"))))
4810 #t))))))
4811 (inputs
4812 `(("alsa-lib" ,alsa-lib)
4813 ("fftw" ,fftw)
4814 ("jack" ,jack-1)
4815 ("portaudio" ,portaudio)
4816 ("qtbase" ,qtbase)
4817 ("qtmultimedia" ,qtmultimedia)
4818 ("qtsvg" ,qtsvg)))
4819 (native-inputs
4820 `(("gettext" ,gettext-minimal)
4821 ("hicolor-icon-theme" ,hicolor-icon-theme)
4822 ("itstool" ,itstool)
4823 ("qttools" ,qttools)))
4824 (synopsis "Musical instrument tuner")
4825 (description "FMIT is a graphical utility for tuning musical instruments,
4826 with error and volume history, and advanced features.")
4827 (home-page "https://gillesdegottex.github.io/fmit/")
4828 ;; Most of the code is under GPL2+, but some abstract or helper classes
4829 ;; are under LGPL2.1.
4830 (license (list license:gpl2+ license:lgpl2.1))))
4831
4832 (define-public mloop
4833 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
4834 (revision "0"))
4835 (package
4836 (name "mloop")
4837 (version (git-version "0.0.1" revision commit))
4838 (source (origin
4839 (method git-fetch)
4840 (uri (git-reference
4841 (url "http://git.fuzzle.org/mloop")
4842 (commit commit)))
4843 (file-name (git-file-name name version))
4844 (sha256
4845 (base32
4846 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
4847 (build-system waf-build-system)
4848 (arguments
4849 `(#:python ,python-2
4850 #:tests? #f)) ; no "check" target
4851 (inputs
4852 `(("jack" ,jack-1)
4853 ("ncurses" ,ncurses)))
4854 (native-inputs
4855 `(("pkg-config" ,pkg-config)))
4856 (home-page "https://fuzzle.org/~petern/mloop.html")
4857 (synopsis "Live MIDI looper")
4858 (description "mloop is a live MIDI looping system, using jack-midi.
4859 Loops are recorded, optionally with beat quantization, and can then be played
4860 back, either once or looping. A 'note cache' system is implemented to
4861 remember which notes are pressed and their velocities. This allows for a loop
4862 to start off with the currently pressed notes, making seamless loops much
4863 easier to perform. Features include:
4864
4865 @itemize
4866 @item Quantisation; end a loop on a beat exactly.
4867 @item Delayed recording; wait for a MIDI event before starting a loop record.
4868 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
4869 @end itemize\n")
4870 (license license:gpl2))))
4871
4872 (define-public pragha
4873 (package
4874 (name "pragha")
4875 (version "1.3.4")
4876 (source (origin
4877 (method url-fetch)
4878 (uri (string-append "https://github.com/pragha-music-player/pragha/"
4879 "releases/download/v" version "/pragha-" version
4880 ".tar.bz2"))
4881 (sha256
4882 (base32
4883 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
4884 (build-system glib-or-gtk-build-system)
4885 (native-inputs
4886 `(("intltool" ,intltool)
4887 ("pkg-config" ,pkg-config)))
4888 (inputs
4889 `(("glib" ,glib)
4890 ("grilo" ,grilo)
4891 ("gstreamer" ,gstreamer)
4892 ("gst-plugins-base" ,gst-plugins-base)
4893 ("gst-plugins-good" ,gst-plugins-good)
4894 ("gtk+" ,gtk+)
4895 ("libcddb" ,libcddb)
4896 ("libcdio" ,libcdio)
4897 ("libcdio-paranoia" ,libcdio-paranoia)
4898 ("libgudev" ,libgudev)
4899 ("libnotify" ,libnotify)
4900 ("libpeas" ,libpeas)
4901 ("libsoup" ,libsoup)
4902 ("sqlite" ,sqlite)
4903 ("taglib" ,taglib)))
4904 (arguments
4905 `(#:phases
4906 (modify-phases %standard-phases
4907 (add-after 'install 'wrap-program
4908 (lambda* (#:key inputs outputs #:allow-other-keys)
4909 (let ((out (assoc-ref outputs "out"))
4910 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
4911 (wrap-program (string-append out "/bin/pragha")
4912 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
4913 #t))))))
4914 (home-page "https://pragha-music-player.github.io")
4915 (synopsis "Music player")
4916 (description "Pragha is a lightweight music player based on Gtk and
4917 sqlite. It is constructed to be fast, light, and simultaneously tries to be
4918 complete without obstructing your daily work.")
4919 (license license:gpl3+)))
4920
4921 (define-public playerctl
4922 (package
4923 (name "playerctl")
4924 (version "2.0.2")
4925 (source (origin
4926 (method git-fetch)
4927 (uri (git-reference
4928 (url "https://github.com/altdesktop/playerctl")
4929 (commit (string-append "v" version))))
4930 (file-name (git-file-name name version))
4931 (sha256
4932 (base32
4933 "1f3njnpd52djx3dmhh9a8p5a67f0jmr1gbk98icflr2q91149gjz"))))
4934 (build-system meson-build-system)
4935 (arguments
4936 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
4937 (inputs `(("python-pygobject" ,python-pygobject)))
4938 (native-inputs
4939 `(("glib:bin" ,glib "bin")
4940 ("pkg-config" ,pkg-config)))
4941 (synopsis "Control MPRIS-supporting media player applications")
4942 (description
4943 "Playerctl is a command-line utility and library for controlling media
4944 players that implement the MPRIS D-Bus Interface Specification. Playerctl
4945 makes it easy to bind player actions, such as play and pause, to media keys.
4946 You can also get metadata about the playing track such as the artist and title
4947 for integration into status line generators or other command-line tools.")
4948 (home-page "https://github.com/altdesktop/playerctl")
4949 (license license:lgpl3+)))
4950
4951 (define-public artyfx
4952 (package
4953 (name "artyfx")
4954 (version "1.3")
4955 (source (origin
4956 (method git-fetch)
4957 (uri (git-reference
4958 (url
4959 "https://github.com/openAVproductions/openAV-ArtyFX.git")
4960 (commit (string-append "release-" version))))
4961 (file-name (git-file-name name version))
4962 (sha256
4963 (base32
4964 "012hcy1mxl7gs2lipfcqp5x0xv1azb9hjrwf0h59yyxnzx96h7c9"))))
4965 (build-system cmake-build-system)
4966 (arguments
4967 `(#:tests? #f ; no tests included
4968 #:phases
4969 (modify-phases %standard-phases
4970 (add-after 'unpack 'remove-architecture-specific-flags
4971 (lambda _
4972 (substitute* "CMakeLists.txt"
4973 (("-msse2 -mfpmath=sse") ""))
4974 #t)))))
4975 (inputs
4976 `(("cairo" ,cairo)
4977 ("libsndfile" ,libsndfile)))
4978 (native-inputs
4979 `(("pkg-config" ,pkg-config)
4980 ("lv2" ,lv2)))
4981 (home-page "http://openavproductions.com/artyfx/")
4982 (synopsis "Audio effect LV2 plugin bundle")
4983 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
4984 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
4985 and reverb.")
4986 (license license:gpl2+)))
4987
4988 (define-public lsp-plugins
4989 (package
4990 (name "lsp-plugins")
4991 (version "1.1.24")
4992 (source
4993 (origin
4994 (method git-fetch)
4995 (uri (git-reference
4996 (url "https://github.com/sadko4u/lsp-plugins")
4997 (commit (string-append "lsp-plugins-" version))))
4998 (file-name (git-file-name name version))
4999 (sha256
5000 (base32 "0rzgzkg6wvhjcf664i16nz4v30drgv80s34bhdflcjzx2x7ix5zk"))))
5001 (build-system gnu-build-system)
5002 (arguments
5003 `(#:make-flags
5004 (list
5005 (string-append "CC=" ,(cc-for-target))
5006 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5007 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5008 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5009 #:phases
5010 (modify-phases %standard-phases
5011 (delete 'configure)) ; no configure
5012 #:test-target "test"))
5013 (inputs
5014 `(("cairo", cairo)
5015 ("hicolor-icon-theme", hicolor-icon-theme)
5016 ("jack", jack-1)
5017 ("ladspa", ladspa)
5018 ("libsndfile", libsndfile)
5019 ("lv2", lv2)
5020 ("mesa", mesa)))
5021 (native-inputs
5022 `(("pkg-config", pkg-config)))
5023 (synopsis "Audio plugin collection")
5024 (description "LSP (Linux Studio Plugins) is a collection of audio
5025 plugins available as LADSPA/LV2 plugins and as standalone JACK
5026 applications.")
5027 (home-page "https://lsp-plug.in/")
5028 (license license:lgpl3)))
5029
5030 (define-public sherlock-lv2
5031 (package
5032 (name "sherlock-lv2")
5033 (version "0.24.0")
5034 (source
5035 (origin
5036 (method url-fetch)
5037 (uri (string-append
5038 "https://git.open-music-kontrollers.ch/lv2/"
5039 "sherlock.lv2/snapshot/sherlock.lv2-"
5040 version ".tar.xz"))
5041 (sha256
5042 (base32
5043 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5044 (build-system meson-build-system)
5045 (inputs
5046 `(("glu" ,glu)
5047 ("libx11" ,libx11)
5048 ("mesa" ,mesa)
5049 ("sratom" ,sratom)))
5050 (native-inputs
5051 `(("flex" ,flex)
5052 ("pkg-config" ,pkg-config)))
5053 (synopsis "Investigative LV2 plugin bundle")
5054 (description "The Sherlock plugin bundle contains LV2 plugins for
5055 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5056 and debugging of event signal flows inside plugin graphs.")
5057 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5058 (license license:artistic2.0)))
5059
5060 (define-public foo-yc20
5061 (package
5062 (name "foo-yc20")
5063 (version "1.3.0")
5064 (source
5065 (origin
5066 (method url-fetch)
5067 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5068 version "/foo-yc20-" version ".tar.bz2"))
5069 (sha256
5070 (base32
5071 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5072 (build-system gnu-build-system)
5073 (arguments
5074 `(#:make-flags
5075 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5076 #:tests? #f ; no automated test
5077 #:phases
5078 (modify-phases %standard-phases
5079 (replace 'configure
5080 (lambda _
5081 (substitute* "Makefile"
5082 (("-mtune=native") "")
5083 (("-march=native") ""))
5084 #t)))))
5085 (inputs
5086 `(("jack" ,jack-1)
5087 ("lv2" ,lv2)
5088 ("cairo" ,cairo)
5089 ("gtk" ,gtk+-2)))
5090 (native-inputs
5091 `(("faust" ,faust)
5092 ("pkg-config" ,pkg-config)))
5093 (home-page "https://foo-yc20.codeforcode.com/")
5094 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5095 (description "This is a Faust implementation of a 1969 designed Yamaha
5096 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5097 version. Processing for the organ is based on original schematics and
5098 measurements from a working specimen. This instrument simulates the circutry
5099 as a whole to realisticly reproduce the features and flaws of the real deal.")
5100 ;; Note that after 1.3.0 the license was changed.
5101 (license license:gpl3+)))
5102
5103 (define-public spectacle-analyzer
5104 (package
5105 (name "spectacle-analyzer")
5106 (version "1.0")
5107 (source
5108 (origin
5109 (method git-fetch)
5110 (uri (git-reference
5111 (url "https://github.com/jpcima/spectacle")
5112 (commit (string-append "v" version))
5113 ;; Bundles a specific commit of the DISTRHO plugin framework.
5114 (recursive? #t)))
5115 (file-name (git-file-name name version))
5116 (sha256
5117 (base32
5118 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5119 (build-system gnu-build-system)
5120 (arguments
5121 `(#:tests? #f ; no check target
5122 #:make-flags
5123 (list "CC=gcc"
5124 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5125 #:phases
5126 (modify-phases %standard-phases
5127 (delete 'configure))))
5128 (native-inputs
5129 `(("pkg-config" ,pkg-config)
5130 ("xxd" ,xxd)))
5131 (inputs
5132 `(("cairo", cairo)
5133 ("fftw", fftw)
5134 ("fftwf", fftwf)
5135 ("jack", jack-1)
5136 ("lv2", lv2)
5137 ("mesa", mesa)))
5138 (synopsis "Realtime graphical spectrum analyzer")
5139 (description "Spectacle is a real-time spectral analyzer using the
5140 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5141 (home-page "https://github.com/jpcima/spectacle")
5142 ;; The project is licensed under the ISC license, and files in
5143 ;; sources/plugin carry the Expat license.
5144 (license (list license:isc license:expat))))
5145
5146 (define-public x42-plugins
5147 (package
5148 (name "x42-plugins")
5149 (version "20200714")
5150 (source
5151 (origin
5152 (method url-fetch)
5153 (uri
5154 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5155 version ".tar.xz"))
5156 (sha256
5157 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5158 (build-system gnu-build-system)
5159 (arguments
5160 `(#:tests? #f ; no "check" target
5161 #:make-flags
5162 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5163 "LIBZITACONVOLVER=-lzita-convolver"
5164 (string-append "FONTFILE="
5165 (assoc-ref %build-inputs "font-dejavu")
5166 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5167 #:phases
5168 (modify-phases %standard-phases
5169 (add-before 'build 'set-CC-variable
5170 (lambda _
5171 (setenv "CC" "gcc")
5172 #t))
5173 (delete 'configure))))
5174 (inputs
5175 `(("cairo" ,cairo)
5176 ("fftwf" ,fftwf)
5177 ("ftgl" ,ftgl)
5178 ("glib" ,glib)
5179 ("glu" ,glu)
5180 ("hicolor-icon-theme" ,hicolor-icon-theme)
5181 ("jack" ,jack-1)
5182 ("libltc" ,libltc)
5183 ("libsamplerate" ,libsamplerate)
5184 ("libx11" ,libx11)
5185 ("pango" ,pango)
5186 ("zita-convolver" ,zita-convolver)))
5187 (native-inputs
5188 `(("help2man" ,help2man)
5189 ("liblo" ,liblo)
5190 ("lv2" ,lv2)
5191 ("font-dejavu" ,font-dejavu)
5192 ("pkg-config" ,pkg-config)))
5193 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5194 (description "x42-plugins is a collection of over 80 cross-platform LV2
5195 audio and MIDI plugins that can also run as standalone JACK applications.")
5196 (home-page "https://x42-plugins.com/x42/")
5197 (license license:gpl2+)))
5198
5199 (define-public zam-plugins
5200 (package
5201 (name "zam-plugins")
5202 (version "3.13")
5203 (source
5204 (origin
5205 (method git-fetch)
5206 (uri
5207 (git-reference
5208 (url "https://github.com/zamaudio/zam-plugins")
5209 (commit version)
5210 ;; Recursive to fetch the DISTRHO plugin framework. This
5211 ;; framework is intended to be included in the sources
5212 ;; and not to be used as a library.
5213 (recursive? #t)))
5214 (file-name (git-file-name name version))
5215 (sha256
5216 (base32 "0bxvssqnnd7bph3w1d6xcmxradv4cqq3wyzyv1a1hfm71a0pdahs"))))
5217 (build-system gnu-build-system)
5218 (arguments
5219 `(#:tests? #f ;no "check" target
5220 #:make-flags
5221 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5222 "HAVE_ZITA_CONVOLVER=true")
5223 #:phases
5224 (modify-phases %standard-phases
5225 (add-before 'build 'set-CC-variable
5226 (lambda _
5227 (setenv "CC" "gcc") #t))
5228 (delete 'configure))))
5229 (inputs
5230 `(("fftwf" ,fftwf)
5231 ("jack" ,jack-1) ;for the standalone JACK application
5232 ("liblo" ,liblo)
5233 ("libsamplerate" ,libsamplerate)
5234 ("mesa" ,mesa)
5235 ("zita-convolver" ,zita-convolver)))
5236 (native-inputs
5237 `(("ladspa" ,ladspa)
5238 ("lv2" ,lv2)
5239 ("pkg-config" ,pkg-config)))
5240 (synopsis "Collection of audio processing plugins")
5241 (description
5242 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5243 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5244 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5245 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5246 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5247 (home-page "http://www.zamaudio.com/?p=976")
5248 (license license:gpl2+)))
5249
5250 (define-public geonkick
5251 (package
5252 (name "geonkick")
5253 (version "2.3.7")
5254 (source
5255 (origin
5256 (method git-fetch)
5257 (uri (git-reference
5258 (url "https://gitlab.com/geontime/geonkick.git")
5259 (commit (string-append "v" version))))
5260 (file-name (git-file-name name version))
5261 (sha256
5262 (base32
5263 "1wdcbwiyy6i5agq5lffkyilyc8mv1cc4mp9h0nybn240vb2flqc2"))))
5264 (build-system cmake-build-system)
5265 (arguments
5266 `(#:tests? #f ;no tests included
5267 #:configure-flags
5268 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5269 (assoc-ref %build-inputs "redkite"))
5270 (string-append "-DCMAKE_INSTALL_PREFIX="
5271 (assoc-ref %outputs "out")))))
5272 (inputs
5273 `(("cairo" ,cairo)
5274 ("hicolor-icon-theme" ,hicolor-icon-theme)
5275 ("jack" ,jack-1) ;for the standalone JACK application
5276 ("libsndfile" ,libsndfile)
5277 ("libx11" ,libx11)
5278 ("redkite" ,redkite)
5279 ("rapidjson" ,rapidjson)))
5280 (native-inputs
5281 `(("lv2" ,lv2)
5282 ;; Fails with default gcc (#include <filesystem> not found).
5283 ("gcc" ,gcc-9)
5284 ("pkg-config" ,pkg-config)
5285 ("sord" ,sord)))
5286 (synopsis "Percussion synthesizer")
5287 (description "Geonkick is a synthesizer that can synthesize elements
5288 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5289 It can also play and mix samples.")
5290 (home-page "https://gitlab.com/geontime/geonkick")
5291 (license license:gpl3+)))
5292
5293 (define-public dpf-plugins
5294 (package
5295 (name "dpf-plugins")
5296 (version "1.3")
5297 (source
5298 (origin
5299 (method git-fetch)
5300 (uri
5301 (git-reference
5302 (url "https://github.com/DISTRHO/DPF-Plugins")
5303 (commit (string-append "v" version))))
5304 (file-name (git-file-name name version))
5305 (sha256
5306 (base32
5307 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
5308 (build-system gnu-build-system)
5309 (arguments
5310 `(#:tests? #f ; no "check" target
5311 #:make-flags
5312 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5313 #:phases
5314 (modify-phases %standard-phases
5315 (add-before 'build 'set-CC-variable
5316 (lambda _ (setenv "CC" "gcc") #t))
5317 (delete 'configure))))
5318 (inputs
5319 `(("cairo" ,cairo)
5320 ("liblo" ,liblo) ; for dssi plugins
5321 ("jack" ,jack-1) ; for standalone applications
5322 ("mesa" ,mesa)))
5323 (native-inputs
5324 `(("pkg-config" ,pkg-config)
5325 ("dssi" ,dssi)
5326 ("lv2" ,lv2)))
5327 (home-page "https://github.com/DISTRHO/DPF-Plugins")
5328 (synopsis "Audio plugin collection")
5329 (description "Collection of audio plugins built with the DISTRHO Plugin
5330 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
5331 package includes the following plugins: glBars, Kars, Max-Gen examples
5332 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
5333 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
5334 Soul Force), MVerb, Nekobi, and ProM.")
5335 ;; This package consists of several plugins refactored to use the
5336 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
5337 ;; apply to different plugins. The root LICENSE file has a table with
5338 ;; license information for each plugin and paths to each license
5339 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
5340
5341 (define-public avldrums-lv2
5342 (package
5343 (name "avldrums-lv2")
5344 (version "0.4.1")
5345 (source
5346 (origin
5347 (method git-fetch)
5348 (uri (git-reference
5349 (url "https://github.com/x42/avldrums.lv2")
5350 (commit (string-append "v" version))
5351 ;; This plugin expects the robtk submodule's source files to be
5352 ;; there in order to build.
5353 (recursive? #t)))
5354 (file-name (git-file-name name version))
5355 (sha256
5356 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
5357 (build-system gnu-build-system)
5358 (arguments
5359 `(#:tests? #f ; no "check" target
5360 #:make-flags
5361 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5362 #:phases
5363 (modify-phases %standard-phases
5364 (add-before 'build 'set-CC-variable
5365 (lambda _
5366 (setenv "CC" "gcc") #t))
5367 (delete 'configure))))
5368 (inputs
5369 `(("cairo" ,cairo)
5370 ("dssi" ,dssi)
5371 ("glu" ,glu)
5372 ("mesa" ,mesa)
5373 ("pango" ,pango)))
5374 (native-inputs
5375 `(("pkg-config" ,pkg-config)
5376 ("lv2" ,lv2)))
5377 (home-page "https://x42-plugins.com/x42/x42-avldrums")
5378 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
5379 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
5380 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
5381 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
5382 (license license:gpl2+)))
5383
5384 (define-public helm
5385 (package
5386 (name "helm")
5387 (version "0.9.0")
5388 (source
5389 (origin
5390 (method git-fetch)
5391 (uri
5392 (git-reference
5393 (url "https://github.com/mtytel/helm")
5394 (commit (string-append "v" version))))
5395 (file-name (git-file-name name version))
5396 (sha256
5397 (base32
5398 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
5399 (build-system gnu-build-system)
5400 (arguments
5401 `(#:tests? #f ; no "check" target
5402 #:make-flags
5403 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
5404 "lv2" "standalone")
5405 #:phases
5406 (modify-phases %standard-phases
5407 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
5408 (lambda _
5409 (substitute* "standalone/builds/linux/Makefile"
5410 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5411 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5412 (substitute* "builds/linux/LV2/Makefile"
5413 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5414 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5415 (substitute* "Makefile"
5416 (("/usr") ""))
5417 #t))
5418 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
5419 (lambda* (#:key outputs #:allow-other-keys)
5420 (for-each make-file-writable
5421 (find-files (string-append (assoc-ref outputs "out"))
5422 ".*\\.gz$"))
5423 #t))
5424 (delete 'configure))))
5425 (inputs
5426 `(("alsa-lib" ,alsa-lib)
5427 ("curl" ,curl)
5428 ("freetype2" ,freetype)
5429 ("hicolor-icon-theme" ,hicolor-icon-theme)
5430 ("libxcursor" ,libxcursor)
5431 ("libxinerama", libxinerama)
5432 ("jack", jack-1)
5433 ("mesa" ,mesa)))
5434 (native-inputs
5435 `(("pkg-config" ,pkg-config)
5436 ("lv2", lv2)))
5437 (home-page "https://tytel.org/helm/")
5438 (synopsis "Polyphonic synth with lots of modulation")
5439 (description "Helm is a cross-platform polyphonic synthesizer available standalone
5440 and as an LV2 plugin.")
5441 (license license:gpl3+)))
5442
5443 (define-public zrythm
5444 (package
5445 (name "zrythm")
5446 (version "0.8.333")
5447 (source
5448 (origin
5449 (method url-fetch)
5450 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
5451 version ".tar.xz"))
5452 (sha256
5453 (base32
5454 "0x2kxr5zz058jpy6k6ymj0fi2gqfcgrlv4qkwz9443hjy5345iwb"))))
5455 (build-system meson-build-system)
5456 (arguments
5457 `(#:glib-or-gtk? #t
5458 #:configure-flags
5459 `("-Denable_tests=true" "-Dmanpage=true"
5460 "-Dinstall_dseg_font=false" "-Denable_ffmpeg=true")
5461 #:phases
5462 (modify-phases %standard-phases
5463 (add-after 'unpack 'patch-xdg-open
5464 (lambda _
5465 (substitute* "src/utils/io.c"
5466 (("OPEN_DIR_CMD")
5467 (string-append "\"" (which "xdg-open") "\"")))
5468 #t)))))
5469 (inputs
5470 `(("alsa-lib" ,alsa-lib)
5471 ("jack" ,jack-1)
5472 ("font-dseg" ,font-dseg)
5473 ("ffmpeg" ,ffmpeg)
5474 ("fftw" ,fftw)
5475 ("fftwf" ,fftwf)
5476 ("gettext" ,gettext-minimal)
5477 ("glibc" ,glibc)
5478 ("graphviz" ,graphviz)
5479 ("gtk+" ,gtk+)
5480 ("gtksourceview" ,gtksourceview)
5481 ("guile" ,guile-2.2)
5482 ("libcyaml" ,libcyaml)
5483 ("libsamplerate" ,libsamplerate)
5484 ("libsndfile" ,libsndfile)
5485 ("libyaml" ,libyaml)
5486 ("lilv" ,lilv)
5487 ("xdg-utils" ,xdg-utils)
5488 ("rubberband" ,rubberband)))
5489 (native-inputs
5490 `(("pkg-config" ,pkg-config)
5491 ("help2man" ,help2man)
5492 ("libaudec" ,libaudec)
5493 ("lv2" ,lv2)
5494 ("glib" ,glib "bin"))) ;for 'glib-compile-resources'
5495 (synopsis "Digital audio workstation focusing on usability")
5496 (description "Zrythm is a digital audio workstation designed to be
5497 featureful and easy to use. It offers unlimited automation options, LV2
5498 plugin support, JACK support and chord assistance.")
5499 (home-page "https://www.zrythm.org")
5500 (license license:agpl3+)))
5501
5502 (define-public dragonfly-reverb
5503 (package
5504 (name "dragonfly-reverb")
5505 (version "3.2.1")
5506 (source
5507 (origin
5508 (method git-fetch)
5509 (uri
5510 (git-reference
5511 (url "https://github.com/michaelwillis/dragonfly-reverb")
5512 (commit version)
5513 ;; Bundles a specific commit of the DISTRHO plugin framework.
5514 (recursive? #t)))
5515 (file-name (git-file-name name version))
5516 (sha256
5517 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
5518 (build-system gnu-build-system)
5519 (arguments
5520 `(#:tests? #f ; no check target
5521 #:make-flags (list "CC=gcc")
5522 #:phases
5523 (modify-phases %standard-phases
5524 (delete 'configure) ;no configure target
5525 (replace 'install ;no install target
5526 (lambda* (#:key outputs #:allow-other-keys)
5527 (let* ((out (assoc-ref outputs "out"))
5528 (bin (string-append out "/bin"))
5529 (lv2 (string-append out "/lib/lv2")))
5530 ;; Install LV2.
5531 (for-each
5532 (lambda (file)
5533 (copy-recursively file
5534 (string-append lv2 "/" (basename file))))
5535 (find-files "bin" "\\.lv2$" #:directories? #t))
5536 ;; Install executables.
5537 (for-each
5538 (lambda (file)
5539 (install-file file bin))
5540 (find-files "bin"
5541 (lambda (name stat)
5542 (and
5543 (equal? (dirname name) "bin")
5544 (not (string-suffix? ".so" name))
5545 (not (string-suffix? ".lv2" name))))))
5546 #t))))))
5547 (native-inputs
5548 `(("pkg-config" ,pkg-config)))
5549 (inputs
5550 `(("jack" ,jack-1)
5551 ("libx11" ,libx11)
5552 ("mesa" ,mesa)))
5553 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
5554 (synopsis "Concert hall reverb and room reverb effects")
5555 (description
5556 "Dragonfly Reverb is a bundle of two free audio effects: a concert
5557 hall reverb and a room reverb. Both are available as LV2 plugins as well
5558 as JACK standalone applications.")
5559 (license license:gpl3+)))
5560
5561 (define-public zlfo
5562 (package
5563 (name "zlfo")
5564 (version "0.1.3")
5565 (source
5566 (origin
5567 (method git-fetch)
5568 (uri (git-reference
5569 (url "https://git.zrythm.org/git/ZLFO")
5570 (commit (string-append "v" version))))
5571 (file-name (git-file-name name version))
5572 (sha256
5573 (base32
5574 "0bm466ci5xyvxvq7l9p6xyh789lvk6i31b4zja1igqh13akbjnjz"))))
5575 (build-system meson-build-system)
5576 (inputs
5577 `(("librsvg" ,librsvg)
5578 ("lv2" ,lv2)
5579 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
5580 (native-inputs
5581 `(("pkg-config" ,pkg-config)))
5582 (synopsis "Low frequency oscillator plugin")
5583 (description "ZLFO is a fully featured
5584 @dfn{low frequency oscillator} (LFO) for @dfn{control voltage} (CV)-based
5585 automation that comes as an LV2 plugin bundle with a custom UI.")
5586 (home-page "https://git.zrythm.org/cgit/ZLFO/")
5587 (license license:agpl3+)))
5588
5589 (define-public remid-lv2
5590 (package
5591 (name "remid-lv2")
5592 (version "0.3")
5593 (source
5594 (origin
5595 (method git-fetch)
5596 (uri (git-reference
5597 (url "https://github.com/ssj71/reMID.lv2")
5598 (commit (string-append "v" version))))
5599 (file-name (git-file-name name version))
5600 (sha256
5601 (base32
5602 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
5603 (build-system cmake-build-system)
5604 (arguments
5605 `(#:tests? #f)) ; no tests included
5606 (inputs
5607 `(("alsa-lib" ,alsa-lib)
5608 ("glib" ,glib)
5609 ("jack" ,jack-1)
5610 ("lv2" ,lv2)))
5611 (native-inputs
5612 `(("pkg-config" ,pkg-config)))
5613 (home-page "https://github.com/ssj71/reMID.lv2")
5614 (synopsis
5615 "MIDI-controlled implementation of the SID 6581 chip used in the
5616 Commodore 64")
5617 (description
5618 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
5619 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
5620 to provide a virtual SID-based synthesizer, controllable in real-time via
5621 MIDI. It includes support for scripted instruments that allow complex sonic
5622 control of the chip.")
5623 (license license:gpl2+)))
5624
5625 (define-public vl1-emulator
5626 (package
5627 (name "vl1-emulator")
5628 (version "1.1.0.0")
5629 (source
5630 (origin
5631 (method git-fetch)
5632 (uri (git-reference
5633 (url "https://github.com/linuxmao-org/VL1-emulator")
5634 (commit (string-append "v" version))
5635 ;; bundles a specific commit of the DISTRHO plugin framework
5636 (recursive? #t)))
5637 (file-name (git-file-name name version))
5638 (sha256
5639 (base32
5640 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
5641 (build-system gnu-build-system)
5642 (arguments
5643 `(#:tests? #f ;no check target
5644 #:make-flags
5645 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5646 "CC=gcc")
5647 #:phases
5648 (modify-phases %standard-phases
5649 (delete 'configure)))) ;no configure target
5650 (inputs
5651 `(("cairo" ,cairo)
5652 ("jack" ,jack-1)
5653 ("mesa" ,mesa)))
5654 (native-inputs
5655 `(("pkg-config" ,pkg-config)))
5656 (home-page "https://github.com/linuxmao-org/VL1-emulator")
5657 (synopsis "Emulator of Casio VL-Tone VL1")
5658 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
5659 based on source code by PolyValens, offered as an LV2 plugin and a
5660 standalone JACK application.")
5661 ;; Expat or CC0
5662 (license (list license:expat license:cc0))))
5663
5664 (define-public regrader
5665 (package
5666 (inherit vl1-emulator)
5667 (name "regrader")
5668 (version "1.0.0")
5669 (source
5670 (origin
5671 (method git-fetch)
5672 (uri (git-reference
5673 (url "https://github.com/linuxmao-org/regrader")
5674 (commit (string-append "v" version))
5675 ;; bundles a specific commit of the DISTRHO plugin framework
5676 (recursive? #t)))
5677 (file-name (git-file-name name version))
5678 (sha256
5679 (base32
5680 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
5681 (home-page "https://github.com/linuxmao-org/regrader")
5682 (synopsis "Delay effect plugin")
5683 (description
5684 "Regrader is a delay effect where the repeats degrade in resolution.
5685 This is an unofficial port of the Regrader plugin created by Igorski. It
5686 is available as an LV2 plugin and a standalone JACK application.")
5687 (license license:expat)))
5688
5689 (define-public fogpad
5690 (package
5691 (inherit vl1-emulator)
5692 (name "fogpad")
5693 (version "1.0.0")
5694 (source
5695 (origin
5696 (method git-fetch)
5697 (uri (git-reference
5698 (url "https://github.com/linuxmao-org/fogpad")
5699 (commit (string-append "v" version))
5700 ;; bundles a specific commit of the DISTRHO plugin framework
5701 (recursive? #t)))
5702 (file-name (git-file-name name version))
5703 (sha256
5704 (base32
5705 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
5706 (home-page "https://github.com/linuxmao-org/fogpad")
5707 (synopsis "Reverb effect plugin")
5708 (description
5709 "Fogpad is a reverb effect in which the reflections can be frozen,
5710 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
5711 port of the Regrader plugin created by Igorski. It is available as an LV2
5712 plugin and a standalone JACK application.")
5713 (license license:expat)))
5714
5715 (define-public tap-lv2
5716 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
5717 (revision "1"))
5718 (package
5719 (name "tap-lv2")
5720 (version (git-version "0.0" revision commit))
5721 (source
5722 (origin
5723 (method git-fetch)
5724 (uri (git-reference
5725 (url "https://github.com/moddevices/tap-lv2")
5726 (commit commit)))
5727 (file-name (git-file-name name version))
5728 (sha256
5729 (base32
5730 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
5731 (build-system gnu-build-system)
5732 (arguments
5733 `(#:tests? #f ; no check target
5734 #:make-flags
5735 (list "CC=gcc")
5736 #:phases
5737 (modify-phases %standard-phases
5738 (delete 'configure) ; no configure
5739 (replace 'install
5740 (lambda _
5741 (invoke "make"
5742 (string-append "INSTALL_PATH="
5743 (assoc-ref %outputs "out")
5744 "/lib/lv2")
5745 "install"))))))
5746 (inputs
5747 `(("lv2", lv2)))
5748 (native-inputs
5749 `(("pkg-config", pkg-config)))
5750 (synopsis "Audio plugin collection")
5751 (description "TAP (Tom's Audio Processing) plugins is a collection of
5752 audio effect plugins originally released as LADSPA plugins. This package
5753 offers an LV2 version ported by moddevices.")
5754 (home-page "http://tap-plugins.sourceforge.net/")
5755 (license license:gpl2))))
5756
5757 (define-public wolf-shaper
5758 (package
5759 (name "wolf-shaper")
5760 (version "0.1.7")
5761 (source
5762 (origin
5763 (method git-fetch)
5764 (uri (git-reference
5765 (url "https://github.com/pdesaulniers/wolf-shaper")
5766 (commit (string-append "v" version))
5767 ;; Bundles a specific commit of the DISTRHO plugin framework.
5768 (recursive? #t)))
5769 (file-name (git-file-name name version))
5770 (sha256
5771 (base32
5772 "0lllgcbnnh1m95bp29hh17x170hl7170zizjrvy892qfkn36830d"))))
5773 (build-system gnu-build-system)
5774 (arguments
5775 `(#:tests? #f ; no check target
5776 #:make-flags (list "CC=gcc")
5777 #:phases
5778 (modify-phases %standard-phases
5779 (delete 'configure) ;no configure target
5780 (replace 'install ;no install target
5781 (lambda* (#:key outputs #:allow-other-keys)
5782 (let* ((out (assoc-ref outputs "out"))
5783 (bin (string-append out "/bin"))
5784 (lv2 (string-append out "/lib/lv2")))
5785 ;; Install LV2.
5786 (for-each
5787 (lambda (file)
5788 (copy-recursively file
5789 (string-append lv2 "/" (basename file))))
5790 (find-files "bin" "\\.lv2$" #:directories? #t))
5791 ;; Install executables.
5792 (for-each
5793 (lambda (file)
5794 (install-file file bin))
5795 (find-files "bin"
5796 (lambda (name stat)
5797 (and
5798 (equal? (dirname name) "bin")
5799 (not (string-suffix? ".so" name))
5800 (not (string-suffix? ".lv2" name))))))
5801 #t))))))
5802 (native-inputs
5803 `(("pkg-config" ,pkg-config)))
5804 (inputs
5805 `(("jack", jack-1)
5806 ("lv2", lv2)
5807 ("mesa", mesa)))
5808 (synopsis "Waveshaper plugin")
5809 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
5810 It is provided as an LV2 plugin and as a standalone Jack application.")
5811 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
5812 (license license:gpl3)))
5813
5814 (define-public wolf-spectrum
5815 (package
5816 (inherit wolf-shaper)
5817 (name "wolf-spectrum")
5818 (version "1.0.0")
5819 (source
5820 (origin
5821 (method git-fetch)
5822 (uri (git-reference
5823 (url "https://github.com/pdesaulniers/wolf-spectrum")
5824 (commit (string-append "v" version))
5825 ;; Bundles a specific commit of the DISTRHO plugin framework.
5826 (recursive? #t)))
5827 (file-name (git-file-name name version))
5828 (sha256
5829 (base32
5830 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
5831 (synopsis "2D spectrogram plugin")
5832 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
5833 It is provided as an LV2 plugin and as a standalone Jack application.")
5834 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
5835 (license license:gpl3)))
5836
5837 (define-public shiru-lv2
5838 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
5839 (revision "1"))
5840 (package
5841 (name "shiru-lv2")
5842 (version (git-version "0.0" revision commit))
5843 (source
5844 (origin
5845 (method git-fetch)
5846 (uri (git-reference
5847 (url "https://github.com/linuxmao-org/shiru-plugins")
5848 (commit commit)
5849 ;; Bundles a specific commit of the DISTRHO plugin framework.
5850 (recursive? #t)))
5851 (file-name (git-file-name name version))
5852 (sha256
5853 (base32
5854 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
5855 (build-system gnu-build-system)
5856 (arguments
5857 `(#:tests? #f ; no check target
5858 #:make-flags (list "CC=gcc")
5859 #:phases
5860 (modify-phases %standard-phases
5861 (delete 'configure) ;no configure target
5862 (replace 'install ;no install target
5863 (lambda* (#:key outputs #:allow-other-keys)
5864 (let* ((out (assoc-ref outputs "out"))
5865 (bin (string-append out "/bin"))
5866 (lv2 (string-append out "/lib/lv2")))
5867 ;; Install LV2.
5868 (for-each
5869 (lambda (file)
5870 (copy-recursively file
5871 (string-append lv2 "/" (basename file))))
5872 (find-files "bin" "\\.lv2$" #:directories? #t))
5873 ;; Install executables.
5874 (for-each
5875 (lambda (file)
5876 (install-file file bin))
5877 (find-files "bin"
5878 (lambda (name stat)
5879 (and
5880 (equal? (dirname name) "bin")
5881 (not (string-suffix? ".so" name))
5882 (not (string-suffix? ".lv2" name))))))
5883 #t))))))
5884 (native-inputs
5885 `(("pkg-config" ,pkg-config)))
5886 (inputs
5887 `(("cairo", cairo)
5888 ("glu", glu)
5889 ("jack", jack-1)
5890 ("lv2", lv2)
5891 ("mesa", mesa)
5892 ("pango", pango)))
5893 (synopsis "Audio plugin collection")
5894 (description "Shiru plugins is a collection of audio plugins created
5895 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
5896 framework.")
5897 (home-page "http://shiru.untergrund.net/software.shtml")
5898 (license license:wtfpl2))))