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>
33 ;;; This file is part of GNU Guix.
35 ;;; GNU Guix is free software; you can redistribute it and/or modify it
36 ;;; under the terms of the GNU General Public License as published by
37 ;;; the Free Software Foundation; either version 3 of the License, or (at
38 ;;; your option) any later version.
40 ;;; GNU Guix is distributed in the hope that it will be useful, but
41 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
42 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43 ;;; GNU General Public License for more details.
45 ;;; You should have received a copy of the GNU General Public License
46 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
48 (define-module (gnu packages music)
49 #:use-module (guix utils)
50 #:use-module (guix packages)
51 #:use-module (guix download)
52 #:use-module (guix git-download)
53 #:use-module ((guix licenses) #:prefix license:)
54 #:use-module (guix build-system gnu)
55 #:use-module (guix build-system ant)
56 #:use-module (guix build-system cmake)
57 #:use-module (guix build-system meson)
58 #:use-module (guix build-system perl)
59 #:use-module (guix build-system python)
60 #:use-module (guix build-system scons)
61 #:use-module (guix build-system glib-or-gtk)
62 #:use-module (guix build-system waf)
63 #:use-module (guix build-system trivial)
64 #:use-module (guix build-system go)
65 #:use-module (gnu packages)
66 #:use-module (gnu packages admin)
67 #:use-module (gnu packages algebra)
68 #:use-module (gnu packages apr)
69 #:use-module (gnu packages audio)
70 #:use-module (gnu packages autotools)
71 #:use-module (gnu packages backup)
72 #:use-module (gnu packages base) ;libbdf
73 #:use-module (gnu packages bash)
74 #:use-module (gnu packages bison)
75 #:use-module (gnu packages boost)
76 #:use-module (gnu packages build-tools)
77 #:use-module (gnu packages cdrom)
78 #:use-module (gnu packages code)
79 #:use-module (gnu packages check)
80 #:use-module (gnu packages cmake)
81 #:use-module (gnu packages compression)
82 #:use-module (gnu packages cpp)
83 #:use-module (gnu packages crypto)
84 #:use-module (gnu packages curl)
85 #:use-module (gnu packages cyrus-sasl)
86 #:use-module (gnu packages datastructures)
87 #:use-module (gnu packages docbook)
88 #:use-module (gnu packages documentation)
89 #:use-module (gnu packages emacs)
90 #:use-module (gnu packages file)
91 #:use-module (gnu packages flex)
92 #:use-module (gnu packages fltk)
93 #:use-module (gnu packages fonts)
94 #:use-module (gnu packages fontutils)
95 #:use-module (gnu packages freedesktop)
96 #:use-module (gnu packages game-development)
97 #:use-module (gnu packages gcc)
98 #:use-module (gnu packages gnupg)
99 #:use-module (gnu packages gettext)
100 #:use-module (gnu packages ghostscript)
101 #:use-module (gnu packages gl)
102 #:use-module (gnu packages glib)
103 #:use-module (gnu packages gnome)
104 #:use-module (gnu packages gpodder)
105 #:use-module (gnu packages graphics)
106 #:use-module (gnu packages graphviz)
107 #:use-module (gnu packages gstreamer)
108 #:use-module (gnu packages gtk)
109 #:use-module (gnu packages guile)
110 #:use-module (gnu packages haskell)
111 #:use-module (gnu packages image)
112 #:use-module (gnu packages imagemagick)
113 #:use-module (gnu packages java)
114 #:use-module (gnu packages libffi)
115 #:use-module (gnu packages libusb)
116 #:use-module (gnu packages linux) ; for alsa-utils
117 #:use-module (gnu packages lirc)
118 #:use-module (gnu packages llvm)
119 #:use-module (gnu packages man)
120 #:use-module (gnu packages mp3)
121 #:use-module (gnu packages mpd)
122 #:use-module (gnu packages ncurses)
123 #:use-module (gnu packages netpbm)
124 #:use-module (gnu packages pcre)
125 #:use-module (gnu packages pdf)
126 #:use-module (gnu packages perl)
127 #:use-module (gnu packages perl-web)
128 #:use-module (gnu packages pkg-config)
129 #:use-module (gnu packages protobuf)
130 #:use-module (gnu packages pulseaudio) ;libsndfile
131 #:use-module (gnu packages python)
132 #:use-module (gnu packages python-web)
133 #:use-module (gnu packages python-xyz)
134 #:use-module (gnu packages qt)
135 #:use-module (gnu packages rdf)
136 #:use-module (gnu packages readline)
137 #:use-module (gnu packages rsync)
138 #:use-module (gnu packages sdl)
139 #:use-module (gnu packages sqlite)
140 #:use-module (gnu packages tcl)
141 #:use-module (gnu packages texinfo)
142 #:use-module (gnu packages tex)
143 #:use-module (gnu packages time)
144 #:use-module (gnu packages tls)
145 #:use-module (gnu packages version-control)
146 #:use-module (gnu packages video)
147 #:use-module (gnu packages vim) ;for 'xxd'
148 #:use-module (gnu packages web)
149 #:use-module (gnu packages wxwidgets)
150 #:use-module (gnu packages xml)
151 #:use-module (gnu packages xorg)
152 #:use-module (gnu packages xiph)
153 #:use-module (gnu packages golang)
154 #:use-module (gnu packages lua)
155 #:use-module ((srfi srfi-1) #:select (last)))
157 (define-public aria-maestosa
159 (name "aria-maestosa")
163 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
164 version "/AriaSrc-" version ".tar.bz2"))
167 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
168 (build-system scons-build-system)
170 `(#:tests? #f ;no tests
172 (list (string-append "prefix=" (assoc-ref %outputs "out")))
173 #:scons ,scons-python2
175 (modify-phases %standard-phases
177 (add-after 'unpack 'scons-propagate-environment
179 ;; By design, SCons does not, by default, propagate
180 ;; environment variables to subprocesses. See:
181 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
182 ;; Here, we modify the SConstruct file to arrange for
183 ;; environment variables to be propagated.
184 (substitute* "SConstruct"
185 (("env = Environment\\(\\)")
186 "env = Environment(ENV=os.environ)")
187 ;; Scons errors out when copying subdirectories from Resources,
188 ;; so we move them instead.
190 ;; We move the "score" and "Documentation" directories at once,
191 ;; so we have to ignore files contained therein.
192 (("if \".svn\" in file" line)
194 " or \"score/\" in file"
195 " or \"Documentation/\" in file")))
197 (add-after 'install 'fix-directory-permissions
198 (lambda* (#:key outputs #:allow-other-keys)
199 (let ((out (assoc-ref outputs "out")))
200 (chmod (string-append out "/share/Aria/Documentation") #o555)
201 (chmod (string-append out "/share/Aria/score") #o555)
204 `(("wxwidgets" ,wxwidgets)
206 ("alsa-lib" ,alsa-lib)))
208 `(("pkg-config" ,pkg-config)))
209 (home-page "http://ariamaestosa.sourceforge.net/")
210 (synopsis "MIDI sequencer and editor")
212 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
213 and play MIDI files with a few clicks in a user-friendly interface offering
214 score, keyboard, guitar, drum and controller views.")
215 (license license:gpl3+)))
217 ;; We don't use the latest release because it depends on Qt4. Instead we
218 ;; download the sources from the tip of the "qt5" branch.
219 (define-public clementine
220 (let ((commit "4619a4c1ab3b17b13d4b2327ad477912917eaf36")
224 (version (git-version "1.3.1" revision commit))
228 (url "https://github.com/clementine-player/Clementine")
230 (file-name (git-file-name name version))
233 "1hximk3q0p8nw8is5w7215xgkb7k4flnfyr0pdz9svfwvcm05w1i"))
234 (modules '((guix build utils)))
239 (delete-file-recursively
240 (string-append "3rdparty/" dir)))
242 ;; TODO: The following dependencies are still bundled:
243 ;; - "qxt": Appears to be unmaintained upstream.
245 ;; - "qtsingleapplication"
247 ;; - "qtiocompressor"
248 ;; - "gmock": The tests crash when using our googletest
249 ;; package instead of the bundled gmock.
257 "sha2" ;; Replaced by openssl.
261 (patches (search-patches "clementine-use-openssl.patch"
262 "clementine-remove-crypto++-dependency.patch"
263 "clementine-fix-sqlite.patch"))))
264 (build-system cmake-build-system)
266 '(#:test-target "clementine_test"
268 (list ;; Requires unpackaged "projectm"
269 "-DENABLE_VISUALISATIONS=OFF"
270 ;; Otherwise it may try to download a non-free library at run-time.
271 ;; TODO In an origin snippet, remove the code that performs the
273 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
274 "-DUSE_SYSTEM_SHA2=TRUE")
276 (modify-phases %standard-phases
277 (add-after 'install 'wrap-program
278 (lambda* (#:key inputs outputs #:allow-other-keys)
279 (let ((out (assoc-ref outputs "out"))
280 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
281 (wrap-program (string-append out "/bin/clementine")
282 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
285 `(("gettext" ,gettext-minimal)
286 ("pkg-config" ,pkg-config)
287 ("qtlinguist" ,qttools)))
290 ("chromaprint" ,chromaprint)
294 ("gstreamer" ,gstreamer)
295 ("gst-plugins-base" ,gst-plugins-base)
296 ("gst-plugins-good" ,gst-plugins-good)
297 ("gst-libav" ,gst-libav)
299 ("libmygpo-qt" ,libmygpo-qt)
300 ;; TODO: Package libgpod.
304 ("protobuf" ,protobuf)
305 ("pulseaudio" ,pulseaudio)
307 ("qtx11extras" ,qtx11extras)
309 ("sparsehash" ,sparsehash)
311 (home-page "https://clementine-player.org")
312 (synopsis "Music player and library organizer")
313 (description "Clementine is a multiplatform music player. It is inspired
314 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
315 playing your music.")
317 ;; clementine and qtiocompressor are under GPLv3.
319 ;; gmock is under BSD-3.
321 ;; qxt is under CPL1.0.
323 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
325 ;; qocoa is under MIT and CC by-sa for the icons.
326 license:cc-by-sa3.0)))))
335 (url "https://github.com/cmus/cmus")
336 (commit (string-append "v" version))))
337 (file-name (git-file-name name version))
340 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
341 (build-system gnu-build-system)
343 `(#:tests? #f ; cmus does not include tests
345 (modify-phases %standard-phases
347 (lambda* (#:key outputs #:allow-other-keys)
348 (let ((out (assoc-ref outputs "out")))
349 ;; It's an idiosyncratic configure script that doesn't
350 ;; understand --prefix=..; it wants prefix=.. instead.
351 (invoke "./configure"
352 (string-append "prefix=" out))
354 ;; TODO: cmus optionally supports the following formats, which haven't yet
355 ;; been added to Guix:
359 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
360 ;; Guix. See <http://sourceforge.net/projects/discid/>
362 `(("pkg-config" ,pkg-config)))
364 `(("alsa-lib" ,alsa-lib)
371 ("libcdio-paranoia" ,libcdio-paranoia)
374 ("libmodplug" ,libmodplug)
375 ("libmpcdec" ,libmpcdec)
376 ("libsamplerate" ,libsamplerate)
377 ("libvorbis" ,libvorbis)
379 ("opusfile" ,opusfile)
380 ("pulseaudio" ,pulseaudio)
381 ("wavpack" ,wavpack)))
382 (home-page "https://cmus.github.io/")
383 (synopsis "Small console music player")
384 (description "Cmus is a small and fast console music player. It supports
385 many input formats and provides a customisable Vi-style user interface.")
386 (license license:gpl2+)))
388 (define-public denemo
395 (uri (string-append "mirror://gnu/denemo/"
396 "denemo-" version ".tar.gz"))
398 (base32 "145kq0zfgdadykl3i6na221i4s5wzdrcqq48amzyfarnrqk2rmpd"))))
399 (build-system gnu-build-system)
402 (modify-phases %standard-phases
404 (lambda* (#:key inputs #:allow-other-keys)
405 ;; Tests require to write $HOME.
406 (setenv "HOME" (getcwd))
407 ;; Replace hard-coded diff file name.
408 (substitute* "tests/integration.c"
410 (string-append (assoc-ref inputs "diffutils") "/bin/diff")))
411 ;; Denemo's documentation says to use this command to run its
413 (invoke "make" "-C" "tests" "check")))
414 (add-before 'build 'set-lilypond
415 ;; This phase sets the default path for lilypond to its current
416 ;; location in the store.
417 (lambda* (#:key inputs #:allow-other-keys)
418 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
420 (substitute* "src/core/prefops.c"
421 (("g_string_new \\(\"lilypond\"\\);")
422 (string-append "g_string_new (\""
427 `(("diffutils" ,diffutils)
428 ("glib:bin" ,glib "bin") ; for gtester
430 ("intltool" ,intltool)
432 ("pkg-config" ,pkg-config)))
434 `(("alsa-lib" ,alsa-lib)
438 ("fluidsynth" ,fluidsynth)
441 ("gtksourceview" ,gtksourceview-3)
444 ("libsndfile" ,libsndfile)
446 ("lilypond" ,lilypond)
447 ("portaudio" ,portaudio)
448 ("portmidi" ,portmidi)
449 ("rubberband" ,rubberband)))
450 (synopsis "Graphical music notation, front-end to GNU Lilypond")
452 "GNU Denemo is a music notation editor that provides a convenient
453 interface to the powerful music engraving program Lilypond. Music can be
454 typed in using the computer keyboard, played in using a MIDI keyboard, or
455 even input via a microphone connected to the sound card. The final product
456 is publication-quality music notation that is continuously generated in the
457 background while you work.")
458 (home-page "http://www.denemo.org")
459 (license license:gpl3+)))
469 (url "https://github.com/kode54/dumb")
472 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
473 (file-name (git-file-name name version))))
474 (build-system cmake-build-system)
476 '(#:tests? #f ; no check target
478 (list "-DBUILD_SHARED_LIBS=ON"
479 "-DBUILD_EXAMPLES=OFF")))
480 (home-page "https://github.com/kode54/dumb")
481 (synopsis "Module audio renderer library")
483 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
484 targets maximum accuracy to the original formats, with low-pass resonant filters
485 for the IT files, accurate timing and pitching, and three resampling quality
486 settings (aliasing, linear interpolation and cubic interpolation).")
487 ;; The DUMB license is a bit peculiar.
488 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
489 ;; the first three clauses for genuine consideration.
490 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
491 ;; license, a known free software license.
492 ;; Therefore, the DUMB license may be considered a free software license.
493 (license (license:fsf-free "file://LICENSE"))))
495 (define-public dumb-allegro4
498 (name "dumb-allegro4")
500 (substitute-keyword-arguments (package-arguments dumb)
501 ((#:configure-flags flags)
502 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
504 `(("allegro" ,allegro-4)))))
506 (define-public hydrogen
514 (url "https://github.com/hydrogen-music/hydrogen")
516 (file-name (git-file-name name version))
518 (base32 "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1"))))
519 (build-system cmake-build-system)
521 `(#:test-target "tests"
523 (modify-phases %standard-phases
524 (add-after 'unpack 'fix-data-directory
525 (lambda* (#:key outputs #:allow-other-keys)
526 (substitute* "CMakeLists.txt"
527 (("/usr/share/pixmaps")
528 (string-append (assoc-ref outputs "out")
532 `(("cppunit" ,cppunit)
533 ("pkg-config" ,pkg-config)
534 ("qtlinguist" ,qttools)))
536 `(("alsa-lib" ,alsa-lib)
538 ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set
540 ("libarchive" ,libarchive)
542 ("libsndfile" ,libsndfile)
544 ("pulseaudio" ,pulseaudio)
546 ("qtxmlpatterns" ,qtxmlpatterns)
548 (home-page "http://www.hydrogen-music.org")
549 (synopsis "Drum machine")
551 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
552 enable professional yet simple and intuitive pattern-based drum programming.")
553 (license license:gpl2+)))
555 (define-public easytag
561 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
565 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
566 (build-system glib-or-gtk-build-system)
568 `(("desktop-file-utils" ,desktop-file-utils)
570 ("intltool" ,intltool)
572 ("pkg-config" ,pkg-config)
573 ("xmllint" ,libxml2)))
578 ("libid3tag" ,libid3tag)
579 ("libvorbis" ,libvorbis)
580 ("opusfile" ,opusfile)
587 (modify-phases %standard-phases
588 (add-before 'configure 'configure-libid3tag
589 (lambda* (#:key inputs #:allow-other-keys)
590 ;; libid3tag does not provide a .pc file and EasyTAG's configure
591 ;; script healivy relies on pkg-config. Providing a temporary
592 ;; local .pc file is easier than patching the configure script.
593 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
594 (mkdir-p "pkgconfig")
596 "pkgconfig/id3tag.pc"
600 libdir=${prefix}/lib~@
601 includedir=${prefix}/include~@
606 Libs: -L${libdir} -lid3tag -lz~@
607 Cflags: -I${includedir}~%"
609 (setenv "PKG_CONFIG_PATH"
610 (string-append (getenv "PKG_CONFIG_PATH")
611 ":" (getcwd) "/pkgconfig"))
613 (add-after 'unpack 'patch-makefile
615 (substitute* "Makefile.in"
616 ;; The Makefile generates a test-desktop-file-validate.sh
617 ;; script with /bin/sh hard-coded.
618 (("/bin/sh") (which "sh"))
619 ;; Don't create 'icon-theme.cache'.
620 (("gtk-update-icon-cache") "true"))
622 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
623 (synopsis "Simple application for viewing and editing tags in audio files")
625 "EasyTAG is an application for viewing and editing tags in audio files.
626 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
627 MusePack, Monkey's Audio, and WavPack files.")
628 (license license:gpl2+)))
630 (define-public extempore
637 (url "https://github.com/digego/extempore")
638 (commit (string-append "v" version))))
641 "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp"))
642 (file-name (git-file-name name version))
643 (patches (search-patches
644 "extempore-unbundle-external-dependencies.patch"))
645 (modules '((guix build utils)))
648 ;; Remove bundled sources.
649 (map delete-file-recursively
653 (build-system cmake-build-system)
655 `(#:configure-flags (list "-DJACK=ON"
657 "-DEXTERNAL_SHLIBS_AUDIO=OFF"
658 "-DEXTERNAL_SHLIBS_GRAPHICS=OFF"
659 "-DCMAKE_BUILD_TYPE=Release"
660 (string-append "-DEXT_SHARE_DIR="
661 (assoc-ref %outputs "out")
663 #:modules ((ice-9 match)
664 (guix build cmake-build-system)
667 (modify-phases %standard-phases
668 (add-after 'build 'build-aot-libs
670 (for-each (lambda (target)
671 (invoke "make" target))
676 (add-after 'unpack 'patch-install-locations
677 (lambda* (#:key outputs #:allow-other-keys)
678 (substitute* "CMakeLists.txt"
679 (("EXT_SHARE_DIR=\"\\.\"\\)")
680 "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")")
681 (("DESTINATION \"\\.\"\\)") "DESTINATION bin)")
682 (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n"))
684 (add-after 'unpack 'patch-directories
685 (lambda* (#:key outputs #:allow-other-keys)
686 (substitute* "extras/extempore.el"
687 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
688 (string-append "(runtime-directory \""
689 (assoc-ref outputs "out")
690 "/share/extempore/runtime"
693 (add-after 'unpack 'link-with-additional-libs
695 ;; The executable must be linked with libffi and zlib.
696 (substitute* "CMakeLists.txt"
697 (("target_link_libraries\\(extempore PRIVATE dl" line)
698 (string-append line " ffi z")))
700 ;; FIXME: All examples that are used as tests segfault for some
702 (add-after 'unpack 'disable-broken-tests
704 (substitute* "CMakeLists.txt"
705 (("extempore_add_example_as_test\\(.*") ""))
707 (add-after 'unpack 'hardcode-external-lib-paths
708 (lambda* (#:key inputs #:allow-other-keys)
709 (use-modules (ice-9 match))
712 ((file-name lib pkg-name)
713 (substitute* (string-append "libs/external/" file-name ".xtm")
714 ((lib) (string-append (assoc-ref inputs pkg-name)
716 '(("assimp" "libassimp.so" "assimp")
717 ("portmidi" "libportmidi.so" "portmidi")
718 ("sndfile" "libsndfile.so" "libsndfile")
719 ("fft" "libkiss_fft.so" "kiss-fft")
720 ("stb_image" "libstb_image.so" "stb-image")
721 ("nanovg" "libnanovg.so" "nanovg")
722 ("glext" "libGL.so" "mesa")
723 ("glfw3" "libglfw.so" "glfw")
724 ("gl/glcore-directbind" "libGL.so" "mesa")
725 ("gl/glcompat-directbind" "libGL.so" "mesa")))
727 (add-after 'unpack 'use-own-llvm
728 (lambda* (#:key inputs #:allow-other-keys)
729 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
730 ;; Our LLVM builds shared libraries, so Extempore should use
732 (substitute* "CMakeLists.txt"
733 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
735 (add-after 'unpack 'fix-aot-compilation
736 (lambda* (#:key outputs #:allow-other-keys)
737 (substitute* "CMakeLists.txt"
738 ;; Extempore needs to be told where the runtime is to be found.
739 ;; While we're at it we disable automatic tuning for a specific
740 ;; CPU to make binary substitution possible.
741 (("COMMAND extempore" prefix)
742 (string-append prefix " --sharedir " (getcwd)
743 " --mcpu=generic --attr=none")))
746 `(("llvm" ,llvm-for-extempore)
749 ("libsndfile" ,libsndfile)
752 ("stb-image" ,stb-image-for-extempore)
753 ("kiss-fft" ,kiss-fft-for-extempore)
754 ("nanovg" ,nanovg-for-extempore)
755 ("portmidi" ,portmidi-for-extempore)
757 ("alsa-lib" ,alsa-lib)
758 ("portaudio" ,portaudio)
764 ("emacs" ,emacs-no-x)))
765 ;; Extempore refuses to build on architectures other than x86_64
766 (supported-systems '("x86_64-linux"))
767 (home-page "https://digego.github.io/extempore/")
768 (synopsis "Programming environment for live coding of multimedia")
770 "Extempore is a programming language and runtime environment designed
771 with live programming in mind. It supports interactive programming in a REPL
772 style, compiling and binding code just-in-time. Although Extempore has its
773 roots in 'live coding' of audiovisual media art, it is suitable for any task
774 domain where dynamic run-time modifiability and good numerical performance are
775 required. Extempore also has strong timing and concurrency semantics, which
776 are helpful when working in problem spaces where timing is important (such as
778 (license license:bsd-2)))
786 (uri (string-append "http://das.nasophon.de/download/klick-"
790 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
791 (build-system scons-build-system)
793 `(#:scons-flags (list (string-append "PREFIX=" %output))
794 #:scons ,scons-python2
795 #:tests? #f ; no "check" target
797 (modify-phases %standard-phases
798 (add-after 'unpack 'be-permissive
800 (substitute* "SConstruct"
801 (("'-Wall'") "'-Wall', '-fpermissive'"))
803 (add-after 'unpack 'replace-removed-scons-syntax
805 (substitute* "SConstruct"
806 (("BoolOption") "BoolVariable")
807 (("PathOption") "PathVariable")
808 (("Options") "Variables"))
813 ("libsndfile" ,libsndfile)
814 ("libsamplerate" ,libsamplerate)
816 ("rubberband" ,rubberband)))
818 `(("pkg-config" ,pkg-config)))
819 (home-page "http://das.nasophon.de/klick/")
820 (synopsis "Metronome for JACK")
822 "klick is an advanced command-line based metronome for JACK. It allows
823 you to define complex tempo maps for entire songs or performances.")
824 (license license:gpl2+)))
826 (define-public gtklick
832 (uri (string-append "http://das.nasophon.de/download/gtklick-"
836 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
837 (build-system python-build-system)
839 `(#:tests? #f ; no tests
842 (modify-phases %standard-phases
843 (add-before 'build 'add-sitedirs
844 ;; .pth files are not automatically interpreted unless the
845 ;; directories containing them are added as "sites". The directories
846 ;; are then added to those in the PYTHONPATH. This is required for
847 ;; the operation of pygtk.
849 (substitute* "gtklick/gtklick.py"
851 "import pygtk, site, sys
852 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
853 (add-after 'unpack 'inject-store-path-to-klick
854 (lambda* (#:key inputs #:allow-other-keys)
855 (substitute* "gtklick/klick_backend.py"
856 (("KLICK_PATH = 'klick'")
857 (string-append "KLICK_PATH = '"
858 (assoc-ref inputs "klick")
863 ("python2-pyliblo" ,python2-pyliblo)
864 ("python2-pygtk" ,python2-pygtk)))
866 `(("gettext" ,gettext-minimal)))
867 (home-page "http://das.nasophon.de/gtklick/")
868 (synopsis "Simple metronome with an easy-to-use graphical interface")
870 "Gtklick is a simple metronome with an easy-to-use graphical user
871 interface. It is implemented as a frontend to @code{klick}.")
872 (license license:gpl2+)))
874 (define-public libgme
880 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
881 "downloads/game-music-emu-" version
885 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
886 (build-system cmake-build-system)
888 '(#:tests? #f)) ; no check target
889 (home-page "https://bitbucket.org/mpyne/game-music-emu")
890 (synopsis "Video game music file playback library")
892 "Game-music-emu is a collection of video game music file emulators that
893 support the following formats and systems:
896 ZX Spectrum/Asmtrad CPC
900 Sega Genesis/Mega Drive
902 NEC TurboGrafx-16/PC Engine
904 MSX Home Computer/other Z80 systems (doesn't support FM sound)
906 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
908 Atari systems using POKEY sound chip
910 Super Nintendo/Super Famicom
912 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
914 (license (list license:lgpl2.1+
915 ;; demo and player directories are under the Expat license
918 (define-public ninjas2
927 (url "https://github.com/clearly-broken-software/ninjas2")
928 (commit (string-append "v" version))
929 ;; Bundles a specific commit of the DISTRHO plugin framework.
931 (file-name (git-file-name name version))
933 (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
934 (build-system gnu-build-system)
936 `(#:tests? #f ;no tests
938 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
939 (string-append "CC=" ,(cc-for-target)))
941 (modify-phases %standard-phases
942 (delete 'configure) ;no configure target
943 (replace 'install ;no install target
944 (lambda* (#:key outputs #:allow-other-keys)
945 (let* ((out (assoc-ref outputs "out"))
946 (bin (string-append out "/bin"))
947 (lv2 (string-append out "/lib/lv2")))
951 (copy-recursively file
952 (string-append lv2 "/" (basename file))))
953 (find-files "bin" "\\.lv2$" #:directories? #t))
954 ;; Install executables.
957 (install-file file bin))
961 (equal? (dirname name) "bin")
962 (not (string-suffix? ".so" name))
963 (not (string-suffix? ".lv2" name))))))
967 ("jack" ,jack-1) ; for the standalone JACK application
968 ("libsamplerate" ,libsamplerate)
970 ("libsndfile" ,libsndfile)))
974 ("pkg-config" ,pkg-config)))
975 (synopsis "Sample slicer audio plugin")
977 "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
978 Its goal is to be an easy to use sample slicer with quick slicing of samples
979 and auto-mapping slices to MIDI note numbers.")
980 (home-page "https://github.com/clearly-broken-software/ninjas2")
981 (license license:gpl3+)))
983 (define-public lilypond
990 (uri (string-append "http://lilypond.org/download/sources/"
991 "v" (version-major+minor version) "/"
992 "lilypond-" version ".tar.gz"))
994 (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar"))))
995 (build-system gnu-build-system)
997 `(#:tests? #f ;out-test/collated-files.html fails
999 #:make-flags '("conf=www") ;to generate images for info manuals
1001 (list "CONFIGURATION=www"
1002 (string-append "--with-texgyre-dir="
1003 (assoc-ref %build-inputs "font-tex-gyre")
1004 "/share/fonts/opentype/"))
1006 (modify-phases %standard-phases
1007 (add-after 'unpack 'use-texlive-union
1009 ;; FIXME: fonts are not found and have to be generated in HOME.
1010 (setenv "HOME" "/tmp")
1011 ;; The test for the "lh" package fails, even though it is among
1013 (substitute* "configure"
1014 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
1016 (add-after 'unpack 'fix-path-references
1018 (substitute* "scm/backend-library.scm"
1019 (("\\(search-executable '\\(\"gs\"\\)\\)")
1020 (string-append "\"" (which "gs") "\""))
1022 (string-append "\"" (which "sh") "\"")))
1024 (add-before 'configure 'prepare-configuration
1026 (substitute* "configure"
1027 (("SHELL=/bin/sh") "SHELL=sh")
1028 ;; When checking the fontforge version do not consider the
1029 ;; version string that's part of the directory.
1030 (("head -n") "tail -n")
1031 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
1032 (("20110222") "19700101"))
1033 (setenv "out" "www")
1034 (setenv "conf" "www")
1036 (add-after 'install 'install-info
1039 "-j" (number->string (parallel-job-count))
1040 "conf=www" "install-info")
1043 `(("guile" ,guile-1.8)
1044 ("font-dejavu" ,font-dejavu)
1045 ("font-tex-gyre" ,font-tex-gyre)
1046 ("fontconfig" ,fontconfig)
1047 ("freetype" ,freetype)
1048 ("ghostscript" ,ghostscript)
1050 ("python" ,python-2)))
1055 ("fontforge" ,fontforge)
1056 ("dblatex" ,dblatex)
1057 ("gettext" ,gettext-minimal)
1058 ("imagemagick" ,imagemagick)
1059 ("netpbm" ,netpbm) ;for pngtopnm
1060 ("texlive" ,(texlive-union (list texlive-metapost
1061 texlive-generic-epsf
1063 texlive-latex-cyrillic)))
1064 ("texinfo" ,texinfo)
1065 ("texi2html" ,texi2html-1.82)
1067 ("pkg-config" ,pkg-config)
1069 (home-page "http://www.lilypond.org/")
1070 (synopsis "Music typesetting")
1072 "GNU LilyPond is a music typesetter, which produces high-quality sheet
1073 music. Music is input in a text file containing control sequences which are
1074 interpreted by LilyPond to produce the final document. It is extendable with
1076 (license license:gpl3+)
1078 ;; On armhf and mips64el, building the documentation sometimes leads to
1079 ;; more than an hour of silence, so double the max silent time.
1080 (properties `((max-silent-time . 7200)))))
1082 (define-public non-sequencer
1083 ;; The latest tagged release is three years old and uses a custom build
1084 ;; system, so we take the last commit.
1085 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1088 (name "non-sequencer")
1089 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
1093 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1097 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
1098 (file-name (string-append name "-" version "-checkout"))))
1099 (build-system waf-build-system)
1101 `(#:tests? #f ;no "check" target
1103 (list "--project=sequencer"
1104 ;; Disable the use of SSE unless on x86_64.
1105 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1106 (%current-system))))
1109 #:python ,python-2))
1112 ("libsigc++" ,libsigc++)
1116 `(("pkg-config" ,pkg-config)))
1117 (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer")
1118 (synopsis "Pattern-based MIDI sequencer")
1120 "The Non Sequencer is a powerful, lightweight, real-time,
1121 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1122 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1123 Sequencer happens on-line, in real-time. Music can be composed live, while the
1124 transport is rolling.")
1125 (license license:gpl2+))))
1127 (define-public non-session-manager
1128 (package (inherit non-sequencer)
1129 (name "non-session-manager")
1131 (substitute-keyword-arguments (package-arguments non-sequencer)
1132 ((#:configure-flags flags)
1133 `(cons "--project=session-manager"
1134 (delete "--project=sequencer" ,flags)))))
1140 `(("pkg-config" ,pkg-config)))
1141 (home-page "https://non.tuxfamily.org/nsm/")
1142 (synopsis "Audio session management")
1144 "The Non Session Manager is an API and an implementation for audio
1145 session management. NSM clients use a well-specified OSC protocol to
1146 communicate with the session management daemon.")
1147 (license license:gpl2+)))
1149 (define-public non-mixer
1150 (package (inherit non-sequencer)
1153 (substitute-keyword-arguments (package-arguments non-sequencer)
1154 ((#:configure-flags flags)
1155 `(cons "--project=mixer"
1156 (delete "--project=sequencer" ,flags)))))
1164 `(("pkg-config" ,pkg-config)))
1165 (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
1166 (synopsis "Modular digital audio mixer")
1168 "The Non Mixer is a powerful, reliable and fast modular digital audio
1169 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1170 toolkit for a fast and lightweight user interface. Non Mixer can be used
1171 alone or in concert with Non Timeline and Non Sequencer to form a complete
1173 (license license:gpl2+)))
1175 (define-public non-timeline
1176 (package (inherit non-sequencer)
1177 (name "non-timeline")
1179 (substitute-keyword-arguments (package-arguments non-sequencer)
1180 ((#:configure-flags flags)
1181 `(cons "--project=timeline"
1182 (delete "--project=sequencer" ,flags)))))
1186 ("libsndfile" ,libsndfile)
1189 `(("pkg-config" ,pkg-config)))
1190 (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
1191 (synopsis "Modular digital audio timeline arranger")
1193 "The Non Timeline is a powerful, reliable and fast modular digital audio
1194 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1195 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1196 be used alone or in concert with Non Mixer and Non Sequencer to form a
1198 (license license:gpl2+)))
1200 (define-public tascam-gtk
1201 ;; This commit represents the latest version at the time of this writing.
1202 (let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
1206 (version (git-version "0.4" revision commit))
1210 (url "https://github.com/onkelDead/tascam-gtk.git")
1212 (file-name (git-file-name name version))
1215 "07k7rccqqg7lnygkh97a200l1i6s1rl92n01v0q6n4257sinir6f"))))
1216 (build-system gnu-build-system)
1220 ("alsa-lib" ,alsa-lib)
1221 ("libxmlplusplus" ,libxmlplusplus-2.6)))
1223 `(("glib:bin" ,glib "bin")
1224 ("pkg-config" ,pkg-config)))
1225 (home-page "https://github.com/onkelDead/tascam-gtk")
1226 (synopsis "GTK+ based application to control Tascam US-16x08 DSP mixer")
1227 (description "This is a mixer application to control the Tascam US-16x08
1228 audio interface. This device contains about 280 control elements and this
1229 mixer application aims to provide comfortable access to the DSP effects the
1231 (license license:expat))))
1233 (define-public bsequencer
1240 (url "https://github.com/sjaehn/BSEQuencer")
1242 (file-name (git-file-name name version))
1245 "0w21kzq695xy4i1r6xvvh7sad5m0rlmdgc7ykmrlzfsm1252dz80"))))
1246 (build-system gnu-build-system)
1249 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1250 #:tests? #f ; there are none
1252 (modify-phases %standard-phases
1253 (delete 'configure))))
1257 ("libx11" ,libx11)))
1259 `(("pkg-config" ,pkg-config)))
1260 (home-page "https://github.com/sjaehn/BSEQuencer")
1261 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1263 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1264 with a selectable pattern matrix size.")
1265 (license license:gpl3+)))
1267 (define-public bchoppr
1269 (inherit bsequencer)
1276 (url "https://github.com/sjaehn/BChoppr")
1278 (file-name (git-file-name name version))
1281 "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"))))
1282 (synopsis "Audio stream-chopping LV2 plugin")
1283 (description "B.Choppr cuts the audio input stream into a repeated
1284 sequence of up to 16 chops. Each chop can be leveled up or down (gating).
1285 B.Choppr is the successor of B.Slizr.")
1286 (home-page "https://github.com/sjaehn/BChoppr")
1287 (license license:gpl3+)))
1289 (define-public bshapr
1291 (inherit bsequencer)
1298 (url "https://github.com/sjaehn/BShapr")
1299 (commit (string-append "v" version))))
1300 (file-name (git-file-name name version))
1302 (base32 "04zd3a178i2nivg5rjailzqvc5mlnilmhj1ziygmbhshbrywplri"))))
1303 (synopsis "Beat/envelope shaper LV2 plugin")
1304 (description "B.Shapr is a beat/envelope shaper LV2 plugin.")
1305 (home-page "https://github.com/sjaehn/BShapr")
1306 (license license:gpl3+)))
1308 (define-public bjumblr
1310 (inherit bsequencer)
1317 (url "https://github.com/sjaehn/BJumblr")
1319 (file-name (git-file-name name version))
1322 "0kl6hrxmqrdf0195bfnzsa2h1073fgiqrfhg2276fm1954sm994v"))))
1325 ("libsndfile", libsndfile)
1327 (synopsis "Pattern-controlled audio stream/sample re-sequencer LV2 plugin")
1328 (description "B.Jumblr is a pattern-controlled audio stream / sample
1329 re-sequencer LV2 plugin.")
1330 (home-page "https://github.com/sjaehn/BJumblr")
1331 (license license:gpl3+)))
1333 (define-public bschaffl
1335 (inherit bsequencer)
1342 (url "https://github.com/sjaehn/BSchaffl")
1344 (file-name (git-file-name name version))
1347 "1c09acqrbd387ba41f8ch1qykdap5h6cg9if5pgd16i4dmjnpghj"))))
1350 ("fontconfig" ,fontconfig)
1351 ("libsndfile", libsndfile)
1354 (home-page "https://github.com/sjaehn/BSchaffl")
1355 (synopsis "Pattern-controlled MIDI amp & time stretch LV2 plugin")
1356 (description "This package provides an LV2 plugin that allows for
1357 pattern-controlled MIDI amp & time stretching to produce shuffle / swing
1360 Key features include:
1363 @item MIDI velocity amplification and timing manipulation plugin
1364 @item Swing and shuffle rhythms
1365 @item Pre-generator dynamics
1367 @item Pattern (sliders) or shape-controlled
1369 @item Smart quantization
1372 (license license:gpl3+)))
1374 (define-public solfege
1381 "mirror://gnu/solfege/solfege-"
1385 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1386 (build-system gnu-build-system)
1388 `(#:tests? #f ; xmllint attempts to download DTD
1389 #:test-target "test"
1391 (modify-phases %standard-phases
1392 (add-after 'unpack 'fix-configuration
1393 (lambda* (#:key inputs #:allow-other-keys)
1394 (substitute* "default.config"
1395 (("/usr/bin/aplay") "aplay")
1396 (("/usr/bin/timidity") "timidity")
1397 (("/usr/bin/mpg123") "mpg123")
1398 (("/usr/bin/ogg123") "ogg123"))
1400 (add-before 'build 'patch-python-shebangs
1402 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1404 (substitute* '("solfege/parsetree.py"
1405 "solfege/presetup.py")
1406 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1408 (add-before 'build 'add-sitedirs
1409 ;; .pth files are not automatically interpreted unless the
1410 ;; directories containing them are added as "sites". The directories
1411 ;; are then added to those in the PYTHONPATH. This is required for
1412 ;; the operation of pygtk and pygobject.
1414 (substitute* "run-solfege.py"
1417 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1419 (add-before 'build 'adjust-config-file-prefix
1420 (lambda* (#:key outputs #:allow-other-keys)
1421 (substitute* "run-solfege.py"
1422 (("prefix = os.path.*$")
1423 (string-append "prefix = " (assoc-ref outputs "out"))))
1425 (add-after 'install 'wrap-program
1426 (lambda* (#:key inputs outputs #:allow-other-keys)
1427 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1428 (let* ((out (assoc-ref outputs "out"))
1429 (path (getenv "PYTHONPATH")))
1430 (wrap-program (string-append out "/bin/solfege")
1431 `("PYTHONPATH" ":" prefix (,path))))
1434 `(("python" ,python-2)
1435 ("pygtk" ,python2-pygtk)
1436 ("gettext" ,gettext-minimal)
1438 ("lilypond" ,lilypond)))
1440 `(("pkg-config" ,pkg-config)
1441 ("txt2man" ,txt2man)
1442 ("libxml2" ,libxml2) ; for tests
1443 ("ghostscript" ,ghostscript)
1444 ("texinfo" ,texinfo)))
1445 (home-page "https://www.gnu.org/software/solfege/")
1446 (synopsis "Ear training")
1448 "GNU Solfege is a program for practicing musical ear-training. With it,
1449 you can practice your recognition of various musical intervals and chords. It
1450 features a statistics overview so you can monitor your progress across several
1451 sessions. Solfege is also designed to be extensible so you can easily write
1453 (license license:gpl3+)))
1455 (define-public powertabeditor
1457 (name "powertabeditor")
1458 (version "2.0.0-alpha13")
1462 (url "https://github.com/powertab/powertabeditor")
1464 (file-name (git-file-name name version))
1467 "12il5xzgg53ick5k4ivvvqdagld5pgigiiz6s829kkdaymqr7vx5"))))
1468 (build-system cmake-build-system)
1471 (modify-phases %standard-phases
1472 (replace 'check (lambda _ (invoke "bin/pte_tests"))))))
1474 `(("alsa-lib" ,alsa-lib)
1476 ("minizip" ,minizip)
1477 ("pugixml" ,pugixml)
1479 ("rapidjson" ,rapidjson)
1481 ("timidity" ,timidity++)
1484 `(("doctest" ,doctest)
1485 ("pkg-config" ,pkg-config)))
1486 (home-page "https://github.com/powertab/powertabedito")
1487 (synopsis "Guitar tablature editor")
1489 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1490 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1491 (license license:gpl3+)))
1493 (define-public jalv-select
1495 (name "jalv-select")
1500 (url "https://github.com/brummer10/jalv_select")
1501 (commit (string-append "v" version))))
1502 (file-name (git-file-name name version))
1505 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
1506 (build-system gnu-build-system)
1509 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1511 (modify-phases %standard-phases
1513 (add-after 'unpack 'ignore-PATH
1514 (lambda* (#:key inputs #:allow-other-keys)
1515 (substitute* "jalv.select.cpp"
1516 (("echo \\$PATH.*tr ':'.*xargs ls")
1517 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1519 (add-before 'reset-gzip-timestamps 'make-manpages-writable
1520 (lambda* (#:key outputs #:allow-other-keys)
1521 (for-each make-file-writable
1522 (find-files (string-append (assoc-ref outputs "out")
1530 ("gtkmm" ,gtkmm-2)))
1532 `(("pkg-config" ,pkg-config)))
1533 (home-page "https://github.com/brummer10/jalv_select")
1534 (synopsis "GUI to select LV2 plugins and run them with jalv")
1536 "The jalv.select package provides a graphical user interface allowing
1537 users to select LV2 plugins and run them with jalv.")
1538 (license license:public-domain)))
1540 (define-public synthv1
1547 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1548 "/synthv1-" version ".tar.gz"))
1551 "0jc2drk5dzsaa6vxmk1hyi0zp02zm3mzar3arssfy5vcyc5ig6sk"))))
1552 (build-system gnu-build-system)
1554 `(#:tests? #f)) ; there are no tests
1558 ("alsa-lib" ,alsa-lib)
1559 ("non-session-manager" ,non-session-manager)
1561 ("qtbase" ,qtbase)))
1563 `(("pkg-config" ,pkg-config)
1564 ("qttools" ,qttools)))
1565 (home-page "https://synthv1.sourceforge.io")
1566 (synopsis "Polyphonic subtractive synthesizer")
1568 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1569 oscillators and stereo effects.")
1570 (license license:gpl2+)))
1572 (define-public drumkv1
1579 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
1580 "/drumkv1-" version ".tar.gz"))
1583 "198fyc5dwjn679si86vy139ngym4n3mdy1z4vfjikn7b6mriq1x2"))))
1584 (build-system gnu-build-system)
1586 `(#:tests? #f)) ; there are no tests
1590 ("libsndfile" ,libsndfile)
1591 ("alsa-lib" ,alsa-lib)
1592 ("non-session-manager" ,non-session-manager)
1594 ("qtbase" ,qtbase)))
1596 `(("pkg-config" ,pkg-config)
1597 ("qttools" ,qttools)))
1598 (home-page "https://drumkv1.sourceforge.io")
1599 (synopsis "Drum-kit sampler synthesizer with stereo effects")
1601 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
1603 (license license:gpl2+)))
1605 (define-public samplv1
1612 (string-append "mirror://sourceforge/samplv1/samplv1/" version
1613 "/samplv1-" version ".tar.gz"))
1616 "1v21r722m027jjy4x6lm5cvzapsnpx36r10ar543ay0hgmygl322"))))
1617 (build-system gnu-build-system)
1619 `(#:tests? #f)) ; there are no tests
1623 ("libsndfile" ,libsndfile)
1624 ("alsa-lib" ,alsa-lib)
1625 ("non-session-manager" ,non-session-manager)
1627 ("qtbase" ,qtbase)))
1629 `(("pkg-config" ,pkg-config)
1630 ("qttools" ,qttools)))
1631 (home-page "https://samplv1.sourceforge.io")
1632 (synopsis "Polyphonic sampler synthesizer with stereo effects")
1634 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
1636 (license license:gpl2+)))
1638 (define-public padthv1
1645 (string-append "mirror://sourceforge/padthv1/padthv1/" version
1646 "/padthv1-" version ".tar.gz"))
1649 "098fk8fwcgssnfr1gilqg8g17zvch62lrn3rqsswpzbr3an5adb3"))))
1650 (build-system gnu-build-system)
1652 `(#:tests? #f)) ; there are no tests
1656 ("alsa-lib" ,alsa-lib)
1657 ("non-session-manager" ,non-session-manager)
1660 ("qtbase" ,qtbase)))
1662 `(("pkg-config" ,pkg-config)
1663 ("qttools" ,qttools)))
1664 (home-page "https://padthv1.sourceforge.io")
1665 (synopsis "Polyphonic additive synthesizer")
1667 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
1668 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
1669 special variant of additive synthesis.")
1670 (license license:gpl2+)))
1672 (define-public amsynth
1679 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
1680 "download/release-" version
1681 "/amsynth-" version ".tar.bz2"))
1684 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
1685 (build-system gnu-build-system)
1687 `(("alsa-lib" ,alsa-lib)
1691 ("libsndfile" ,libsndfile)
1693 ("gtkmm" ,gtkmm-2)))
1695 `(("pkg-config" ,pkg-config)
1696 ("intltool" ,intltool)))
1697 (home-page "https://amsynth.github.io")
1698 (synopsis "Analog modeling synthesizer")
1700 "amsynth is an easy-to-use software synthesizer with a classic
1701 subtractive synthesizer topology. Its features include: dual
1702 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
1703 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
1704 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
1705 which can modulate the oscillators, filter, and amplitude; distortion and
1707 (license license:gpl2+)))
1709 (define-public setbfree
1716 (url "https://github.com/pantherb/setBfree")
1717 (commit (string-append "v" version))))
1718 (file-name (git-file-name name version))
1721 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
1722 (build-system gnu-build-system)
1724 `(#:tests? #f ; no "check" target
1726 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1727 (string-append "FONTFILE="
1728 (assoc-ref %build-inputs "font-bitstream-vera")
1729 "/share/fonts/truetype/VeraBd.ttf")
1730 ;; Disable unsupported optimization flags on non-x86
1731 ,@(let ((system (or (%current-target-system)
1732 (%current-system))))
1733 (if (or (string-prefix? "x86_64" system)
1734 (string-prefix? "i686" system))
1736 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
1738 (modify-phases %standard-phases
1739 (add-before 'build 'set-CC-variable
1740 (lambda _ (setenv "CC" "gcc") #t))
1741 (delete 'configure))))
1745 ("zita-convolver" ,zita-convolver)
1748 ("font-bitstream-vera" ,font-bitstream-vera)))
1750 `(("help2man" ,help2man)
1751 ("pkg-config" ,pkg-config)))
1752 (home-page "http://setbfree.org")
1753 (synopsis "Tonewheel organ")
1755 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
1756 the sound and properties of the electromechanical organs and sound
1757 modification devices that brought world-wide fame to the names and products of
1758 Laurens Hammond and Don Leslie.")
1759 (license license:gpl2+)))
1761 (define-public beast
1767 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
1771 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
1772 (build-system gnu-build-system)
1774 '(#:parallel-build? #f)) ; Race conditions cause build failures
1776 `(("rapicorn" ,rapicorn)
1777 ("guile" ,guile-1.8)
1778 ("python" ,python-2)
1779 ("libgnomecanvas" ,libgnomecanvas)
1783 ("alsa-lib" ,alsa-lib)
1784 ("libvorbis" ,libvorbis)
1785 ("gettext" ,gettext-minimal)))
1787 `(("pkg-config" ,pkg-config)
1788 ("glib:bin" ,glib "bin")
1789 ("cython" ,python2-cython)
1791 ("perl-xml-parser" ,perl-xml-parser)))
1792 (home-page "https://testbit.eu/wiki/Beast_Home")
1793 (synopsis "Music composition and modular synthesis environment")
1795 "Beast is a music composition and modular synthesis application. It
1796 supports a wide range of standards in the field, such as MIDI, various audio
1797 file formats and LADSPA modules. It allows for multitrack editing, real-time
1798 synthesis, 32bit audio rendering, precise timing down to sample granularity,
1799 on-demand and partial loading of wave files, on the fly decoding, stereo
1800 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
1801 (license license:gpl3+)))
1803 (define-public bristol
1809 (uri (string-append "mirror://sourceforge/bristol/bristol/"
1810 (version-major+minor version)
1811 "/bristol-" version ".tar.gz"))
1814 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
1815 (build-system gnu-build-system)
1818 (modify-phases %standard-phases
1819 (add-after 'unpack 'remove-sse-flags
1820 (lambda* (#:key system #:allow-other-keys)
1821 (when (not (or (string-prefix? "x86_64" system)
1822 (string-prefix? "i686" system)))
1823 (substitute* "bristol/Makefile.in"
1824 (("-msse -mfpmath=sse") "")))
1826 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
1827 ;; bristol actually doesn't use it.
1828 (add-after 'unpack 'do-not-use-alsa-iatomic
1830 (substitute* "libbristolaudio/audioEngineJack.c"
1831 (("#include <alsa/iatomic.h>") ""))
1833 ;; We know that Bristol has been linked with JACK and we don't have
1834 ;; ldd, so we can just skip this check.
1835 (add-after 'unpack 'do-not-grep-for-jack
1837 (substitute* "bin/startBristol.in"
1838 (("ldd `which bristol` | grep jack") "echo guix"))
1841 `(("alsa-lib" ,alsa-lib)
1844 ("libx11" ,libx11)))
1846 `(("pkg-config" ,pkg-config)))
1847 (home-page "http://bristol.sourceforge.net/")
1848 (synopsis "Synthesizer emulator")
1850 "Bristol is an emulation package for a number of different @code{classic}
1851 synthesizers including additive and subtractive and a few organs. The
1852 application consists of the engine, which is called bristol, and its own GUI
1853 library called brighton that represents all the emulations. There are
1854 currently more than twenty different emulations; each does sound different
1855 although the author maintains that the quality and accuracy of each emulation
1857 (license license:gpl3+)))
1859 (define-public tuxguitar
1866 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
1867 version "/tuxguitar-" version "-src.tar.gz"))
1870 "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg"))))
1871 (build-system ant-build-system)
1873 `(#:build-target "build"
1875 #:tests? #f ; no tests
1877 (modify-phases %standard-phases
1879 (lambda* (#:key inputs outputs #:allow-other-keys)
1880 (let* ((initial-classpath (getenv "CLASSPATH"))
1881 (build-dir (lambda (dir)
1884 (string-join (cons initial-classpath
1885 (find-files (getcwd) "\\.jar$"))
1887 (with-directory-excursion dir
1888 (if (file-exists? "build.xml")
1889 ((assoc-ref %standard-phases 'build)
1890 #:build-target "build")
1892 ;; Generate default build.xml.
1893 ((@@ (guix build ant-build-system)
1895 (string-append (string-downcase dir) ".jar")
1896 (string-append (assoc-ref outputs "out")
1898 ((assoc-ref %standard-phases 'build))))))))
1899 (map build-dir '("TuxGuitar-lib"
1900 "TuxGuitar-editor-utils"
1901 "TuxGuitar-ui-toolkit"
1902 "TuxGuitar-ui-toolkit-swt"
1905 "TuxGuitar-gm-utils"
1908 "TuxGuitar-midi-ui"))
1910 (add-after 'build 'build-jni
1913 (setenv "CFLAGS" (string-append
1916 "/build-scripts/native-modules/common-include"))
1917 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
1919 (lambda* (#:key inputs outputs #:allow-other-keys)
1920 (let* ((out (assoc-ref outputs "out"))
1921 (bin (string-append out "/bin"))
1922 (share (string-append out "/share"))
1923 (jni-lib (string-append out "/lib"))
1924 (lib (string-append share "/java"))
1925 (swt (assoc-ref inputs "java-swt"))
1926 (mime (string-append share "/mime/packages"))
1927 (app (string-append share "/applications"))
1928 (man (string-append share "/man/man1")))
1931 ;; Install all jars.
1932 (for-each (lambda (file)
1933 (install-file file lib))
1934 (find-files "." "\\.jar$"))
1936 ;; Install jni libraries
1937 (for-each (lambda (file)
1938 (install-file file jni-lib))
1939 (find-files "." "\\-jni.so$"))
1941 ;; Install all resources.
1942 (copy-recursively "./TuxGuitar/share" share)
1944 ;; Install desktop and mime files
1945 (install-file "./misc/tuxguitar.xml" mime)
1946 (install-file "./misc/tuxguitar.desktop" app)
1949 (install-file "./misc/tuxguitar.1" man)
1952 (call-with-output-file (string-append bin "/tuxguitar")
1954 (let ((classpath (string-join (append (find-files lib "\\.jar$")
1955 (find-files swt "\\.jar$"))
1959 (string-append "#!/bin/sh\n"
1962 " -Dtuxguitar.home.path=" out
1963 " -Dtuxguitar.share.path=" out "/share"
1964 " -Dswt.library.path=" swt "/lib"
1965 " -Djava.library.path=" out "/lib"
1966 " org.herac.tuxguitar.app.TGMainSingleton"
1967 " \"$1\" \"$2\"")))))
1968 (chmod (string-append bin "/tuxguitar") #o555)
1971 `(("alsa-lib" ,alsa-lib)
1972 ("java-swt" ,java-swt)))
1973 (home-page "http://tuxguitar.com.ar/")
1974 (synopsis "Multitrack tablature editor and player")
1976 "TuxGuitar is a guitar tablature editor with player support through midi.
1977 It can display scores and multitrack tabs. TuxGuitar provides various
1978 additional features, including autoscrolling while playing, note duration
1979 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
1980 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
1982 (license license:lgpl2.1+)))
1991 (string-append "http://msp.ucsd.edu/Software/pd-"
1992 version ".src.tar.gz"))
1995 "0imbha9h96vqa967cbmdj7kkx7zrs054n5w2bjnifxdzws3qbxf6"))))
1996 (build-system gnu-build-system)
1998 (let ((wish (string-append "wish" (version-major+minor
1999 (package-version tk)))))
2000 `(#:tests? #f ; no "check" target
2004 (string-append "--with-wish=" (string-append
2005 (assoc-ref %build-inputs "tk")
2008 (modify-phases %standard-phases
2009 (add-before 'configure 'fix-with-path
2011 (substitute* "tcl/pd-gui.tcl"
2012 (("exec wish ") (string-append "exec " (which ,wish) " ")))
2015 `(("autoconf" ,autoconf)
2016 ("automake" ,automake)
2017 ("libtool" ,libtool)
2018 ("gettext" ,gettext-minimal)
2019 ("pkg-config" ,pkg-config)))
2022 ("alsa-lib" ,alsa-lib)
2024 (home-page "https://puredata.info")
2025 (synopsis "Visual programming language for artistic performances")
2027 "Pure Data (aka Pd) is a visual programming language. Pd enables
2028 musicians, visual artists, performers, researchers, and developers to create
2029 software graphically, without writing lines of code. Pd is used to process
2030 and generate sound, video, 2D/3D graphics, and interface sensors, input
2031 devices, and MIDI. Pd can easily work over local and remote networks to
2032 integrate wearable technology, motor systems, lighting rigs, and other
2033 equipment. Pd is suitable for learning basic multimedia processing and visual
2034 programming methods as well as for realizing complex systems for large-scale
2036 (license license:bsd-3)))
2038 (define-public libpd
2045 (url "https://github.com/libpd/libpd")
2047 (recursive? #t))) ; for the 'pure-data' submodule
2048 (file-name (string-append name "-" version "-checkout"))
2051 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
2052 (build-system gnu-build-system)
2054 '(#:tests? #f ; no tests
2055 #:make-flags '("CC=gcc")
2057 (modify-phases %standard-phases
2058 (delete 'configure) ; no configure script
2060 (lambda* (#:key outputs #:allow-other-keys)
2061 (let ((out (assoc-ref outputs "out")))
2062 (invoke "make" "install"
2063 (string-append "prefix=" out)
2064 ;; XXX: Fix the last 2 lines of 'install' target.
2066 "LIBPD_DEF=NO")))))))
2067 (home-page "http://libpd.cc/")
2068 (synopsis "Pure Data as an embeddable audio synthesis library")
2070 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
2071 main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
2072 (license license:bsd-3)))
2074 (define-public portmidi
2080 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
2081 version "/portmidi-src-" version ".zip"))
2084 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
2085 (patches (list (search-patch "portmidi-modular-build.patch")))))
2086 (build-system cmake-build-system)
2088 `(#:tests? #f ; tests cannot be linked
2089 #:build-type "Release" ; needed to have PMALSA set
2091 (list "-DPORTMIDI_ENABLE_JAVA=Off"
2092 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
2094 (modify-phases %standard-phases
2095 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
2096 ;; "libportmidi.so". Distributions get away with it by creating an
2097 ;; appropriate symlink.
2098 (add-after 'install 'add-porttime
2099 (lambda* (#:key outputs #:allow-other-keys)
2100 (let* ((out (assoc-ref outputs "out"))
2101 (lib (string-append out "/lib")))
2102 (with-directory-excursion lib
2103 (symlink "libportmidi.so" "libporttime.so")))
2106 `(("alsa-lib" ,alsa-lib)))
2108 `(("unzip" ,unzip)))
2109 (home-page "http://portmedia.sourceforge.net/portmidi/")
2110 (synopsis "Library for MIDI I/O")
2112 "PortMidi is a library supporting real-time input and output of MIDI data
2113 using a system-independent interface.")
2114 (license license:expat)))
2116 (define-public portmidi-for-extempore
2117 (let ((version "217")
2119 (commit "8602f548f71daf5ef638b2f7d224753400cb2158"))
2120 (package (inherit portmidi)
2121 (name "portmidi-for-extempore")
2122 (version (git-version version revision commit))
2126 (url "https://github.com/extemporelang/portmidi")
2128 (file-name (git-file-name name version))
2131 "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w"))))
2132 (build-system cmake-build-system)
2133 (arguments `(#:tests? #f)) ; no tests
2135 ;; Extempore refuses to build on architectures other than x86_64
2136 (supported-systems '("x86_64-linux"))
2137 (home-page "https://github.com/extemporelang/portmidi/"))))
2139 (define-public python-pyportmidi
2141 (name "python-pyportmidi")
2142 (version (package-version portmidi))
2143 (source (package-source portmidi))
2144 (build-system python-build-system)
2146 `(#:tests? #f ; no tests included
2148 (modify-phases %standard-phases
2149 (add-after 'unpack 'enter-dir
2150 (lambda _ (chdir "pm_python") #t))
2151 (add-after 'enter-dir 'fix-setup.py
2153 (substitute* "setup.py"
2154 ;; Use Python 3 syntax
2155 (("print (\".*\")" _ text)
2156 (string-append "print(" text ")\n"))
2157 ;; TODO.txt and CHANGES.txt don't exist
2158 (("CHANGES =.*") "CHANGES = \"\"\n")
2159 (("TODO =.*") "TODO = \"\"\n"))
2162 `(("portmidi" ,portmidi)
2163 ("alsa-lib" ,alsa-lib)))
2165 `(("python-cython" ,python-cython)
2167 (home-page "http://portmedia.sourceforge.net/portmidi/")
2168 (synopsis "Python bindings to PortMidi")
2170 "This package provides Python bindings to the PortMidi library.")
2171 (license license:expat)))
2173 (define-public frescobaldi
2175 (name "frescobaldi")
2181 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2182 version "/frescobaldi-" version ".tar.gz"))
2184 (base32 "084vxzvxnxl5rrhllincnh6krsyi03c8p0452ppzmn9c52wgyb2w"))))
2185 (build-system python-build-system)
2187 `(#:tests? #f)) ;no tests included
2189 `(("lilypond" ,lilypond)
2190 ("poppler" ,poppler)
2191 ("portmidi" ,portmidi)
2192 ("python-ly" ,python-ly)
2193 ("python-poppler-qt5" ,python-poppler-qt5)
2194 ("python-pyportmidi" ,python-pyportmidi)
2195 ("python-pyqt" ,python-pyqt)
2196 ("python-sip" ,python-sip)))
2197 (home-page "https://www.frescobaldi.org/")
2198 (synopsis "LilyPond sheet music text editor")
2200 "Frescobaldi is a LilyPond sheet music text editor with syntax
2201 highlighting and automatic completion. Among other things, it can render
2202 scores next to the source, can capture input from MIDI or read MusicXML and
2203 ABC files, has a MIDI player for proof-listening, and includes a documentation
2205 (license license:gpl2+)))
2207 (define-public drumstick
2213 (uri (string-append "mirror://sourceforge/drumstick/"
2214 version "/drumstick-" version ".tar.bz2"))
2217 "1n9wvg79yvkygrkc8xd8pgrd3d7hqmr7gh24dccf0px23lla9b3m"))))
2218 (build-system cmake-build-system)
2220 `(#:tests? #f ; no test target
2221 #:configure-flags '("-DLIB_SUFFIX=")
2223 (modify-phases %standard-phases
2224 (add-before 'configure 'fix-docbook
2225 (lambda* (#:key inputs #:allow-other-keys)
2226 (substitute* "cmake_admin/CreateManpages.cmake"
2227 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2228 (string-append (assoc-ref inputs "docbook-xsl")
2229 "/xml/xsl/docbook-xsl-"
2230 ,(package-version docbook-xsl)
2231 "/manpages/docbook.xsl")))
2234 `(("qtbase" ,qtbase)
2236 ("alsa-lib" ,alsa-lib)))
2238 `(("pkg-config" ,pkg-config)
2239 ("libxslt" ,libxslt) ; for xsltproc
2240 ("docbook-xsl" ,docbook-xsl)
2241 ("doxygen" ,doxygen)))
2242 (home-page "http://drumstick.sourceforge.net/")
2243 (synopsis "C++ MIDI library")
2245 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2246 includes a C++ wrapper around the ALSA library sequencer interface. A
2247 complementary library provides classes for processing SMF (Standard MIDI
2248 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2249 multiplatform realtime MIDI I/O library is also provided with various output
2250 backends, including ALSA, OSS, Network and FluidSynth.")
2251 (license license:gpl2+)))
2259 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2260 version "/vmpk-" version ".tar.bz2"))
2263 "1i3hnvdgz46n4k5v0q4jhgh7nkh0s390ix4nqr69z0q3026yp0p6"))))
2264 (build-system cmake-build-system)
2266 `(#:tests? #f ; no test target
2268 (modify-phases %standard-phases
2269 (add-before 'configure 'fix-docbook
2270 (lambda* (#:key inputs #:allow-other-keys)
2271 (substitute* "cmake_admin/CreateManpages.cmake"
2272 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2273 (string-append (assoc-ref inputs "docbook-xsl")
2274 "/xml/xsl/docbook-xsl-"
2275 ,(package-version docbook-xsl)
2276 "/manpages/docbook.xsl")))
2279 `(("drumstick" ,drumstick)
2282 ("qtx11extras" ,qtx11extras)))
2284 `(("libxslt" ,libxslt) ;for xsltproc
2285 ("docbook-xsl" ,docbook-xsl)
2286 ("qttools" ,qttools)
2287 ("pkg-config" ,pkg-config)))
2288 (home-page "https://vmpk.sourceforge.io/")
2289 (synopsis "Virtual MIDI piano keyboard")
2291 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2292 doesn't produce any sound by itself, but can be used to drive a MIDI
2293 synthesizer (either hardware or software, internal or external). You can use
2294 the computer's keyboard to play MIDI notes, and also the mouse. You can use
2295 the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2296 instrument or MIDI file player.")
2297 (license license:gpl3+)))
2299 (define-public zynaddsubfx
2301 (name "zynaddsubfx")
2306 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
2307 version "/zynaddsubfx-" version ".tar.bz2"))
2310 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
2311 (build-system cmake-build-system)
2314 (modify-phases %standard-phases
2315 ;; Move SSE compiler optimization flags from generic target to
2316 ;; athlon64 and core2 targets, because otherwise the build would fail
2317 ;; on non-Intel machines.
2318 (add-after 'unpack 'remove-sse-flags-from-generic-target
2320 (substitute* "src/CMakeLists.txt"
2321 (("-msse -msse2 -mfpmath=sse") "")
2322 (("-march=(athlon64|core2)" flag)
2323 (string-append flag " -msse -msse2 -mfpmath=sse")))
2329 ("alsa-lib" ,alsa-lib)
2332 ("minixml" ,minixml)
2336 `(("pkg-config" ,pkg-config)))
2337 (home-page "http://zynaddsubfx.sf.net/")
2338 (synopsis "Software synthesizer")
2340 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2341 three synthesizer engines, multitimbral and polyphonic synths, microtonal
2342 capabilities, custom envelopes, effects, etc.")
2343 (license license:gpl2)))
2345 (define-public yoshimi
2352 (uri (string-append "mirror://sourceforge/yoshimi/"
2353 (version-major+minor version)
2354 "/yoshimi-" version ".tar.bz2"))
2356 (base32 "1vxrksg199pcgiykq0nsf67ihfk2ny2jmpf6gzdb3nk9iphm7di3"))))
2357 (build-system cmake-build-system)
2359 `(#:tests? #f ; there are no tests
2361 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2362 (assoc-ref %outputs "out") "/share"))
2364 (modify-phases %standard-phases
2365 (add-before 'configure 'enter-dir
2366 (lambda _ (chdir "src") #t))
2367 ;; Move SSE compiler optimization flags from generic target to
2368 ;; athlon64 and core2 targets, because otherwise the build would fail
2369 ;; on non-Intel machines.
2370 (add-after 'unpack 'remove-sse-flags-from-generic-target
2372 (substitute* "src/CMakeLists.txt"
2373 (("-msse -msse2 -mfpmath=sse") "")
2374 (("-march=(athlon64|core2)" flag)
2375 (string-append flag " -msse -msse2 -mfpmath=sse")))
2380 ("alsa-lib" ,alsa-lib)
2382 ("fontconfig" ,fontconfig)
2383 ("minixml" ,minixml)
2387 ("readline" ,readline)
2388 ("ncurses" ,ncurses)
2392 `(("pkg-config" ,pkg-config)))
2393 (home-page "http://yoshimi.sourceforge.net/")
2394 (synopsis "Multi-paradigm software synthesizer")
2396 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2397 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2398 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2399 improves on support for JACK features, such as JACK MIDI.")
2400 (license license:gpl2)))
2402 (define-public libgig
2408 (uri (string-append "http://download.linuxsampler.org/packages/"
2409 "libgig-" version ".tar.bz2"))
2412 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
2413 (build-system gnu-build-system)
2415 `(("libuuid" ,util-linux "lib")
2416 ("libsndfile" ,libsndfile)))
2418 `(("pkg-config" ,pkg-config)))
2419 (home-page "https://linuxsampler.org/libgig/")
2420 (synopsis "C++ library for working with Gigasampler (.gig) files")
2422 "Libgig is a C++ library for loading, modifying existing and creating new
2423 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2424 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2425 AKAI sampler data. The package includes a couple of command line tools based
2427 ;; The library and tools are released under the GPL, except the AKAI
2428 ;; classes which are released under the LGPL.
2429 (license (list license:gpl2+ license:lgpl2.1+))))
2431 (define-public jack-keyboard
2433 (name "jack-keyboard")
2438 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2439 version "/jack-keyboard-" version ".tar.gz"))
2442 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2443 (build-system gnu-build-system)
2449 `(("pkg-config" ,pkg-config)))
2450 (home-page "http://jack-keyboard.sourceforge.net/")
2451 (synopsis "Virtual MIDI keyboard")
2452 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2453 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2454 (license license:bsd-2)))
2456 (define-public jack-capture
2458 (name "jack-capture")
2463 (url "https://github.com/kmatheussen/jack_capture")
2465 (file-name (string-append name "-" version "-checkout"))
2468 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2469 (build-system gnu-build-system)
2472 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2473 #:tests? #f ; there are none
2475 (modify-phases %standard-phases
2476 (delete 'configure))))
2478 `(("pkg-config" ,pkg-config)
2486 ("libsndfile" ,libsndfile)))
2487 (home-page "https://github.com/kmatheussen/jack_capture")
2488 (synopsis "Program for recording sound files with JACK")
2489 (description "This is a program for recording sound files with JACK. It
2490 can connect to any JACK port and record the output into a stereo WAV file.")
2491 (license license:gpl2+)))
2493 (define-public jack-select
2495 (name "jack-select")
2499 (uri (pypi-uri "jack-select" version))
2502 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
2503 (build-system gnu-build-system)
2505 `(#:modules ((guix build gnu-build-system)
2506 ((guix build python-build-system) #:prefix python:)
2508 #:imported-modules (,@%gnu-build-system-modules
2509 (guix build python-build-system))
2511 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2512 #:tests? #f ; there are none
2514 (modify-phases %standard-phases
2516 (lambda* (#:key inputs #:allow-other-keys)
2517 ;; python-dbus cannot be found but it's really there. See
2518 ;; https://github.com/SpotlightKid/jack-select/issues/2
2519 (substitute* "setup.py"
2520 (("'dbus-python',") ""))
2521 ;; Fix reference to dlopened libraries.
2522 (substitute* "jackselect/alsainfo.py"
2524 (string-append (assoc-ref inputs "alsa-lib")
2525 "/lib/libasound.so.2")))
2528 (assoc-ref python:%standard-phases 'build))
2529 (add-after 'install 'wrap
2530 (assoc-ref python:%standard-phases 'wrap)))))
2532 `(("pkg-config" ,pkg-config)))
2534 `(("alsa-lib" ,alsa-lib)
2535 ("python" ,python-wrapper)
2536 ("python-pyudev" ,python-pyudev)
2537 ("python-pyxdg" ,python-pyxdg)
2538 ("python-dbus" ,python-dbus)
2539 ("python-pygobject" ,python-pygobject)))
2540 (home-page "https://github.com/SpotlightKid/jack-select")
2541 (synopsis "Systray application to quickly change the JACK-DBus configuration")
2542 (description "This application displays an icon in the system tray (also
2543 known as notification area) of your desktop, which shows the status of the
2544 JACK audio server and when you click on it, a menu pops up, which lets you
2545 quickly select from the JACK configuration presets you created with QjackCtl.
2546 When you select a preset, its JACK engine and driver configuration settings
2547 are loaded via DBus into JACK and then the server is restarted. This allows
2548 you to switch between different audio setups with just two mouse clicks.")
2549 (license license:expat)))
2551 (define-public cursynth
2558 (uri (string-append "mirror://gnu/cursynth/cursynth-"
2561 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
2562 (patches (search-patches "cursynth-wave-rand.patch"))))
2563 (build-system gnu-build-system)
2564 (native-inputs `(("pkg-config" ,pkg-config)))
2565 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
2566 ;; prevents us from using pulseaudio
2567 (inputs `(("ncurses" ,ncurses)
2568 ("alsa" ,alsa-lib)))
2569 (home-page "https://www.gnu.org/software/cursynth/")
2570 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
2571 (description "GNU cursynth is a polyphonic synthesizer that runs
2572 graphically in the terminal. It is built on a full-featured subtractive
2573 synthesis engine. Notes and parameter changes may be entered via MIDI or the
2574 computer's keyboard.")
2575 (license license:gpl3+)))
2577 (define-public aj-snapshot
2579 (name "aj-snapshot")
2583 (uri (string-append "mirror://sourceforge/aj-snapshot/"
2584 "aj-snapshot-" version ".tar.bz2"))
2587 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
2588 (build-system gnu-build-system)
2590 `(("minixml" ,minixml)
2592 ("alsa-lib" ,alsa-lib)))
2594 `(("pkg-config" ,pkg-config)))
2595 (home-page "http://aj-snapshot.sourceforge.net/")
2596 (synopsis "Snapshot connections between ALSA and JACK clients")
2597 (description "Aj-snapshot is a small program that can be used to make
2598 snapshots of the connections made between JACK and/or ALSA clients. Because
2599 JACK can provide both audio and MIDI support to programs, aj-snapshot can
2600 store both types of connections for JACK. ALSA, on the other hand, only
2601 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
2602 from the command line.")
2603 (license license:gpl3+)))
2605 (define-public qtractor
2611 (uri (string-append "https://downloads.sourceforge.net/qtractor/"
2612 "qtractor-" version ".tar.gz"))
2615 "1l19g7cvgb7gfjmaihnd899k5hhxyf4sz22380y830xjfs2fvqxc"))))
2616 (build-system gnu-build-system)
2618 `(#:tests? #f)) ; no "check" target
2621 ("qtx11extras" ,qtx11extras)
2622 ("alsa-lib" ,alsa-lib)
2624 ("libsndfile" ,libsndfile)
2629 ("libsamplerate" ,libsamplerate)
2630 ("libvorbis" ,libvorbis)
2632 ("rubberband" ,rubberband)
2636 `(("pkg-config" ,pkg-config)
2637 ("qttools" ,qttools)))
2638 (home-page "http://qtractor.org/")
2639 (synopsis "Audio/MIDI multi-track sequencer")
2641 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
2642 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
2643 follows a traditional multi-track tape recorder control paradigm.")
2644 (license license:gpl2+)))
2646 (define-public ams-lv2
2654 (url "https://github.com/blablack/ams-lv2")
2655 (commit (string-append "v" version))))
2656 (file-name (git-file-name name version))
2658 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
2659 (build-system waf-build-system)
2662 (modify-phases %standard-phases
2663 (add-after 'unpack 'remove-sse-flags
2664 (lambda* (#:key system #:allow-other-keys)
2665 (unless (or (string-prefix? "x86_64" system)
2666 (string-prefix? "i686" system))
2667 (substitute* "wscript"
2668 (("'-msse', '-mfpmath=sse', ") "")))
2670 #:tests? #f)) ; no tests
2679 `(("pkg-config" ,pkg-config)))
2680 (home-page "https://github.com/blablack/ams-lv2")
2681 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
2682 (description "This set of LV2 plugins is a port of the internal modules
2683 found in Alsa Modular Synth. These plugins are used to create modular
2684 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
2686 (license license:gpl2)))
2688 (define-public gxtuner
2695 (url "https://github.com/brummer10/gxtuner")
2696 (commit (string-append "v" version))))
2697 (file-name (git-file-name name version))
2700 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
2701 (build-system gnu-build-system)
2704 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2705 (string-append "INCLUDE_L_DIR="
2706 (assoc-ref %build-inputs "zita-resampler")
2709 (modify-phases %standard-phases
2710 (delete 'configure))))
2716 ("zita-resampler" ,zita-resampler)))
2718 `(("pkg-config" ,pkg-config)))
2719 (home-page "https://github.com/brummer10/gxtuner")
2720 (synopsis "Guitar tuner")
2721 (description "GXtuner is a simple guitar tuner for JACK with an
2722 analogue-like user interface.")
2723 (license license:gpl2+)))
2725 (define-public mod-host
2726 ;; The last release was in 2014 but since then hundreds of commits have
2728 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
2732 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
2736 (url "https://github.com/moddevices/mod-host")
2740 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
2741 (file-name (string-append name "-" version "-checkout"))))
2742 (build-system gnu-build-system)
2744 `(#:tests? #f ; no tests included
2746 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2749 (modify-phases %standard-phases
2751 (add-after 'unpack 'fix-jack-installation-directory
2753 ;; Do not attempt to install files to output of "jack" package.
2754 (substitute* "Makefile"
2755 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
2764 ("readline" ,readline)))
2766 `(("pkg-config" ,pkg-config)
2767 ("python" ,python-2)))
2768 (home-page "https://github.com/moddevices/mod-host")
2769 (synopsis "LV2 host for Jack controllable via socket or command line")
2770 (description "mod-host is an LV2 plugin host for JACK, controllable via
2771 socket or command line.")
2772 (license license:gpl3+))))
2774 (define-public curseradio
2775 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
2779 (version (git-version "0" revision commit))
2783 (url "https://github.com/chronitis/curseradio")
2785 (file-name (git-file-name name version))
2788 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
2789 (build-system python-build-system)
2792 (modify-phases %standard-phases
2793 (add-after 'unpack 'link-to-mpv
2794 (lambda* (#:key inputs #:allow-other-keys)
2795 (substitute* "curseradio/curseradio.py"
2797 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
2800 `(("python-lxml" ,python-lxml)
2801 ("python-requests" ,python-requests)
2802 ("python-pyxdg" ,python-pyxdg)))
2805 (home-page "https://github.com/chronitis/curseradio")
2806 (synopsis "Command-line Internet radio player")
2807 (description "Curseradio is a Curses-based radio player that uses a
2808 tune-in sender list from @url{http://opml.radiotime.com}.")
2809 (license license:expat))))
2811 (define-public pianobar
2814 (version "2020.04.05")
2818 (url "https://github.com/PromyLOPh/pianobar")
2820 (file-name (git-file-name name version))
2823 "1gq8kpks6nychqz4gf0rpy7mrhz5vjw48a60x56j6y9flmazmypw"))))
2824 (build-system gnu-build-system)
2826 `(#:tests? #f ; no tests
2827 #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
2828 #:phases (modify-phases %standard-phases
2829 (delete 'configure))))
2833 ("libgcrypt" ,libgcrypt)
2835 ("ffmpeg" ,ffmpeg)))
2837 `(("pkg-config" ,pkg-config)))
2838 (home-page "https://6xq.net/pianobar/")
2839 (synopsis "Console-based pandora.com player")
2840 (description "pianobar is a console-based music player for the
2841 personalized online radio pandora.com. It has configurable keys for playing
2842 and managing stations, can be controlled remotely via fifo, and can run
2843 event-based scripts for scrobbling, notifications, etc.")
2844 (license license:expat)))
2846 (define-public picard
2853 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
2854 "picard/picard-" version ".tar.gz"))
2857 "19w5k3bf4886gdycxjds9nkjvir0gwy2r5cqkz0lbls4ikk4y14f"))))
2858 (build-system python-build-system)
2860 '(#:use-setuptools? #f
2863 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
2864 "--disable-autoupdate")
2866 (modify-phases %standard-phases
2867 (add-after 'unpack 'patch-source
2868 (lambda* (#:key inputs #:allow-other-keys)
2869 (substitute* "picard/const/__init__.py"
2873 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
2876 `(("gettext" ,gettext-minimal)))
2878 `(("chromaprint" ,chromaprint)
2879 ("python-discid" ,python-discid)
2880 ("python-pyqt" ,python-pyqt)
2881 ("python-mutagen" ,python-mutagen)))
2882 (home-page "https://picard.musicbrainz.org/")
2883 (synopsis "Graphical music tagging application")
2885 "MusicBrainz Picard is a music tagging application, supporting multiple
2886 formats, looking up tracks through metadata and audio fingerprints.")
2887 (license license:gpl2+)))
2889 (define-public python-mutagen
2891 (name "python-mutagen")
2895 (uri (pypi-uri "mutagen" version))
2898 "0rl7sxn1rcjl48fwga3dqf9f6pzspsny4ngxyf6pp337mrq0z693"))))
2899 (build-system python-build-system)
2901 `(("python-pytest" ,python-pytest)))
2902 (home-page "https://bitbucket.org/lazka/mutagen")
2903 (synopsis "Read and write audio tags")
2904 (description "Mutagen is a Python module to handle audio metadata. It
2905 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
2906 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
2907 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
2908 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
2909 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
2910 streams on an individual packet/page level.")
2911 (license license:gpl2))) ; "later version" never mentioned
2913 (define-public python2-mutagen
2914 (package-with-python2 python-mutagen))
2916 (define-public python-musicbrainzngs
2918 (name "python-musicbrainzngs")
2922 (uri (pypi-uri "musicbrainzngs" version))
2925 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
2926 (build-system python-build-system)
2928 '(;; The tests fail suffer from race conditions:
2929 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
2931 (home-page "https://python-musicbrainzngs.readthedocs.org/")
2932 (synopsis "Python bindings for MusicBrainz NGS webservice")
2933 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
2934 web service. This library can be used to retrieve music metadata from the
2935 MusicBrainz database.")
2936 ;; 'musicbrainzngs/compat.py' is ISC licensed.
2937 (license (list license:bsd-2 license:isc))))
2939 (define-public python2-musicbrainzngs
2940 (package-with-python2 python-musicbrainzngs))
2942 (define-public python-isrcsubmit
2944 (name "python-isrcsubmit")
2949 (uri (pypi-uri "isrcsubmit" version))
2952 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
2953 (build-system python-build-system)
2955 `(("python-discid" ,python-discid)
2956 ("python-musicbrainzngs" ,python-musicbrainzngs)))
2957 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
2958 (synopsis "Submit ISRCs from CDs to MusicBrainz")
2959 (description "@code{isrcsubmit} is a tool to extract @dfn{International
2960 Standard Recording Code} (ISRCs) from audio CDs and submit them to
2961 @url{https://musicbrainz.org/, MusicBrainz}.")
2962 (license license:gpl3+)))
2964 (define-public python2-pyechonest
2966 (name "python2-pyechonest")
2970 (uri (pypi-uri "pyechonest" version))
2973 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
2974 (build-system python-build-system)
2976 `(;; Python 3 is not supported:
2977 ;; https://github.com/echonest/pyechonest/issues/42
2978 #:python ,python-2))
2979 (home-page "https://github.com/echonest/pyechonest")
2980 (synopsis "Python interface to The Echo Nest APIs")
2981 (description "Pyechonest is a Python library for the Echo Nest API. With
2982 Pyechonest you have Python access to the entire set of API methods including:
2985 @item artist - search for artists by name, description, or attribute, and get
2986 back detailed information about any artist including audio, similar artists,
2987 blogs, familiarity, hotttnesss, news, reviews, urls and video.
2988 @item song - search songs by artist, title, description, or attribute (tempo,
2989 duration, etc) and get detailed information back about each song, such as
2990 hotttnesss, audio_summary, or tracks.
2991 @item track - upload a track to the Echo Nest and receive summary information
2992 about the track including key, duration, mode, tempo, time signature along with
2993 detailed track info including timbre, pitch, rhythm and loudness information.
2995 (license license:bsd-3)))
2997 (define-public python-pylast
2999 (name "python-pylast")
3003 (uri (pypi-uri "pylast" version))
3006 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
3007 (build-system python-build-system)
3008 ;; Tests require network access. See
3009 ;; https://github.com/pylast/pylast/issues/105
3010 (arguments '(#:tests? #f))
3012 `(("python-coverage" ,python-coverage)
3013 ("python-pycodestyle" ,python-pycodestyle)
3014 ("python-mock" ,python-mock)
3015 ("python-pep8" ,python-pep8)
3016 ("python-pytest" ,python-pytest)
3017 ("python-flaky" ,python-flaky)
3018 ("python-pyflakes" ,python-pyflakes)
3019 ("python-pyyaml" ,python-pyyaml)))
3021 `(("python-six" ,python-six)))
3022 (home-page "https://github.com/pylast/pylast")
3023 (synopsis "Python interface to Last.fm and Libre.fm")
3024 (description "A Python interface to Last.fm and other API-compatible
3025 websites such as Libre.fm.")
3026 (license license:asl2.0)))
3028 (define-public python2-pylast
3029 (package-with-python2 python-pylast))
3031 (define-public instantmusic
3032 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
3035 (name "instantmusic")
3036 (version (git-version "1.0" revision commit))
3040 (url "https://github.com/yask123/Instant-Music-Downloader")
3042 (file-name (git-file-name name version))
3045 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
3046 (build-system python-build-system)
3048 `(("python-requests" ,python-requests)
3050 ("python-beautifulsoup4" ,python-beautifulsoup4)
3051 ("youtube-dl" ,youtube-dl)))
3053 '(#:modules ((guix build python-build-system)
3056 #:phases (modify-phases %standard-phases
3057 (add-before 'build 'change-directory
3059 (chdir "instantmusic-0.1") #t))
3060 (add-before 'install 'fix-file-permissions
3062 ;; Fix some read-only files that would cause a build failure
3063 (for-each (cut chmod <> #o644)
3064 (find-files "instantmusic.egg-info"
3065 "PKG-INFO|.*\\.txt"))
3067 (home-page "https://github.com/yask123/Instant-Music-Downloader")
3068 (synopsis "Command-line program to download a song from YouTube")
3069 (description "InstantMusic downloads a song from YouTube in MP3 format.
3070 Songs can be searched by artist, name or even by a part of the song text.")
3071 (license license:expat))))
3073 (define-public beets
3079 (uri (pypi-uri "beets" version))
3080 (patches (search-patches "beets-werkzeug-compat.patch"))
3083 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3084 (build-system python-build-system)
3087 (modify-phases %standard-phases
3088 (add-after 'unpack 'set-HOME
3090 (setenv "HOME" (string-append (getcwd) "/tmp"))
3094 (invoke "nosetests" "-v")))
3095 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3096 ;; gstreamer plugins.
3097 (add-after 'wrap 'wrap-typelib
3098 (lambda* (#:key outputs #:allow-other-keys)
3099 (let ((prog (string-append (assoc-ref outputs "out")
3101 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3102 (types (getenv "GI_TYPELIB_PATH")))
3104 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3105 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3108 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3109 ("python-flask" ,python-flask)
3110 ("python-mock" ,python-mock)
3111 ("python-mpd2" ,python-mpd2)
3112 ("python-nose" ,python-nose)
3113 ("python-pathlib" ,python-pathlib)
3114 ("python-pyxdg" ,python-pyxdg)
3115 ("python-pylast" ,python-pylast)
3116 ("python-rarfile" ,python-rarfile)
3117 ("python-responses" ,python-responses)))
3118 ;; TODO: Install optional plugins and dependencies.
3120 `(("python-discogs-client" ,python-discogs-client)
3121 ("python-jellyfish" ,python-jellyfish)
3122 ("python-munkres" ,python-munkres)
3123 ("python-musicbrainzngs" ,python-musicbrainzngs)
3124 ("python-mutagen" ,python-mutagen)
3125 ("python-pyacoustid" ,python-pyacoustid)
3126 ("python-pyyaml" ,python-pyyaml)
3127 ("python-unidecode" ,python-unidecode)
3128 ;; For plugin replaygain.
3129 ("python-pygobject" ,python-pygobject)
3130 ("gobject-introspection" ,gobject-introspection)
3131 ("gst-plugins-base" ,gst-plugins-base)
3132 ("gst-plugins-good" ,gst-plugins-good)
3133 ("gstreamer" ,gstreamer)))
3134 (home-page "https://beets.io")
3135 (synopsis "Music organizer")
3136 (description "The purpose of beets is to get your music collection right
3137 once and for all. It catalogs your collection, automatically improving its
3138 metadata as it goes using the MusicBrainz database. Then it provides a variety
3139 of tools for manipulating and accessing your music.")
3140 (license license:expat)))
3142 (define-public beets-bandcamp
3144 (name "beets-bandcamp")
3148 (uri (pypi-uri "beets-bandcamp" version))
3151 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
3152 (build-system python-build-system)
3153 (arguments '(#:tests? #f)) ; there are no tests
3156 ("python-isodate" ,python-isodate)))
3158 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3159 ("python-requests" ,python-requests)
3160 ("python-six" ,python-six)))
3161 (home-page "https://github.com/unrblt/beets-bandcamp")
3162 (synopsis "Bandcamp plugin for beets")
3164 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3165 https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3166 using the beets FetchArt plugin.")
3167 (license license:gpl2)))
3169 (define-public milkytracker
3171 (name "milkytracker")
3176 (url "https://github.com/milkytracker/MilkyTracker")
3177 (commit (string-append "v" version))))
3178 (file-name (git-file-name name version))
3181 "05a6d7l98k9i82dwrgi855dnccm3f2lkb144gi244vhk1156n0ca"))
3182 (modules '((guix build utils)))
3183 ;; Remove non-FSDG compliant sample songs.
3186 (delete-file-recursively "resources/music")
3187 (substitute* "CMakeLists.txt"
3188 (("add_subdirectory\\(resources/music\\)") ""))
3190 (build-system cmake-build-system)
3192 '(#:tests? #f ; no check target
3193 ;; This flag ensures that MilkyTracker links with the JACK library.
3194 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
3196 `(("alsa-lib" ,alsa-lib)
3202 ("zziplib" ,zziplib)))
3204 `(("pkg-config" ,pkg-config)))
3205 (synopsis "Music tracker for working with .MOD/.XM module files")
3206 (description "MilkyTracker is a music application for creating .MOD and .XM
3207 module files. It attempts to recreate the module replay and user experience of
3208 the popular DOS program Fasttracker II, with special playback modes available
3209 for improved Amiga ProTracker 2/3 compatibility.")
3210 (home-page "https://milkytracker.titandemo.org/")
3211 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3212 (license (list license:bsd-3 license:gpl3+))))
3214 (define-public schismtracker
3216 (name "schismtracker")
3217 (version "20190805")
3221 (url "https://github.com/schismtracker/schismtracker")
3223 (file-name (git-file-name name version))
3226 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
3227 (modules '((guix build utils)))
3229 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
3231 (substitute* "schism/version.c"
3232 (("Schism Tracker built %s %s.*$")
3233 (string-append "Schism Tracker version " ,version "\") ;")))
3235 (build-system gnu-build-system)
3238 (modify-phases %standard-phases
3239 (add-before 'configure 'link-libm
3240 (lambda _ (setenv "LIBS" "-lm") #t)))))
3242 `(("autoconf" ,autoconf)
3243 ("automake" ,automake)
3244 ("python" ,python)))
3246 `(("alsa-lib" ,alsa-lib) ; for asound dependency
3248 ("libxext" ,libxext)
3250 (home-page "http://schismtracker.org")
3251 (synopsis "Oldschool sample-based music composition tool")
3253 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3254 create high quality music without the requirements of specialized, expensive
3255 equipment, and with a unique \"finger feel\" that is difficult to replicate in
3256 part. The player is based on a highly modified version of the ModPlug engine,
3257 with a number of bugfixes and changes to improve IT playback.")
3258 (license license:gpl2+)))
3260 (define-public sooperlooper
3262 (name "sooperlooper")
3267 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3270 (base32 "1jjvq4aflbyr3nr8b318k1vkad16xfa1jkqn9ckzw4419qc6c1k5"))))
3271 (build-system gnu-build-system)
3274 (modify-phases %standard-phases
3275 (add-after 'unpack 'add-sigc++-includes
3276 (lambda* (#:key inputs #:allow-other-keys)
3277 (let ((sig (assoc-ref inputs "libsigc++"))
3278 (xml (assoc-ref inputs "libxml2"))
3281 (string-append sig "/include/sigc++-2.0:"
3282 sig "/lib/sigc++-2.0/include:"
3283 xml "/include/libxml2/:"
3286 (or (getenv "CPATH") ""))))
3287 (substitute* '("src/control_osc.hpp"
3288 "src/gui/app_frame.hpp"
3289 "src/gui/config_panel.hpp"
3290 "src/gui/keys_panel.hpp"
3291 "src/gui/latency_panel.hpp"
3292 "src/gui/main_panel.hpp"
3293 "src/gui/midi_bind_panel.hpp"
3294 "src/gui/prefs_dialog.hpp")
3295 (("sigc\\+\\+/object.h")
3297 (substitute* '("src/engine.cpp"
3298 "src/gui/latency_panel.cpp"
3299 "src/gui/looper_panel.cpp"
3300 "src/gui/main_panel.cpp")
3301 (("(\\(| )bind " _ pre)
3302 (string-append pre "sigc::bind ")))
3304 (add-after 'unpack 'fix-xpm-warnings
3306 (substitute* (find-files "." "\\.xpm$")
3307 (("static char") "static const char"))
3311 ("alsa-lib" ,alsa-lib)
3312 ("wxwidgets" ,wxwidgets-gtk2)
3313 ("libsndfile" ,libsndfile)
3314 ("libsamplerate" ,libsamplerate)
3316 ("rubberband" ,rubberband)
3317 ("libxml2" ,libxml2)
3318 ("libsigc++" ,libsigc++)
3319 ("ncurses" ,ncurses)))
3321 `(("pkg-config" ,pkg-config)))
3322 (home-page "http://essej.net/sooperlooper/")
3323 (synopsis "Live looping sampler")
3325 "SooperLooper is a live looping sampler capable of immediate loop
3326 recording, overdubbing, multiplying, reversing and more. It allows for
3327 multiple simultaneous multi-channel loops limited only by your computer's
3329 (license license:gpl2+)))
3337 (uri (string-append "http://ftp.daper.net/pub/soft/"
3339 name "-" version ".tar.bz2"))
3342 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
3343 (build-system gnu-build-system)
3345 `(("alsa-lib" ,alsa-lib)
3348 ("ffmpeg" ,ffmpeg-3.4)
3351 ("libid3tag" ,libid3tag)
3352 ("libltdl" ,libltdl)
3353 ("libmodplug" ,libmodplug)
3354 ("libmpcdec" ,libmpcdec)
3357 ("libvorbis" ,libvorbis)
3358 ("ncurses" ,ncurses)
3359 ("openssl" ,openssl)
3360 ("sasl" ,cyrus-sasl)
3363 ("wavpack" ,wavpack)
3366 `(("pkg-config" ,pkg-config)))
3367 (synopsis "Console audio player designed to be powerful and easy to use")
3369 "Music on Console is a console audio player that supports many file
3370 formats, including most audio formats recognized by FFMpeg.")
3371 (home-page "http://moc.daper.net")
3372 (license license:gpl2+)))
3374 (define-public midicsv
3380 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3381 name "-" version ".tar.gz"))
3384 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3385 (build-system gnu-build-system)
3387 `(#:phases (modify-phases %standard-phases (delete 'configure))
3388 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
3389 (synopsis "Convert MIDI files to and from CSV")
3391 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
3392 value file (CSV), which preserves all the information in the MIDI file. The
3393 ASCII CSV file may be loaded into a spreadsheet or database application, or
3394 processed by a program to transform the MIDI data (for example, to key
3395 transpose a composition or extract a track from a multi-track sequence). A
3396 CSV file in the format created by midicsv may be converted back into a
3397 standard MIDI file with the csvmidi program.")
3398 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
3399 (license license:public-domain)))
3401 (define-public gx-guvnor-lv2
3403 (name "gx-guvnor-lv2")
3408 (url "https://github.com/brummer10/GxGuvnor.lv2")
3409 (commit (string-append "v" version))))
3410 (file-name (string-append name "-" version "-checkout"))
3413 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
3414 (build-system gnu-build-system)
3416 `(;; The check target is used only to output a warning.
3419 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
3421 (modify-phases %standard-phases
3424 (substitute* "Makefile"
3425 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
3426 (("install : all") "install :"))
3430 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
3431 (synopsis "Overdrive/distortion pedal simulation")
3432 (description "This package provides the LV2 plugin \"GxGuvnor\", a
3433 simulation of an overdrive or distortion pedal for guitars.")
3434 ;; The LICENSE file says GPLv3 but the license headers in the files say
3435 ;; GPLv2 or later. The whole project is released under GPLv3 or later
3436 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
3437 (license license:gpl3+)))
3439 (define-public gx-vbass-preamp-lv2
3440 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
3442 (package (inherit gx-guvnor-lv2)
3443 (name "gx-vbass-preamp-lv2")
3444 (version (string-append "0-" revision "." (string-take commit 9)))
3448 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
3452 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
3453 (file-name (string-append name "-" version "-checkout"))))
3458 `(("pkg-config" ,pkg-config)))
3459 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
3460 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
3461 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
3462 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
3465 (define-public gx-overdriver-lv2
3466 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
3468 (package (inherit gx-guvnor-lv2)
3469 (name "gx-overdriver-lv2")
3470 (version (string-append "0-" revision "." (string-take commit 9)))
3474 (url "https://github.com/brummer10/GxOverDriver.lv2")
3478 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
3479 (file-name (string-append name "-" version "-checkout"))))
3480 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
3481 (synopsis "Overdrive effect with level and tone control")
3482 (description "This package provides the LV2 plugin \"GxOverDriver\", an
3483 overdrive effect."))))
3485 (define-public gx-tone-mender-lv2
3486 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
3488 (package (inherit gx-guvnor-lv2)
3489 (name "gx-tone-mender-lv2")
3490 (version (string-append "0-" revision "." (string-take commit 9)))
3494 (url "https://github.com/brummer10/GxToneMender.lv2")
3498 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
3499 (file-name (string-append name "-" version "-checkout"))))
3500 (home-page "https://github.com/brummer10/GxToneMender.lv2")
3501 (synopsis "Clean boost with a 3-knob tonestack")
3502 (description "This package provides the LV2 plugin \"GxToneMender\", a
3503 clean boost effect with a 3-knob tonestack."))))
3505 (define-public gx-push-pull-lv2
3506 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
3508 (package (inherit gx-guvnor-lv2)
3509 (name "gx-push-pull-lv2")
3510 (version (string-append "0-" revision "." (string-take commit 9)))
3514 (url "https://github.com/brummer10/GxPushPull.lv2")
3518 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
3519 (file-name (string-append name "-" version "-checkout"))))
3520 (home-page "https://github.com/brummer10/GxPushPull.lv2")
3521 (synopsis "Octave up push pull transistor fuzz simulation")
3522 (description "This package provides the LV2 plugin \"GxPushPull\", a
3523 simulation of a push pull transistor fuzz effect with added high octave."))))
3525 (define-public gx-suppa-tone-bender-lv2
3526 (package (inherit gx-guvnor-lv2)
3527 (name "gx-suppa-tone-bender-lv2")
3532 (url "https://github.com/brummer10/GxSuppaToneBender.lv2")
3533 (commit (string-append "v" version))))
3534 (file-name (string-append name "-" version "-checkout"))
3537 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
3538 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
3539 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
3540 (description "This package provides the LV2 plugin
3541 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
3544 (define-public gx-saturator-lv2
3545 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
3547 (package (inherit gx-vbass-preamp-lv2)
3548 (name "gx-saturator-lv2")
3549 (version (string-append "0-" revision "." (string-take commit 9)))
3553 (url "https://github.com/brummer10/GxSaturator.lv2")
3557 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
3558 (file-name (string-append name "-" version "-checkout"))))
3559 (home-page "https://github.com/brummer10/GxSaturator.lv2")
3560 (synopsis "Saturation effect")
3561 (description "This package provides the LV2 plugin \"GxSaturator\", a
3562 saturation effect."))))
3564 (define-public gx-hyperion-lv2
3565 (package (inherit gx-guvnor-lv2)
3566 (name "gx-hyperion-lv2")
3571 (url "https://github.com/brummer10/GxHyperion.lv2")
3572 (commit (string-append "v" version))))
3573 (file-name (string-append name "-" version "-checkout"))
3576 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
3577 (home-page "https://github.com/brummer10/GxHyperion.lv2")
3578 (synopsis "Simulation of the Hyperion Fuzz pedal")
3579 (description "This package provides the LV2 plugin \"GxHyperion\", a
3580 simulation of the Hyperion Fuzz pedal.")))
3582 (define-public gx-voodoo-fuzz-lv2
3583 (package (inherit gx-guvnor-lv2)
3584 (name "gx-voodoo-fuzz-lv2")
3589 (url "https://github.com/brummer10/GxVoodoFuzz.lv2")
3590 (commit (string-append "v" version))))
3591 (file-name (string-append name "-" version "-checkout"))
3594 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
3595 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
3596 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
3597 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
3598 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
3599 Bosstone circuit, followed by the tone control of the FoxToneMachine in
3600 parallel with a DarkBooster, followed by a volume control.")))
3602 (define-public gx-super-fuzz-lv2
3603 (package (inherit gx-guvnor-lv2)
3604 (name "gx-super-fuzz-lv2")
3609 (url "https://github.com/brummer10/GxSuperFuzz.lv2")
3610 (commit (string-append "v" version))))
3611 (file-name (string-append name "-" version "-checkout"))
3614 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
3615 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
3616 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
3617 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
3618 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
3619 pot, which is usually in the housing, is exposed as a control parameter. It
3620 adjusts the amount of harmonics.")))
3622 (define-public gx-vintage-fuzz-master-lv2
3623 (package (inherit gx-guvnor-lv2)
3624 (name "gx-vintage-fuzz-master-lv2")
3629 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3630 (commit (string-append "v" version))))
3631 (file-name (string-append name "-" version "-checkout"))
3634 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
3635 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3636 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
3637 (description "This package provides the LV2 plugin
3638 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
3640 (define-public gx-slow-gear-lv2
3641 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
3643 (package (inherit gx-vbass-preamp-lv2)
3644 (name "gx-slow-gear-lv2")
3645 (version (string-append "0-" revision "." (string-take commit 9)))
3649 (url "https://github.com/brummer10/GxSlowGear.lv2")
3653 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
3654 (file-name (string-append name "-" version "-checkout"))))
3655 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
3656 (synopsis "Slow gear audio effect")
3657 (description "This package provides the LV2 plugin \"GxSlowGear\", a
3658 slow gear audio effect to produce volume swells."))))
3660 (define-public gx-switchless-wah-lv2
3661 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
3663 (package (inherit gx-guvnor-lv2)
3664 (name "gx-switchless-wah-lv2")
3665 (version (string-append "0-" revision "." (string-take commit 9)))
3669 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
3673 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
3674 (file-name (string-append name "-" version "-checkout"))))
3675 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
3676 (synopsis "Wah emulation with switchless activation")
3677 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
3678 a simulation of an analog Wah pedal with switchless activation."))))
3680 (define-public rkrlv2
3681 ;; This commit corresponds to the beta_3 tag
3682 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
3686 (version (git-version "0" revision commit))
3690 (url "https://github.com/ssj71/rkrlv2")
3694 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
3695 (file-name (git-file-name name version))))
3696 (build-system cmake-build-system)
3697 (arguments '(#:tests? #f)) ; there are no tests
3700 ("libsamplerate" ,libsamplerate)
3703 `(("pkg-config" ,pkg-config)))
3704 (home-page "https://github.com/ssj71/rkrlv2")
3705 (synopsis "Rakarrack effects ported to LV2 plugins")
3706 (description "This package provides the Rakarrack effects as LV2
3707 plugins. The ports are done such that hopefully when Rakarrack gets an active
3708 maintainer these will get merged into the original project.")
3709 (license license:gpl2))))
3711 (define-public mod-utilities
3712 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
3715 (name "mod-utilities")
3716 (version (string-append "0-" revision "." (string-take commit 9)))
3720 (url "https://github.com/moddevices/mod-utilities")
3722 (file-name (string-append name "-" version "-checkout"))
3725 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
3726 (build-system gnu-build-system)
3728 `(#:tests? #f ; there are no tests
3730 (list (string-append "INSTALL_PATH="
3731 (assoc-ref %outputs "out")
3733 (string-append "PREFIX=" (assoc-ref %outputs "out"))
3736 (modify-phases %standard-phases
3737 (delete 'configure))))
3740 (home-page "https://github.com/moddevices/mod-utilities")
3741 (synopsis "LV2 utility plugins")
3742 (description "This package provides LV2 audio utility plugins, such as
3743 filters, crossovers, simple gain plugins without zipper noise, switch box
3744 plugins, a switch trigger, a toggle switch, and a peakmeter.")
3745 (license license:gpl2+))))
3747 (define-public ingen
3748 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
3752 (version (string-append "0.0.0-" revision "."
3753 (string-take commit 9)))
3758 (url "https://git.drobilla.net/ingen.git")
3760 (file-name (string-append name "-" version "-checkout"))
3763 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
3764 (build-system waf-build-system)
3766 `(#:python ,python-2
3767 #:tests? #f ; no "check" target
3768 #:configure-flags (list "--no-webkit")
3770 (modify-phases %standard-phases
3771 (add-after 'unpack 'patch-wscript
3772 (lambda* (#:key outputs #:allow-other-keys)
3773 (let ((out (assoc-ref outputs "out")))
3774 (substitute* "wscript"
3775 ;; FIXME: Our version of lv2specgen.py does not behave as
3776 ;; expected. Maybe this requires a development version of
3778 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
3779 ;; Add libraries to RUNPATH.
3780 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
3781 (string-append prefix
3782 "linkflags=[\"-Wl,-rpath="
3783 out "/lib" "\"]," line)))
3784 (substitute* '("src/wscript"
3785 "src/server/wscript")
3786 ;; Add libraries to RUNPATH.
3787 (("bld.env.PTHREAD_LINKFLAGS" line)
3789 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
3790 (substitute* "src/client/wscript"
3791 ;; Add libraries to RUNPATH.
3792 (("^(.+)target.*= 'ingen_client'," line prefix)
3793 (string-append prefix
3794 "linkflags=[\"-Wl,-rpath="
3795 out "/lib" "\"]," line)))
3796 (substitute* "src/gui/wscript"
3797 ;; Add libraries to RUNPATH.
3798 (("^(.+)target.* = 'ingen_gui.*" line prefix)
3799 (string-append prefix
3800 "linkflags=[\"-Wl,-rpath="
3801 out "/lib" "\"]," line))))
3805 ("python-rdflib" ,python-rdflib)
3810 ("raul" ,raul-devel)
3816 ("gtkmm" ,gtkmm-2)))
3818 `(("pkg-config" ,pkg-config)
3819 ("python-pygments" ,python-pygments)))
3820 (home-page "https://drobilla.net/software/ingen")
3821 (synopsis "Modular audio processing system")
3822 (description "Ingen is a modular audio processing system for JACK and
3823 LV2 based systems. Ingen is built around LV2 technology and a strict
3824 separation of engine from user interface. The engine is controlled
3825 exclusively through a protocol, and can execute as a headless process, with an
3826 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
3827 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
3828 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
3829 plugin on any system where Ingen is installed. This allows users to visually
3830 develop custom plugins for use in other applications without programming.")
3831 (license license:agpl3+))))
3833 (define-public qmidiarp
3839 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
3840 version "/qmidiarp-" version ".tar.bz2"))
3843 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
3844 (build-system gnu-build-system)
3847 (list "--enable-qt5")))
3849 `(("qtbase" ,qtbase)
3850 ("alsa-lib" ,alsa-lib)
3855 `(("pkg-config" ,pkg-config)
3856 ("qttools" ,qttools)))
3857 (home-page "http://qmidiarp.sourceforge.net/")
3858 (synopsis "MIDI arpeggiator")
3859 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
3860 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
3861 modules running in parallel.")
3862 (license license:gpl2+)))
3864 (define-public qmidiroute
3870 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
3871 version "/qmidiroute-" version ".tar.bz2"))
3874 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
3875 (build-system gnu-build-system)
3878 (list "--enable-qt5")))
3880 `(("qtbase" ,qtbase)
3881 ("alsa-lib" ,alsa-lib)))
3883 `(("pkg-config" ,pkg-config)
3884 ("qttools" ,qttools)))
3885 (home-page "http://alsamodular.sourceforge.net/")
3886 (synopsis "MIDI event router and filter")
3887 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
3888 control change, program change and pitch bend events are logged, and can be
3889 filtered, redirected and transformed into other events according to MIDI maps
3890 defined as tabs in the main control surface.")
3891 (license license:gpl2+)))
3893 (define-public seq24
3899 (uri (string-append "https://launchpad.net/seq24/trunk/"
3900 version "/+download/seq24-"
3901 version ".tar.bz2"))
3904 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
3905 (patches (search-patches "seq24-rename-mutex.patch"))))
3906 (build-system gnu-build-system)
3908 `(("gtkmm" ,gtkmm-2)
3909 ("alsa-lib" ,alsa-lib)
3913 `(("pkg-config" ,pkg-config)))
3914 (home-page "https://edge.launchpad.net/seq24/")
3915 (synopsis "Real-time MIDI sequencer")
3916 (description "Seq24 is a real-time MIDI sequencer. It was created to
3917 provide a very simple interface for editing and playing MIDI loops.")
3918 (license license:gpl2+)))
3920 (define-public python-discogs-client
3922 (name "python-discogs-client")
3926 (uri (pypi-uri "discogs-client" version))
3929 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
3930 (build-system python-build-system)
3932 `(("python-oauthlib" ,python-oauthlib)
3933 ("python-requests" ,python-requests)))
3935 `(("python-six" ,python-six)))
3936 (home-page "https://github.com/discogs/discogs_client")
3937 (synopsis "Official Python client for the Discogs API")
3938 (description "This is the official Discogs API client for Python. It enables
3939 you to query the Discogs database for information on artists, releases, labels,
3940 users, Marketplace listings, and more. It also supports OAuth 1.0a
3941 authorization, which allows you to change user data such as profile information,
3942 collections and wantlists, inventory, and orders.")
3943 (license license:bsd-2)))
3945 (define-public python2-discogs-client
3946 (package-with-python2 python-discogs-client))
3948 (define-public libsmf
3955 ;; SF download page says development moved, but the link it points to
3956 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
3957 ;; it but made no release so far (https://github.com/stump/libsmf).
3958 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
3959 version "/libsmf-" version ".tar.gz"))
3962 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
3963 (build-system gnu-build-system)
3965 "static")) ; 88KiB of .a files
3968 (modify-phases %standard-phases
3969 (add-after 'install 'move-static-libraries
3970 (lambda* (#:key outputs #:allow-other-keys)
3971 ;; Move static libraries to the "static" output.
3972 (let* ((out (assoc-ref outputs "out"))
3973 (lib (string-append out "/lib"))
3974 (static (assoc-ref outputs "static"))
3975 (slib (string-append static "/lib")))
3977 (for-each (lambda (file)
3978 (install-file file slib)
3980 (find-files lib "\\.a$"))
3983 `(("readline" ,readline)
3986 `(("doxygen" ,doxygen)
3987 ("pkg-config" ,pkg-config)))
3988 (home-page "http://libsmf.sourceforge.net/")
3989 (synopsis "Standard MIDI File format library")
3991 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
3992 conversions between time and pulses, tempo map handling and more. The only dependencies
3993 are a C compiler and glib. Full API documentation and examples are included.")
3994 (license license:bsd-2)))
4004 (url "https://github.com/LMMS/lmms")
4005 (commit (string-append "v" version))))
4006 (file-name (git-file-name name version))
4009 "1gx730z361xx30iqbsm99aam1k2c8yf561gcay6sryyjksb4w1wy"))))
4010 (build-system cmake-build-system)
4012 `(#:tests? #f ; no tests
4013 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
4014 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
4015 ;; Also, explicitly disabling VST support gets rid of the in-tree
4016 ;; dependency on qt5-x11embed.
4017 #:configure-flags '("-DWANT_QT5=ON"
4020 (modify-phases %standard-phases
4021 (add-after 'unpack 'unpack-rpmalloc
4022 (lambda* (#:key inputs #:allow-other-keys)
4023 (copy-recursively (assoc-ref inputs "rpmalloc")
4024 "src/3rdparty/rpmalloc/rpmalloc")
4026 (add-before 'configure 'set-ldflags
4027 (lambda* (#:key outputs #:allow-other-keys)
4031 (assoc-ref outputs "out") "/lib/lmms"
4033 (assoc-ref outputs "out") "/lib/lmms/ladspa"
4036 (add-before 'reset-gzip-timestamps 'make-manpages-writable
4037 (lambda* (#:key outputs #:allow-other-keys)
4039 (make-file-writable file))
4040 (find-files (string-append (assoc-ref outputs "out")
4045 `(("pkg-config" ,pkg-config)
4046 ("qttools" ,qttools)
4047 ;; rpmalloc is a public domain memory allocator. This version specified
4048 ;; below is the version required by LMMS.
4049 ;; To get the new commit of rpmalloc to use here, run
4050 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
4051 ;; in the cloned LMMS repository.
4056 (url "https://github.com/mjansson/rpmalloc")
4057 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
4060 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
4064 ("qtx11extras" ,qtx11extras)
4067 ("libsamplerate" ,libsamplerate)
4068 ("fluidsynth" ,fluidsynth)
4069 ("libvorbis" ,libvorbis)
4070 ("alsa-lib" ,alsa-lib)
4071 ("portaudio" ,portaudio)
4073 ("libsndfile1" ,libsndfile)
4075 ("freetype2" ,freetype)
4078 (home-page "https://lmms.io/")
4079 (synopsis "Music composition tool")
4080 (description "LMMS is a digital audio workstation. It includes tools for sequencing
4081 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
4082 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
4083 (license license:gpl2+)))
4085 (define-public musescore
4093 (url "https://github.com/musescore/MuseScore")
4094 (commit (string-append "v" version))))
4095 (file-name (git-file-name name version))
4097 (base32 "1s8767imzv9hclpzvvvsqb3iyiv4y2klr6agf95zwym2xafy8p26"))
4098 (modules '((guix build utils)))
4100 ;; Un-bundle OpenSSL and remove unused libraries.
4102 (for-each delete-file-recursively
4103 '("thirdparty/freetype"
4104 "thirdparty/google_analytics"
4105 "thirdparty/openssl"
4106 "thirdparty/portmidi"))
4108 (build-system cmake-build-system)
4111 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
4112 "-DBUILD_WEBENGINE=OFF"
4113 "-DDOWNLOAD_SOUNDFONT=OFF"
4114 "-DUSE_SYSTEM_FREETYPE=ON")
4115 ;; There are tests, but no simple target to run. The command used to
4118 ;; make debug && sudo make installdebug && cd \
4119 ;; build.debug/mtest && make && ctest
4121 ;; Basically, it requires to start a whole new build process.
4122 ;; So we simply skip them.
4125 `(("alsa-lib" ,alsa-lib)
4126 ("freetype" ,freetype)
4127 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
4131 ("libsndfile" ,libsndfile)
4132 ("libvorbis" ,libvorbis)
4133 ("portaudio" ,portaudio)
4134 ("portmidi" ,portmidi)
4135 ("pulseaudio" ,pulseaudio)
4137 ("qtdeclarative" ,qtdeclarative)
4138 ("qtquickcontrols2" ,qtquickcontrols2)
4139 ("qtscript" ,qtscript)
4141 ("qtxmlpatterns" ,qtxmlpatterns)))
4143 `(("pkg-config" ,pkg-config)
4144 ("qttools" ,qttools)))
4145 (synopsis "Music composition and notation software")
4146 (description "MuseScore is a music score typesetter. Its main purpose is
4147 the creation of high-quality engraved musical scores in a WYSIWYG environment.
4149 It supports unlimited staves, linked parts and part extraction, tablature,
4150 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
4151 lyrics (multiple verses), fretboard diagrams, and in general everything
4152 commonly used in sheet music. Style options and style sheets to change the
4153 appearance and layout are provided.
4155 MuseScore can also play back scores through the built-in sequencer and SoundFont
4157 (home-page "https://musescore.org")
4158 (license license:gpl2)))
4160 (define-public muse-sequencer
4162 (name "muse-sequencer")
4167 (url "https://github.com/muse-sequencer/muse")
4168 (commit (string-append "muse_"
4169 (string-map (lambda (c)
4171 #\_ c)) version)))))
4172 (file-name (git-file-name name version))
4175 "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p"))))
4176 (build-system cmake-build-system)
4178 `(#:tests? #f ; there is no test target
4180 (list "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4181 "-DENABLE_VST_NATIVE=OFF"
4182 (string-append "-DCMAKE_EXE_LINKER_FLAGS="
4184 (assoc-ref %outputs "out") "/lib/muse-"
4185 ,(version-major+minor version) "/modules")
4186 (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
4188 (assoc-ref %outputs "out") "/lib/muse-"
4189 ,(version-major+minor version) "/modules"))
4191 (modify-phases %standard-phases
4192 (add-after 'unpack 'chdir
4193 (lambda _ (chdir "muse3") #t))
4194 (add-after 'chdir 'fix-include
4196 (substitute* "muse/driver/rtaudio.h"
4197 (("rtaudio/RtAudio.h") "RtAudio.h"))
4200 `(("alsa-lib" ,alsa-lib)
4209 ("libsndfile" ,libsndfile)
4210 ("libsamplerate" ,libsamplerate)
4212 ("fluidsynth" ,fluidsynth)
4214 ("pulseaudio" ,pulseaudio) ; required by rtaudio
4217 ("rtaudio" ,rtaudio)
4218 ("rubberband" ,rubberband)))
4220 `(("pkg-config" ,pkg-config)
4221 ("qttools" ,qttools)))
4222 (home-page "https://muse-sequencer.github.io/")
4223 (synopsis "MIDI/Audio sequencer")
4224 (description "MusE is a MIDI/Audio sequencer with recording and editing
4225 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4226 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4227 list view, and a score editor. MusE aims to be a complete multitrack virtual
4229 (license license:gpl2+)))
4238 "mirror://sourceforge/dssi/dssi/" version
4239 "/dssi-" version ".tar.gz"))
4242 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4243 (build-system gnu-build-system)
4245 `(("alsa-lib" ,alsa-lib)
4248 ("libsamplerate" ,libsamplerate)
4249 ("libsndfile" ,libsndfile)
4252 `(("pkg-config" ,pkg-config)))
4253 (synopsis "Audio plugin API for soft synths and effects")
4254 (description "DSSI is a plugin API for software instruments with user
4255 interfaces, permitting them to be hosted in-process by audio applications.
4256 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4257 towards familiarity with MIDI. The DSSI distribution package contains
4258 a JACK/ALSA-sequencer reference host and some plugins as well as the
4259 specification and header.")
4260 (home-page "http://dssi.sourceforge.net/")
4261 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4262 ;; The vast majority of examples are in the public domain.
4263 (license (list license:lgpl2.1+ license:gpl2+))))
4265 (define-public rosegarden
4272 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4273 version "/rosegarden-" version ".tar.bz2"))
4275 (base32 "1i9x9rkqwwdrk77xl5ra8i48cjirbc7fbisnj0nnclccwaq0wk6r"))))
4276 (build-system cmake-build-system)
4278 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4280 (modify-phases %standard-phases
4281 (add-after 'unpack 'patch-tests
4283 (substitute* "CMakeLists.txt"
4284 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4286 ((" -fvisibility=hidden") ""))
4288 (add-after 'unpack 'fix-references
4289 (lambda* (#:key inputs #:allow-other-keys)
4290 (substitute* "src/gui/general/ProjectPackager.cpp"
4292 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4294 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4296 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4298 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4300 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4301 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4302 (("\"convert-ly\\>")
4303 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4305 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4307 (add-after 'unpack 'make-reproducible
4309 ;; Prevent Last-Modified from being written.
4310 ;; The "*.qm" files that are used in locale.qrc would have a new
4311 ;; mtime otherwise that is written into qrc_locale.cpp in the
4312 ;; end - except when we disable it.
4313 (substitute* "src/CMakeLists.txt"
4314 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4315 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4317 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4318 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4320 ;; Make hashtable traversal order predicable.
4321 (setenv "QT_RCC_TEST" "1") ; important
4323 (add-before 'check 'prepare-check
4325 (setenv "QT_QPA_PLATFORM" "offscreen")
4326 ;; Tests create files in $HOME/.local/share/rosegarden .
4327 (mkdir-p "/tmp/foo")
4328 (setenv "HOME" "/tmp/foo")
4329 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
4332 `(("alsa-lib" ,alsa-lib)
4340 ("libsamplerate" ,libsamplerate)
4341 ("lilypond" ,lilypond)
4346 ("wavpack" ,wavpack)
4349 `(("pkg-config" ,pkg-config)
4350 ("qtlinguist" ,qttools)))
4351 (synopsis "Music composition and editing environment based around a MIDI
4353 (description "Rosegarden is a music composition and editing environment
4354 based around a MIDI sequencer that features a rich understanding of music
4355 notation and includes basic support for digital audio.")
4356 (home-page "https://www.rosegardenmusic.com/")
4357 (license license:gpl2)))
4359 (define-public patchmatrix
4361 (name "patchmatrix")
4366 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
4368 (file-name (git-file-name "patchmatrix" version))
4371 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
4372 (build-system meson-build-system)
4373 (arguments '(#:tests? #f)) ; no test target
4379 `(("pkg-config" ,pkg-config)))
4380 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
4381 (synopsis "Simple JACK patch bay")
4382 (description "PatchMatrix is a patch bay for the JACK audio connection
4383 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
4385 (license license:artistic2.0)))
4387 (define-public sorcer
4393 (uri (string-append "https://github.com/openAVproductions/"
4394 "openAV-Sorcer/archive/release-"
4396 (file-name (string-append name "-" version ".tar.gz"))
4399 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
4400 (build-system cmake-build-system)
4402 `(#:tests? #f ; no tests included
4404 (modify-phases %standard-phases
4405 (add-after 'unpack 'remove-architecture-specific-flags
4407 (substitute* "CMakeLists.txt"
4408 (("-msse2 -mfpmath=sse") ""))
4410 (add-after 'unpack 'build-faust-sources
4411 (lambda* (#:key inputs #:allow-other-keys)
4412 (with-directory-excursion "faust"
4413 (delete-file "main.cpp")
4414 (invoke "faust" "-i"
4416 "-o" "main.cpp" "main.dsp")))))))
4423 ("pkg-config" ,pkg-config)))
4424 (home-page "http://openavproductions.com/sorcer/")
4425 (synopsis "Wavetable LV2 plugin synth")
4426 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
4427 the electronic or dubstep genre.")
4428 (license license:gpl3+)))
4430 (define-public sonivox-eas
4432 (name "sonivox-eas")
4437 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
4438 (commit (string-append "v" version))))
4439 (file-name (string-append name "-" version "-checkout"))
4442 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
4443 (build-system cmake-build-system)
4444 (arguments '(#:tests? #f)) ; there are no tests
4446 `(("alsa-lib" ,alsa-lib)
4447 ("drumstick" ,drumstick)
4448 ("pulseaudio" ,pulseaudio)
4449 ("qtbase" ,qtbase)))
4451 `(("pkg-config" ,pkg-config)))
4452 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
4453 (synopsis "MIDI synthesizer library")
4454 (description "This project is a real time General MIDI synthesizer based
4455 on the Sonivox EAS Synthesizer by Google. It does not need external
4456 soundfonts, using embedded samples instead.")
4457 ;; Sonivox is released under the ASL2.0; the rest of the code is under
4459 (license (list license:gpl2+ license:asl2.0))))
4461 (define-public whysynth
4464 (version "20170701")
4467 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
4468 version ".tar.bz2"))
4471 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
4472 (build-system gnu-build-system)
4479 ("alsa-lib" ,alsa-lib)))
4481 `(("pkg-config" ,pkg-config)))
4482 (home-page "http://smbolton.com/whysynth.html")
4483 (synopsis "DSSI software synthesizer")
4484 (description "WhySynth is a versatile softsynth which operates as a plugin
4485 for the DSSI Soft Synth Interface. A brief list of features:
4488 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
4489 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
4490 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
4492 @item 10 filter modes.
4493 @item flexible modulation and mixdown options, plus effects.
4496 (license license:gpl2+)))
4498 (define-public libdiscid
4506 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
4510 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
4511 (arguments `(#:test-target "check"))
4512 (build-system cmake-build-system)
4513 (home-page "https://musicbrainz.org/doc/libdiscid")
4514 (synopsis "Disc id reader library")
4515 (description "libdiscid is a C library for creating MusicBrainz and freedb
4516 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
4517 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
4518 it provides a submission URL for adding the disc ID to the database and gathers
4519 ISRCs and the MCN (=UPC/EAN) from disc.")
4520 (license license:lgpl2.1+)))
4522 (define-public python-discid
4524 (name "python-discid")
4529 (uri (pypi-uri "discid" version))
4532 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
4533 (build-system python-build-system)
4535 `(("libdiscid" ,libdiscid)))
4538 (modify-phases %standard-phases
4539 (add-before 'build 'set-libdiscid
4540 ;; Set path of libdiscid
4541 (lambda* (#:key inputs #:allow-other-keys)
4542 (let ((discid (assoc-ref inputs "libdiscid")))
4543 (substitute* "discid/libdiscid.py"
4544 (("lib_name = (.*)$" all name)
4545 (string-append "lib_name = \"" discid
4546 "/lib/libdiscid.so.0\"\n")))
4548 (home-page "https://python-discid.readthedocs.io/")
4549 (synopsis "Python bindings for Libdiscid")
4551 "This package provides Python bindings for the Libdiscid library. The
4552 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
4553 Disc IDs} for use with the MusicBrainz database. Additionally the disc
4554 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
4555 Recording Code} (ISRC) can be extracted.}")
4556 (license license:lgpl3+)))
4558 (define-public libmusicbrainz
4560 (name "libmusicbrainz")
4566 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
4567 version "/libmusicbrainz-" version ".tar.gz"))
4570 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
4571 (build-system cmake-build-system)
4574 (modify-phases %standard-phases
4577 ;; requires network connections
4578 ;; (invoke "tests/mbtest")
4579 (invoke "tests/ctest")
4581 (inputs `(("neon" ,neon)
4582 ("libxml2" ,libxml2)))
4583 (native-inputs `(("pkg-config" ,pkg-config)))
4584 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
4585 (synopsis "MusicBrainz client library")
4586 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
4587 mb_client, is a development library geared towards developers who wish to add
4588 MusicBrainz lookup capabilities to their applications.")
4589 (license license:lgpl2.1+)))
4591 (define-public perl-musicbrainz-discid
4593 (name "perl-musicbrainz-discid")
4598 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
4602 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
4603 (build-system perl-build-system)
4604 (native-inputs `(("pkg-config" ,pkg-config)
4606 (inputs `(("libdiscid" ,libdiscid)))
4607 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
4608 (synopsis "Perl interface to the MusicBrainz libdiscid library")
4610 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
4611 MusicBrainz libdiscid library, allowing you to manipulate digital audio
4612 compact disc (CDDA) identifiers.")
4613 (license license:gpl2)))
4615 (define-public perl-webservice-musicbrainz
4617 (name "perl-webservice-musicbrainz")
4622 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
4626 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
4627 (build-system perl-build-system)
4629 ;; Tests try to connect to http://musicbrainz.org.
4632 `(("perl-module-build" ,perl-module-build)))
4634 `(("perl-mojolicious" ,perl-mojolicious)))
4635 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
4636 (synopsis "Web service API to the MusicBrainz database")
4638 "This module searches the MusicBrainz database through their web service
4639 at @code{musicbrainz.org}.")
4640 (license license:perl-license)))
4642 (define-public clyrics
4650 (url "https://github.com/trizen/clyrics")
4652 (file-name (git-file-name name version))
4654 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
4655 (build-system trivial-build-system)
4657 `(("bash" ,bash) ; for the wrapped program
4659 ("perl-www-mechanize" ,perl-www-mechanize)
4660 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
4661 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
4662 ;; 500 Can't verify SSL peers without knowing which Certificate
4663 ;; Authorities to trust".
4664 ("perl-mozilla-ca" ,perl-mozilla-ca)))
4666 `(#:modules ((guix build utils))
4668 (use-modules (guix build utils)
4671 (let* ((source (assoc-ref %build-inputs "source"))
4672 (output (assoc-ref %outputs "out")))
4675 (assoc-ref %build-inputs "bash") "/bin" ":"
4676 (assoc-ref %build-inputs "perl") "/bin" ":"))
4677 (copy-recursively source (getcwd))
4678 (patch-shebang "clyrics")
4679 (substitute* "clyrics"
4680 (("/usr/share") output))
4681 (install-file "clyrics" (string-append output "/bin"))
4682 (wrap-program (string-append output "/bin/clyrics")
4687 (((? (cut string-prefix? "perl-" <>) name) . dir)
4688 (string-append dir "/lib/perl5/site_perl"))
4691 (copy-recursively "plugins" (string-append output "/clyrics"))
4693 (home-page "https://github.com/trizen/clyrics")
4694 (synopsis "Extensible lyrics fetcher")
4696 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
4697 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
4698 console music players.")
4699 (license license:gpl3+)))
4701 (define-public demlo
4702 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
4706 (version (git-version "3.8" revision commit))
4712 "https://gitlab.com/ambrevar/demlo")
4714 (file-name (git-file-name name version))
4717 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
4718 (build-system go-build-system)
4721 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4722 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
4723 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
4724 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
4725 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
4726 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
4727 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
4728 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
4729 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
4730 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
4732 `(("chromaprint" ,chromaprint)
4733 ("ffmpeg" ,ffmpeg)))
4735 `(#:import-path "gitlab.com/ambrevar/demlo"
4737 (modify-phases %standard-phases
4738 (add-after 'install 'wrap-program
4739 (lambda* (#:key inputs outputs #:allow-other-keys)
4740 (let ((out (assoc-ref outputs "out"))
4741 (ffmpeg (assoc-ref inputs "ffmpeg"))
4742 (chromaprint (assoc-ref inputs "chromaprint")))
4743 (wrap-program (string-append out "/bin/demlo")
4744 `("XDG_DATA_DIRS" ":" prefix (,out))
4747 (string-append dir "/bin:"
4749 (list ffmpeg chromaprint))))
4751 (add-after 'install 'install-scripts
4752 (lambda* (#:key outputs #:allow-other-keys)
4753 (let* ((out (assoc-ref outputs "out"))
4754 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
4755 (xdg-data-dirs (string-append out "/demlo")))
4756 (copy-recursively (string-append root "/actions")
4757 (string-append xdg-data-dirs "/actions"))
4758 (copy-recursively (string-append root "/scripts")
4759 (string-append xdg-data-dirs "/scripts"))
4760 (install-file (string-append root "/config.lua") xdg-data-dirs)
4761 ;; TODO: Test fish completion.
4762 (install-file (string-append root "/completion/demlo.fish")
4763 (string-append out "/share/fish/vendor_completions.d"))
4765 (home-page "https://gitlab.com/ambrevar/demlo")
4766 (synopsis "Dynamic and extensible music library organizer")
4767 (description "Demlo is a music library organizer. It can encode, fix
4768 case, change folder hierarchy according to tags or file properties, tag from
4769 an online database, copy covers while ignoring duplicates or those below a
4770 quality threshold, and much more. It makes it possible to manage your
4771 libraries uniformly and dynamically. You can write your own rules to fit your
4774 Demlo can address any of these recurring music library issues (and much more):
4777 @item Fix the lack of folder structure.
4778 @item Normalize tags, fix their case, chose which tags to keep and which to
4780 @item Handle lossy and lossless audio differently.
4781 @item Handle mp3 id3tags hell...
4782 @item Handle multiple covers, whether embedded and/or external, resize covers,
4783 discard bad quality ones.
4785 (license license:expat))))
4794 (url "https://github.com/gillesdegottex/fmit/")
4795 (commit (string-append "v" version))))
4796 (file-name (git-file-name name version))
4799 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
4800 (build-system gnu-build-system)
4803 (modify-phases %standard-phases
4805 (add-before 'build 'qmake
4807 (let ((out (assoc-ref %outputs "out")))
4810 (string-append "PREFIX=" out)
4811 (string-append "PREFIXSHORTCUT=" out)
4812 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
4813 (add-after 'install 'wrap-executable
4814 (lambda* (#:key inputs outputs #:allow-other-keys)
4815 (let ((out (assoc-ref outputs "out")))
4816 (wrap-program (string-append out "/bin/fmit")
4817 `("QT_PLUGIN_PATH" ":" prefix
4818 ,(map (lambda (label)
4819 (string-append (assoc-ref inputs label)
4820 "/lib/qt5/plugins"))
4821 '("qtbase" "qtmultimedia" "qtsvg")))
4822 `("QML2_IMPORT_PATH" ":" prefix
4823 ,(map (lambda (label)
4824 (string-append (assoc-ref inputs label)
4826 '("qtmultimedia"))))
4829 `(("alsa-lib" ,alsa-lib)
4832 ("portaudio" ,portaudio)
4834 ("qtmultimedia" ,qtmultimedia)
4837 `(("gettext" ,gettext-minimal)
4838 ("hicolor-icon-theme" ,hicolor-icon-theme)
4839 ("itstool" ,itstool)
4840 ("qttools" ,qttools)))
4841 (synopsis "Musical instrument tuner")
4842 (description "FMIT is a graphical utility for tuning musical instruments,
4843 with error and volume history, and advanced features.")
4844 (home-page "https://gillesdegottex.github.io/fmit/")
4845 ;; Most of the code is under GPL2+, but some abstract or helper classes
4846 ;; are under LGPL2.1.
4847 (license (list license:gpl2+ license:lgpl2.1))))
4849 (define-public mloop
4850 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
4854 (version (git-version "0.0.1" revision commit))
4858 (url "http://git.fuzzle.org/mloop")
4860 (file-name (git-file-name name version))
4863 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
4864 (build-system waf-build-system)
4866 `(#:python ,python-2
4867 #:tests? #f)) ; no "check" target
4870 ("ncurses" ,ncurses)))
4872 `(("pkg-config" ,pkg-config)))
4873 (home-page "https://fuzzle.org/~petern/mloop.html")
4874 (synopsis "Live MIDI looper")
4875 (description "mloop is a live MIDI looping system, using jack-midi.
4876 Loops are recorded, optionally with beat quantization, and can then be played
4877 back, either once or looping. A 'note cache' system is implemented to
4878 remember which notes are pressed and their velocities. This allows for a loop
4879 to start off with the currently pressed notes, making seamless loops much
4880 easier to perform. Features include:
4883 @item Quantisation; end a loop on a beat exactly.
4884 @item Delayed recording; wait for a MIDI event before starting a loop record.
4885 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
4887 (license license:gpl2))))
4889 (define-public pragha
4895 (uri (string-append "https://github.com/pragha-music-player/pragha/"
4896 "releases/download/v" version "/pragha-" version
4900 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
4901 (build-system glib-or-gtk-build-system)
4903 `(("intltool" ,intltool)
4904 ("pkg-config" ,pkg-config)))
4908 ("gstreamer" ,gstreamer)
4909 ("gst-plugins-base" ,gst-plugins-base)
4910 ("gst-plugins-good" ,gst-plugins-good)
4912 ("libcddb" ,libcddb)
4913 ("libcdio" ,libcdio)
4914 ("libcdio-paranoia" ,libcdio-paranoia)
4915 ("libgudev" ,libgudev)
4916 ("libnotify" ,libnotify)
4917 ("libpeas" ,libpeas)
4918 ("libsoup" ,libsoup)
4920 ("taglib" ,taglib)))
4923 (modify-phases %standard-phases
4924 (add-after 'install 'wrap-program
4925 (lambda* (#:key inputs outputs #:allow-other-keys)
4926 (let ((out (assoc-ref outputs "out"))
4927 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
4928 (wrap-program (string-append out "/bin/pragha")
4929 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
4931 (home-page "https://pragha-music-player.github.io")
4932 (synopsis "Music player")
4933 (description "Pragha is a lightweight music player based on Gtk and
4934 sqlite. It is constructed to be fast, light, and simultaneously tries to be
4935 complete without obstructing your daily work.")
4936 (license license:gpl3+)))
4938 (define-public playerctl
4945 (url "https://github.com/altdesktop/playerctl")
4946 (commit (string-append "v" version))))
4947 (file-name (git-file-name name version))
4950 "1f3njnpd52djx3dmhh9a8p5a67f0jmr1gbk98icflr2q91149gjz"))))
4951 (build-system meson-build-system)
4953 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
4954 (inputs `(("python-pygobject" ,python-pygobject)))
4956 `(("glib:bin" ,glib "bin")
4957 ("pkg-config" ,pkg-config)))
4958 (synopsis "Control MPRIS-supporting media player applications")
4960 "Playerctl is a command-line utility and library for controlling media
4961 players that implement the MPRIS D-Bus Interface Specification. Playerctl
4962 makes it easy to bind player actions, such as play and pause, to media keys.
4963 You can also get metadata about the playing track such as the artist and title
4964 for integration into status line generators or other command-line tools.")
4965 (home-page "https://github.com/altdesktop/playerctl")
4966 (license license:lgpl3+)))
4968 (define-public artyfx
4976 "https://github.com/openAVproductions/openAV-ArtyFX.git")
4977 (commit (string-append "release-" version))))
4978 (file-name (git-file-name name version))
4981 "012hcy1mxl7gs2lipfcqp5x0xv1azb9hjrwf0h59yyxnzx96h7c9"))))
4982 (build-system cmake-build-system)
4984 `(#:tests? #f ; no tests included
4986 (modify-phases %standard-phases
4987 (add-after 'unpack 'remove-architecture-specific-flags
4989 (substitute* "CMakeLists.txt"
4990 (("-msse2 -mfpmath=sse") ""))
4994 ("libsndfile" ,libsndfile)))
4996 `(("pkg-config" ,pkg-config)
4998 (home-page "http://openavproductions.com/artyfx/")
4999 (synopsis "Audio effect LV2 plugin bundle")
5000 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
5001 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
5003 (license license:gpl2+)))
5005 (define-public lsp-plugins
5007 (name "lsp-plugins")
5013 (url "https://github.com/sadko4u/lsp-plugins")
5014 (commit (string-append "lsp-plugins-" version))))
5015 (file-name (git-file-name name version))
5017 (base32 "0rzgzkg6wvhjcf664i16nz4v30drgv80s34bhdflcjzx2x7ix5zk"))))
5018 (build-system gnu-build-system)
5022 (string-append "CC=" ,(cc-for-target))
5023 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5024 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5025 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5027 (modify-phases %standard-phases
5028 (delete 'configure)) ; no configure
5029 #:test-target "test"))
5032 ("hicolor-icon-theme", hicolor-icon-theme)
5035 ("libsndfile", libsndfile)
5039 `(("pkg-config", pkg-config)))
5040 (synopsis "Audio plugin collection")
5041 (description "LSP (Linux Studio Plugins) is a collection of audio
5042 plugins available as LADSPA/LV2 plugins and as standalone JACK
5044 (home-page "https://lsp-plug.in/")
5045 (license license:lgpl3)))
5047 (define-public sherlock-lv2
5049 (name "sherlock-lv2")
5055 "https://git.open-music-kontrollers.ch/lv2/"
5056 "sherlock.lv2/snapshot/sherlock.lv2-"
5060 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5061 (build-system meson-build-system)
5066 ("sratom" ,sratom)))
5069 ("pkg-config" ,pkg-config)))
5070 (synopsis "Investigative LV2 plugin bundle")
5071 (description "The Sherlock plugin bundle contains LV2 plugins for
5072 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5073 and debugging of event signal flows inside plugin graphs.")
5074 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5075 (license license:artistic2.0)))
5077 (define-public foo-yc20
5084 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5085 version "/foo-yc20-" version ".tar.bz2"))
5088 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5089 (build-system gnu-build-system)
5092 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5093 #:tests? #f ; no automated test
5095 (modify-phases %standard-phases
5098 (substitute* "Makefile"
5099 (("-mtune=native") "")
5100 (("-march=native") ""))
5109 ("pkg-config" ,pkg-config)))
5110 (home-page "https://foo-yc20.codeforcode.com/")
5111 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5112 (description "This is a Faust implementation of a 1969 designed Yamaha
5113 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5114 version. Processing for the organ is based on original schematics and
5115 measurements from a working specimen. This instrument simulates the circutry
5116 as a whole to realisticly reproduce the features and flaws of the real deal.")
5117 ;; Note that after 1.3.0 the license was changed.
5118 (license license:gpl3+)))
5120 (define-public spectacle-analyzer
5122 (name "spectacle-analyzer")
5128 (url "https://github.com/jpcima/spectacle")
5129 (commit (string-append "v" version))
5130 ;; Bundles a specific commit of the DISTRHO plugin framework.
5132 (file-name (git-file-name name version))
5135 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5136 (build-system gnu-build-system)
5138 `(#:tests? #f ; no check target
5141 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5143 (modify-phases %standard-phases
5144 (delete 'configure))))
5146 `(("pkg-config" ,pkg-config)
5155 (synopsis "Realtime graphical spectrum analyzer")
5156 (description "Spectacle is a real-time spectral analyzer using the
5157 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5158 (home-page "https://github.com/jpcima/spectacle")
5159 ;; The project is licensed under the ISC license, and files in
5160 ;; sources/plugin carry the Expat license.
5161 (license (list license:isc license:expat))))
5163 (define-public x42-plugins
5165 (name "x42-plugins")
5166 (version "20200714")
5171 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5174 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5175 (build-system gnu-build-system)
5177 `(#:tests? #f ; no "check" target
5179 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5180 "LIBZITACONVOLVER=-lzita-convolver"
5181 (string-append "FONTFILE="
5182 (assoc-ref %build-inputs "font-dejavu")
5183 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5185 (modify-phases %standard-phases
5186 (add-before 'build 'set-CC-variable
5190 (delete 'configure))))
5197 ("hicolor-icon-theme" ,hicolor-icon-theme)
5200 ("libsamplerate" ,libsamplerate)
5203 ("zita-convolver" ,zita-convolver)))
5205 `(("help2man" ,help2man)
5208 ("font-dejavu" ,font-dejavu)
5209 ("pkg-config" ,pkg-config)))
5210 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5211 (description "x42-plugins is a collection of over 80 cross-platform LV2
5212 audio and MIDI plugins that can also run as standalone JACK applications.")
5213 (home-page "https://x42-plugins.com/x42/")
5214 (license license:gpl2+)))
5216 (define-public zam-plugins
5218 (name "zam-plugins")
5225 (url "https://github.com/zamaudio/zam-plugins")
5227 ;; Recursive to fetch the DISTRHO plugin framework. This
5228 ;; framework is intended to be included in the sources
5229 ;; and not to be used as a library.
5231 (file-name (git-file-name name version))
5233 (base32 "0bxvssqnnd7bph3w1d6xcmxradv4cqq3wyzyv1a1hfm71a0pdahs"))))
5234 (build-system gnu-build-system)
5236 `(#:tests? #f ;no "check" target
5238 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5239 "HAVE_ZITA_CONVOLVER=true")
5241 (modify-phases %standard-phases
5242 (add-before 'build 'set-CC-variable
5244 (setenv "CC" "gcc") #t))
5245 (delete 'configure))))
5248 ("jack" ,jack-1) ;for the standalone JACK application
5250 ("libsamplerate" ,libsamplerate)
5252 ("zita-convolver" ,zita-convolver)))
5254 `(("ladspa" ,ladspa)
5256 ("pkg-config" ,pkg-config)))
5257 (synopsis "Collection of audio processing plugins")
5259 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5260 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5261 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5262 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5263 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5264 (home-page "http://www.zamaudio.com/?p=976")
5265 (license license:gpl2+)))
5267 (define-public geonkick
5275 (url "https://gitlab.com/geontime/geonkick.git")
5276 (commit (string-append "v" version))))
5277 (file-name (git-file-name name version))
5280 "1wdcbwiyy6i5agq5lffkyilyc8mv1cc4mp9h0nybn240vb2flqc2"))))
5281 (build-system cmake-build-system)
5283 `(#:tests? #f ;no tests included
5285 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5286 (assoc-ref %build-inputs "redkite"))
5287 (string-append "-DCMAKE_INSTALL_PREFIX="
5288 (assoc-ref %outputs "out")))))
5291 ("hicolor-icon-theme" ,hicolor-icon-theme)
5292 ("jack" ,jack-1) ;for the standalone JACK application
5293 ("libsndfile" ,libsndfile)
5295 ("redkite" ,redkite)
5296 ("rapidjson" ,rapidjson)))
5299 ;; Fails with default gcc (#include <filesystem> not found).
5301 ("pkg-config" ,pkg-config)
5303 (synopsis "Percussion synthesizer")
5304 (description "Geonkick is a synthesizer that can synthesize elements
5305 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5306 It can also play and mix samples.")
5307 (home-page "https://gitlab.com/geontime/geonkick")
5308 (license license:gpl3+)))
5310 (define-public dpf-plugins
5312 (name "dpf-plugins")
5319 (url "https://github.com/DISTRHO/DPF-Plugins")
5320 (commit (string-append "v" version))))
5321 (file-name (git-file-name name version))
5324 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
5325 (build-system gnu-build-system)
5327 `(#:tests? #f ; no "check" target
5329 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5331 (modify-phases %standard-phases
5332 (add-before 'build 'set-CC-variable
5333 (lambda _ (setenv "CC" "gcc") #t))
5334 (delete 'configure))))
5337 ("liblo" ,liblo) ; for dssi plugins
5338 ("jack" ,jack-1) ; for standalone applications
5341 `(("pkg-config" ,pkg-config)
5344 (home-page "https://github.com/DISTRHO/DPF-Plugins")
5345 (synopsis "Audio plugin collection")
5346 (description "Collection of audio plugins built with the DISTRHO Plugin
5347 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
5348 package includes the following plugins: glBars, Kars, Max-Gen examples
5349 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
5350 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
5351 Soul Force), MVerb, Nekobi, and ProM.")
5352 ;; This package consists of several plugins refactored to use the
5353 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
5354 ;; apply to different plugins. The root LICENSE file has a table with
5355 ;; license information for each plugin and paths to each license
5356 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
5358 (define-public avldrums-lv2
5360 (name "avldrums-lv2")
5366 (url "https://github.com/x42/avldrums.lv2")
5367 (commit (string-append "v" version))
5368 ;; This plugin expects the robtk submodule's source files to be
5369 ;; there in order to build.
5371 (file-name (git-file-name name version))
5373 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
5374 (build-system gnu-build-system)
5376 `(#:tests? #f ; no "check" target
5378 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5380 (modify-phases %standard-phases
5381 (add-before 'build 'set-CC-variable
5383 (setenv "CC" "gcc") #t))
5384 (delete 'configure))))
5392 `(("pkg-config" ,pkg-config)
5394 (home-page "https://x42-plugins.com/x42/x42-avldrums")
5395 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
5396 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
5397 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
5398 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
5399 (license license:gpl2+)))
5410 (url "https://github.com/mtytel/helm")
5411 (commit (string-append "v" version))))
5412 (file-name (git-file-name name version))
5415 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
5416 (build-system gnu-build-system)
5418 `(#:tests? #f ; no "check" target
5420 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
5423 (modify-phases %standard-phases
5424 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
5426 (substitute* "standalone/builds/linux/Makefile"
5427 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5428 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5429 (substitute* "builds/linux/LV2/Makefile"
5430 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5431 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5432 (substitute* "Makefile"
5435 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
5436 (lambda* (#:key outputs #:allow-other-keys)
5437 (for-each make-file-writable
5438 (find-files (string-append (assoc-ref outputs "out"))
5441 (delete 'configure))))
5443 `(("alsa-lib" ,alsa-lib)
5445 ("freetype2" ,freetype)
5446 ("hicolor-icon-theme" ,hicolor-icon-theme)
5447 ("libxcursor" ,libxcursor)
5448 ("libxinerama", libxinerama)
5452 `(("pkg-config" ,pkg-config)
5454 (home-page "https://tytel.org/helm/")
5455 (synopsis "Polyphonic synth with lots of modulation")
5456 (description "Helm is a cross-platform polyphonic synthesizer available standalone
5457 and as an LV2 plugin.")
5458 (license license:gpl3+)))
5460 (define-public zrythm
5462 ;; Zrythm contains trademarks and comes with a trademark policy found in
5463 ;; TRADMARKS.md inside the release distribution. The trademark policy
5464 ;; allows verbatim re-distribution, and it also allows FSF-approved
5465 ;; distros to make necessary changes to integrate the software into the
5472 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
5476 "1xyp70sjc2k5pfdqbwqa988v86da0rmmyl8ry86bqv4ja80sc6g9"))))
5477 (build-system meson-build-system)
5485 "-Dgraphviz=enabled" ; for exporting routing graphs
5486 "-Dguile=enabled" ; for Guile scripting
5487 "-Djack=enabled" ; for JACK audio/MIDI backend
5488 "-Dsdl=enabled") ; for SDL audio backend (which uses ALSA)
5490 (modify-phases %standard-phases
5491 (add-after 'unpack 'patch-xdg-open
5493 (substitute* "src/utils/io.c"
5495 (string-append "\"" (which "xdg-open") "\"")))
5498 `(("alsa-lib" ,alsa-lib)
5500 ("font-dseg" ,font-dseg)
5503 ("gettext" ,gettext-minimal)
5505 ("graphviz" ,graphviz)
5507 ("gtksourceview" ,gtksourceview)
5508 ("guile" ,guile-2.2)
5509 ("libaudec" ,libaudec)
5510 ("libcyaml" ,libcyaml)
5511 ("libsamplerate" ,libsamplerate)
5512 ("libsndfile" ,libsndfile)
5513 ("libyaml" ,libyaml)
5517 ("rubberband" ,rubberband)
5520 ("xdg-utils" ,xdg-utils)
5521 ("zstd" ,zstd "lib")))
5523 `(("pkg-config" ,pkg-config)
5524 ("help2man" ,help2man)
5525 ("glib" ,glib "bin"))) ; for 'glib-compile-resources'
5526 (synopsis "Digital audio workstation focusing on usability")
5527 (description "Zrythm is a digital audio workstation designed to be
5528 featureful and easy to use. It offers unlimited automation options, LV2
5529 plugin support, JACK support and chord assistance.")
5530 (home-page "https://www.zrythm.org")
5531 (license license:agpl3+)))
5533 (define-public dragonfly-reverb
5535 (name "dragonfly-reverb")
5542 (url "https://github.com/michaelwillis/dragonfly-reverb")
5544 ;; Bundles a specific commit of the DISTRHO plugin framework.
5546 (file-name (git-file-name name version))
5548 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
5549 (build-system gnu-build-system)
5551 `(#:tests? #f ; no check target
5552 #:make-flags (list "CC=gcc")
5554 (modify-phases %standard-phases
5555 (delete 'configure) ;no configure target
5556 (replace 'install ;no install target
5557 (lambda* (#:key outputs #:allow-other-keys)
5558 (let* ((out (assoc-ref outputs "out"))
5559 (bin (string-append out "/bin"))
5560 (lv2 (string-append out "/lib/lv2")))
5564 (copy-recursively file
5565 (string-append lv2 "/" (basename file))))
5566 (find-files "bin" "\\.lv2$" #:directories? #t))
5567 ;; Install executables.
5570 (install-file file bin))
5574 (equal? (dirname name) "bin")
5575 (not (string-suffix? ".so" name))
5576 (not (string-suffix? ".lv2" name))))))
5579 `(("pkg-config" ,pkg-config)))
5584 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
5585 (synopsis "Concert hall reverb and room reverb effects")
5587 "Dragonfly Reverb is a bundle of two free audio effects: a concert
5588 hall reverb and a room reverb. Both are available as LV2 plugins as well
5589 as JACK standalone applications.")
5590 (license license:gpl3+)))
5600 (url "https://git.zrythm.org/git/ZLFO")
5601 (commit (string-append "v" version))))
5602 (file-name (git-file-name name version))
5605 "0bm466ci5xyvxvq7l9p6xyh789lvk6i31b4zja1igqh13akbjnjz"))))
5606 (build-system meson-build-system)
5608 `(("librsvg" ,librsvg)
5610 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
5612 `(("pkg-config" ,pkg-config)))
5613 (synopsis "Low frequency oscillator plugin")
5614 (description "ZLFO is a fully featured
5615 @dfn{low frequency oscillator} (LFO) for @dfn{control voltage} (CV)-based
5616 automation that comes as an LV2 plugin bundle with a custom UI.")
5617 (home-page "https://git.zrythm.org/cgit/ZLFO/")
5618 (license license:agpl3+)))
5620 (define-public remid-lv2
5628 (url "https://github.com/ssj71/reMID.lv2")
5629 (commit (string-append "v" version))))
5630 (file-name (git-file-name name version))
5633 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
5634 (build-system cmake-build-system)
5636 `(#:tests? #f)) ; no tests included
5638 `(("alsa-lib" ,alsa-lib)
5643 `(("pkg-config" ,pkg-config)))
5644 (home-page "https://github.com/ssj71/reMID.lv2")
5646 "MIDI-controlled implementation of the SID 6581 chip used in the
5649 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
5650 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
5651 to provide a virtual SID-based synthesizer, controllable in real-time via
5652 MIDI. It includes support for scripted instruments that allow complex sonic
5653 control of the chip.")
5654 (license license:gpl2+)))
5656 (define-public vl1-emulator
5658 (name "vl1-emulator")
5664 (url "https://github.com/linuxmao-org/VL1-emulator")
5665 (commit (string-append "v" version))
5666 ;; bundles a specific commit of the DISTRHO plugin framework
5668 (file-name (git-file-name name version))
5671 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
5672 (build-system gnu-build-system)
5674 `(#:tests? #f ;no check target
5676 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5679 (modify-phases %standard-phases
5680 (delete 'configure)))) ;no configure target
5686 `(("pkg-config" ,pkg-config)))
5687 (home-page "https://github.com/linuxmao-org/VL1-emulator")
5688 (synopsis "Emulator of Casio VL-Tone VL1")
5689 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
5690 based on source code by PolyValens, offered as an LV2 plugin and a
5691 standalone JACK application.")
5693 (license (list license:expat license:cc0))))
5695 (define-public regrader
5697 (inherit vl1-emulator)
5704 (url "https://github.com/linuxmao-org/regrader")
5705 (commit (string-append "v" version))
5706 ;; bundles a specific commit of the DISTRHO plugin framework
5708 (file-name (git-file-name name version))
5711 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
5712 (home-page "https://github.com/linuxmao-org/regrader")
5713 (synopsis "Delay effect plugin")
5715 "Regrader is a delay effect where the repeats degrade in resolution.
5716 This is an unofficial port of the Regrader plugin created by Igorski. It
5717 is available as an LV2 plugin and a standalone JACK application.")
5718 (license license:expat)))
5720 (define-public fogpad
5722 (inherit vl1-emulator)
5729 (url "https://github.com/linuxmao-org/fogpad")
5730 (commit (string-append "v" version))
5731 ;; bundles a specific commit of the DISTRHO plugin framework
5733 (file-name (git-file-name name version))
5736 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
5737 (home-page "https://github.com/linuxmao-org/fogpad")
5738 (synopsis "Reverb effect plugin")
5740 "Fogpad is a reverb effect in which the reflections can be frozen,
5741 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
5742 port of the Regrader plugin created by Igorski. It is available as an LV2
5743 plugin and a standalone JACK application.")
5744 (license license:expat)))
5746 (define-public tap-lv2
5747 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
5751 (version (git-version "0.0" revision commit))
5756 (url "https://github.com/moddevices/tap-lv2")
5758 (file-name (git-file-name name version))
5761 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
5762 (build-system gnu-build-system)
5764 `(#:tests? #f ; no check target
5768 (modify-phases %standard-phases
5769 (delete 'configure) ; no configure
5773 (string-append "INSTALL_PATH="
5774 (assoc-ref %outputs "out")
5780 `(("pkg-config", pkg-config)))
5781 (synopsis "Audio plugin collection")
5782 (description "TAP (Tom's Audio Processing) plugins is a collection of
5783 audio effect plugins originally released as LADSPA plugins. This package
5784 offers an LV2 version ported by moddevices.")
5785 (home-page "http://tap-plugins.sourceforge.net/")
5786 (license license:gpl2))))
5788 (define-public wolf-shaper
5790 (name "wolf-shaper")
5796 (url "https://github.com/pdesaulniers/wolf-shaper")
5797 (commit (string-append "v" version))
5798 ;; Bundles a specific commit of the DISTRHO plugin framework.
5800 (file-name (git-file-name name version))
5803 "0lllgcbnnh1m95bp29hh17x170hl7170zizjrvy892qfkn36830d"))))
5804 (build-system gnu-build-system)
5806 `(#:tests? #f ; no check target
5807 #:make-flags (list "CC=gcc")
5809 (modify-phases %standard-phases
5810 (delete 'configure) ;no configure target
5811 (replace 'install ;no install target
5812 (lambda* (#:key outputs #:allow-other-keys)
5813 (let* ((out (assoc-ref outputs "out"))
5814 (bin (string-append out "/bin"))
5815 (lv2 (string-append out "/lib/lv2")))
5819 (copy-recursively file
5820 (string-append lv2 "/" (basename file))))
5821 (find-files "bin" "\\.lv2$" #:directories? #t))
5822 ;; Install executables.
5825 (install-file file bin))
5829 (equal? (dirname name) "bin")
5830 (not (string-suffix? ".so" name))
5831 (not (string-suffix? ".lv2" name))))))
5834 `(("pkg-config" ,pkg-config)))
5839 (synopsis "Waveshaper plugin")
5840 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
5841 It is provided as an LV2 plugin and as a standalone Jack application.")
5842 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
5843 (license license:gpl3)))
5845 (define-public wolf-spectrum
5847 (inherit wolf-shaper)
5848 (name "wolf-spectrum")
5854 (url "https://github.com/pdesaulniers/wolf-spectrum")
5855 (commit (string-append "v" version))
5856 ;; Bundles a specific commit of the DISTRHO plugin framework.
5858 (file-name (git-file-name name version))
5861 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
5862 (synopsis "2D spectrogram plugin")
5863 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
5864 It is provided as an LV2 plugin and as a standalone Jack application.")
5865 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
5866 (license license:gpl3)))
5868 (define-public shiru-lv2
5869 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
5873 (version (git-version "0.0" revision commit))
5878 (url "https://github.com/linuxmao-org/shiru-plugins")
5880 ;; Bundles a specific commit of the DISTRHO plugin framework.
5882 (file-name (git-file-name name version))
5885 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
5886 (build-system gnu-build-system)
5888 `(#:tests? #f ; no check target
5889 #:make-flags (list "CC=gcc")
5891 (modify-phases %standard-phases
5892 (delete 'configure) ;no configure target
5893 (replace 'install ;no install target
5894 (lambda* (#:key outputs #:allow-other-keys)
5895 (let* ((out (assoc-ref outputs "out"))
5896 (bin (string-append out "/bin"))
5897 (lv2 (string-append out "/lib/lv2")))
5901 (copy-recursively file
5902 (string-append lv2 "/" (basename file))))
5903 (find-files "bin" "\\.lv2$" #:directories? #t))
5904 ;; Install executables.
5907 (install-file file bin))
5911 (equal? (dirname name) "bin")
5912 (not (string-suffix? ".so" name))
5913 (not (string-suffix? ".lv2" name))))))
5916 `(("pkg-config" ,pkg-config)))
5924 (synopsis "Audio plugin collection")
5925 (description "Shiru plugins is a collection of audio plugins created
5926 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
5928 (home-page "http://shiru.untergrund.net/software.shtml")
5929 (license license:wtfpl2))))