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 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
33 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
34 ;;; Copyright © 2019 Riku Viitanen <riku.viitanen0@gmail.com>
36 ;;; This file is part of GNU Guix.
38 ;;; GNU Guix is free software; you can redistribute it and/or modify it
39 ;;; under the terms of the GNU General Public License as published by
40 ;;; the Free Software Foundation; either version 3 of the License, or (at
41 ;;; your option) any later version.
43 ;;; GNU Guix is distributed in the hope that it will be useful, but
44 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
45 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46 ;;; GNU General Public License for more details.
48 ;;; You should have received a copy of the GNU General Public License
49 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
51 (define-module (gnu packages music)
52 #:use-module (guix utils)
53 #:use-module (guix packages)
54 #:use-module (guix download)
55 #:use-module (guix git-download)
56 #:use-module ((guix licenses) #:prefix license:)
57 #:use-module (guix build-system gnu)
58 #:use-module (guix build-system ant)
59 #:use-module (guix build-system cmake)
60 #:use-module (guix build-system meson)
61 #:use-module (guix build-system perl)
62 #:use-module (guix build-system python)
63 #:use-module (guix build-system scons)
64 #:use-module (guix build-system glib-or-gtk)
65 #:use-module (guix build-system waf)
66 #:use-module (guix build-system trivial)
67 #:use-module (guix build-system go)
68 #:use-module (gnu packages)
69 #:use-module (gnu packages admin)
70 #:use-module (gnu packages algebra)
71 #:use-module (gnu packages apr)
72 #:use-module (gnu packages audio)
73 #:use-module (gnu packages autotools)
74 #:use-module (gnu packages backup)
75 #:use-module (gnu packages base) ;libbdf
76 #:use-module (gnu packages bash)
77 #:use-module (gnu packages bison)
78 #:use-module (gnu packages boost)
79 #:use-module (gnu packages build-tools)
80 #:use-module (gnu packages cdrom)
81 #:use-module (gnu packages code)
82 #:use-module (gnu packages check)
83 #:use-module (gnu packages cmake)
84 #:use-module (gnu packages compression)
85 #:use-module (gnu packages cpp)
86 #:use-module (gnu packages crypto)
87 #:use-module (gnu packages curl)
88 #:use-module (gnu packages cyrus-sasl)
89 #:use-module (gnu packages datastructures)
90 #:use-module (gnu packages docbook)
91 #:use-module (gnu packages documentation)
92 #:use-module (gnu packages emacs)
93 #:use-module (gnu packages file)
94 #:use-module (gnu packages flex)
95 #:use-module (gnu packages fltk)
96 #:use-module (gnu packages fonts)
97 #:use-module (gnu packages fontutils)
98 #:use-module (gnu packages freedesktop)
99 #:use-module (gnu packages game-development)
100 #:use-module (gnu packages gcc)
101 #:use-module (gnu packages gnupg)
102 #:use-module (gnu packages gettext)
103 #:use-module (gnu packages ghostscript)
104 #:use-module (gnu packages gl)
105 #:use-module (gnu packages glib)
106 #:use-module (gnu packages gnome)
107 #:use-module (gnu packages gpodder)
108 #:use-module (gnu packages graphics)
109 #:use-module (gnu packages graphviz)
110 #:use-module (gnu packages gstreamer)
111 #:use-module (gnu packages gtk)
112 #:use-module (gnu packages guile)
113 #:use-module (gnu packages haskell)
114 #:use-module (gnu packages image)
115 #:use-module (gnu packages imagemagick)
116 #:use-module (gnu packages java)
117 #:use-module (gnu packages libffi)
118 #:use-module (gnu packages libusb)
119 #:use-module (gnu packages linux) ; for alsa-utils
120 #:use-module (gnu packages lirc)
121 #:use-module (gnu packages llvm)
122 #:use-module (gnu packages man)
123 #:use-module (gnu packages mp3)
124 #:use-module (gnu packages mpd)
125 #:use-module (gnu packages ncurses)
126 #:use-module (gnu packages netpbm)
127 #:use-module (gnu packages pcre)
128 #:use-module (gnu packages pdf)
129 #:use-module (gnu packages perl)
130 #:use-module (gnu packages perl-web)
131 #:use-module (gnu packages pkg-config)
132 #:use-module (gnu packages protobuf)
133 #:use-module (gnu packages pulseaudio) ;libsndfile
134 #:use-module (gnu packages python)
135 #:use-module (gnu packages python-web)
136 #:use-module (gnu packages python-xyz)
137 #:use-module (gnu packages qt)
138 #:use-module (gnu packages rdf)
139 #:use-module (gnu packages readline)
140 #:use-module (gnu packages rsync)
141 #:use-module (gnu packages sdl)
142 #:use-module (gnu packages sqlite)
143 #:use-module (gnu packages stb)
144 #:use-module (gnu packages tcl)
145 #:use-module (gnu packages texinfo)
146 #:use-module (gnu packages tex)
147 #:use-module (gnu packages time)
148 #:use-module (gnu packages tls)
149 #:use-module (gnu packages version-control)
150 #:use-module (gnu packages video)
151 #:use-module (gnu packages vim) ;for 'xxd'
152 #:use-module (gnu packages web)
153 #:use-module (gnu packages wxwidgets)
154 #:use-module (gnu packages xdisorg)
155 #:use-module (gnu packages xml)
156 #:use-module (gnu packages xorg)
157 #:use-module (gnu packages xiph)
158 #:use-module (gnu packages golang)
159 #:use-module (gnu packages lua)
160 #:use-module ((srfi srfi-1) #:select (last)))
162 (define-public audacious
169 (uri (string-append "https://distfiles.audacious-media-player.org/"
170 "audacious-" version ".tar.bz2"))
172 (base32 "028zjgz0p7ys15lk2a30m5zcv9xrx3ga50wjsh4m4zxilgkakbji"))))
173 (build-system gnu-build-system)
176 (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
177 #:tests? #f ; no check target
179 (modify-phases %standard-phases
180 (add-after 'install 'unpack-plugins
181 (lambda* (#:key inputs #:allow-other-keys)
182 (let ((plugins (assoc-ref inputs "audacious-plugins")))
183 (invoke "tar" "xvf" plugins)
185 (add-after 'unpack-plugins 'configure-plugins
186 (lambda* (#:key configure-flags outputs #:allow-other-keys)
187 (let ((out (assoc-ref outputs "out")))
188 (with-directory-excursion
189 (string-append "audacious-plugins-" ,version)
190 (substitute* "configure"
191 (("/bin/sh") (which "sh")))
192 (apply invoke "./configure"
193 (append configure-flags
194 ;; audacious-plugins requires audacious to build.
195 (list (string-append "PKG_CONFIG_PATH="
196 out "/lib/pkgconfig:"
197 (getenv "PKG_CONFIG_PATH"))
198 (string-append "--prefix=" out))))))))
199 (add-after 'configure-plugins 'build-plugins
201 (with-directory-excursion
202 (string-append "audacious-plugins-" ,version)
203 (invoke "make" "-j" (number->string (parallel-job-count))))))
204 (add-after 'build-plugins 'install-plugins
206 (with-directory-excursion
207 (string-append "audacious-plugins-" ,version)
208 (invoke "make" "install")))))))
210 `(("audacious-plugins"
213 (uri (string-append "https://distfiles.audacious-media-player.org/"
214 "audacious-plugins-" version ".tar.bz2"))
216 (base32 "0ny5w1agr9jaz5w3wyyxf1ygmzmd1sivaf97lcm4z4w6529520lz"))))
217 ("gettext" ,gettext-minimal)
218 ("glib:bin" ,glib "bin") ; for gdbus-codegen
219 ("pkg-config" ,pkg-config)))
223 ("qtmultimedia" ,qtmultimedia)
224 ;; Plugin dependencies
225 ("alsa-lib" ,alsa-lib)
230 ("fluidsynth" ,fluidsynth)
234 ("libcdio-paranoia" ,libcdio-paranoia)
236 ("libmodplug" ,libmodplug)
237 ("libnotify" ,libnotify)
239 ("libsamplerate" ,libsamplerate)
240 ("libsndfile" ,libsndfile)
241 ("libvorbis" ,libvorbis)
242 ("libxcomposite" ,libxcomposite)
244 ("libxrender" ,libxrender)
250 ("pulseaudio" ,pulseaudio)
253 ("wavpack" ,wavpack)))
254 (home-page "https://audacious-media-player.org")
255 (synopsis "Modular and skinnable audio player")
257 "Audacious is an audio player descended from XMMS. Drag and drop
258 folders and individual song files, search for artists and albums in
259 your entire music library, or create and edit your own custom
260 playlists. Listen to CD’s or stream music from the Internet. Tweak
261 the sound with the graphical equalizer or experiment with LADSPA
262 effects. Enjoy the modern GTK-themed interface or change things up
263 with Winamp Classic skins. Use the plugins included with Audacious to
264 fetch lyrics for your music, to set an alarm in the morning, and
266 ;; According to COPYING, Audacious and its plugins are licensed
267 ;; under the BSD 2-clause license and libguess is licensed under
268 ;; the BSD 3-clause license.
269 (license (list license:bsd-2
271 ;; Plugin licenses that aren't BSD 2- or 3-clause.
279 (define-public aria-maestosa
281 (name "aria-maestosa")
285 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
286 version "/AriaSrc-" version ".tar.bz2"))
289 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
290 (build-system scons-build-system)
292 `(#:tests? #f ;no tests
294 (list (string-append "prefix=" (assoc-ref %outputs "out")))
295 #:scons ,scons-python2
297 (modify-phases %standard-phases
299 (add-after 'unpack 'scons-propagate-environment
301 ;; By design, SCons does not, by default, propagate
302 ;; environment variables to subprocesses. See:
303 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
304 ;; Here, we modify the SConstruct file to arrange for
305 ;; environment variables to be propagated.
306 (substitute* "SConstruct"
307 (("env = Environment\\(\\)")
308 "env = Environment(ENV=os.environ)")
309 ;; Scons errors out when copying subdirectories from Resources,
310 ;; so we move them instead.
312 ;; We move the "score" and "Documentation" directories at once,
313 ;; so we have to ignore files contained therein.
314 (("if \".svn\" in file" line)
316 " or \"score/\" in file"
317 " or \"Documentation/\" in file")))
319 (add-after 'install 'fix-directory-permissions
320 (lambda* (#:key outputs #:allow-other-keys)
321 (let ((out (assoc-ref outputs "out")))
322 (chmod (string-append out "/share/Aria/Documentation") #o555)
323 (chmod (string-append out "/share/Aria/score") #o555)
326 `(("wxwidgets" ,wxwidgets)
328 ("alsa-lib" ,alsa-lib)))
330 `(("pkg-config" ,pkg-config)))
331 (home-page "http://ariamaestosa.sourceforge.net/")
332 (synopsis "MIDI sequencer and editor")
334 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
335 and play MIDI files with a few clicks in a user-friendly interface offering
336 score, keyboard, guitar, drum and controller views.")
337 (license license:gpl3+)))
339 ;; We don't use the latest release because it depends on Qt4. Instead we
340 ;; download the sources from the tip of the "qt5" branch.
341 (define-public clementine
342 (let ((commit "4619a4c1ab3b17b13d4b2327ad477912917eaf36")
346 (version (git-version "1.3.1" revision commit))
350 (url "https://github.com/clementine-player/Clementine")
352 (file-name (git-file-name name version))
355 "1hximk3q0p8nw8is5w7215xgkb7k4flnfyr0pdz9svfwvcm05w1i"))
356 (modules '((guix build utils)))
361 (delete-file-recursively
362 (string-append "3rdparty/" dir)))
364 ;; TODO: The following dependencies are still bundled:
365 ;; - "qxt": Appears to be unmaintained upstream.
367 ;; - "qtsingleapplication"
369 ;; - "qtiocompressor"
370 ;; - "gmock": The tests crash when using our googletest
371 ;; package instead of the bundled gmock.
379 "sha2" ;; Replaced by openssl.
383 (patches (search-patches "clementine-use-openssl.patch"
384 "clementine-remove-crypto++-dependency.patch"
385 "clementine-fix-sqlite.patch"))))
386 (build-system cmake-build-system)
388 '(#:test-target "clementine_test"
390 (list ;; Requires unpackaged "projectm"
391 "-DENABLE_VISUALISATIONS=OFF"
392 ;; Otherwise it may try to download a non-free library at run-time.
393 ;; TODO In an origin snippet, remove the code that performs the
395 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
396 "-DUSE_SYSTEM_SHA2=TRUE")
398 (modify-phases %standard-phases
399 (add-after 'install 'wrap-program
400 (lambda* (#:key inputs outputs #:allow-other-keys)
401 (let ((out (assoc-ref outputs "out"))
402 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
403 (wrap-program (string-append out "/bin/clementine")
404 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
407 `(("gettext" ,gettext-minimal)
408 ("pkg-config" ,pkg-config)
409 ("qtlinguist" ,qttools)))
412 ("chromaprint" ,chromaprint)
416 ("gstreamer" ,gstreamer)
417 ("gst-plugins-base" ,gst-plugins-base)
418 ("gst-plugins-good" ,gst-plugins-good)
419 ("gst-libav" ,gst-libav)
421 ("libmygpo-qt" ,libmygpo-qt)
422 ;; TODO: Package libgpod.
426 ("protobuf" ,protobuf)
427 ("pulseaudio" ,pulseaudio)
429 ("qtx11extras" ,qtx11extras)
431 ("sparsehash" ,sparsehash)
433 (home-page "https://clementine-player.org")
434 (synopsis "Music player and library organizer")
435 (description "Clementine is a multiplatform music player. It is inspired
436 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
437 playing your music.")
439 ;; clementine and qtiocompressor are under GPLv3.
441 ;; gmock is under BSD-3.
443 ;; qxt is under CPL1.0.
445 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
447 ;; qocoa is under MIT and CC by-sa for the icons.
448 license:cc-by-sa3.0)))))
457 (url "https://github.com/cmus/cmus")
458 (commit (string-append "v" version))))
459 (file-name (git-file-name name version))
462 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
463 (build-system gnu-build-system)
465 `(#:tests? #f ; cmus does not include tests
467 (modify-phases %standard-phases
469 (lambda* (#:key outputs #:allow-other-keys)
470 (let ((out (assoc-ref outputs "out")))
471 ;; It's an idiosyncratic configure script that doesn't
472 ;; understand --prefix=..; it wants prefix=.. instead.
473 (invoke "./configure"
474 (string-append "prefix=" out))
476 ;; TODO: cmus optionally supports the following formats, which haven't yet
477 ;; been added to Guix:
481 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
482 ;; Guix. See <http://sourceforge.net/projects/discid/>
484 `(("pkg-config" ,pkg-config)))
486 `(("alsa-lib" ,alsa-lib)
493 ("libcdio-paranoia" ,libcdio-paranoia)
496 ("libmodplug" ,libmodplug)
497 ("libmpcdec" ,libmpcdec)
498 ("libsamplerate" ,libsamplerate)
499 ("libvorbis" ,libvorbis)
501 ("opusfile" ,opusfile)
502 ("pulseaudio" ,pulseaudio)
503 ("wavpack" ,wavpack)))
504 (home-page "https://cmus.github.io/")
505 (synopsis "Small console music player")
506 (description "Cmus is a small and fast console music player. It supports
507 many input formats and provides a customisable Vi-style user interface.")
508 (license license:gpl2+)))
510 (define-public denemo
517 (uri (string-append "mirror://gnu/denemo/"
518 "denemo-" version ".tar.gz"))
520 (base32 "145kq0zfgdadykl3i6na221i4s5wzdrcqq48amzyfarnrqk2rmpd"))))
521 (build-system gnu-build-system)
524 (modify-phases %standard-phases
526 (lambda* (#:key inputs #:allow-other-keys)
527 ;; Tests require to write $HOME.
528 (setenv "HOME" (getcwd))
529 ;; Replace hard-coded diff file name.
530 (substitute* "tests/integration.c"
532 (string-append (assoc-ref inputs "diffutils") "/bin/diff")))
533 ;; Denemo's documentation says to use this command to run its
535 (invoke "make" "-C" "tests" "check")))
536 (add-before 'build 'set-lilypond
537 ;; This phase sets the default path for lilypond to its current
538 ;; location in the store.
539 (lambda* (#:key inputs #:allow-other-keys)
540 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
542 (substitute* "src/core/prefops.c"
543 (("g_string_new \\(\"lilypond\"\\);")
544 (string-append "g_string_new (\""
549 `(("diffutils" ,diffutils)
550 ("glib:bin" ,glib "bin") ; for gtester
552 ("intltool" ,intltool)
554 ("pkg-config" ,pkg-config)))
556 `(("alsa-lib" ,alsa-lib)
560 ("fluidsynth" ,fluidsynth)
563 ("gtksourceview" ,gtksourceview-3)
566 ("libsndfile" ,libsndfile)
568 ("lilypond" ,lilypond)
569 ("portaudio" ,portaudio)
570 ("portmidi" ,portmidi)
571 ("rubberband" ,rubberband)))
572 (synopsis "Graphical music notation, front-end to GNU Lilypond")
574 "GNU Denemo is a music notation editor that provides a convenient
575 interface to the powerful music engraving program Lilypond. Music can be
576 typed in using the computer keyboard, played in using a MIDI keyboard, or
577 even input via a microphone connected to the sound card. The final product
578 is publication-quality music notation that is continuously generated in the
579 background while you work.")
580 (home-page "http://www.denemo.org")
581 (license license:gpl3+)))
591 (url "https://github.com/kode54/dumb")
594 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
595 (file-name (git-file-name name version))))
596 (build-system cmake-build-system)
598 '(#:tests? #f ; no check target
600 (list "-DBUILD_SHARED_LIBS=ON"
601 "-DBUILD_EXAMPLES=OFF")))
602 (home-page "https://github.com/kode54/dumb")
603 (synopsis "Module audio renderer library")
605 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
606 targets maximum accuracy to the original formats, with low-pass resonant filters
607 for the IT files, accurate timing and pitching, and three resampling quality
608 settings (aliasing, linear interpolation and cubic interpolation).")
609 ;; The DUMB license is a bit peculiar.
610 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
611 ;; the first three clauses for genuine consideration.
612 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
613 ;; license, a known free software license.
614 ;; Therefore, the DUMB license may be considered a free software license.
615 (license (license:fsf-free "file://LICENSE"))))
617 (define-public dumb-allegro4
620 (name "dumb-allegro4")
622 (substitute-keyword-arguments (package-arguments dumb)
623 ((#:configure-flags flags)
624 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
626 `(("allegro" ,allegro-4)))))
628 (define-public hydrogen
636 (url "https://github.com/hydrogen-music/hydrogen")
638 (file-name (git-file-name name version))
640 (base32 "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1"))))
641 (build-system cmake-build-system)
643 `(#:test-target "tests"
645 (modify-phases %standard-phases
646 (add-after 'unpack 'fix-data-directory
647 (lambda* (#:key outputs #:allow-other-keys)
648 (substitute* "CMakeLists.txt"
649 (("/usr/share/pixmaps")
650 (string-append (assoc-ref outputs "out")
654 `(("cppunit" ,cppunit)
655 ("pkg-config" ,pkg-config)
656 ("qtlinguist" ,qttools)))
658 `(("alsa-lib" ,alsa-lib)
660 ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set
662 ("libarchive" ,libarchive)
664 ("libsndfile" ,libsndfile)
666 ("pulseaudio" ,pulseaudio)
668 ("qtxmlpatterns" ,qtxmlpatterns)
670 (home-page "http://www.hydrogen-music.org")
671 (synopsis "Drum machine")
673 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
674 enable professional yet simple and intuitive pattern-based drum programming.")
675 (license license:gpl2+)))
677 (define-public easytag
683 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
687 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
688 (build-system glib-or-gtk-build-system)
690 `(("desktop-file-utils" ,desktop-file-utils)
692 ("intltool" ,intltool)
694 ("pkg-config" ,pkg-config)
695 ("xmllint" ,libxml2)))
700 ("libid3tag" ,libid3tag)
701 ("libvorbis" ,libvorbis)
702 ("opusfile" ,opusfile)
709 (modify-phases %standard-phases
710 (add-before 'configure 'configure-libid3tag
711 (lambda* (#:key inputs #:allow-other-keys)
712 ;; libid3tag does not provide a .pc file and EasyTAG's configure
713 ;; script healivy relies on pkg-config. Providing a temporary
714 ;; local .pc file is easier than patching the configure script.
715 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
716 (mkdir-p "pkgconfig")
718 "pkgconfig/id3tag.pc"
722 libdir=${prefix}/lib~@
723 includedir=${prefix}/include~@
728 Libs: -L${libdir} -lid3tag -lz~@
729 Cflags: -I${includedir}~%"
731 (setenv "PKG_CONFIG_PATH"
732 (string-append (getenv "PKG_CONFIG_PATH")
733 ":" (getcwd) "/pkgconfig"))
735 (add-after 'unpack 'patch-makefile
737 (substitute* "Makefile.in"
738 ;; The Makefile generates a test-desktop-file-validate.sh
739 ;; script with /bin/sh hard-coded.
740 (("/bin/sh") (which "sh"))
741 ;; Don't create 'icon-theme.cache'.
742 (("gtk-update-icon-cache") "true"))
744 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
745 (synopsis "Simple application for viewing and editing tags in audio files")
747 "EasyTAG is an application for viewing and editing tags in audio files.
748 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
749 MusePack, Monkey's Audio, and WavPack files.")
750 (license license:gpl2+)))
752 (define-public extempore
759 (url "https://github.com/digego/extempore")
760 (commit (string-append "v" version))))
763 "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp"))
764 (file-name (git-file-name name version))
765 (patches (search-patches
766 "extempore-unbundle-external-dependencies.patch"))
767 (modules '((guix build utils)))
770 ;; Remove bundled sources.
771 (map delete-file-recursively
775 (build-system cmake-build-system)
777 `(#:configure-flags (list "-DJACK=ON"
779 "-DEXTERNAL_SHLIBS_AUDIO=OFF"
780 "-DEXTERNAL_SHLIBS_GRAPHICS=OFF"
781 "-DCMAKE_BUILD_TYPE=Release"
782 (string-append "-DEXT_SHARE_DIR="
783 (assoc-ref %outputs "out")
785 #:modules ((ice-9 match)
786 (guix build cmake-build-system)
789 (modify-phases %standard-phases
790 (add-after 'build 'build-aot-libs
792 (for-each (lambda (target)
793 (invoke "make" target))
798 (add-after 'unpack 'patch-install-locations
799 (lambda* (#:key outputs #:allow-other-keys)
800 (substitute* "CMakeLists.txt"
801 (("EXT_SHARE_DIR=\"\\.\"\\)")
802 "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")")
803 (("DESTINATION \"\\.\"\\)") "DESTINATION bin)")
804 (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n"))
806 (add-after 'unpack 'patch-directories
807 (lambda* (#:key outputs #:allow-other-keys)
808 (substitute* "extras/extempore.el"
809 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
810 (string-append "(runtime-directory \""
811 (assoc-ref outputs "out")
812 "/share/extempore/runtime"
815 (add-after 'unpack 'link-with-additional-libs
817 ;; The executable must be linked with libffi and zlib.
818 (substitute* "CMakeLists.txt"
819 (("target_link_libraries\\(extempore PRIVATE dl" line)
820 (string-append line " ffi z")))
822 ;; FIXME: All examples that are used as tests segfault for some
824 (add-after 'unpack 'disable-broken-tests
826 (substitute* "CMakeLists.txt"
827 (("extempore_add_example_as_test\\(.*") ""))
829 (add-after 'unpack 'hardcode-external-lib-paths
830 (lambda* (#:key inputs #:allow-other-keys)
831 (use-modules (ice-9 match))
834 ((file-name lib pkg-name)
835 (substitute* (string-append "libs/external/" file-name ".xtm")
836 ((lib) (string-append (assoc-ref inputs pkg-name)
838 '(("assimp" "libassimp.so" "assimp")
839 ("portmidi" "libportmidi.so" "portmidi")
840 ("sndfile" "libsndfile.so" "libsndfile")
841 ("fft" "libkiss_fft.so" "kiss-fft")
842 ("stb_image" "libstb_image.so" "stb-image")
843 ("nanovg" "libnanovg.so" "nanovg")
844 ("glext" "libGL.so" "mesa")
845 ("glfw3" "libglfw.so" "glfw")
846 ("gl/glcore-directbind" "libGL.so" "mesa")
847 ("gl/glcompat-directbind" "libGL.so" "mesa")))
849 (add-after 'unpack 'use-own-llvm
850 (lambda* (#:key inputs #:allow-other-keys)
851 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
852 ;; Our LLVM builds shared libraries, so Extempore should use
854 (substitute* "CMakeLists.txt"
855 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
857 (add-after 'unpack 'fix-aot-compilation
858 (lambda* (#:key outputs #:allow-other-keys)
859 (substitute* "CMakeLists.txt"
860 ;; Extempore needs to be told where the runtime is to be found.
861 ;; While we're at it we disable automatic tuning for a specific
862 ;; CPU to make binary substitution possible.
863 (("COMMAND extempore" prefix)
864 (string-append prefix " --sharedir " (getcwd)
865 " --mcpu=generic --attr=none")))
871 (name "llvm-for-extempore")
875 (uri (string-append "http://extempore.moso.com.au/extras/"
876 "llvm-3.8.0.src-patched-for-extempore.tar.xz"))
879 "1svdl6fxn8l01ni8mpm0bd5h856ahv3h9sdzgmymr6fayckjvqzs"))))))
882 ("libsndfile" ,libsndfile)
886 ,(let ((revision "1")
887 (commit "152a250a702bf28951bb0220d63bc0c99830c498"))
890 (name "stb-image-for-extempore")
891 (version (git-version "0" revision commit))
893 (origin (method git-fetch)
895 (url "https://github.com/extemporelang/stb")
899 "0y0aa20pj9311x2ii06zg8xs34idg14hfgldqc5ymizc6cf1qiqv"))
900 (file-name (git-file-name name version))))
901 (build-system cmake-build-system)
902 (arguments `(#:tests? #f)) ;no tests included
904 ("kiss-fft" ,kiss-fft-for-extempore)
905 ("nanovg" ,nanovg-for-extempore)
907 ,(let ((version "217")
909 (commit "8602f548f71daf5ef638b2f7d224753400cb2158"))
912 (name "portmidi-for-extempore")
913 (version (git-version version revision commit))
917 (url "https://github.com/extemporelang/portmidi")
919 (file-name (git-file-name name version))
922 "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w"))))
923 (build-system cmake-build-system)
924 (arguments `(#:tests? #f)) ;no tests
925 (native-inputs '()))))
927 ("alsa-lib" ,alsa-lib)
928 ("portaudio" ,portaudio)
934 ("emacs" ,emacs-no-x)))
935 ;; Extempore refuses to build on architectures other than x86_64
936 (supported-systems '("x86_64-linux"))
937 (home-page "https://digego.github.io/extempore/")
938 (synopsis "Programming environment for live coding of multimedia")
940 "Extempore is a programming language and runtime environment designed
941 with live programming in mind. It supports interactive programming in a REPL
942 style, compiling and binding code just-in-time. Although Extempore has its
943 roots in 'live coding' of audiovisual media art, it is suitable for any task
944 domain where dynamic run-time modifiability and good numerical performance are
945 required. Extempore also has strong timing and concurrency semantics, which
946 are helpful when working in problem spaces where timing is important (such as
948 (license license:bsd-2)))
950 (define-public surge-synth
958 (url "https://github.com/surge-synthesizer/surge")
959 (commit (string-append "release_" version))
960 (recursive? #t))) ; build system expects modules to be there
961 (file-name (git-file-name name version))
964 "1jhk8iaqh89dnci4446b47315v2lc8gclraygk8m9jl20zpjxl0l"))))
965 (build-system cmake-build-system)
967 `(#:tests? #f ; no tests included
969 (modify-phases %standard-phases
970 (add-after 'unpack 'replace-python
971 (lambda* (#:key inputs outputs #:allow-other-keys)
972 (substitute* "CMakeLists.txt"
974 (string-append " " (assoc-ref inputs "python")
977 (add-after 'unpack 'fix-data-directory-name
978 (lambda* (#:key inputs outputs #:allow-other-keys)
979 (substitute* "src/common/SurgeStorage.cpp"
980 (("/usr") (assoc-ref outputs "out")))
982 (replace 'install ; no install target
983 (lambda* (#:key inputs outputs #:allow-other-keys)
984 (let* ((src (assoc-ref inputs "source"))
985 (out (assoc-ref outputs "out"))
986 (share (string-append out "/share"))
987 (lib (string-append out "/lib"))
988 (lv2 (string-append lib "/lv2"))
989 (vst3 (string-append lib "/vst3")))
992 ;; Install LV2 plugin.
993 (copy-recursively "surge_products/Surge.lv2"
994 (string-append lv2 "/Surge.lv2"))
995 ;; Install VST3 plugin.
996 (copy-recursively "surge_products/Surge.vst3"
997 (string-append vst3 "/Surge.vst3"))
999 (copy-recursively (string-append src "/resources/data")
1000 (string-append share "/Surge"))
1004 ("libxkbcommon" ,libxkbcommon)
1006 ("xcb-util" ,xcb-util)
1007 ("xcb-util-cursor" ,xcb-util-cursor)
1008 ("xcb-util-keysyms" ,xcb-util-keysyms)))
1010 `(("pkg-config" ,pkg-config)))
1011 (home-page "https://surge-synthesizer.github.io/")
1012 (synopsis "Synthesizer plugin")
1014 "Surge is a subtractive hybrid digital synthesizer. Each patch contains
1015 two @dfn{scenes} which are separate instances of the entire synthesis
1016 engine (except effects) that can be used for layering or split patches.")
1017 (license license:gpl3+)))
1019 (define-public klick
1025 (uri (string-append "http://das.nasophon.de/download/klick-"
1029 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
1030 (build-system scons-build-system)
1032 `(#:scons-flags (list (string-append "PREFIX=" %output))
1033 #:scons ,scons-python2
1034 #:tests? #f ; no "check" target
1036 (modify-phases %standard-phases
1037 (add-after 'unpack 'be-permissive
1039 (substitute* "SConstruct"
1040 (("'-Wall'") "'-Wall', '-fpermissive'"))
1042 (add-after 'unpack 'replace-removed-scons-syntax
1044 (substitute* "SConstruct"
1045 (("BoolOption") "BoolVariable")
1046 (("PathOption") "PathVariable")
1047 (("Options") "Variables"))
1052 ("libsndfile" ,libsndfile)
1053 ("libsamplerate" ,libsamplerate)
1055 ("rubberband" ,rubberband)))
1057 `(("pkg-config" ,pkg-config)))
1058 (home-page "http://das.nasophon.de/klick/")
1059 (synopsis "Metronome for JACK")
1061 "klick is an advanced command-line based metronome for JACK. It allows
1062 you to define complex tempo maps for entire songs or performances.")
1063 (license license:gpl2+)))
1072 (url "https://github.com/sahib/glyr")
1074 (file-name (git-file-name name version))
1077 "1miwbqzkhg0v3zysrwh60pj9sv6ci4lzq2vq2hhc6pc6hdyh8xyr"))))
1078 (build-system cmake-build-system)
1080 '(#:configure-flags '("-DTEST=true")
1082 (modify-phases %standard-phases
1083 (add-after 'unpack 'patch-tests
1085 (substitute* "spec/capi/check_api.c"
1086 (("fail_unless \\(c != NULL,\"Could not load www.google.de\"\\);")
1090 (lambda* (#:key tests? #:allow-other-keys)
1093 (invoke "bin/check_api")
1094 ;; (invoke "bin/check_opt") TODO Very dependent on the network
1095 (invoke "bin/check_dbc"))
1097 ;; TODO Work out how to run the spec/providers Python tests
1102 ("sqlite" ,sqlite)))
1104 `(("pkg-config" ,pkg-config)
1106 (home-page "https://github.com/sahib/glyr")
1107 (synopsis "Search engine for music related metadata")
1109 "Glyr comes both in a command-line interface tool (@command{glyrc}) and
1110 as a C library (libglyr).
1112 The sort of metadata glyr is searching (and downloading) is usually the data
1113 you see in your musicplayer. And indeed, originally it was written to serve
1114 as internally library for a musicplayer, but has been extended to work as a
1115 standalone program which is able to download cover art, lyrics, photos,
1116 biographies, reviews and more.")
1117 (license license:lgpl3+)))
1119 (define-public gtklick
1125 (uri (string-append "http://das.nasophon.de/download/gtklick-"
1129 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
1130 (build-system python-build-system)
1132 `(#:tests? #f ; no tests
1135 (modify-phases %standard-phases
1136 (add-before 'build 'add-sitedirs
1137 ;; .pth files are not automatically interpreted unless the
1138 ;; directories containing them are added as "sites". The directories
1139 ;; are then added to those in the PYTHONPATH. This is required for
1140 ;; the operation of pygtk.
1142 (substitute* "gtklick/gtklick.py"
1144 "import pygtk, site, sys
1145 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
1146 (add-after 'unpack 'inject-store-path-to-klick
1147 (lambda* (#:key inputs #:allow-other-keys)
1148 (substitute* "gtklick/klick_backend.py"
1149 (("KLICK_PATH = 'klick'")
1150 (string-append "KLICK_PATH = '"
1151 (assoc-ref inputs "klick")
1156 ("python2-pyliblo" ,python2-pyliblo)
1157 ("python2-pygtk" ,python2-pygtk)))
1159 `(("gettext" ,gettext-minimal)))
1160 (home-page "http://das.nasophon.de/gtklick/")
1161 (synopsis "Simple metronome with an easy-to-use graphical interface")
1163 "Gtklick is a simple metronome with an easy-to-use graphical user
1164 interface. It is implemented as a frontend to @code{klick}.")
1165 (license license:gpl2+)))
1167 (define-public libgme
1173 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
1174 "downloads/game-music-emu-" version
1178 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
1179 (build-system cmake-build-system)
1181 '(#:tests? #f)) ; no check target
1182 (home-page "https://bitbucket.org/mpyne/game-music-emu")
1183 (synopsis "Video game music file playback library")
1185 "Game-music-emu is a collection of video game music file emulators that
1186 support the following formats and systems:
1189 ZX Spectrum/Asmtrad CPC
1193 Sega Genesis/Mega Drive
1195 NEC TurboGrafx-16/PC Engine
1197 MSX Home Computer/other Z80 systems (doesn't support FM sound)
1199 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
1201 Atari systems using POKEY sound chip
1203 Super Nintendo/Super Famicom
1205 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
1207 (license (list license:lgpl2.1+
1208 ;; demo and player directories are under the Expat license
1211 (define-public ninjas2
1220 (url "https://github.com/clearly-broken-software/ninjas2")
1221 (commit (string-append "v" version))
1222 ;; Bundles a specific commit of the DISTRHO plugin framework.
1224 (file-name (git-file-name name version))
1226 (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
1227 (build-system gnu-build-system)
1229 `(#:tests? #f ;no tests
1231 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1232 (string-append "CC=" ,(cc-for-target)))
1234 (modify-phases %standard-phases
1235 (delete 'configure) ;no configure target
1236 (replace 'install ;no install target
1237 (lambda* (#:key outputs #:allow-other-keys)
1238 (let* ((out (assoc-ref outputs "out"))
1239 (bin (string-append out "/bin"))
1240 (lv2 (string-append out "/lib/lv2")))
1244 (copy-recursively file
1245 (string-append lv2 "/" (basename file))))
1246 (find-files "bin" "\\.lv2$" #:directories? #t))
1247 ;; Install executables.
1250 (install-file file bin))
1254 (equal? (dirname name) "bin")
1255 (not (string-suffix? ".so" name))
1256 (not (string-suffix? ".lv2" name))))))
1260 ("jack" ,jack-1) ; for the standalone JACK application
1261 ("libsamplerate" ,libsamplerate)
1263 ("libsndfile" ,libsndfile)))
1265 `(("ladspa" ,ladspa)
1267 ("pkg-config" ,pkg-config)))
1268 (synopsis "Sample slicer audio plugin")
1270 "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
1271 Its goal is to be an easy to use sample slicer with quick slicing of samples
1272 and auto-mapping slices to MIDI note numbers.")
1273 (home-page "https://github.com/clearly-broken-software/ninjas2")
1274 (license license:gpl3+)))
1276 (define-public lilypond
1283 (uri (string-append "http://lilypond.org/download/sources/"
1284 "v" (version-major+minor version) "/"
1285 "lilypond-" version ".tar.gz"))
1287 (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar"))))
1288 (build-system gnu-build-system)
1290 `(#:tests? #f ;out-test/collated-files.html fails
1292 #:make-flags '("conf=www") ;to generate images for info manuals
1294 (list "CONFIGURATION=www"
1295 (string-append "--with-texgyre-dir="
1296 (assoc-ref %build-inputs "font-tex-gyre")
1297 "/share/fonts/opentype/"))
1299 (modify-phases %standard-phases
1300 (add-after 'unpack 'use-texlive-union
1302 ;; FIXME: fonts are not found and have to be generated in HOME.
1303 (setenv "HOME" "/tmp")
1304 ;; The test for the "lh" package fails, even though it is among
1306 (substitute* "configure"
1307 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
1309 (add-after 'unpack 'fix-path-references
1311 (substitute* "scm/backend-library.scm"
1312 (("\\(search-executable '\\(\"gs\"\\)\\)")
1313 (string-append "\"" (which "gs") "\""))
1315 (string-append "\"" (which "sh") "\"")))
1317 (add-before 'configure 'prepare-configuration
1319 (substitute* "configure"
1320 (("SHELL=/bin/sh") "SHELL=sh")
1321 ;; When checking the fontforge version do not consider the
1322 ;; version string that's part of the directory.
1323 (("head -n") "tail -n")
1324 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
1325 (("20110222") "19700101"))
1326 (setenv "out" "www")
1327 (setenv "conf" "www")
1329 (add-after 'install 'install-info
1332 "-j" (number->string (parallel-job-count))
1333 "conf=www" "install-info")
1336 `(("guile" ,guile-1.8)
1337 ("font-dejavu" ,font-dejavu)
1338 ("font-tex-gyre" ,font-tex-gyre)
1339 ("fontconfig" ,fontconfig)
1340 ("freetype" ,freetype)
1341 ("ghostscript" ,ghostscript)
1343 ("python" ,python-2)))
1348 ("fontforge" ,fontforge)
1349 ("dblatex" ,dblatex)
1350 ("gettext" ,gettext-minimal)
1351 ("imagemagick" ,imagemagick)
1352 ("netpbm" ,netpbm) ;for pngtopnm
1353 ("texlive" ,(texlive-union (list texlive-metapost
1354 texlive-generic-epsf
1356 texlive-latex-cyrillic)))
1357 ("texinfo" ,texinfo)
1358 ("texi2html" ,texi2html-1.82)
1360 ("pkg-config" ,pkg-config)
1362 (home-page "http://www.lilypond.org/")
1363 (synopsis "Music typesetting")
1365 "GNU LilyPond is a music typesetter, which produces high-quality sheet
1366 music. Music is input in a text file containing control sequences which are
1367 interpreted by LilyPond to produce the final document. It is extendable with
1369 (license license:gpl3+)
1371 ;; On armhf and mips64el, building the documentation sometimes leads to
1372 ;; more than an hour of silence, so double the max silent time.
1373 (properties `((max-silent-time . 7200)))))
1375 (define-public non-sequencer
1376 ;; The latest tagged release is three years old and uses a custom build
1377 ;; system, so we take the last commit.
1378 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1381 (name "non-sequencer")
1382 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
1386 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1390 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
1391 (file-name (string-append name "-" version "-checkout"))))
1392 (build-system waf-build-system)
1394 `(#:tests? #f ;no "check" target
1396 (list "--project=sequencer"
1397 ;; Disable the use of SSE unless on x86_64.
1398 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1399 (%current-system))))
1402 #:python ,python-2))
1405 ("libsigc++" ,libsigc++)
1409 `(("pkg-config" ,pkg-config)))
1410 (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer")
1411 (synopsis "Pattern-based MIDI sequencer")
1413 "The Non Sequencer is a powerful, lightweight, real-time,
1414 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1415 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1416 Sequencer happens on-line, in real-time. Music can be composed live, while the
1417 transport is rolling.")
1418 (license license:gpl2+))))
1420 (define-public non-session-manager
1421 (package (inherit non-sequencer)
1422 (name "non-session-manager")
1424 (substitute-keyword-arguments (package-arguments non-sequencer)
1425 ((#:configure-flags flags)
1426 `(cons "--project=session-manager"
1427 (delete "--project=sequencer" ,flags)))))
1433 `(("pkg-config" ,pkg-config)))
1434 (home-page "https://non.tuxfamily.org/nsm/")
1435 (synopsis "Audio session management")
1437 "The Non Session Manager is an API and an implementation for audio
1438 session management. NSM clients use a well-specified OSC protocol to
1439 communicate with the session management daemon.")
1440 (license license:gpl2+)))
1442 (define-public non-mixer
1443 (package (inherit non-sequencer)
1446 (substitute-keyword-arguments (package-arguments non-sequencer)
1447 ((#:configure-flags flags)
1448 `(cons "--project=mixer"
1449 (delete "--project=sequencer" ,flags)))))
1457 `(("pkg-config" ,pkg-config)))
1458 (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
1459 (synopsis "Modular digital audio mixer")
1461 "The Non Mixer is a powerful, reliable and fast modular digital audio
1462 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1463 toolkit for a fast and lightweight user interface. Non Mixer can be used
1464 alone or in concert with Non Timeline and Non Sequencer to form a complete
1466 (license license:gpl2+)))
1468 (define-public non-timeline
1469 (package (inherit non-sequencer)
1470 (name "non-timeline")
1472 (substitute-keyword-arguments (package-arguments non-sequencer)
1473 ((#:configure-flags flags)
1474 `(cons "--project=timeline"
1475 (delete "--project=sequencer" ,flags)))))
1479 ("libsndfile" ,libsndfile)
1482 `(("pkg-config" ,pkg-config)))
1483 (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
1484 (synopsis "Modular digital audio timeline arranger")
1486 "The Non Timeline is a powerful, reliable and fast modular digital audio
1487 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1488 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1489 be used alone or in concert with Non Mixer and Non Sequencer to form a
1491 (license license:gpl2+)))
1493 (define-public tascam-gtk
1494 ;; This commit represents the latest version at the time of this writing.
1495 (let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
1499 (version (git-version "0.4" revision commit))
1503 (url "https://github.com/onkelDead/tascam-gtk")
1505 (file-name (git-file-name name version))
1508 "07k7rccqqg7lnygkh97a200l1i6s1rl92n01v0q6n4257sinir6f"))))
1509 (build-system gnu-build-system)
1513 ("alsa-lib" ,alsa-lib)
1514 ("libxmlplusplus" ,libxmlplusplus-2.6)))
1516 `(("glib:bin" ,glib "bin")
1517 ("pkg-config" ,pkg-config)))
1518 (home-page "https://github.com/onkelDead/tascam-gtk")
1519 (synopsis "GTK+ based application to control Tascam US-16x08 DSP mixer")
1520 (description "This is a mixer application to control the Tascam US-16x08
1521 audio interface. This device contains about 280 control elements and this
1522 mixer application aims to provide comfortable access to the DSP effects the
1524 (license license:expat))))
1526 (define-public bsequencer
1533 (url "https://github.com/sjaehn/BSEQuencer")
1535 (file-name (git-file-name name version))
1538 "0w7iwzz2r4a699fi24qk71vv2k3jpl9ylzlgmvyc3rlgad0m01k1"))))
1539 (build-system gnu-build-system)
1542 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1543 #:tests? #f ; there are none
1545 (modify-phases %standard-phases
1546 (delete 'configure))))
1550 ("libx11" ,libx11)))
1552 `(("pkg-config" ,pkg-config)))
1553 (home-page "https://github.com/sjaehn/BSEQuencer")
1554 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1556 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1557 with a selectable pattern matrix size.")
1558 (license license:gpl3+)))
1560 (define-public bchoppr
1562 (inherit bsequencer)
1569 (url "https://github.com/sjaehn/BChoppr")
1571 (file-name (git-file-name name version))
1574 "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"))))
1575 (synopsis "Audio stream-chopping LV2 plugin")
1576 (description "B.Choppr cuts the audio input stream into a repeated
1577 sequence of up to 16 chops. Each chop can be leveled up or down (gating).
1578 B.Choppr is the successor of B.Slizr.")
1579 (home-page "https://github.com/sjaehn/BChoppr")
1580 (license license:gpl3+)))
1582 (define-public bshapr
1584 (inherit bsequencer)
1591 (url "https://github.com/sjaehn/BShapr")
1592 (commit (string-append "v" version))))
1593 (file-name (git-file-name name version))
1595 (base32 "04zd3a178i2nivg5rjailzqvc5mlnilmhj1ziygmbhshbrywplri"))))
1596 (synopsis "Beat/envelope shaper LV2 plugin")
1597 (description "B.Shapr is a beat/envelope shaper LV2 plugin.")
1598 (home-page "https://github.com/sjaehn/BShapr")
1599 (license license:gpl3+)))
1601 (define-public bjumblr
1603 (inherit bsequencer)
1610 (url "https://github.com/sjaehn/BJumblr")
1612 (file-name (git-file-name name version))
1615 "0kl6hrxmqrdf0195bfnzsa2h1073fgiqrfhg2276fm1954sm994v"))))
1618 ("libsndfile" ,libsndfile)
1620 (synopsis "Pattern-controlled audio stream/sample re-sequencer LV2 plugin")
1621 (description "B.Jumblr is a pattern-controlled audio stream / sample
1622 re-sequencer LV2 plugin.")
1623 (home-page "https://github.com/sjaehn/BJumblr")
1624 (license license:gpl3+)))
1626 (define-public bschaffl
1628 (inherit bsequencer)
1635 (url "https://github.com/sjaehn/BSchaffl")
1637 (file-name (git-file-name name version))
1640 "1c09acqrbd387ba41f8ch1qykdap5h6cg9if5pgd16i4dmjnpghj"))))
1643 ("fontconfig" ,fontconfig)
1644 ("libsndfile" ,libsndfile)
1647 (home-page "https://github.com/sjaehn/BSchaffl")
1648 (synopsis "Pattern-controlled MIDI amp & time stretch LV2 plugin")
1649 (description "This package provides an LV2 plugin that allows for
1650 pattern-controlled MIDI amp & time stretching to produce shuffle / swing
1653 Key features include:
1656 @item MIDI velocity amplification and timing manipulation plugin
1657 @item Swing and shuffle rhythms
1658 @item Pre-generator dynamics
1660 @item Pattern (sliders) or shape-controlled
1662 @item Smart quantization
1665 (license license:gpl3+)))
1667 (define-public solfege
1674 "mirror://gnu/solfege/solfege-"
1678 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1679 (build-system gnu-build-system)
1681 `(#:tests? #f ; xmllint attempts to download DTD
1682 #:test-target "test"
1684 (modify-phases %standard-phases
1685 (add-after 'unpack 'fix-configuration
1686 (lambda* (#:key inputs #:allow-other-keys)
1687 (substitute* "default.config"
1688 (("/usr/bin/aplay") "aplay")
1689 (("/usr/bin/timidity") "timidity")
1690 (("/usr/bin/mpg123") "mpg123")
1691 (("/usr/bin/ogg123") "ogg123"))
1693 (add-before 'build 'patch-python-shebangs
1695 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1697 (substitute* '("solfege/parsetree.py"
1698 "solfege/presetup.py")
1699 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1701 (add-before 'build 'add-sitedirs
1702 ;; .pth files are not automatically interpreted unless the
1703 ;; directories containing them are added as "sites". The directories
1704 ;; are then added to those in the PYTHONPATH. This is required for
1705 ;; the operation of pygtk and pygobject.
1707 (substitute* "run-solfege.py"
1710 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1712 (add-before 'build 'adjust-config-file-prefix
1713 (lambda* (#:key outputs #:allow-other-keys)
1714 (substitute* "run-solfege.py"
1715 (("prefix = os.path.*$")
1716 (string-append "prefix = " (assoc-ref outputs "out"))))
1718 (add-after 'install 'wrap-program
1719 (lambda* (#:key inputs outputs #:allow-other-keys)
1720 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1721 (let* ((out (assoc-ref outputs "out"))
1722 (path (getenv "PYTHONPATH")))
1723 (wrap-program (string-append out "/bin/solfege")
1724 `("PYTHONPATH" ":" prefix (,path))))
1727 `(("python" ,python-2)
1728 ("pygtk" ,python2-pygtk)
1729 ("gettext" ,gettext-minimal)
1731 ("lilypond" ,lilypond)))
1733 `(("pkg-config" ,pkg-config)
1734 ("txt2man" ,txt2man)
1735 ("libxml2" ,libxml2) ; for tests
1736 ("ghostscript" ,ghostscript)
1737 ("texinfo" ,texinfo)))
1738 (home-page "https://www.gnu.org/software/solfege/")
1739 (synopsis "Ear training")
1741 "GNU Solfege is a program for practicing musical ear-training. With it,
1742 you can practice your recognition of various musical intervals and chords. It
1743 features a statistics overview so you can monitor your progress across several
1744 sessions. Solfege is also designed to be extensible so you can easily write
1746 (license license:gpl3+)))
1748 (define-public powertabeditor
1750 (name "powertabeditor")
1751 (version "2.0.0-alpha14")
1755 (url "https://github.com/powertab/powertabeditor")
1757 (file-name (git-file-name name version))
1760 "1wsvni2aa9h2bpndlic7ckch4n600ahwm56n521y5vxivwjx3jmj"))))
1761 (build-system cmake-build-system)
1764 (modify-phases %standard-phases
1765 (replace 'check (lambda _ (invoke "bin/pte_tests")))
1766 (add-after 'unpack 'fix-pugixml-detection
1768 (substitute* "cmake/third_party/pugixml.cmake"
1769 (("add_library") "#add_library"))
1772 `(("alsa-lib" ,alsa-lib)
1774 ("minizip" ,minizip)
1775 ("pugixml" ,pugixml)
1777 ("rapidjson" ,rapidjson)
1779 ("timidity" ,timidity++)
1782 `(("doctest" ,doctest)
1783 ("pkg-config" ,pkg-config)))
1784 (home-page "https://github.com/powertab/powertabedito")
1785 (synopsis "Guitar tablature editor")
1787 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1788 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1789 (license license:gpl3+)))
1791 (define-public jalv-select
1793 (name "jalv-select")
1798 (url "https://github.com/brummer10/jalv_select")
1799 (commit (string-append "v" version))))
1800 (file-name (git-file-name name version))
1803 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
1804 (build-system gnu-build-system)
1807 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1809 (modify-phases %standard-phases
1811 (add-after 'unpack 'ignore-PATH
1812 (lambda* (#:key inputs #:allow-other-keys)
1813 (substitute* "jalv.select.cpp"
1814 (("echo \\$PATH.*tr ':'.*xargs ls")
1815 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1817 (add-before 'reset-gzip-timestamps 'make-manpages-writable
1818 (lambda* (#:key outputs #:allow-other-keys)
1819 (for-each make-file-writable
1820 (find-files (string-append (assoc-ref outputs "out")
1828 ("gtkmm" ,gtkmm-2)))
1830 `(("pkg-config" ,pkg-config)))
1831 (home-page "https://github.com/brummer10/jalv_select")
1832 (synopsis "GUI to select LV2 plugins and run them with jalv")
1834 "The jalv.select package provides a graphical user interface allowing
1835 users to select LV2 plugins and run them with jalv.")
1836 (license license:public-domain)))
1838 (define-public synthv1
1845 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1846 "/synthv1-" version ".tar.gz"))
1849 "1sggiaswcdpyxnnbg583ldg0m92fiys6nc5qdiqli7450w416a6c"))))
1850 (build-system gnu-build-system)
1852 `(#:tests? #f)) ; there are no tests
1856 ("alsa-lib" ,alsa-lib)
1857 ("non-session-manager" ,non-session-manager)
1859 ("qtbase" ,qtbase)))
1861 `(("pkg-config" ,pkg-config)
1862 ("qttools" ,qttools)))
1863 (home-page "https://synthv1.sourceforge.io")
1864 (synopsis "Polyphonic subtractive synthesizer")
1866 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1867 oscillators and stereo effects.")
1868 (license license:gpl2+)))
1870 (define-public drumkv1
1877 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
1878 "/drumkv1-" version ".tar.gz"))
1881 "1bzkaz7sqx1pvirja8zm7i2ckzl5ad6xspr4840389ik3l8qpnr5"))))
1882 (build-system gnu-build-system)
1884 `(#:tests? #f)) ; there are no tests
1888 ("libsndfile" ,libsndfile)
1889 ("alsa-lib" ,alsa-lib)
1890 ("non-session-manager" ,non-session-manager)
1892 ("qtbase" ,qtbase)))
1894 `(("pkg-config" ,pkg-config)
1895 ("qttools" ,qttools)))
1896 (home-page "https://drumkv1.sourceforge.io")
1897 (synopsis "Drum-kit sampler synthesizer with stereo effects")
1899 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
1901 (license license:gpl2+)))
1903 (define-public samplv1
1910 (string-append "mirror://sourceforge/samplv1/samplv1/" version
1911 "/samplv1-" version ".tar.gz"))
1914 "13p5aj1513fwhzi9s4i1a5dbvzmbx9867zb0ddb9s9nbwks4ry3q"))))
1915 (build-system gnu-build-system)
1917 `(#:tests? #f)) ; there are no tests
1921 ("libsndfile" ,libsndfile)
1922 ("alsa-lib" ,alsa-lib)
1923 ("non-session-manager" ,non-session-manager)
1925 ("qtbase" ,qtbase)))
1927 `(("pkg-config" ,pkg-config)
1928 ("qttools" ,qttools)))
1929 (home-page "https://samplv1.sourceforge.io")
1930 (synopsis "Polyphonic sampler synthesizer with stereo effects")
1932 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
1934 (license license:gpl2+)))
1936 (define-public padthv1
1943 (string-append "mirror://sourceforge/padthv1/padthv1/" version
1944 "/padthv1-" version ".tar.gz"))
1947 "1karrprb3ijrbiwpr43rl3nxnzc33lnmwrd1832psgr3flnr9fp5"))))
1948 (build-system gnu-build-system)
1950 `(#:tests? #f)) ; there are no tests
1954 ("alsa-lib" ,alsa-lib)
1955 ("non-session-manager" ,non-session-manager)
1958 ("qtbase" ,qtbase)))
1960 `(("pkg-config" ,pkg-config)
1961 ("qttools" ,qttools)))
1962 (home-page "https://padthv1.sourceforge.io")
1963 (synopsis "Polyphonic additive synthesizer")
1965 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
1966 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
1967 special variant of additive synthesis.")
1968 (license license:gpl2+)))
1970 (define-public amsynth
1977 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
1978 "download/release-" version
1979 "/amsynth-" version ".tar.bz2"))
1982 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
1983 (build-system gnu-build-system)
1986 (modify-phases %standard-phases
1987 (add-after 'unpack 'patch-file-names
1989 (substitute* "src/GUI/editor_pane.c"
1990 (("/usr/bin/unzip") (which "unzip")))
1991 (substitute* "src/GUI/GUI.cc"
1992 (("/usr/bin/which") (which "which")))
1995 `(("alsa-lib" ,alsa-lib)
2000 ("libsndfile" ,libsndfile)
2002 ;; External commands invoked at run time.
2006 `(("intltool" ,intltool)
2007 ("pkg-config" ,pkg-config)))
2008 (home-page "https://amsynth.github.io")
2009 (synopsis "Analog modeling synthesizer")
2011 "amsynth is an easy-to-use software synthesizer with a classic
2012 subtractive synthesizer topology. Its features include: dual
2013 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
2014 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
2015 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
2016 which can modulate the oscillators, filter, and amplitude; distortion and
2018 (license license:gpl2+)))
2020 (define-public setbfree
2027 (url "https://github.com/pantherb/setBfree")
2028 (commit (string-append "v" version))))
2029 (file-name (git-file-name name version))
2032 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
2033 (build-system gnu-build-system)
2035 `(#:tests? #f ; no "check" target
2037 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2038 (string-append "FONTFILE="
2039 (assoc-ref %build-inputs "font-bitstream-vera")
2040 "/share/fonts/truetype/VeraBd.ttf")
2041 ;; Disable unsupported optimization flags on non-x86
2042 ,@(let ((system (or (%current-target-system)
2043 (%current-system))))
2044 (if (or (string-prefix? "x86_64" system)
2045 (string-prefix? "i686" system))
2047 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
2049 (modify-phases %standard-phases
2050 (add-before 'build 'set-CC-variable
2051 (lambda _ (setenv "CC" "gcc") #t))
2052 (delete 'configure))))
2056 ("zita-convolver" ,zita-convolver)
2059 ("font-bitstream-vera" ,font-bitstream-vera)))
2061 `(("help2man" ,help2man)
2062 ("pkg-config" ,pkg-config)))
2063 (home-page "http://setbfree.org")
2064 (synopsis "Tonewheel organ")
2066 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
2067 the sound and properties of the electromechanical organs and sound
2068 modification devices that brought world-wide fame to the names and products of
2069 Laurens Hammond and Don Leslie.")
2070 (license license:gpl2+)))
2072 (define-public beast
2078 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
2082 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
2083 (build-system gnu-build-system)
2085 '(#:parallel-build? #f)) ; Race conditions cause build failures
2087 `(("rapicorn" ,rapicorn)
2088 ("guile" ,guile-1.8)
2089 ("python" ,python-2)
2090 ("libgnomecanvas" ,libgnomecanvas)
2094 ("alsa-lib" ,alsa-lib)
2095 ("libvorbis" ,libvorbis)
2096 ("gettext" ,gettext-minimal)))
2098 `(("pkg-config" ,pkg-config)
2099 ("glib:bin" ,glib "bin")
2100 ("cython" ,python2-cython)
2102 ("perl-xml-parser" ,perl-xml-parser)))
2103 (home-page "https://testbit.eu/wiki/Beast_Home")
2104 (synopsis "Music composition and modular synthesis environment")
2106 "Beast is a music composition and modular synthesis application. It
2107 supports a wide range of standards in the field, such as MIDI, various audio
2108 file formats and LADSPA modules. It allows for multitrack editing, real-time
2109 synthesis, 32bit audio rendering, precise timing down to sample granularity,
2110 on-demand and partial loading of wave files, on the fly decoding, stereo
2111 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
2112 (license license:gpl3+)))
2114 (define-public bristol
2120 (uri (string-append "mirror://sourceforge/bristol/bristol/"
2121 (version-major+minor version)
2122 "/bristol-" version ".tar.gz"))
2125 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
2126 (build-system gnu-build-system)
2129 (modify-phases %standard-phases
2130 (add-after 'unpack 'remove-sse-flags
2131 (lambda* (#:key system #:allow-other-keys)
2132 (when (not (or (string-prefix? "x86_64" system)
2133 (string-prefix? "i686" system)))
2134 (substitute* "bristol/Makefile.in"
2135 (("-msse -mfpmath=sse") "")))
2137 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
2138 ;; bristol actually doesn't use it.
2139 (add-after 'unpack 'do-not-use-alsa-iatomic
2141 (substitute* "libbristolaudio/audioEngineJack.c"
2142 (("#include <alsa/iatomic.h>") ""))
2144 ;; We know that Bristol has been linked with JACK and we don't have
2145 ;; ldd, so we can just skip this check.
2146 (add-after 'unpack 'do-not-grep-for-jack
2148 (substitute* "bin/startBristol.in"
2149 (("ldd `which bristol` | grep jack") "echo guix"))
2152 `(("alsa-lib" ,alsa-lib)
2155 ("libx11" ,libx11)))
2157 `(("pkg-config" ,pkg-config)))
2158 (home-page "http://bristol.sourceforge.net/")
2159 (synopsis "Synthesizer emulator")
2161 "Bristol is an emulation package for a number of different @code{classic}
2162 synthesizers including additive and subtractive and a few organs. The
2163 application consists of the engine, which is called bristol, and its own GUI
2164 library called brighton that represents all the emulations. There are
2165 currently more than twenty different emulations; each does sound different
2166 although the author maintains that the quality and accuracy of each emulation
2168 (license license:gpl3+)))
2170 (define-public tuxguitar
2177 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
2178 version "/tuxguitar-" version "-src.tar.gz"))
2181 "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg"))))
2182 (build-system ant-build-system)
2184 `(#:build-target "build"
2186 #:tests? #f ; no tests
2188 (modify-phases %standard-phases
2190 (lambda* (#:key inputs outputs #:allow-other-keys)
2191 (let* ((initial-classpath (getenv "CLASSPATH"))
2192 (build-dir (lambda (dir)
2195 (string-join (cons initial-classpath
2196 (find-files (getcwd) "\\.jar$"))
2198 (with-directory-excursion dir
2199 (if (file-exists? "build.xml")
2200 ((assoc-ref %standard-phases 'build)
2201 #:build-target "build")
2203 ;; Generate default build.xml.
2204 ((@@ (guix build ant-build-system)
2206 (string-append (string-downcase dir) ".jar")
2207 (string-append (assoc-ref outputs "out")
2209 ((assoc-ref %standard-phases 'build))))))))
2210 (map build-dir '("TuxGuitar-lib"
2211 "TuxGuitar-editor-utils"
2212 "TuxGuitar-ui-toolkit"
2213 "TuxGuitar-ui-toolkit-swt"
2216 "TuxGuitar-gm-utils"
2219 "TuxGuitar-midi-ui"))
2221 (add-after 'build 'build-jni
2224 (setenv "CFLAGS" (string-append
2227 "/build-scripts/native-modules/common-include"))
2228 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
2230 (lambda* (#:key inputs outputs #:allow-other-keys)
2231 (let* ((out (assoc-ref outputs "out"))
2232 (bin (string-append out "/bin"))
2233 (share (string-append out "/share"))
2234 (jni-lib (string-append out "/lib"))
2235 (lib (string-append share "/java"))
2236 (swt (assoc-ref inputs "java-swt"))
2237 (mime (string-append share "/mime/packages"))
2238 (app (string-append share "/applications"))
2239 (man (string-append share "/man/man1")))
2242 ;; Install all jars.
2243 (for-each (lambda (file)
2244 (install-file file lib))
2245 (find-files "." "\\.jar$"))
2247 ;; Install jni libraries
2248 (for-each (lambda (file)
2249 (install-file file jni-lib))
2250 (find-files "." "\\-jni.so$"))
2252 ;; Install all resources.
2253 (copy-recursively "./TuxGuitar/share" share)
2255 ;; Install desktop and mime files
2256 (install-file "./misc/tuxguitar.xml" mime)
2257 (install-file "./misc/tuxguitar.desktop" app)
2260 (install-file "./misc/tuxguitar.1" man)
2263 (call-with-output-file (string-append bin "/tuxguitar")
2265 (let ((classpath (string-join (append (find-files lib "\\.jar$")
2266 (find-files swt "\\.jar$"))
2270 (string-append "#!/bin/sh\n"
2273 " -Dtuxguitar.home.path=" out
2274 " -Dtuxguitar.share.path=" out "/share"
2275 " -Dswt.library.path=" swt "/lib"
2276 " -Djava.library.path=" out "/lib"
2277 " org.herac.tuxguitar.app.TGMainSingleton"
2278 " \"$1\" \"$2\"")))))
2279 (chmod (string-append bin "/tuxguitar") #o555)
2282 `(("alsa-lib" ,alsa-lib)
2283 ("java-swt" ,java-swt)))
2284 (home-page "http://tuxguitar.com.ar/")
2285 (synopsis "Multitrack tablature editor and player")
2287 "TuxGuitar is a guitar tablature editor with player support through midi.
2288 It can display scores and multitrack tabs. TuxGuitar provides various
2289 additional features, including autoscrolling while playing, note duration
2290 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
2291 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
2293 (license license:lgpl2.1+)))
2302 (string-append "http://msp.ucsd.edu/Software/pd-"
2303 version ".src.tar.gz"))
2306 "10cqg387xdpiirak5v9y1lpvcds9bpqz61znx6d1m1hb45n513aw"))))
2307 (build-system gnu-build-system)
2309 (let ((wish (string-append "wish" (version-major+minor
2310 (package-version tk)))))
2311 `(#:tests? #f ; no "check" target
2315 (string-append "--with-wish=" (string-append
2316 (assoc-ref %build-inputs "tk")
2319 (modify-phases %standard-phases
2320 (add-before 'configure 'fix-with-path
2322 (substitute* "tcl/pd-gui.tcl"
2323 (("exec wish ") (string-append "exec " (which ,wish) " ")))
2326 `(("autoconf" ,autoconf)
2327 ("automake" ,automake)
2328 ("libtool" ,libtool)
2329 ("gettext" ,gettext-minimal)
2330 ("pkg-config" ,pkg-config)))
2333 ("alsa-lib" ,alsa-lib)
2335 (home-page "https://puredata.info")
2336 (synopsis "Visual programming language for artistic performances")
2338 "Pure Data (aka Pd) is a visual programming language. Pd enables
2339 musicians, visual artists, performers, researchers, and developers to create
2340 software graphically, without writing lines of code. Pd is used to process
2341 and generate sound, video, 2D/3D graphics, and interface sensors, input
2342 devices, and MIDI. Pd can easily work over local and remote networks to
2343 integrate wearable technology, motor systems, lighting rigs, and other
2344 equipment. Pd is suitable for learning basic multimedia processing and visual
2345 programming methods as well as for realizing complex systems for large-scale
2347 (license license:bsd-3)))
2349 (define-public libpd
2356 (url "https://github.com/libpd/libpd")
2358 (recursive? #t))) ; for the 'pure-data' submodule
2359 (file-name (string-append name "-" version "-checkout"))
2362 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
2363 (build-system gnu-build-system)
2365 '(#:tests? #f ; no tests
2366 #:make-flags '("CC=gcc")
2368 (modify-phases %standard-phases
2369 (delete 'configure) ; no configure script
2371 (lambda* (#:key outputs #:allow-other-keys)
2372 (let ((out (assoc-ref outputs "out")))
2373 (invoke "make" "install"
2374 (string-append "prefix=" out)
2375 ;; XXX: Fix the last 2 lines of 'install' target.
2377 "LIBPD_DEF=NO")))))))
2378 (home-page "http://libpd.cc/")
2379 (synopsis "Pure Data as an embeddable audio synthesis library")
2381 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
2382 main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
2383 (license license:bsd-3)))
2385 (define-public portmidi
2391 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
2392 version "/portmidi-src-" version ".zip"))
2395 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
2396 (patches (list (search-patch "portmidi-modular-build.patch")))))
2397 (build-system cmake-build-system)
2399 `(#:tests? #f ; tests cannot be linked
2400 #:build-type "Release" ; needed to have PMALSA set
2402 (list "-DPORTMIDI_ENABLE_JAVA=Off"
2403 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
2405 (modify-phases %standard-phases
2406 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
2407 ;; "libportmidi.so". Distributions get away with it by creating an
2408 ;; appropriate symlink.
2409 (add-after 'install 'add-porttime
2410 (lambda* (#:key outputs #:allow-other-keys)
2411 (let* ((out (assoc-ref outputs "out"))
2412 (lib (string-append out "/lib")))
2413 (with-directory-excursion lib
2414 (symlink "libportmidi.so" "libporttime.so")))))
2415 (add-after 'install 'install-pkg-config
2416 (lambda* (#:key outputs #:allow-other-keys)
2417 (let* ((out (assoc-ref outputs "out"))
2418 (pkg-config-dir (string-append out "/lib/pkgconfig")))
2419 (mkdir-p pkg-config-dir)
2420 (with-output-to-file (string-append pkg-config-dir "/portmidi.pc")
2424 libdir=${prefix}/lib~@
2425 includedir=${prefix}/include~@
2430 Libs: -L${libdir} -lportmidi~@
2431 Cflags: -I${includedir}~%"
2432 out ,version)))))))))
2434 `(("alsa-lib" ,alsa-lib)))
2436 `(("unzip" ,unzip)))
2437 (home-page "http://portmedia.sourceforge.net/portmidi/")
2438 (synopsis "Library for MIDI I/O")
2440 "PortMidi is a library supporting real-time input and output of MIDI data
2441 using a system-independent interface.")
2442 (license license:expat)))
2444 (define-public python-pyportmidi
2446 (name "python-pyportmidi")
2447 (version (package-version portmidi))
2448 (source (package-source portmidi))
2449 (build-system python-build-system)
2451 `(#:tests? #f ; no tests included
2453 (modify-phases %standard-phases
2454 (add-after 'unpack 'enter-dir
2455 (lambda _ (chdir "pm_python") #t))
2456 (add-after 'enter-dir 'fix-setup.py
2458 (substitute* "setup.py"
2459 ;; Use Python 3 syntax
2460 (("print (\".*\")" _ text)
2461 (string-append "print(" text ")\n"))
2462 ;; TODO.txt and CHANGES.txt don't exist
2463 (("CHANGES =.*") "CHANGES = \"\"\n")
2464 (("TODO =.*") "TODO = \"\"\n"))
2467 `(("portmidi" ,portmidi)
2468 ("alsa-lib" ,alsa-lib)))
2470 `(("python-cython" ,python-cython)
2472 (home-page "http://portmedia.sourceforge.net/portmidi/")
2473 (synopsis "Python bindings to PortMidi")
2475 "This package provides Python bindings to the PortMidi library.")
2476 (license license:expat)))
2478 (define-public frescobaldi
2480 (name "frescobaldi")
2486 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2487 version "/frescobaldi-" version ".tar.gz"))
2489 (base32 "1hg9yc8kj445fjsby92g3qf50crcl1pb079zfma18sb7ycv50zww"))))
2490 (build-system python-build-system)
2492 `(#:tests? #f)) ;no tests included
2494 `(("lilypond" ,lilypond)
2495 ("poppler" ,poppler)
2496 ("portmidi" ,portmidi)
2497 ("python-ly" ,python-ly)
2498 ("python-poppler-qt5" ,python-poppler-qt5)
2499 ("python-pyportmidi" ,python-pyportmidi)
2500 ("python-pyqt" ,python-pyqt)
2501 ("python-sip" ,python-sip)))
2502 (home-page "https://www.frescobaldi.org/")
2503 (synopsis "LilyPond sheet music text editor")
2505 "Frescobaldi is a LilyPond sheet music text editor with syntax
2506 highlighting and automatic completion. Among other things, it can render
2507 scores next to the source, can capture input from MIDI or read MusicXML and
2508 ABC files, has a MIDI player for proof-listening, and includes a documentation
2510 (license license:gpl2+)))
2512 (define-public drumstick
2518 (uri (string-append "mirror://sourceforge/drumstick/"
2519 version "/drumstick-" version ".tar.bz2"))
2522 "1n9wvg79yvkygrkc8xd8pgrd3d7hqmr7gh24dccf0px23lla9b3m"))))
2523 (build-system cmake-build-system)
2525 `(#:tests? #f ; no test target
2526 #:configure-flags '("-DLIB_SUFFIX=")
2528 (modify-phases %standard-phases
2529 (add-before 'configure 'fix-docbook
2530 (lambda* (#:key inputs #:allow-other-keys)
2531 (substitute* "cmake_admin/CreateManpages.cmake"
2532 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2533 (string-append (assoc-ref inputs "docbook-xsl")
2534 "/xml/xsl/docbook-xsl-"
2535 ,(package-version docbook-xsl)
2536 "/manpages/docbook.xsl")))
2539 `(("qtbase" ,qtbase)
2541 ("alsa-lib" ,alsa-lib)))
2543 `(("pkg-config" ,pkg-config)
2544 ("libxslt" ,libxslt) ; for xsltproc
2545 ("docbook-xsl" ,docbook-xsl)
2546 ("doxygen" ,doxygen)))
2547 (home-page "http://drumstick.sourceforge.net/")
2548 (synopsis "C++ MIDI library")
2550 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2551 includes a C++ wrapper around the ALSA library sequencer interface. A
2552 complementary library provides classes for processing SMF (Standard MIDI
2553 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2554 multiplatform realtime MIDI I/O library is also provided with various output
2555 backends, including ALSA, OSS, Network and FluidSynth.")
2556 (license license:gpl2+)))
2564 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2565 version "/vmpk-" version ".tar.bz2"))
2568 "1i3hnvdgz46n4k5v0q4jhgh7nkh0s390ix4nqr69z0q3026yp0p6"))))
2569 (build-system cmake-build-system)
2571 `(#:tests? #f ; no test target
2573 (modify-phases %standard-phases
2574 (add-before 'configure 'fix-docbook
2575 (lambda* (#:key inputs #:allow-other-keys)
2576 (substitute* "cmake_admin/CreateManpages.cmake"
2577 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2578 (string-append (assoc-ref inputs "docbook-xsl")
2579 "/xml/xsl/docbook-xsl-"
2580 ,(package-version docbook-xsl)
2581 "/manpages/docbook.xsl")))
2584 `(("drumstick" ,drumstick)
2587 ("qtx11extras" ,qtx11extras)))
2589 `(("libxslt" ,libxslt) ;for xsltproc
2590 ("docbook-xsl" ,docbook-xsl)
2591 ("qttools" ,qttools)
2592 ("pkg-config" ,pkg-config)))
2593 (home-page "https://vmpk.sourceforge.io/")
2594 (synopsis "Virtual MIDI piano keyboard")
2596 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2597 doesn't produce any sound by itself, but can be used to drive a MIDI
2598 synthesizer (either hardware or software, internal or external). You can use
2599 the computer's keyboard to play MIDI notes, and also the mouse. You can use
2600 the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2601 instrument or MIDI file player.")
2602 (license license:gpl3+)))
2604 (define-public zynaddsubfx
2606 (name "zynaddsubfx")
2611 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
2612 version "/zynaddsubfx-" version ".tar.bz2"))
2615 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
2616 (build-system cmake-build-system)
2619 (modify-phases %standard-phases
2620 ;; Move SSE compiler optimization flags from generic target to
2621 ;; athlon64 and core2 targets, because otherwise the build would fail
2622 ;; on non-Intel machines.
2623 (add-after 'unpack 'remove-sse-flags-from-generic-target
2625 (substitute* "src/CMakeLists.txt"
2626 (("-msse -msse2 -mfpmath=sse") "")
2627 (("-march=(athlon64|core2)" flag)
2628 (string-append flag " -msse -msse2 -mfpmath=sse")))
2634 ("alsa-lib" ,alsa-lib)
2637 ("minixml" ,minixml)
2641 `(("pkg-config" ,pkg-config)))
2642 (home-page "http://zynaddsubfx.sf.net/")
2643 (synopsis "Software synthesizer")
2645 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2646 three synthesizer engines, multitimbral and polyphonic synths, microtonal
2647 capabilities, custom envelopes, effects, etc.")
2648 (license license:gpl2)))
2650 (define-public yoshimi
2657 (uri (string-append "mirror://sourceforge/yoshimi/"
2658 (version-major+minor version)
2659 "/yoshimi-" version ".tar.bz2"))
2661 (base32 "1ixb2kqmfgm2lfjaj6z3h03c840hcfmca4h6pjnc4aln2mzm7fcw"))))
2662 (build-system cmake-build-system)
2664 `(#:tests? #f ; there are no tests
2666 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2667 (assoc-ref %outputs "out") "/share"))
2669 (modify-phases %standard-phases
2670 (add-before 'configure 'enter-dir
2671 (lambda _ (chdir "src") #t))
2672 ;; Move SSE compiler optimization flags from generic target to
2673 ;; athlon64 and core2 targets, because otherwise the build would fail
2674 ;; on non-Intel machines.
2675 (add-after 'unpack 'remove-sse-flags-from-generic-target
2677 (substitute* "src/CMakeLists.txt"
2678 (("-msse -msse2 -mfpmath=sse") "")
2679 (("-march=(athlon64|core2)" flag)
2680 (string-append flag " -msse -msse2 -mfpmath=sse")))
2685 ("alsa-lib" ,alsa-lib)
2687 ("fontconfig" ,fontconfig)
2688 ("minixml" ,minixml)
2692 ("readline" ,readline)
2693 ("ncurses" ,ncurses)
2697 `(("pkg-config" ,pkg-config)))
2698 (home-page "http://yoshimi.sourceforge.net/")
2699 (synopsis "Multi-paradigm software synthesizer")
2701 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2702 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2703 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2704 improves on support for JACK features, such as JACK MIDI.")
2705 (license license:gpl2)))
2707 (define-public libgig
2713 (uri (string-append "http://download.linuxsampler.org/packages/"
2714 "libgig-" version ".tar.bz2"))
2717 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
2718 (build-system gnu-build-system)
2720 `(("libuuid" ,util-linux "lib")
2721 ("libsndfile" ,libsndfile)))
2723 `(("pkg-config" ,pkg-config)))
2724 (home-page "https://linuxsampler.org/libgig/")
2725 (synopsis "C++ library for working with Gigasampler (.gig) files")
2727 "Libgig is a C++ library for loading, modifying existing and creating new
2728 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2729 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2730 AKAI sampler data. The package includes a couple of command line tools based
2732 ;; The library and tools are released under the GPL, except the AKAI
2733 ;; classes which are released under the LGPL.
2734 (license (list license:gpl2+ license:lgpl2.1+))))
2736 (define-public jack-keyboard
2738 (name "jack-keyboard")
2743 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2744 version "/jack-keyboard-" version ".tar.gz"))
2747 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2748 (build-system gnu-build-system)
2754 `(("pkg-config" ,pkg-config)))
2755 (home-page "http://jack-keyboard.sourceforge.net/")
2756 (synopsis "Virtual MIDI keyboard")
2757 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2758 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2759 (license license:bsd-2)))
2761 (define-public jack-capture
2763 (name "jack-capture")
2768 (url "https://github.com/kmatheussen/jack_capture")
2770 (file-name (string-append name "-" version "-checkout"))
2773 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2774 (build-system gnu-build-system)
2777 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2778 #:tests? #f ; there are none
2780 (modify-phases %standard-phases
2781 (delete 'configure))))
2783 `(("pkg-config" ,pkg-config)
2791 ("libsndfile" ,libsndfile)))
2792 (home-page "https://github.com/kmatheussen/jack_capture")
2793 (synopsis "Program for recording sound files with JACK")
2794 (description "This is a program for recording sound files with JACK. It
2795 can connect to any JACK port and record the output into a stereo WAV file.")
2796 (license license:gpl2+)))
2798 (define-public jack-select
2800 (name "jack-select")
2804 (uri (pypi-uri "jack-select" version))
2807 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
2808 (build-system gnu-build-system)
2810 `(#:modules ((guix build gnu-build-system)
2811 ((guix build python-build-system) #:prefix python:)
2813 #:imported-modules (,@%gnu-build-system-modules
2814 (guix build python-build-system))
2816 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2817 #:tests? #f ; there are none
2819 (modify-phases %standard-phases
2821 (lambda* (#:key inputs #:allow-other-keys)
2822 ;; python-dbus cannot be found but it's really there. See
2823 ;; https://github.com/SpotlightKid/jack-select/issues/2
2824 (substitute* "setup.py"
2825 (("'dbus-python',") ""))
2826 ;; Fix reference to dlopened libraries.
2827 (substitute* "jackselect/alsainfo.py"
2829 (string-append (assoc-ref inputs "alsa-lib")
2830 "/lib/libasound.so.2")))
2833 (assoc-ref python:%standard-phases 'build))
2834 (add-after 'install 'wrap
2835 (assoc-ref python:%standard-phases 'wrap)))))
2837 `(("pkg-config" ,pkg-config)))
2839 `(("alsa-lib" ,alsa-lib)
2840 ("python" ,python-wrapper)
2841 ("python-pyudev" ,python-pyudev)
2842 ("python-pyxdg" ,python-pyxdg)
2843 ("python-dbus" ,python-dbus)
2844 ("python-pygobject" ,python-pygobject)))
2845 (home-page "https://github.com/SpotlightKid/jack-select")
2846 (synopsis "Systray application to quickly change the JACK-DBus configuration")
2847 (description "This application displays an icon in the system tray (also
2848 known as notification area) of your desktop, which shows the status of the
2849 JACK audio server and when you click on it, a menu pops up, which lets you
2850 quickly select from the JACK configuration presets you created with QjackCtl.
2851 When you select a preset, its JACK engine and driver configuration settings
2852 are loaded via DBus into JACK and then the server is restarted. This allows
2853 you to switch between different audio setups with just two mouse clicks.")
2854 (license license:expat)))
2856 (define-public cursynth
2863 (uri (string-append "mirror://gnu/cursynth/cursynth-"
2866 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
2867 (patches (search-patches "cursynth-wave-rand.patch"))))
2868 (build-system gnu-build-system)
2869 (native-inputs `(("pkg-config" ,pkg-config)))
2870 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
2871 ;; prevents us from using pulseaudio
2872 (inputs `(("ncurses" ,ncurses)
2873 ("alsa" ,alsa-lib)))
2874 (home-page "https://www.gnu.org/software/cursynth/")
2875 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
2876 (description "GNU cursynth is a polyphonic synthesizer that runs
2877 graphically in the terminal. It is built on a full-featured subtractive
2878 synthesis engine. Notes and parameter changes may be entered via MIDI or the
2879 computer's keyboard.")
2880 (license license:gpl3+)))
2882 (define-public aj-snapshot
2884 (name "aj-snapshot")
2888 (uri (string-append "mirror://sourceforge/aj-snapshot/"
2889 "aj-snapshot-" version ".tar.bz2"))
2892 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
2893 (build-system gnu-build-system)
2895 `(("minixml" ,minixml)
2897 ("alsa-lib" ,alsa-lib)))
2899 `(("pkg-config" ,pkg-config)))
2900 (home-page "http://aj-snapshot.sourceforge.net/")
2901 (synopsis "Snapshot connections between ALSA and JACK clients")
2902 (description "Aj-snapshot is a small program that can be used to make
2903 snapshots of the connections made between JACK and/or ALSA clients. Because
2904 JACK can provide both audio and MIDI support to programs, aj-snapshot can
2905 store both types of connections for JACK. ALSA, on the other hand, only
2906 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
2907 from the command line.")
2908 (license license:gpl3+)))
2910 (define-public qtractor
2916 (uri (string-append "https://downloads.sourceforge.net/qtractor/"
2917 "qtractor-" version ".tar.gz"))
2920 "121vmygdzp37p6f93f8dbbg2m2r55j7amyiapzkqgypgn4vfdbwr"))))
2921 (build-system gnu-build-system)
2923 `(#:tests? #f)) ; no "check" target
2926 ("qtx11extras" ,qtx11extras)
2927 ("alsa-lib" ,alsa-lib)
2929 ("libsndfile" ,libsndfile)
2934 ("libsamplerate" ,libsamplerate)
2935 ("libvorbis" ,libvorbis)
2937 ("rubberband" ,rubberband)
2941 `(("pkg-config" ,pkg-config)
2942 ("qttools" ,qttools)))
2943 (home-page "http://qtractor.org/")
2944 (synopsis "Audio/MIDI multi-track sequencer")
2946 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
2947 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
2948 follows a traditional multi-track tape recorder control paradigm.")
2949 (license license:gpl2+)))
2951 (define-public ams-lv2
2959 (url "https://github.com/blablack/ams-lv2")
2960 (commit (string-append "v" version))))
2961 (file-name (git-file-name name version))
2963 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
2964 (build-system waf-build-system)
2967 (modify-phases %standard-phases
2968 (add-after 'unpack 'remove-sse-flags
2969 (lambda* (#:key system #:allow-other-keys)
2970 (unless (or (string-prefix? "x86_64" system)
2971 (string-prefix? "i686" system))
2972 (substitute* "wscript"
2973 (("'-msse', '-mfpmath=sse', ") "")))
2975 #:tests? #f)) ; no tests
2984 `(("pkg-config" ,pkg-config)))
2985 (home-page "https://github.com/blablack/ams-lv2")
2986 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
2987 (description "This set of LV2 plugins is a port of the internal modules
2988 found in Alsa Modular Synth. These plugins are used to create modular
2989 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
2991 (license license:gpl2)))
2993 (define-public gxtuner
3000 (url "https://github.com/brummer10/gxtuner")
3001 (commit (string-append "v" version))))
3002 (file-name (git-file-name name version))
3005 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
3006 (build-system gnu-build-system)
3009 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3010 (string-append "INCLUDE_L_DIR="
3011 (assoc-ref %build-inputs "zita-resampler")
3014 (modify-phases %standard-phases
3015 (delete 'configure))))
3021 ("zita-resampler" ,zita-resampler)))
3023 `(("pkg-config" ,pkg-config)))
3024 (home-page "https://github.com/brummer10/gxtuner")
3025 (synopsis "Guitar tuner")
3026 (description "GXtuner is a simple guitar tuner for JACK with an
3027 analogue-like user interface.")
3028 (license license:gpl2+)))
3030 (define-public mod-host
3031 ;; The last release was in 2014 but since then hundreds of commits have
3033 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
3037 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
3041 (url "https://github.com/moddevices/mod-host")
3045 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
3046 (file-name (string-append name "-" version "-checkout"))))
3047 (build-system gnu-build-system)
3049 `(#:tests? #f ; no tests included
3051 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3054 (modify-phases %standard-phases
3056 (add-after 'unpack 'fix-jack-installation-directory
3058 ;; Do not attempt to install files to output of "jack" package.
3059 (substitute* "Makefile"
3060 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
3069 ("readline" ,readline)))
3071 `(("pkg-config" ,pkg-config)
3072 ("python" ,python-2)))
3073 (home-page "https://github.com/moddevices/mod-host")
3074 (synopsis "LV2 host for Jack controllable via socket or command line")
3075 (description "mod-host is an LV2 plugin host for JACK, controllable via
3076 socket or command line.")
3077 (license license:gpl3+))))
3079 (define-public curseradio
3080 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
3084 (version (git-version "0" revision commit))
3088 (url "https://github.com/chronitis/curseradio")
3090 (file-name (git-file-name name version))
3093 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
3094 (build-system python-build-system)
3097 (modify-phases %standard-phases
3098 (add-after 'unpack 'link-to-mpv
3099 (lambda* (#:key inputs #:allow-other-keys)
3100 (substitute* "curseradio/curseradio.py"
3102 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
3105 `(("python-lxml" ,python-lxml)
3106 ("python-requests" ,python-requests)
3107 ("python-pyxdg" ,python-pyxdg)))
3110 (home-page "https://github.com/chronitis/curseradio")
3111 (synopsis "Command-line Internet radio player")
3112 (description "Curseradio is a Curses-based radio player that uses a
3113 tune-in sender list from @url{http://opml.radiotime.com}.")
3114 (license license:expat))))
3116 (define-public pianobar
3119 (version "2020.04.05")
3123 (url "https://github.com/PromyLOPh/pianobar")
3125 (file-name (git-file-name name version))
3128 "1gq8kpks6nychqz4gf0rpy7mrhz5vjw48a60x56j6y9flmazmypw"))))
3129 (build-system gnu-build-system)
3131 `(#:tests? #f ; no tests
3132 #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
3133 #:phases (modify-phases %standard-phases
3134 (delete 'configure))))
3138 ("libgcrypt" ,libgcrypt)
3140 ("ffmpeg" ,ffmpeg)))
3142 `(("pkg-config" ,pkg-config)))
3143 (home-page "https://6xq.net/pianobar/")
3144 (synopsis "Console-based pandora.com player")
3145 (description "pianobar is a console-based music player for the
3146 personalized online radio pandora.com. It has configurable keys for playing
3147 and managing stations, can be controlled remotely via fifo, and can run
3148 event-based scripts for scrobbling, notifications, etc.")
3149 (license license:expat)))
3151 (define-public picard
3158 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
3159 "picard/picard-" version ".tar.gz"))
3162 "1c5l7i43jaj3s4wklc0cba6nn2x9cmpcggk4q4h9m1bci2xilsiy"))
3163 (patches (search-patches "picard-fix-id3-rename-test.patch"))))
3164 (build-system python-build-system)
3166 '(#:use-setuptools? #f
3169 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
3170 "--disable-autoupdate")
3172 (modify-phases %standard-phases
3173 (add-after 'unpack 'patch-source
3174 (lambda* (#:key inputs #:allow-other-keys)
3175 (substitute* "picard/const/__init__.py"
3179 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
3182 `(("gettext" ,gettext-minimal)
3183 ("python-dateutil" ,python-dateutil)))
3185 `(("chromaprint" ,chromaprint)
3186 ("python-discid" ,python-discid)
3187 ("python-pyqt" ,python-pyqt)
3188 ("python-mutagen" ,python-mutagen)))
3189 (home-page "https://picard.musicbrainz.org/")
3190 (synopsis "Graphical music tagging application")
3192 "MusicBrainz Picard is a music tagging application, supporting multiple
3193 formats, looking up tracks through metadata and audio fingerprints.")
3194 (license license:gpl2+)))
3196 (define-public python-mutagen
3198 (name "python-mutagen")
3202 (uri (pypi-uri "mutagen" version))
3205 "1qdk6i8gyhbi1c4j5jmbfpac3q8sff2ysri1pnp7nb9wzcp615v3"))))
3206 (build-system python-build-system)
3208 `(("python-pytest" ,python-pytest)
3209 ("python-hypothesis" ,python-hypothesis)
3210 ("python-flake8" ,python-flake8)))
3211 (home-page "https://bitbucket.org/lazka/mutagen")
3212 (synopsis "Read and write audio tags")
3213 (description "Mutagen is a Python module to handle audio metadata. It
3214 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
3215 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
3216 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
3217 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
3218 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
3219 streams on an individual packet/page level.")
3220 (license license:gpl2))) ; "later version" never mentioned
3222 (define-public python2-mutagen
3223 (package-with-python2 python-mutagen))
3225 (define-public python-musicbrainzngs
3227 (name "python-musicbrainzngs")
3231 (uri (pypi-uri "musicbrainzngs" version))
3234 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
3235 (build-system python-build-system)
3237 '(;; The tests fail suffer from race conditions:
3238 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
3240 (home-page "https://python-musicbrainzngs.readthedocs.org/")
3241 (synopsis "Python bindings for MusicBrainz NGS webservice")
3242 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
3243 web service. This library can be used to retrieve music metadata from the
3244 MusicBrainz database.")
3245 ;; 'musicbrainzngs/compat.py' is ISC licensed.
3246 (license (list license:bsd-2 license:isc))))
3248 (define-public python2-musicbrainzngs
3249 (package-with-python2 python-musicbrainzngs))
3251 (define-public python-isrcsubmit
3253 (name "python-isrcsubmit")
3258 (uri (pypi-uri "isrcsubmit" version))
3261 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
3262 (build-system python-build-system)
3264 `(("python-discid" ,python-discid)
3265 ("python-musicbrainzngs" ,python-musicbrainzngs)))
3266 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
3267 (synopsis "Submit ISRCs from CDs to MusicBrainz")
3268 (description "@code{isrcsubmit} is a tool to extract @dfn{International
3269 Standard Recording Code} (ISRCs) from audio CDs and submit them to
3270 @url{https://musicbrainz.org/, MusicBrainz}.")
3271 (license license:gpl3+)))
3273 (define-public python2-pyechonest
3275 (name "python2-pyechonest")
3279 (uri (pypi-uri "pyechonest" version))
3282 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
3283 (build-system python-build-system)
3285 `(;; Python 3 is not supported:
3286 ;; https://github.com/echonest/pyechonest/issues/42
3287 #:python ,python-2))
3288 (home-page "https://github.com/echonest/pyechonest")
3289 (synopsis "Python interface to The Echo Nest APIs")
3290 (description "Pyechonest is a Python library for the Echo Nest API. With
3291 Pyechonest you have Python access to the entire set of API methods including:
3294 @item artist - search for artists by name, description, or attribute, and get
3295 back detailed information about any artist including audio, similar artists,
3296 blogs, familiarity, hotttnesss, news, reviews, urls and video.
3297 @item song - search songs by artist, title, description, or attribute (tempo,
3298 duration, etc) and get detailed information back about each song, such as
3299 hotttnesss, audio_summary, or tracks.
3300 @item track - upload a track to the Echo Nest and receive summary information
3301 about the track including key, duration, mode, tempo, time signature along with
3302 detailed track info including timbre, pitch, rhythm and loudness information.
3304 (license license:bsd-3)))
3306 (define-public python-pylast
3308 (name "python-pylast")
3312 (uri (pypi-uri "pylast" version))
3315 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
3316 (build-system python-build-system)
3317 ;; Tests require network access. See
3318 ;; https://github.com/pylast/pylast/issues/105
3319 (arguments '(#:tests? #f))
3321 `(("python-coverage" ,python-coverage)
3322 ("python-pycodestyle" ,python-pycodestyle)
3323 ("python-mock" ,python-mock)
3324 ("python-pep8" ,python-pep8)
3325 ("python-pytest" ,python-pytest)
3326 ("python-flaky" ,python-flaky)
3327 ("python-pyflakes" ,python-pyflakes)
3328 ("python-pyyaml" ,python-pyyaml)))
3330 `(("python-six" ,python-six)))
3331 (home-page "https://github.com/pylast/pylast")
3332 (synopsis "Python interface to Last.fm and Libre.fm")
3333 (description "A Python interface to Last.fm and other API-compatible
3334 websites such as Libre.fm.")
3335 (license license:asl2.0)))
3337 (define-public python2-pylast
3338 (package-with-python2 python-pylast))
3340 (define-public instantmusic
3341 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
3344 (name "instantmusic")
3345 (version (git-version "1.0" revision commit))
3349 (url "https://github.com/yask123/Instant-Music-Downloader")
3351 (file-name (git-file-name name version))
3354 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
3355 (build-system python-build-system)
3357 `(("python-requests" ,python-requests)
3359 ("python-beautifulsoup4" ,python-beautifulsoup4)
3360 ("youtube-dl" ,youtube-dl)))
3362 '(#:modules ((guix build python-build-system)
3365 #:phases (modify-phases %standard-phases
3366 (add-before 'build 'change-directory
3368 (chdir "instantmusic-0.1") #t))
3369 (add-before 'install 'fix-file-permissions
3371 ;; Fix some read-only files that would cause a build failure
3372 (for-each (cut chmod <> #o644)
3373 (find-files "instantmusic.egg-info"
3374 "PKG-INFO|.*\\.txt"))
3376 (home-page "https://github.com/yask123/Instant-Music-Downloader")
3377 (synopsis "Command-line program to download a song from YouTube")
3378 (description "InstantMusic downloads a song from YouTube in MP3 format.
3379 Songs can be searched by artist, name or even by a part of the song text.")
3380 (license license:expat))))
3382 (define-public beets
3388 (uri (pypi-uri "beets" version))
3389 (patches (search-patches "beets-werkzeug-compat.patch"))
3392 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3393 (build-system python-build-system)
3396 (modify-phases %standard-phases
3397 ;; Reported upstream: <https://github.com/beetbox/beets/issues/3771>.
3398 ;; Disable the faulty test as the fix is unclear.
3399 (add-after 'unpack 'disable-failing-tests
3401 (substitute* "test/test_mediafile.py"
3402 (("def test_read_audio_properties") "def _test_read_audio_properties"))
3404 (add-after 'unpack 'set-HOME
3406 (setenv "HOME" (string-append (getcwd) "/tmp"))
3410 (invoke "nosetests" "-v")))
3411 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3412 ;; gstreamer plugins.
3413 (add-after 'wrap 'wrap-typelib
3414 (lambda* (#:key outputs #:allow-other-keys)
3415 (let ((prog (string-append (assoc-ref outputs "out")
3417 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3418 (types (getenv "GI_TYPELIB_PATH")))
3420 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3421 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3424 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3425 ("python-flask" ,python-flask)
3426 ("python-mock" ,python-mock)
3427 ("python-mpd2" ,python-mpd2)
3428 ("python-nose" ,python-nose)
3429 ("python-pathlib" ,python-pathlib)
3430 ("python-pyxdg" ,python-pyxdg)
3431 ("python-pylast" ,python-pylast)
3432 ("python-rarfile" ,python-rarfile)
3433 ("python-responses" ,python-responses)))
3434 ;; TODO: Install optional plugins and dependencies.
3436 `(("python-discogs-client" ,python-discogs-client)
3437 ("python-jellyfish" ,python-jellyfish)
3438 ("python-munkres" ,python-munkres)
3439 ("python-musicbrainzngs" ,python-musicbrainzngs)
3440 ("python-mutagen" ,python-mutagen)
3441 ("python-pyacoustid" ,python-pyacoustid)
3442 ("python-pyyaml" ,python-pyyaml)
3443 ("python-unidecode" ,python-unidecode)
3444 ;; For plugin replaygain.
3445 ("python-pygobject" ,python-pygobject)
3446 ("gobject-introspection" ,gobject-introspection)
3447 ("gst-plugins-base" ,gst-plugins-base)
3448 ("gst-plugins-good" ,gst-plugins-good)
3449 ("gstreamer" ,gstreamer)))
3450 (home-page "https://beets.io")
3451 (synopsis "Music organizer")
3452 (description "The purpose of beets is to get your music collection right
3453 once and for all. It catalogs your collection, automatically improving its
3454 metadata as it goes using the MusicBrainz database. Then it provides a variety
3455 of tools for manipulating and accessing your music.")
3456 (license license:expat)))
3458 (define-public beets-bandcamp
3460 (name "beets-bandcamp")
3464 (uri (pypi-uri "beets-bandcamp" version))
3467 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
3468 (build-system python-build-system)
3469 (arguments '(#:tests? #f)) ; there are no tests
3472 ("python-isodate" ,python-isodate)))
3474 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3475 ("python-requests" ,python-requests)
3476 ("python-six" ,python-six)))
3477 (home-page "https://github.com/unrblt/beets-bandcamp")
3478 (synopsis "Bandcamp plugin for beets")
3480 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3481 https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3482 using the beets FetchArt plugin.")
3483 (license license:gpl2)))
3485 (define-public milkytracker
3487 (name "milkytracker")
3492 (url "https://github.com/milkytracker/MilkyTracker")
3493 (commit (string-append "v" version))))
3494 (file-name (git-file-name name version))
3497 "05a6d7l98k9i82dwrgi855dnccm3f2lkb144gi244vhk1156n0ca"))
3498 (modules '((guix build utils)))
3499 ;; Remove non-FSDG compliant sample songs.
3502 (delete-file-recursively "resources/music")
3503 (substitute* "CMakeLists.txt"
3504 (("add_subdirectory\\(resources/music\\)") ""))
3506 (build-system cmake-build-system)
3508 '(#:tests? #f ; no check target
3509 ;; This flag ensures that MilkyTracker links with the JACK library.
3510 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
3512 `(("alsa-lib" ,alsa-lib)
3518 ("zziplib" ,zziplib)))
3520 `(("pkg-config" ,pkg-config)))
3521 (synopsis "Music tracker for working with .MOD/.XM module files")
3522 (description "MilkyTracker is a music application for creating .MOD and .XM
3523 module files. It attempts to recreate the module replay and user experience of
3524 the popular DOS program Fasttracker II, with special playback modes available
3525 for improved Amiga ProTracker 2/3 compatibility.")
3526 (home-page "https://milkytracker.titandemo.org/")
3527 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3528 (license (list license:bsd-3 license:gpl3+))))
3530 (define-public schismtracker
3532 (name "schismtracker")
3533 (version "20190805")
3537 (url "https://github.com/schismtracker/schismtracker")
3539 (file-name (git-file-name name version))
3542 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
3543 (modules '((guix build utils)))
3545 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
3547 (substitute* "schism/version.c"
3548 (("Schism Tracker built %s %s.*$")
3549 (string-append "Schism Tracker version " ,version "\") ;")))
3551 (build-system gnu-build-system)
3554 (modify-phases %standard-phases
3555 (add-before 'configure 'link-libm
3556 (lambda _ (setenv "LIBS" "-lm") #t)))))
3558 `(("autoconf" ,autoconf)
3559 ("automake" ,automake)
3560 ("python" ,python)))
3562 `(("alsa-lib" ,alsa-lib) ; for asound dependency
3564 ("libxext" ,libxext)
3566 (home-page "http://schismtracker.org")
3567 (synopsis "Oldschool sample-based music composition tool")
3569 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3570 create high quality music without the requirements of specialized, expensive
3571 equipment, and with a unique \"finger feel\" that is difficult to replicate in
3572 part. The player is based on a highly modified version of the ModPlug engine,
3573 with a number of bugfixes and changes to improve IT playback.")
3574 (license license:gpl2+)))
3576 (define-public sooperlooper
3578 (name "sooperlooper")
3583 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3586 (base32 "1jjvq4aflbyr3nr8b318k1vkad16xfa1jkqn9ckzw4419qc6c1k5"))))
3587 (build-system gnu-build-system)
3590 (modify-phases %standard-phases
3591 (add-after 'unpack 'add-sigc++-includes
3592 (lambda* (#:key inputs #:allow-other-keys)
3593 (let ((sig (assoc-ref inputs "libsigc++"))
3594 (xml (assoc-ref inputs "libxml2"))
3597 (string-append sig "/include/sigc++-2.0:"
3598 sig "/lib/sigc++-2.0/include:"
3599 xml "/include/libxml2/:"
3602 (or (getenv "CPATH") ""))))
3603 (substitute* '("src/control_osc.hpp"
3604 "src/gui/app_frame.hpp"
3605 "src/gui/config_panel.hpp"
3606 "src/gui/keys_panel.hpp"
3607 "src/gui/latency_panel.hpp"
3608 "src/gui/main_panel.hpp"
3609 "src/gui/midi_bind_panel.hpp"
3610 "src/gui/prefs_dialog.hpp")
3611 (("sigc\\+\\+/object.h")
3613 (substitute* '("src/engine.cpp"
3614 "src/gui/latency_panel.cpp"
3615 "src/gui/looper_panel.cpp"
3616 "src/gui/main_panel.cpp")
3617 (("(\\(| )bind " _ pre)
3618 (string-append pre "sigc::bind ")))
3620 (add-after 'unpack 'fix-xpm-warnings
3622 (substitute* (find-files "." "\\.xpm$")
3623 (("static char") "static const char"))
3627 ("alsa-lib" ,alsa-lib)
3628 ("wxwidgets" ,wxwidgets-gtk2)
3629 ("libsndfile" ,libsndfile)
3630 ("libsamplerate" ,libsamplerate)
3632 ("rubberband" ,rubberband)
3633 ("libxml2" ,libxml2)
3634 ("libsigc++" ,libsigc++)
3635 ("ncurses" ,ncurses)))
3637 `(("pkg-config" ,pkg-config)))
3638 (home-page "http://essej.net/sooperlooper/")
3639 (synopsis "Live looping sampler")
3641 "SooperLooper is a live looping sampler capable of immediate loop
3642 recording, overdubbing, multiplying, reversing and more. It allows for
3643 multiple simultaneous multi-channel loops limited only by your computer's
3645 (license license:gpl2+)))
3653 (uri (string-append "http://ftp.daper.net/pub/soft/"
3655 name "-" version ".tar.bz2"))
3658 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
3659 (build-system gnu-build-system)
3661 `(("alsa-lib" ,alsa-lib)
3664 ("ffmpeg" ,ffmpeg-3.4)
3667 ("libid3tag" ,libid3tag)
3668 ("libltdl" ,libltdl)
3669 ("libmodplug" ,libmodplug)
3670 ("libmpcdec" ,libmpcdec)
3673 ("libvorbis" ,libvorbis)
3674 ("ncurses" ,ncurses)
3675 ("openssl" ,openssl)
3676 ("sasl" ,cyrus-sasl)
3679 ("wavpack" ,wavpack)
3682 `(("pkg-config" ,pkg-config)))
3683 (synopsis "Console audio player designed to be powerful and easy to use")
3685 "Music on Console is a console audio player that supports many file
3686 formats, including most audio formats recognized by FFMpeg.")
3687 (home-page "http://moc.daper.net")
3688 (license license:gpl2+)))
3690 (define-public midicsv
3696 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3697 name "-" version ".tar.gz"))
3700 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3701 (build-system gnu-build-system)
3703 `(#:phases (modify-phases %standard-phases (delete 'configure))
3704 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
3705 (synopsis "Convert MIDI files to and from CSV")
3707 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
3708 value file (CSV), which preserves all the information in the MIDI file. The
3709 ASCII CSV file may be loaded into a spreadsheet or database application, or
3710 processed by a program to transform the MIDI data (for example, to key
3711 transpose a composition or extract a track from a multi-track sequence). A
3712 CSV file in the format created by midicsv may be converted back into a
3713 standard MIDI file with the csvmidi program.")
3714 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
3715 (license license:public-domain)))
3717 (define-public gx-guvnor-lv2
3719 (name "gx-guvnor-lv2")
3724 (url "https://github.com/brummer10/GxGuvnor.lv2")
3725 (commit (string-append "v" version))))
3726 (file-name (string-append name "-" version "-checkout"))
3729 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
3730 (build-system gnu-build-system)
3732 `(;; The check target is used only to output a warning.
3735 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
3737 (modify-phases %standard-phases
3740 (substitute* "Makefile"
3741 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
3742 (("install : all") "install :"))
3746 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
3747 (synopsis "Overdrive/distortion pedal simulation")
3748 (description "This package provides the LV2 plugin \"GxGuvnor\", a
3749 simulation of an overdrive or distortion pedal for guitars.")
3750 ;; The LICENSE file says GPLv3 but the license headers in the files say
3751 ;; GPLv2 or later. The whole project is released under GPLv3 or later
3752 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
3753 (license license:gpl3+)))
3755 (define-public gx-vbass-preamp-lv2
3756 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
3758 (package (inherit gx-guvnor-lv2)
3759 (name "gx-vbass-preamp-lv2")
3760 (version (string-append "0-" revision "." (string-take commit 9)))
3764 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
3768 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
3769 (file-name (string-append name "-" version "-checkout"))))
3774 `(("pkg-config" ,pkg-config)))
3775 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
3776 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
3777 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
3778 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
3781 (define-public gx-overdriver-lv2
3782 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
3784 (package (inherit gx-guvnor-lv2)
3785 (name "gx-overdriver-lv2")
3786 (version (string-append "0-" revision "." (string-take commit 9)))
3790 (url "https://github.com/brummer10/GxOverDriver.lv2")
3794 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
3795 (file-name (string-append name "-" version "-checkout"))))
3796 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
3797 (synopsis "Overdrive effect with level and tone control")
3798 (description "This package provides the LV2 plugin \"GxOverDriver\", an
3799 overdrive effect."))))
3801 (define-public gx-tone-mender-lv2
3802 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
3804 (package (inherit gx-guvnor-lv2)
3805 (name "gx-tone-mender-lv2")
3806 (version (string-append "0-" revision "." (string-take commit 9)))
3810 (url "https://github.com/brummer10/GxToneMender.lv2")
3814 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
3815 (file-name (string-append name "-" version "-checkout"))))
3816 (home-page "https://github.com/brummer10/GxToneMender.lv2")
3817 (synopsis "Clean boost with a 3-knob tonestack")
3818 (description "This package provides the LV2 plugin \"GxToneMender\", a
3819 clean boost effect with a 3-knob tonestack."))))
3821 (define-public gx-push-pull-lv2
3822 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
3824 (package (inherit gx-guvnor-lv2)
3825 (name "gx-push-pull-lv2")
3826 (version (string-append "0-" revision "." (string-take commit 9)))
3830 (url "https://github.com/brummer10/GxPushPull.lv2")
3834 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
3835 (file-name (string-append name "-" version "-checkout"))))
3836 (home-page "https://github.com/brummer10/GxPushPull.lv2")
3837 (synopsis "Octave up push pull transistor fuzz simulation")
3838 (description "This package provides the LV2 plugin \"GxPushPull\", a
3839 simulation of a push pull transistor fuzz effect with added high octave."))))
3841 (define-public gx-suppa-tone-bender-lv2
3842 (package (inherit gx-guvnor-lv2)
3843 (name "gx-suppa-tone-bender-lv2")
3848 (url "https://github.com/brummer10/GxSuppaToneBender.lv2")
3849 (commit (string-append "v" version))))
3850 (file-name (string-append name "-" version "-checkout"))
3853 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
3854 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
3855 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
3856 (description "This package provides the LV2 plugin
3857 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
3860 (define-public gx-saturator-lv2
3861 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
3863 (package (inherit gx-vbass-preamp-lv2)
3864 (name "gx-saturator-lv2")
3865 (version (string-append "0-" revision "." (string-take commit 9)))
3869 (url "https://github.com/brummer10/GxSaturator.lv2")
3873 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
3874 (file-name (string-append name "-" version "-checkout"))))
3875 (home-page "https://github.com/brummer10/GxSaturator.lv2")
3876 (synopsis "Saturation effect")
3877 (description "This package provides the LV2 plugin \"GxSaturator\", a
3878 saturation effect."))))
3880 (define-public gx-hyperion-lv2
3881 (package (inherit gx-guvnor-lv2)
3882 (name "gx-hyperion-lv2")
3887 (url "https://github.com/brummer10/GxHyperion.lv2")
3888 (commit (string-append "v" version))))
3889 (file-name (string-append name "-" version "-checkout"))
3892 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
3893 (home-page "https://github.com/brummer10/GxHyperion.lv2")
3894 (synopsis "Simulation of the Hyperion Fuzz pedal")
3895 (description "This package provides the LV2 plugin \"GxHyperion\", a
3896 simulation of the Hyperion Fuzz pedal.")))
3898 (define-public gx-voodoo-fuzz-lv2
3899 (package (inherit gx-guvnor-lv2)
3900 (name "gx-voodoo-fuzz-lv2")
3905 (url "https://github.com/brummer10/GxVoodoFuzz.lv2")
3906 (commit (string-append "v" version))))
3907 (file-name (string-append name "-" version "-checkout"))
3910 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
3911 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
3912 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
3913 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
3914 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
3915 Bosstone circuit, followed by the tone control of the FoxToneMachine in
3916 parallel with a DarkBooster, followed by a volume control.")))
3918 (define-public gx-super-fuzz-lv2
3919 (package (inherit gx-guvnor-lv2)
3920 (name "gx-super-fuzz-lv2")
3925 (url "https://github.com/brummer10/GxSuperFuzz.lv2")
3926 (commit (string-append "v" version))))
3927 (file-name (string-append name "-" version "-checkout"))
3930 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
3931 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
3932 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
3933 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
3934 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
3935 pot, which is usually in the housing, is exposed as a control parameter. It
3936 adjusts the amount of harmonics.")))
3938 (define-public gx-vintage-fuzz-master-lv2
3939 (package (inherit gx-guvnor-lv2)
3940 (name "gx-vintage-fuzz-master-lv2")
3945 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3946 (commit (string-append "v" version))))
3947 (file-name (string-append name "-" version "-checkout"))
3950 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
3951 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3952 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
3953 (description "This package provides the LV2 plugin
3954 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
3956 (define-public gx-slow-gear-lv2
3957 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
3959 (package (inherit gx-vbass-preamp-lv2)
3960 (name "gx-slow-gear-lv2")
3961 (version (string-append "0-" revision "." (string-take commit 9)))
3965 (url "https://github.com/brummer10/GxSlowGear.lv2")
3969 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
3970 (file-name (string-append name "-" version "-checkout"))))
3971 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
3972 (synopsis "Slow gear audio effect")
3973 (description "This package provides the LV2 plugin \"GxSlowGear\", a
3974 slow gear audio effect to produce volume swells."))))
3976 (define-public gx-switchless-wah-lv2
3977 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
3979 (package (inherit gx-guvnor-lv2)
3980 (name "gx-switchless-wah-lv2")
3981 (version (string-append "0-" revision "." (string-take commit 9)))
3985 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
3989 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
3990 (file-name (string-append name "-" version "-checkout"))))
3991 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
3992 (synopsis "Wah emulation with switchless activation")
3993 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
3994 a simulation of an analog Wah pedal with switchless activation."))))
3996 (define-public rkrlv2
3997 ;; This commit corresponds to the beta_3 tag
3998 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
4002 (version (git-version "0" revision commit))
4006 (url "https://github.com/ssj71/rkrlv2")
4010 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
4011 (file-name (git-file-name name version))))
4012 (build-system cmake-build-system)
4013 (arguments '(#:tests? #f)) ; there are no tests
4016 ("libsamplerate" ,libsamplerate)
4019 `(("pkg-config" ,pkg-config)))
4020 (home-page "https://github.com/ssj71/rkrlv2")
4021 (synopsis "Rakarrack effects ported to LV2 plugins")
4022 (description "This package provides the Rakarrack effects as LV2
4023 plugins. The ports are done such that hopefully when Rakarrack gets an active
4024 maintainer these will get merged into the original project.")
4025 (license license:gpl2))))
4027 (define-public mod-utilities
4028 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
4031 (name "mod-utilities")
4032 (version (string-append "0-" revision "." (string-take commit 9)))
4036 (url "https://github.com/moddevices/mod-utilities")
4038 (file-name (string-append name "-" version "-checkout"))
4041 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
4042 (build-system gnu-build-system)
4044 `(#:tests? #f ; there are no tests
4046 (list (string-append "INSTALL_PATH="
4047 (assoc-ref %outputs "out")
4049 (string-append "PREFIX=" (assoc-ref %outputs "out"))
4052 (modify-phases %standard-phases
4053 (delete 'configure))))
4056 (home-page "https://github.com/moddevices/mod-utilities")
4057 (synopsis "LV2 utility plugins")
4058 (description "This package provides LV2 audio utility plugins, such as
4059 filters, crossovers, simple gain plugins without zipper noise, switch box
4060 plugins, a switch trigger, a toggle switch, and a peakmeter.")
4061 (license license:gpl2+))))
4063 (define-public ingen
4064 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
4068 (version (string-append "0.0.0-" revision "."
4069 (string-take commit 9)))
4074 (url "https://git.drobilla.net/ingen.git")
4076 (file-name (string-append name "-" version "-checkout"))
4079 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
4080 (build-system waf-build-system)
4082 `(#:python ,python-2
4083 #:tests? #f ; no "check" target
4084 #:configure-flags (list "--no-webkit")
4086 (modify-phases %standard-phases
4087 (add-after 'unpack 'patch-wscript
4088 (lambda* (#:key outputs #:allow-other-keys)
4089 (let ((out (assoc-ref outputs "out")))
4090 (substitute* "wscript"
4091 ;; FIXME: Our version of lv2specgen.py does not behave as
4092 ;; expected. Maybe this requires a development version of
4094 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
4095 ;; Add libraries to RUNPATH.
4096 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
4097 (string-append prefix
4098 "linkflags=[\"-Wl,-rpath="
4099 out "/lib" "\"]," line)))
4100 (substitute* '("src/wscript"
4101 "src/server/wscript")
4102 ;; Add libraries to RUNPATH.
4103 (("bld.env.PTHREAD_LINKFLAGS" line)
4105 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
4106 (substitute* "src/client/wscript"
4107 ;; Add libraries to RUNPATH.
4108 (("^(.+)target.*= 'ingen_client'," line prefix)
4109 (string-append prefix
4110 "linkflags=[\"-Wl,-rpath="
4111 out "/lib" "\"]," line)))
4112 (substitute* "src/gui/wscript"
4113 ;; Add libraries to RUNPATH.
4114 (("^(.+)target.* = 'ingen_gui.*" line prefix)
4115 (string-append prefix
4116 "linkflags=[\"-Wl,-rpath="
4117 out "/lib" "\"]," line))))
4121 ("python-rdflib" ,python-rdflib)
4126 ("raul" ,raul-devel)
4132 ("gtkmm" ,gtkmm-2)))
4134 `(("pkg-config" ,pkg-config)
4135 ("python-pygments" ,python-pygments)))
4136 (home-page "https://drobilla.net/software/ingen")
4137 (synopsis "Modular audio processing system")
4138 (description "Ingen is a modular audio processing system for JACK and
4139 LV2 based systems. Ingen is built around LV2 technology and a strict
4140 separation of engine from user interface. The engine is controlled
4141 exclusively through a protocol, and can execute as a headless process, with an
4142 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
4143 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
4144 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
4145 plugin on any system where Ingen is installed. This allows users to visually
4146 develop custom plugins for use in other applications without programming.")
4147 (license license:agpl3+))))
4149 (define-public qmidiarp
4155 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
4156 version "/qmidiarp-" version ".tar.bz2"))
4159 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
4160 (build-system gnu-build-system)
4163 (list "--enable-qt5")))
4165 `(("qtbase" ,qtbase)
4166 ("alsa-lib" ,alsa-lib)
4171 `(("pkg-config" ,pkg-config)
4172 ("qttools" ,qttools)))
4173 (home-page "http://qmidiarp.sourceforge.net/")
4174 (synopsis "MIDI arpeggiator")
4175 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
4176 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
4177 modules running in parallel.")
4178 (license license:gpl2+)))
4180 (define-public qmidiroute
4186 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
4187 version "/qmidiroute-" version ".tar.bz2"))
4190 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
4191 (build-system gnu-build-system)
4194 (list "--enable-qt5")))
4196 `(("qtbase" ,qtbase)
4197 ("alsa-lib" ,alsa-lib)))
4199 `(("pkg-config" ,pkg-config)
4200 ("qttools" ,qttools)))
4201 (home-page "http://alsamodular.sourceforge.net/")
4202 (synopsis "MIDI event router and filter")
4203 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
4204 control change, program change and pitch bend events are logged, and can be
4205 filtered, redirected and transformed into other events according to MIDI maps
4206 defined as tabs in the main control surface.")
4207 (license license:gpl2+)))
4209 (define-public seq24
4215 (uri (string-append "https://launchpad.net/seq24/trunk/"
4216 version "/+download/seq24-"
4217 version ".tar.bz2"))
4220 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
4221 (patches (search-patches "seq24-rename-mutex.patch"))))
4222 (build-system gnu-build-system)
4224 `(("gtkmm" ,gtkmm-2)
4225 ("alsa-lib" ,alsa-lib)
4229 `(("pkg-config" ,pkg-config)))
4230 (home-page "https://edge.launchpad.net/seq24/")
4231 (synopsis "Real-time MIDI sequencer")
4232 (description "Seq24 is a real-time MIDI sequencer. It was created to
4233 provide a very simple interface for editing and playing MIDI loops.")
4234 (license license:gpl2+)))
4236 (define-public python-discogs-client
4238 (name "python-discogs-client")
4242 (uri (pypi-uri "discogs-client" version))
4245 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
4246 (build-system python-build-system)
4248 `(("python-oauthlib" ,python-oauthlib)
4249 ("python-requests" ,python-requests)))
4251 `(("python-six" ,python-six)))
4252 (home-page "https://github.com/discogs/discogs_client")
4253 (synopsis "Official Python client for the Discogs API")
4254 (description "This is the official Discogs API client for Python. It enables
4255 you to query the Discogs database for information on artists, releases, labels,
4256 users, Marketplace listings, and more. It also supports OAuth 1.0a
4257 authorization, which allows you to change user data such as profile information,
4258 collections and wantlists, inventory, and orders.")
4259 (license license:bsd-2)))
4261 (define-public python2-discogs-client
4262 (package-with-python2 python-discogs-client))
4264 (define-public libsmf
4271 ;; SF download page says development moved, but the link it points to
4272 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
4273 ;; it but made no release so far (https://github.com/stump/libsmf).
4274 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
4275 version "/libsmf-" version ".tar.gz"))
4278 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
4279 (build-system gnu-build-system)
4281 "static")) ; 88KiB of .a files
4284 (modify-phases %standard-phases
4285 (add-after 'install 'move-static-libraries
4286 (lambda* (#:key outputs #:allow-other-keys)
4287 ;; Move static libraries to the "static" output.
4288 (let* ((out (assoc-ref outputs "out"))
4289 (lib (string-append out "/lib"))
4290 (static (assoc-ref outputs "static"))
4291 (slib (string-append static "/lib")))
4293 (for-each (lambda (file)
4294 (install-file file slib)
4296 (find-files lib "\\.a$"))
4299 `(("readline" ,readline)
4302 `(("doxygen" ,doxygen)
4303 ("pkg-config" ,pkg-config)))
4304 (home-page "http://libsmf.sourceforge.net/")
4305 (synopsis "Standard MIDI File format library")
4307 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
4308 conversions between time and pulses, tempo map handling and more. The only dependencies
4309 are a C compiler and glib. Full API documentation and examples are included.")
4310 (license license:bsd-2)))
4320 (url "https://github.com/LMMS/lmms")
4321 (commit (string-append "v" version))))
4322 (file-name (git-file-name name version))
4325 "1gx730z361xx30iqbsm99aam1k2c8yf561gcay6sryyjksb4w1wy"))))
4326 (build-system cmake-build-system)
4328 `(#:tests? #f ; no tests
4329 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
4330 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
4331 ;; Also, explicitly disabling VST support gets rid of the in-tree
4332 ;; dependency on qt5-x11embed.
4333 #:configure-flags '("-DWANT_QT5=ON"
4336 (modify-phases %standard-phases
4337 (add-after 'unpack 'unpack-rpmalloc
4338 (lambda* (#:key inputs #:allow-other-keys)
4339 (copy-recursively (assoc-ref inputs "rpmalloc")
4340 "src/3rdparty/rpmalloc/rpmalloc")
4342 (add-before 'configure 'set-ldflags
4343 (lambda* (#:key outputs #:allow-other-keys)
4347 (assoc-ref outputs "out") "/lib/lmms"
4349 (assoc-ref outputs "out") "/lib/lmms/ladspa"
4352 (add-before 'reset-gzip-timestamps 'make-manpages-writable
4353 (lambda* (#:key outputs #:allow-other-keys)
4355 (make-file-writable file))
4356 (find-files (string-append (assoc-ref outputs "out")
4361 `(("pkg-config" ,pkg-config)
4362 ("qttools" ,qttools)
4363 ;; rpmalloc is a public domain memory allocator. This version specified
4364 ;; below is the version required by LMMS.
4365 ;; To get the new commit of rpmalloc to use here, run
4366 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
4367 ;; in the cloned LMMS repository.
4372 (url "https://github.com/mjansson/rpmalloc")
4373 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
4376 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
4380 ("qtx11extras" ,qtx11extras)
4383 ("libsamplerate" ,libsamplerate)
4384 ("fluidsynth" ,fluidsynth)
4385 ("libvorbis" ,libvorbis)
4386 ("alsa-lib" ,alsa-lib)
4387 ("portaudio" ,portaudio)
4389 ("libsndfile1" ,libsndfile)
4391 ("freetype2" ,freetype)
4394 (home-page "https://lmms.io/")
4395 (synopsis "Music composition tool")
4396 (description "LMMS is a digital audio workstation. It includes tools for sequencing
4397 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
4398 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
4399 (license license:gpl2+)))
4401 (define-public musescore
4409 (url "https://github.com/musescore/MuseScore")
4410 (commit (string-append "v" version))))
4411 (file-name (git-file-name name version))
4413 (base32 "0yzps5xxa50cr2i5iv2ycjdywd0mcrdd6hx93l4p8lfljag3w3al"))
4414 (modules '((guix build utils)))
4416 ;; Remove unused libraries.
4418 (for-each delete-file-recursively
4419 '("thirdparty/freetype"
4420 "thirdparty/openssl"
4421 "thirdparty/portmidi"
4422 "thirdparty/qt-google-analytics"))
4424 (build-system cmake-build-system)
4427 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
4428 "-DBUILD_WEBENGINE=OFF"
4429 "-DDOWNLOAD_SOUNDFONT=OFF"
4430 "-DMUSESCORE_BUILD_CONFIG=release"
4431 "-DUSE_SYSTEM_FREETYPE=ON")
4432 ;; There are tests, but no simple target to run. The command used to
4435 ;; make debug && sudo make installdebug && cd \
4436 ;; build.debug/mtest && make && ctest
4438 ;; Basically, it requires to start a whole new build process.
4439 ;; So we simply skip them.
4442 `(("alsa-lib" ,alsa-lib)
4443 ("freetype" ,freetype)
4444 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
4448 ("libsndfile" ,libsndfile)
4449 ("libvorbis" ,libvorbis)
4450 ("portaudio" ,portaudio)
4451 ("portmidi" ,portmidi)
4452 ("pulseaudio" ,pulseaudio)
4454 ("qtdeclarative" ,qtdeclarative)
4455 ("qtquickcontrols2" ,qtquickcontrols2)
4456 ("qtscript" ,qtscript)
4458 ("qtxmlpatterns" ,qtxmlpatterns)))
4460 `(("pkg-config" ,pkg-config)
4461 ("qttools" ,qttools)))
4462 (synopsis "Music composition and notation software")
4464 "MuseScore is a music score typesetter. Its main purpose is the creation
4465 of high-quality engraved musical scores in a WYSIWYG environment.
4467 It supports unlimited staves, linked parts and part extraction, tablature,
4468 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
4469 lyrics (multiple verses), fretboard diagrams, and in general everything
4470 commonly used in sheet music. Style options and style sheets to change the
4471 appearance and layout are provided.
4473 MuseScore can also play back scores through the built-in sequencer and SoundFont
4475 (home-page "https://musescore.org")
4476 (license license:gpl2)))
4478 (define-public muse-sequencer
4480 (name "muse-sequencer")
4485 (url "https://github.com/muse-sequencer/muse")
4486 (commit (string-append "muse_"
4487 (string-map (lambda (c)
4489 #\_ c)) version)))))
4490 (file-name (git-file-name name version))
4493 "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p"))))
4494 (build-system cmake-build-system)
4496 `(#:tests? #f ; there is no test target
4498 (list "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4499 "-DENABLE_VST_NATIVE=OFF"
4500 (string-append "-DCMAKE_EXE_LINKER_FLAGS="
4502 (assoc-ref %outputs "out") "/lib/muse-"
4503 ,(version-major+minor version) "/modules")
4504 (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
4506 (assoc-ref %outputs "out") "/lib/muse-"
4507 ,(version-major+minor version) "/modules"))
4509 (modify-phases %standard-phases
4510 (add-after 'unpack 'chdir
4511 (lambda _ (chdir "muse3") #t))
4512 (add-after 'chdir 'fix-include
4514 (substitute* "muse/driver/rtaudio.h"
4515 (("rtaudio/RtAudio.h") "RtAudio.h"))
4518 `(("alsa-lib" ,alsa-lib)
4527 ("libsndfile" ,libsndfile)
4528 ("libsamplerate" ,libsamplerate)
4530 ("fluidsynth" ,fluidsynth)
4532 ("pulseaudio" ,pulseaudio) ; required by rtaudio
4535 ("rtaudio" ,rtaudio)
4536 ("rubberband" ,rubberband)))
4538 `(("pkg-config" ,pkg-config)
4539 ("qttools" ,qttools)))
4540 (home-page "https://muse-sequencer.github.io/")
4541 (synopsis "MIDI/Audio sequencer")
4542 (description "MusE is a MIDI/Audio sequencer with recording and editing
4543 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4544 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4545 list view, and a score editor. MusE aims to be a complete multitrack virtual
4547 (license license:gpl2+)))
4556 "mirror://sourceforge/dssi/dssi/" version
4557 "/dssi-" version ".tar.gz"))
4560 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4561 (build-system gnu-build-system)
4563 `(("alsa-lib" ,alsa-lib)
4566 ("libsamplerate" ,libsamplerate)
4567 ("libsndfile" ,libsndfile)
4570 `(("pkg-config" ,pkg-config)))
4571 (synopsis "Audio plugin API for soft synths and effects")
4572 (description "DSSI is a plugin API for software instruments with user
4573 interfaces, permitting them to be hosted in-process by audio applications.
4574 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4575 towards familiarity with MIDI. The DSSI distribution package contains
4576 a JACK/ALSA-sequencer reference host and some plugins as well as the
4577 specification and header.")
4578 (home-page "http://dssi.sourceforge.net/")
4579 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4580 ;; The vast majority of examples are in the public domain.
4581 (license (list license:lgpl2.1+ license:gpl2+))))
4583 (define-public rosegarden
4590 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4591 version "/rosegarden-" version ".tar.bz2"))
4593 (base32 "0nqw2caxmv6mqh485wzvywa024yvi18q87sd4dw9b2l5qnpq8rl8"))))
4594 (build-system cmake-build-system)
4596 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4598 (modify-phases %standard-phases
4599 (add-after 'unpack 'patch-tests
4601 (substitute* "CMakeLists.txt"
4602 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4604 ((" -fvisibility=hidden") ""))
4606 (add-after 'unpack 'fix-references
4607 (lambda* (#:key inputs #:allow-other-keys)
4608 (substitute* "src/gui/general/ProjectPackager.cpp"
4610 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4612 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4614 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4616 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4618 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4619 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4620 (("\"convert-ly\\>")
4621 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4623 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4625 (add-after 'unpack 'make-reproducible
4627 ;; Prevent Last-Modified from being written.
4628 ;; The "*.qm" files that are used in locale.qrc would have a new
4629 ;; mtime otherwise that is written into qrc_locale.cpp in the
4630 ;; end - except when we disable it.
4631 (substitute* "src/CMakeLists.txt"
4632 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4633 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4635 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4636 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4638 ;; Make hashtable traversal order predicable.
4639 (setenv "QT_RCC_TEST" "1") ; important
4641 (add-before 'check 'prepare-check
4643 (setenv "QT_QPA_PLATFORM" "offscreen")
4644 ;; Tests create files in $HOME/.local/share/rosegarden .
4645 (mkdir-p "/tmp/foo")
4646 (setenv "HOME" "/tmp/foo")
4647 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
4650 `(("alsa-lib" ,alsa-lib)
4658 ("libsamplerate" ,libsamplerate)
4659 ("lilypond" ,lilypond)
4664 ("wavpack" ,wavpack)
4667 `(("pkg-config" ,pkg-config)
4668 ("qtlinguist" ,qttools)))
4669 (synopsis "Music composition and editing environment based around a MIDI
4671 (description "Rosegarden is a music composition and editing environment
4672 based around a MIDI sequencer that features a rich understanding of music
4673 notation and includes basic support for digital audio.")
4674 (home-page "https://www.rosegardenmusic.com/")
4675 (license license:gpl2)))
4677 (define-public patchmatrix
4679 (name "patchmatrix")
4684 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
4686 (file-name (git-file-name "patchmatrix" version))
4689 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
4690 (build-system meson-build-system)
4691 (arguments '(#:tests? #f)) ; no test target
4697 `(("pkg-config" ,pkg-config)))
4698 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
4699 (synopsis "Simple JACK patch bay")
4700 (description "PatchMatrix is a patch bay for the JACK audio connection
4701 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
4703 (license license:artistic2.0)))
4705 (define-public sorcer
4711 (uri (string-append "https://github.com/openAVproductions/"
4712 "openAV-Sorcer/archive/release-"
4714 (file-name (string-append name "-" version ".tar.gz"))
4717 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
4718 (build-system cmake-build-system)
4720 `(#:tests? #f ; no tests included
4722 (modify-phases %standard-phases
4723 (add-after 'unpack 'remove-architecture-specific-flags
4725 (substitute* "CMakeLists.txt"
4726 (("-msse2 -mfpmath=sse") ""))
4728 (add-after 'unpack 'build-faust-sources
4729 (lambda* (#:key inputs #:allow-other-keys)
4730 (with-directory-excursion "faust"
4731 (delete-file "main.cpp")
4732 (invoke "faust" "-i"
4734 "-o" "main.cpp" "main.dsp")))))))
4741 ("pkg-config" ,pkg-config)))
4742 (home-page "http://openavproductions.com/sorcer/")
4743 (synopsis "Wavetable LV2 plugin synth")
4744 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
4745 the electronic or dubstep genre.")
4746 (license license:gpl3+)))
4748 (define-public sonivox-eas
4750 (name "sonivox-eas")
4755 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
4756 (commit (string-append "v" version))))
4757 (file-name (string-append name "-" version "-checkout"))
4760 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
4761 (build-system cmake-build-system)
4762 (arguments '(#:tests? #f)) ; there are no tests
4764 `(("alsa-lib" ,alsa-lib)
4765 ("drumstick" ,drumstick)
4766 ("pulseaudio" ,pulseaudio)
4767 ("qtbase" ,qtbase)))
4769 `(("pkg-config" ,pkg-config)))
4770 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
4771 (synopsis "MIDI synthesizer library")
4772 (description "This project is a real time General MIDI synthesizer based
4773 on the Sonivox EAS Synthesizer by Google. It does not need external
4774 soundfonts, using embedded samples instead.")
4775 ;; Sonivox is released under the ASL2.0; the rest of the code is under
4777 (license (list license:gpl2+ license:asl2.0))))
4779 (define-public whysynth
4782 (version "20170701")
4785 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
4786 version ".tar.bz2"))
4789 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
4790 (build-system gnu-build-system)
4797 ("alsa-lib" ,alsa-lib)))
4799 `(("pkg-config" ,pkg-config)))
4800 (home-page "http://smbolton.com/whysynth.html")
4801 (synopsis "DSSI software synthesizer")
4802 (description "WhySynth is a versatile softsynth which operates as a plugin
4803 for the DSSI Soft Synth Interface. A brief list of features:
4806 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
4807 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
4808 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
4810 @item 10 filter modes.
4811 @item flexible modulation and mixdown options, plus effects.
4814 (license license:gpl2+)))
4816 (define-public libdiscid
4824 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
4828 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
4829 (arguments `(#:test-target "check"))
4830 (build-system cmake-build-system)
4831 (home-page "https://musicbrainz.org/doc/libdiscid")
4832 (synopsis "Disc id reader library")
4833 (description "libdiscid is a C library for creating MusicBrainz and freedb
4834 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
4835 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
4836 it provides a submission URL for adding the disc ID to the database and gathers
4837 ISRCs and the MCN (=UPC/EAN) from disc.")
4838 (license license:lgpl2.1+)))
4840 (define-public python-discid
4842 (name "python-discid")
4847 (uri (pypi-uri "discid" version))
4850 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
4851 (build-system python-build-system)
4853 `(("libdiscid" ,libdiscid)))
4856 (modify-phases %standard-phases
4857 (add-before 'build 'set-libdiscid
4858 ;; Set path of libdiscid
4859 (lambda* (#:key inputs #:allow-other-keys)
4860 (let ((discid (assoc-ref inputs "libdiscid")))
4861 (substitute* "discid/libdiscid.py"
4862 (("lib_name = (.*)$" all name)
4863 (string-append "lib_name = \"" discid
4864 "/lib/libdiscid.so.0\"\n")))
4866 (home-page "https://python-discid.readthedocs.io/")
4867 (synopsis "Python bindings for Libdiscid")
4869 "This package provides Python bindings for the Libdiscid library. The
4870 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
4871 Disc IDs} for use with the MusicBrainz database. Additionally the disc
4872 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
4873 Recording Code} (ISRC) can be extracted.}")
4874 (license license:lgpl3+)))
4876 (define-public libmusicbrainz
4878 (name "libmusicbrainz")
4884 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
4885 version "/libmusicbrainz-" version ".tar.gz"))
4888 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
4889 (build-system cmake-build-system)
4892 (modify-phases %standard-phases
4895 ;; requires network connections
4896 ;; (invoke "tests/mbtest")
4897 (invoke "tests/ctest")
4899 (inputs `(("neon" ,neon)
4900 ("libxml2" ,libxml2)))
4901 (native-inputs `(("pkg-config" ,pkg-config)))
4902 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
4903 (synopsis "MusicBrainz client library")
4904 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
4905 mb_client, is a development library geared towards developers who wish to add
4906 MusicBrainz lookup capabilities to their applications.")
4907 (license license:lgpl2.1+)))
4909 (define-public perl-musicbrainz-discid
4911 (name "perl-musicbrainz-discid")
4916 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
4920 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
4921 (build-system perl-build-system)
4922 (native-inputs `(("pkg-config" ,pkg-config)
4924 (inputs `(("libdiscid" ,libdiscid)))
4925 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
4926 (synopsis "Perl interface to the MusicBrainz libdiscid library")
4928 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
4929 MusicBrainz libdiscid library, allowing you to manipulate digital audio
4930 compact disc (CDDA) identifiers.")
4931 (license license:gpl2)))
4933 (define-public perl-webservice-musicbrainz
4935 (name "perl-webservice-musicbrainz")
4940 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
4944 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
4945 (build-system perl-build-system)
4947 ;; Tests try to connect to http://musicbrainz.org.
4950 `(("perl-module-build" ,perl-module-build)))
4952 `(("perl-mojolicious" ,perl-mojolicious)))
4953 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
4954 (synopsis "Web service API to the MusicBrainz database")
4956 "This module searches the MusicBrainz database through their web service
4957 at @code{musicbrainz.org}.")
4958 (license license:perl-license)))
4960 (define-public clyrics
4968 (url "https://github.com/trizen/clyrics")
4970 (file-name (git-file-name name version))
4972 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
4973 (build-system trivial-build-system)
4975 `(("bash" ,bash) ; for the wrapped program
4977 ("perl-www-mechanize" ,perl-www-mechanize)
4978 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
4979 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
4980 ;; 500 Can't verify SSL peers without knowing which Certificate
4981 ;; Authorities to trust".
4982 ("perl-mozilla-ca" ,perl-mozilla-ca)))
4984 `(#:modules ((guix build utils))
4986 (use-modules (guix build utils)
4989 (let* ((source (assoc-ref %build-inputs "source"))
4990 (output (assoc-ref %outputs "out")))
4993 (assoc-ref %build-inputs "bash") "/bin" ":"
4994 (assoc-ref %build-inputs "perl") "/bin" ":"))
4995 (copy-recursively source (getcwd))
4996 (patch-shebang "clyrics")
4997 (substitute* "clyrics"
4998 (("/usr/share") output))
4999 (install-file "clyrics" (string-append output "/bin"))
5000 (wrap-program (string-append output "/bin/clyrics")
5005 (((? (cut string-prefix? "perl-" <>) name) . dir)
5006 (string-append dir "/lib/perl5/site_perl"))
5009 (copy-recursively "plugins" (string-append output "/clyrics"))
5011 (home-page "https://github.com/trizen/clyrics")
5012 (synopsis "Extensible lyrics fetcher")
5014 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
5015 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
5016 console music players.")
5017 (license license:gpl3+)))
5019 (define-public demlo
5020 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
5024 (version (git-version "3.8" revision commit))
5030 "https://gitlab.com/ambrevar/demlo")
5032 (file-name (git-file-name name version))
5035 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
5036 (build-system go-build-system)
5039 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5040 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
5041 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
5042 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
5043 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
5044 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
5045 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
5046 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
5047 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
5048 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
5050 `(("chromaprint" ,chromaprint)
5051 ("ffmpeg" ,ffmpeg)))
5053 `(#:import-path "gitlab.com/ambrevar/demlo"
5055 (modify-phases %standard-phases
5056 (add-after 'install 'wrap-program
5057 (lambda* (#:key inputs outputs #:allow-other-keys)
5058 (let ((out (assoc-ref outputs "out"))
5059 (ffmpeg (assoc-ref inputs "ffmpeg"))
5060 (chromaprint (assoc-ref inputs "chromaprint")))
5061 (wrap-program (string-append out "/bin/demlo")
5062 `("XDG_DATA_DIRS" ":" prefix (,out))
5065 (string-append dir "/bin:"
5067 (list ffmpeg chromaprint))))
5069 (add-after 'install 'install-scripts
5070 (lambda* (#:key outputs #:allow-other-keys)
5071 (let* ((out (assoc-ref outputs "out"))
5072 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
5073 (xdg-data-dirs (string-append out "/demlo")))
5074 (copy-recursively (string-append root "/actions")
5075 (string-append xdg-data-dirs "/actions"))
5076 (copy-recursively (string-append root "/scripts")
5077 (string-append xdg-data-dirs "/scripts"))
5078 (install-file (string-append root "/config.lua") xdg-data-dirs)
5079 ;; TODO: Test fish completion.
5080 (install-file (string-append root "/completion/demlo.fish")
5081 (string-append out "/share/fish/vendor_completions.d"))
5083 (home-page "https://gitlab.com/ambrevar/demlo")
5084 (synopsis "Dynamic and extensible music library organizer")
5085 (description "Demlo is a music library organizer. It can encode, fix
5086 case, change folder hierarchy according to tags or file properties, tag from
5087 an online database, copy covers while ignoring duplicates or those below a
5088 quality threshold, and much more. It makes it possible to manage your
5089 libraries uniformly and dynamically. You can write your own rules to fit your
5092 Demlo can address any of these recurring music library issues (and much more):
5095 @item Fix the lack of folder structure.
5096 @item Normalize tags, fix their case, chose which tags to keep and which to
5098 @item Handle lossy and lossless audio differently.
5099 @item Handle mp3 id3tags hell...
5100 @item Handle multiple covers, whether embedded and/or external, resize covers,
5101 discard bad quality ones.
5103 (license license:expat))))
5112 (url "https://github.com/gillesdegottex/fmit/")
5113 (commit (string-append "v" version))))
5114 (file-name (git-file-name name version))
5117 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
5118 (build-system gnu-build-system)
5121 (modify-phases %standard-phases
5123 (add-before 'build 'qmake
5125 (let ((out (assoc-ref %outputs "out")))
5128 (string-append "PREFIX=" out)
5129 (string-append "PREFIXSHORTCUT=" out)
5130 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
5131 (add-after 'install 'wrap-executable
5132 (lambda* (#:key inputs outputs #:allow-other-keys)
5133 (let ((out (assoc-ref outputs "out")))
5134 (wrap-program (string-append out "/bin/fmit")
5135 `("QT_PLUGIN_PATH" ":" prefix
5136 ,(map (lambda (label)
5137 (string-append (assoc-ref inputs label)
5138 "/lib/qt5/plugins"))
5139 '("qtbase" "qtmultimedia" "qtsvg")))
5140 `("QML2_IMPORT_PATH" ":" prefix
5141 ,(map (lambda (label)
5142 (string-append (assoc-ref inputs label)
5144 '("qtmultimedia"))))
5147 `(("alsa-lib" ,alsa-lib)
5150 ("portaudio" ,portaudio)
5152 ("qtmultimedia" ,qtmultimedia)
5155 `(("gettext" ,gettext-minimal)
5156 ("hicolor-icon-theme" ,hicolor-icon-theme)
5157 ("itstool" ,itstool)
5158 ("qttools" ,qttools)))
5159 (synopsis "Musical instrument tuner")
5160 (description "FMIT is a graphical utility for tuning musical instruments,
5161 with error and volume history, and advanced features.")
5162 (home-page "https://gillesdegottex.github.io/fmit/")
5163 ;; Most of the code is under GPL2+, but some abstract or helper classes
5164 ;; are under LGPL2.1.
5165 (license (list license:gpl2+ license:lgpl2.1))))
5167 (define-public mloop
5168 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
5172 (version (git-version "0.0.1" revision commit))
5176 (url "http://git.fuzzle.org/mloop")
5178 (file-name (git-file-name name version))
5181 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
5182 (build-system waf-build-system)
5184 `(#:python ,python-2
5185 #:tests? #f)) ; no "check" target
5188 ("ncurses" ,ncurses)))
5190 `(("pkg-config" ,pkg-config)))
5191 (home-page "https://fuzzle.org/~petern/mloop.html")
5192 (synopsis "Live MIDI looper")
5193 (description "mloop is a live MIDI looping system, using jack-midi.
5194 Loops are recorded, optionally with beat quantization, and can then be played
5195 back, either once or looping. A 'note cache' system is implemented to
5196 remember which notes are pressed and their velocities. This allows for a loop
5197 to start off with the currently pressed notes, making seamless loops much
5198 easier to perform. Features include:
5201 @item Quantisation; end a loop on a beat exactly.
5202 @item Delayed recording; wait for a MIDI event before starting a loop record.
5203 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
5205 (license license:gpl2))))
5207 (define-public pragha
5213 (uri (string-append "https://github.com/pragha-music-player/pragha/"
5214 "releases/download/v" version "/pragha-" version
5218 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
5219 (build-system glib-or-gtk-build-system)
5221 `(("intltool" ,intltool)
5222 ("pkg-config" ,pkg-config)))
5226 ("gstreamer" ,gstreamer)
5227 ("gst-plugins-base" ,gst-plugins-base)
5228 ("gst-plugins-good" ,gst-plugins-good)
5230 ("libcddb" ,libcddb)
5231 ("libcdio" ,libcdio)
5232 ("libcdio-paranoia" ,libcdio-paranoia)
5233 ("libgudev" ,libgudev)
5234 ("libnotify" ,libnotify)
5235 ("libpeas" ,libpeas)
5236 ("libsoup" ,libsoup)
5238 ("taglib" ,taglib)))
5241 (modify-phases %standard-phases
5242 (add-after 'install 'wrap-program
5243 (lambda* (#:key inputs outputs #:allow-other-keys)
5244 (let ((out (assoc-ref outputs "out"))
5245 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
5246 (wrap-program (string-append out "/bin/pragha")
5247 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
5249 (home-page "https://pragha-music-player.github.io")
5250 (synopsis "Music player")
5251 (description "Pragha is a lightweight music player based on Gtk and
5252 sqlite. It is constructed to be fast, light, and simultaneously tries to be
5253 complete without obstructing your daily work.")
5254 (license license:gpl3+)))
5256 (define-public playerctl
5263 (url "https://github.com/altdesktop/playerctl")
5264 (commit (string-append "v" version))))
5265 (file-name (git-file-name name version))
5268 "17hi33sw3663qz5v54bqqil31sgkrlxkb2l5bgqk87pac6x2wnbz"))))
5269 (build-system meson-build-system)
5271 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
5272 (inputs `(("python-pygobject" ,python-pygobject)))
5274 `(("glib:bin" ,glib "bin")
5275 ("pkg-config" ,pkg-config)))
5276 (synopsis "Control MPRIS-supporting media player applications")
5278 "Playerctl is a command-line utility and library for controlling media
5279 players that implement the MPRIS D-Bus Interface Specification. Playerctl
5280 makes it easy to bind player actions, such as play and pause, to media keys.
5281 You can also get metadata about the playing track such as the artist and title
5282 for integration into status line generators or other command-line tools.")
5283 (home-page "https://github.com/altdesktop/playerctl")
5284 (license license:lgpl3+)))
5286 (define-public artyfx
5294 "https://github.com/openAVproductions/openAV-ArtyFX")
5295 (commit (string-append "release-" version))))
5296 (file-name (git-file-name name version))
5299 "012hcy1mxl7gs2lipfcqp5x0xv1azb9hjrwf0h59yyxnzx96h7c9"))))
5300 (build-system cmake-build-system)
5302 `(#:tests? #f ; no tests included
5304 (modify-phases %standard-phases
5305 (add-after 'unpack 'remove-architecture-specific-flags
5307 (substitute* "CMakeLists.txt"
5308 (("-msse2 -mfpmath=sse") ""))
5312 ("libsndfile" ,libsndfile)))
5314 `(("pkg-config" ,pkg-config)
5316 (home-page "http://openavproductions.com/artyfx/")
5317 (synopsis "Audio effect LV2 plugin bundle")
5318 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
5319 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
5321 (license license:gpl2+)))
5323 (define-public lsp-plugins
5325 (name "lsp-plugins")
5331 (url "https://github.com/sadko4u/lsp-plugins")
5332 (commit (string-append "lsp-plugins-" version))))
5333 (file-name (git-file-name name version))
5335 (base32 "1apw8zh3a3il4smkjji6bih4vbsymj0hjs10fgkrd4nazqkjvgyd"))))
5336 (build-system gnu-build-system)
5340 (string-append "CC=" ,(cc-for-target))
5341 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5342 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5343 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5345 (modify-phases %standard-phases
5346 (delete 'configure)) ; no configure script
5347 #:test-target "test"))
5350 ("hicolor-icon-theme" ,hicolor-icon-theme)
5353 ("libsndfile" ,libsndfile)
5357 `(("pkg-config" ,pkg-config)))
5358 (synopsis "Audio plugin collection")
5359 (description "LSP (Linux Studio Plugins) is a collection of audio
5360 plugins available as LADSPA/LV2 plugins and as standalone JACK
5362 (home-page "https://lsp-plug.in/")
5363 (license license:lgpl3)))
5365 (define-public sherlock-lv2
5367 (name "sherlock-lv2")
5373 "https://git.open-music-kontrollers.ch/lv2/"
5374 "sherlock.lv2/snapshot/sherlock.lv2-"
5378 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5379 (build-system meson-build-system)
5384 ("sratom" ,sratom)))
5387 ("pkg-config" ,pkg-config)))
5388 (synopsis "Investigative LV2 plugin bundle")
5389 (description "The Sherlock plugin bundle contains LV2 plugins for
5390 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5391 and debugging of event signal flows inside plugin graphs.")
5392 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5393 (license license:artistic2.0)))
5395 (define-public foo-yc20
5402 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5403 version "/foo-yc20-" version ".tar.bz2"))
5406 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5407 (build-system gnu-build-system)
5410 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5411 #:tests? #f ; no automated test
5413 (modify-phases %standard-phases
5416 (substitute* "Makefile"
5417 (("-mtune=native") "")
5418 (("-march=native") ""))
5427 ("pkg-config" ,pkg-config)))
5428 (home-page "https://foo-yc20.codeforcode.com/")
5429 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5430 (description "This is a Faust implementation of a 1969 designed Yamaha
5431 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5432 version. Processing for the organ is based on original schematics and
5433 measurements from a working specimen. This instrument simulates the circutry
5434 as a whole to realisticly reproduce the features and flaws of the real deal.")
5435 ;; Note that after 1.3.0 the license was changed.
5436 (license license:gpl3+)))
5438 (define-public spectacle-analyzer
5440 (name "spectacle-analyzer")
5446 (url "https://github.com/jpcima/spectacle")
5447 (commit (string-append "v" version))
5448 ;; Bundles a specific commit of the DISTRHO plugin framework.
5450 (file-name (git-file-name name version))
5453 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5454 (build-system gnu-build-system)
5456 `(#:tests? #f ; no check target
5459 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5461 (modify-phases %standard-phases
5462 (delete 'configure))))
5464 `(("pkg-config" ,pkg-config)
5473 (synopsis "Realtime graphical spectrum analyzer")
5474 (description "Spectacle is a real-time spectral analyzer using the
5475 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5476 (home-page "https://github.com/jpcima/spectacle")
5477 ;; The project is licensed under the ISC license, and files in
5478 ;; sources/plugin carry the Expat license.
5479 (license (list license:isc license:expat))))
5481 (define-public x42-plugins
5483 (name "x42-plugins")
5484 (version "20200714")
5489 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5492 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5493 (build-system gnu-build-system)
5495 `(#:tests? #f ; no "check" target
5497 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5498 "LIBZITACONVOLVER=-lzita-convolver"
5499 (string-append "FONTFILE="
5500 (assoc-ref %build-inputs "font-dejavu")
5501 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5503 (modify-phases %standard-phases
5504 (add-before 'build 'set-CC-variable
5508 (delete 'configure))))
5515 ("hicolor-icon-theme" ,hicolor-icon-theme)
5518 ("libsamplerate" ,libsamplerate)
5521 ("zita-convolver" ,zita-convolver)))
5523 `(("help2man" ,help2man)
5526 ("font-dejavu" ,font-dejavu)
5527 ("pkg-config" ,pkg-config)))
5528 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5529 (description "x42-plugins is a collection of over 80 cross-platform LV2
5530 audio and MIDI plugins that can also run as standalone JACK applications.")
5531 (home-page "https://x42-plugins.com/x42/")
5532 (license license:gpl2+)))
5534 (define-public zam-plugins
5536 (name "zam-plugins")
5543 (url "https://github.com/zamaudio/zam-plugins")
5545 ;; Recursive to fetch the DISTRHO plugin framework. This
5546 ;; framework is intended to be included in the sources
5547 ;; and not to be used as a library.
5549 (file-name (git-file-name name version))
5551 (base32 "0bxvssqnnd7bph3w1d6xcmxradv4cqq3wyzyv1a1hfm71a0pdahs"))))
5552 (build-system gnu-build-system)
5554 `(#:tests? #f ;no "check" target
5556 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5557 "HAVE_ZITA_CONVOLVER=true")
5559 (modify-phases %standard-phases
5560 (add-before 'build 'set-CC-variable
5562 (setenv "CC" "gcc") #t))
5563 (delete 'configure))))
5566 ("jack" ,jack-1) ;for the standalone JACK application
5568 ("libsamplerate" ,libsamplerate)
5570 ("zita-convolver" ,zita-convolver)))
5572 `(("ladspa" ,ladspa)
5574 ("pkg-config" ,pkg-config)))
5575 (synopsis "Collection of audio processing plugins")
5577 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5578 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5579 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5580 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5581 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5582 (home-page "http://www.zamaudio.com/?p=976")
5583 (license license:gpl2+)))
5585 (define-public geonkick
5593 (url "https://gitlab.com/geontime/geonkick.git")
5594 (commit (string-append "v" version))))
5595 (file-name (git-file-name name version))
5597 (base32 "07809yy2q7dd6fcp0yndlg1vw2ca2zisnsplb3xrxvzdvrqlw910"))))
5598 (build-system cmake-build-system)
5600 `(#:tests? #f ;no tests included
5602 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5603 (assoc-ref %build-inputs "redkite"))
5604 (string-append "-DCMAKE_INSTALL_PREFIX="
5605 (assoc-ref %outputs "out")))))
5608 ("hicolor-icon-theme" ,hicolor-icon-theme)
5609 ("jack" ,jack-1) ;for the standalone JACK application
5610 ("libsndfile" ,libsndfile)
5612 ("redkite" ,redkite)
5613 ("rapidjson" ,rapidjson)))
5616 ;; Fails with default gcc (#include <filesystem> not found).
5618 ("pkg-config" ,pkg-config)
5620 (synopsis "Percussion synthesizer")
5621 (description "Geonkick is a synthesizer that can synthesize elements
5622 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5623 It can also play and mix samples.")
5624 (home-page "https://gitlab.com/geontime/geonkick")
5625 (license license:gpl3+)))
5627 (define-public dpf-plugins
5629 (name "dpf-plugins")
5636 (url "https://github.com/DISTRHO/DPF-Plugins")
5637 (commit (string-append "v" version))))
5638 (file-name (git-file-name name version))
5641 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
5642 (build-system gnu-build-system)
5644 `(#:tests? #f ; no "check" target
5646 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5648 (modify-phases %standard-phases
5649 (add-before 'build 'set-CC-variable
5650 (lambda _ (setenv "CC" "gcc") #t))
5651 (delete 'configure))))
5654 ("liblo" ,liblo) ; for dssi plugins
5655 ("jack" ,jack-1) ; for standalone applications
5658 `(("pkg-config" ,pkg-config)
5661 (home-page "https://github.com/DISTRHO/DPF-Plugins")
5662 (synopsis "Audio plugin collection")
5663 (description "Collection of audio plugins built with the DISTRHO Plugin
5664 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
5665 package includes the following plugins: glBars, Kars, Max-Gen examples
5666 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
5667 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
5668 Soul Force), MVerb, Nekobi, and ProM.")
5669 ;; This package consists of several plugins refactored to use the
5670 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
5671 ;; apply to different plugins. The root LICENSE file has a table with
5672 ;; license information for each plugin and paths to each license
5673 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
5675 (define-public avldrums-lv2
5677 (name "avldrums-lv2")
5683 (url "https://github.com/x42/avldrums.lv2")
5684 (commit (string-append "v" version))
5685 ;; This plugin expects the robtk submodule's source files to be
5686 ;; there in order to build.
5688 (file-name (git-file-name name version))
5690 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
5691 (build-system gnu-build-system)
5693 `(#:tests? #f ; no "check" target
5695 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5697 (modify-phases %standard-phases
5698 (add-before 'build 'set-CC-variable
5700 (setenv "CC" "gcc") #t))
5701 (delete 'configure))))
5709 `(("pkg-config" ,pkg-config)
5711 (home-page "https://x42-plugins.com/x42/x42-avldrums")
5712 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
5713 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
5714 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
5715 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
5716 (license license:gpl2+)))
5727 (url "https://github.com/mtytel/helm")
5728 (commit (string-append "v" version))))
5729 (file-name (git-file-name name version))
5732 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
5733 (build-system gnu-build-system)
5735 `(#:tests? #f ; no "check" target
5737 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
5740 (modify-phases %standard-phases
5741 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
5743 (substitute* "standalone/builds/linux/Makefile"
5744 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5745 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5746 (substitute* "builds/linux/LV2/Makefile"
5747 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5748 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5749 (substitute* "Makefile"
5752 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
5753 (lambda* (#:key outputs #:allow-other-keys)
5754 (for-each make-file-writable
5755 (find-files (string-append (assoc-ref outputs "out"))
5758 (delete 'configure))))
5760 `(("alsa-lib" ,alsa-lib)
5762 ("freetype2" ,freetype)
5763 ("hicolor-icon-theme" ,hicolor-icon-theme)
5764 ("libxcursor" ,libxcursor)
5765 ("libxinerama" ,libxinerama)
5769 `(("pkg-config" ,pkg-config)
5771 (home-page "https://tytel.org/helm/")
5772 (synopsis "Polyphonic synth with lots of modulation")
5773 (description "Helm is a cross-platform polyphonic synthesizer available standalone
5774 and as an LV2 plugin.")
5775 (license license:gpl3+)))
5777 (define-public zrythm
5779 ;; Zrythm contains trademarks and comes with a trademark policy found in
5780 ;; TRADMARKS.md inside the release distribution. The trademark policy
5781 ;; allows verbatim re-distribution, and it also allows FSF-approved
5782 ;; distros to make necessary changes to integrate the software into the
5785 (version "1.0.0-alpha.3.0.1")
5789 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
5793 "06025367x08y4g9grhcn35bk1dsrpgm04c8l8j50i3p49dl3s1n0"))))
5794 (build-system meson-build-system)
5802 "-Dgraphviz=enabled" ; for exporting routing graphs
5803 "-Dguile=enabled" ; for Guile scripting
5804 "-Djack=enabled" ; for JACK audio/MIDI backend
5805 "-Drtmidi=enabled" ; for RtMidi backend (ALSA sequencer)
5806 "-Dsdl=enabled"))) ; for SDL audio backend (which uses ALSA)
5808 `(("alsa-lib" ,alsa-lib)
5810 ("font-dseg" ,font-dseg)
5813 ("gettext" ,gettext-minimal)
5815 ("graphviz" ,graphviz)
5817 ("gtksourceview" ,gtksourceview)
5818 ("guile" ,guile-2.2)
5819 ("libaudec" ,libaudec)
5820 ("libcyaml" ,libcyaml)
5821 ("libsamplerate" ,libsamplerate)
5822 ("libsndfile" ,libsndfile)
5823 ("libyaml" ,libyaml)
5827 ("rubberband" ,rubberband)
5830 ("xdg-utils" ,xdg-utils)
5831 ("zstd" ,zstd "lib")))
5833 `(("pkg-config" ,pkg-config)
5834 ("help2man" ,help2man)
5835 ("glib" ,glib "bin"))) ; for 'glib-compile-resources'
5836 (synopsis "Digital audio workstation focusing on usability")
5837 (description "Zrythm is a digital audio workstation designed to be
5838 featureful and easy to use. It offers unlimited automation options, LV2
5839 plugin support, JACK support and chord assistance.")
5840 (home-page "https://www.zrythm.org")
5841 (license license:agpl3+)))
5843 (define-public dragonfly-reverb
5845 (name "dragonfly-reverb")
5852 (url "https://github.com/michaelwillis/dragonfly-reverb")
5854 ;; Bundles a specific commit of the DISTRHO plugin framework.
5856 (file-name (git-file-name name version))
5858 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
5859 (build-system gnu-build-system)
5861 `(#:tests? #f ; no check target
5862 #:make-flags (list "CC=gcc")
5864 (modify-phases %standard-phases
5865 (delete 'configure) ;no configure target
5866 (replace 'install ;no install target
5867 (lambda* (#:key outputs #:allow-other-keys)
5868 (let* ((out (assoc-ref outputs "out"))
5869 (bin (string-append out "/bin"))
5870 (lv2 (string-append out "/lib/lv2")))
5874 (copy-recursively file
5875 (string-append lv2 "/" (basename file))))
5876 (find-files "bin" "\\.lv2$" #:directories? #t))
5877 ;; Install executables.
5880 (install-file file bin))
5884 (equal? (dirname name) "bin")
5885 (not (string-suffix? ".so" name))
5886 (not (string-suffix? ".lv2" name))))))
5889 `(("pkg-config" ,pkg-config)))
5894 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
5895 (synopsis "Concert hall reverb and room reverb effects")
5897 "Dragonfly Reverb is a bundle of two free audio effects: a concert
5898 hall reverb and a room reverb. Both are available as LV2 plugins as well
5899 as JACK standalone applications.")
5900 (license license:gpl3+)))
5910 (url "https://git.zrythm.org/git/ZLFO")
5911 (commit (string-append "v" version))))
5912 (file-name (git-file-name name version))
5915 "0bm466ci5xyvxvq7l9p6xyh789lvk6i31b4zja1igqh13akbjnjz"))))
5916 (build-system meson-build-system)
5918 `(("librsvg" ,librsvg)
5920 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
5922 `(("pkg-config" ,pkg-config)))
5923 (synopsis "Low frequency oscillator plugin")
5924 (description "ZLFO is a fully featured
5925 @dfn{low frequency oscillator} (LFO) for @dfn{control voltage} (CV)-based
5926 automation that comes as an LV2 plugin bundle with a custom UI.")
5927 (home-page "https://git.zrythm.org/cgit/ZLFO/")
5928 (license license:agpl3+)))
5930 (define-public remid-lv2
5938 (url "https://github.com/ssj71/reMID.lv2")
5939 (commit (string-append "v" version))))
5940 (file-name (git-file-name name version))
5943 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
5944 (build-system cmake-build-system)
5946 `(#:tests? #f)) ; no tests included
5948 `(("alsa-lib" ,alsa-lib)
5953 `(("pkg-config" ,pkg-config)))
5954 (home-page "https://github.com/ssj71/reMID.lv2")
5956 "MIDI-controlled implementation of the SID 6581 chip used in the
5959 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
5960 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
5961 to provide a virtual SID-based synthesizer, controllable in real-time via
5962 MIDI. It includes support for scripted instruments that allow complex sonic
5963 control of the chip.")
5964 (license license:gpl2+)))
5966 (define-public vl1-emulator
5968 (name "vl1-emulator")
5974 (url "https://github.com/linuxmao-org/VL1-emulator")
5975 (commit (string-append "v" version))
5976 ;; bundles a specific commit of the DISTRHO plugin framework
5978 (file-name (git-file-name name version))
5981 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
5982 (build-system gnu-build-system)
5984 `(#:tests? #f ;no check target
5986 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5989 (modify-phases %standard-phases
5990 (delete 'configure)))) ;no configure target
5996 `(("pkg-config" ,pkg-config)))
5997 (home-page "https://github.com/linuxmao-org/VL1-emulator")
5998 (synopsis "Emulator of Casio VL-Tone VL1")
5999 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
6000 based on source code by PolyValens, offered as an LV2 plugin and a
6001 standalone JACK application.")
6003 (license (list license:expat license:cc0))))
6005 (define-public regrader
6007 (inherit vl1-emulator)
6014 (url "https://github.com/linuxmao-org/regrader")
6015 (commit (string-append "v" version))
6016 ;; bundles a specific commit of the DISTRHO plugin framework
6018 (file-name (git-file-name name version))
6021 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
6022 (home-page "https://github.com/linuxmao-org/regrader")
6023 (synopsis "Delay effect plugin")
6025 "Regrader is a delay effect where the repeats degrade in resolution.
6026 This is an unofficial port of the Regrader plugin created by Igorski. It
6027 is available as an LV2 plugin and a standalone JACK application.")
6028 (license license:expat)))
6030 (define-public fogpad
6032 (inherit vl1-emulator)
6039 (url "https://github.com/linuxmao-org/fogpad")
6040 (commit (string-append "v" version))
6041 ;; bundles a specific commit of the DISTRHO plugin framework
6043 (file-name (git-file-name name version))
6046 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
6047 (home-page "https://github.com/linuxmao-org/fogpad")
6048 (synopsis "Reverb effect plugin")
6050 "Fogpad is a reverb effect in which the reflections can be frozen,
6051 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
6052 port of the Regrader plugin created by Igorski. It is available as an LV2
6053 plugin and a standalone JACK application.")
6054 (license license:expat)))
6056 (define-public tap-lv2
6057 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
6061 (version (git-version "0.0" revision commit))
6066 (url "https://github.com/moddevices/tap-lv2")
6068 (file-name (git-file-name name version))
6071 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
6072 (build-system gnu-build-system)
6074 `(#:tests? #f ; no check target
6078 (modify-phases %standard-phases
6079 (delete 'configure) ; no configure
6083 (string-append "INSTALL_PATH="
6084 (assoc-ref %outputs "out")
6090 `(("pkg-config" ,pkg-config)))
6091 (synopsis "Audio plugin collection")
6092 (description "TAP (Tom's Audio Processing) plugins is a collection of
6093 audio effect plugins originally released as LADSPA plugins. This package
6094 offers an LV2 version ported by moddevices.")
6095 (home-page "http://tap-plugins.sourceforge.net/")
6096 (license license:gpl2))))
6098 (define-public wolf-shaper
6100 (name "wolf-shaper")
6106 (url "https://github.com/pdesaulniers/wolf-shaper")
6107 (commit (string-append "v" version))
6108 ;; Bundles a specific commit of the DISTRHO plugin framework.
6110 (file-name (git-file-name name version))
6113 "1j9xmh1nkf45ay1c5dz2g165qvrwlanzcq6mvb3nfxar265drd9q"))))
6114 (build-system gnu-build-system)
6116 `(#:tests? #f ; no check target
6117 #:make-flags (list "CC=gcc")
6119 (modify-phases %standard-phases
6120 (delete 'configure) ;no configure target
6121 (replace 'install ;no install target
6122 (lambda* (#:key outputs #:allow-other-keys)
6123 (let* ((out (assoc-ref outputs "out"))
6124 (bin (string-append out "/bin"))
6125 (lv2 (string-append out "/lib/lv2")))
6129 (copy-recursively file
6130 (string-append lv2 "/" (basename file))))
6131 (find-files "bin" "\\.lv2$" #:directories? #t))
6132 ;; Install executables.
6135 (install-file file bin))
6139 (equal? (dirname name) "bin")
6140 (not (string-suffix? ".so" name))
6141 (not (string-suffix? ".lv2" name))))))
6144 `(("pkg-config" ,pkg-config)))
6149 (synopsis "Waveshaper plugin")
6150 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
6151 It is provided as an LV2 plugin and as a standalone Jack application.")
6152 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
6153 (license license:gpl3)))
6155 (define-public wolf-spectrum
6157 (inherit wolf-shaper)
6158 (name "wolf-spectrum")
6164 (url "https://github.com/pdesaulniers/wolf-spectrum")
6165 (commit (string-append "v" version))
6166 ;; Bundles a specific commit of the DISTRHO plugin framework.
6168 (file-name (git-file-name name version))
6171 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
6172 (synopsis "2D spectrogram plugin")
6173 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
6174 It is provided as an LV2 plugin and as a standalone Jack application.")
6175 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
6176 (license license:gpl3)))
6178 (define-public shiru-lv2
6179 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
6183 (version (git-version "0.0" revision commit))
6188 (url "https://github.com/linuxmao-org/shiru-plugins")
6190 ;; Bundles a specific commit of the DISTRHO plugin framework.
6192 (file-name (git-file-name name version))
6195 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
6196 (build-system gnu-build-system)
6198 `(#:tests? #f ; no check target
6199 #:make-flags (list "CC=gcc")
6201 (modify-phases %standard-phases
6202 (delete 'configure) ;no configure target
6203 (replace 'install ;no install target
6204 (lambda* (#:key outputs #:allow-other-keys)
6205 (let* ((out (assoc-ref outputs "out"))
6206 (bin (string-append out "/bin"))
6207 (lv2 (string-append out "/lib/lv2")))
6211 (copy-recursively file
6212 (string-append lv2 "/" (basename file))))
6213 (find-files "bin" "\\.lv2$" #:directories? #t))
6214 ;; Install executables.
6217 (install-file file bin))
6221 (equal? (dirname name) "bin")
6222 (not (string-suffix? ".so" name))
6223 (not (string-suffix? ".lv2" name))))))
6226 `(("pkg-config" ,pkg-config)))
6234 (synopsis "Audio plugin collection")
6235 (description "Shiru plugins is a collection of audio plugins created
6236 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
6238 (home-page "http://shiru.untergrund.net/software.shtml")
6239 (license license:wtfpl2))))