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 cdrom)
77 #:use-module (gnu packages code)
78 #:use-module (gnu packages check)
79 #:use-module (gnu packages cmake)
80 #:use-module (gnu packages compression)
81 #:use-module (gnu packages crypto)
82 #:use-module (gnu packages curl)
83 #:use-module (gnu packages cyrus-sasl)
84 #:use-module (gnu packages datastructures)
85 #:use-module (gnu packages docbook)
86 #:use-module (gnu packages documentation)
87 #:use-module (gnu packages emacs)
88 #:use-module (gnu packages file)
89 #:use-module (gnu packages flex)
90 #:use-module (gnu packages fltk)
91 #:use-module (gnu packages fonts)
92 #:use-module (gnu packages fontutils)
93 #:use-module (gnu packages freedesktop)
94 #:use-module (gnu packages game-development)
95 #:use-module (gnu packages gcc)
96 #:use-module (gnu packages gnupg)
97 #:use-module (gnu packages gettext)
98 #:use-module (gnu packages ghostscript)
99 #:use-module (gnu packages gl)
100 #:use-module (gnu packages glib)
101 #:use-module (gnu packages gnome)
102 #:use-module (gnu packages gpodder)
103 #:use-module (gnu packages graphics)
104 #:use-module (gnu packages graphviz)
105 #:use-module (gnu packages gstreamer)
106 #:use-module (gnu packages gtk)
107 #:use-module (gnu packages guile)
108 #:use-module (gnu packages haskell)
109 #:use-module (gnu packages image)
110 #:use-module (gnu packages imagemagick)
111 #:use-module (gnu packages java)
112 #:use-module (gnu packages libffi)
113 #:use-module (gnu packages libusb)
114 #:use-module (gnu packages linux) ; for alsa-utils
115 #:use-module (gnu packages lirc)
116 #:use-module (gnu packages llvm)
117 #:use-module (gnu packages man)
118 #:use-module (gnu packages mp3)
119 #:use-module (gnu packages mpd)
120 #:use-module (gnu packages ncurses)
121 #:use-module (gnu packages netpbm)
122 #:use-module (gnu packages pcre)
123 #:use-module (gnu packages pdf)
124 #:use-module (gnu packages perl)
125 #:use-module (gnu packages perl-web)
126 #:use-module (gnu packages pkg-config)
127 #:use-module (gnu packages protobuf)
128 #:use-module (gnu packages pulseaudio) ;libsndfile
129 #:use-module (gnu packages python)
130 #:use-module (gnu packages python-web)
131 #:use-module (gnu packages python-xyz)
132 #:use-module (gnu packages qt)
133 #:use-module (gnu packages rdf)
134 #:use-module (gnu packages readline)
135 #:use-module (gnu packages rsync)
136 #:use-module (gnu packages sdl)
137 #:use-module (gnu packages sqlite)
138 #:use-module (gnu packages tcl)
139 #:use-module (gnu packages texinfo)
140 #:use-module (gnu packages tex)
141 #:use-module (gnu packages time)
142 #:use-module (gnu packages tls)
143 #:use-module (gnu packages version-control)
144 #:use-module (gnu packages video)
145 #:use-module (gnu packages vim) ;for 'xxd'
146 #:use-module (gnu packages web)
147 #:use-module (gnu packages wxwidgets)
148 #:use-module (gnu packages xml)
149 #:use-module (gnu packages xorg)
150 #:use-module (gnu packages xiph)
151 #:use-module (gnu packages golang)
152 #:use-module (gnu packages lua)
153 #:use-module ((srfi srfi-1) #:select (last)))
155 (define-public aria-maestosa
157 (name "aria-maestosa")
161 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
162 version "/AriaSrc-" version ".tar.bz2"))
165 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
166 (build-system scons-build-system)
168 `(#:tests? #f ;no tests
170 (list (string-append "prefix=" (assoc-ref %outputs "out")))
171 #:scons ,scons-python2
173 (modify-phases %standard-phases
175 (add-after 'unpack 'scons-propagate-environment
177 ;; By design, SCons does not, by default, propagate
178 ;; environment variables to subprocesses. See:
179 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
180 ;; Here, we modify the SConstruct file to arrange for
181 ;; environment variables to be propagated.
182 (substitute* "SConstruct"
183 (("env = Environment\\(\\)")
184 "env = Environment(ENV=os.environ)")
185 ;; Scons errors out when copying subdirectories from Resources,
186 ;; so we move them instead.
188 ;; We move the "score" and "Documentation" directories at once,
189 ;; so we have to ignore files contained therein.
190 (("if \".svn\" in file" line)
192 " or \"score/\" in file"
193 " or \"Documentation/\" in file")))
195 (add-after 'install 'fix-directory-permissions
196 (lambda* (#:key outputs #:allow-other-keys)
197 (let ((out (assoc-ref outputs "out")))
198 (chmod (string-append out "/share/Aria/Documentation") #o555)
199 (chmod (string-append out "/share/Aria/score") #o555)
202 `(("wxwidgets" ,wxwidgets)
204 ("alsa-lib" ,alsa-lib)))
206 `(("pkg-config" ,pkg-config)))
207 (home-page "http://ariamaestosa.sourceforge.net/")
208 (synopsis "MIDI sequencer and editor")
210 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
211 and play MIDI files with a few clicks in a user-friendly interface offering
212 score, keyboard, guitar, drum and controller views.")
213 (license license:gpl3+)))
215 ;; We don't use the latest release because it depends on Qt4. Instead we
216 ;; download the sources from the tip of the "qt5" branch.
217 (define-public clementine
218 (let ((commit "4619a4c1ab3b17b13d4b2327ad477912917eaf36")
222 (version (git-version "1.3.1" revision commit))
226 (url "https://github.com/clementine-player/Clementine")
228 (file-name (git-file-name name version))
231 "1hximk3q0p8nw8is5w7215xgkb7k4flnfyr0pdz9svfwvcm05w1i"))
232 (modules '((guix build utils)))
237 (delete-file-recursively
238 (string-append "3rdparty/" dir)))
240 ;; TODO: The following dependencies are still bundled:
241 ;; - "qxt": Appears to be unmaintained upstream.
243 ;; - "qtsingleapplication"
245 ;; - "qtiocompressor"
246 ;; - "gmock": The tests crash when using our googletest
247 ;; package instead of the bundled gmock.
255 "sha2" ;; Replaced by openssl.
259 (patches (search-patches "clementine-use-openssl.patch"
260 "clementine-remove-crypto++-dependency.patch"
261 "clementine-fix-sqlite.patch"))))
262 (build-system cmake-build-system)
264 '(#:test-target "clementine_test"
266 (list ;; Requires unpackaged "projectm"
267 "-DENABLE_VISUALISATIONS=OFF"
268 ;; Otherwise it may try to download a non-free library at run-time.
269 ;; TODO In an origin snippet, remove the code that performs the
271 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
272 "-DUSE_SYSTEM_SHA2=TRUE")
274 (modify-phases %standard-phases
275 (add-after 'install 'wrap-program
276 (lambda* (#:key inputs outputs #:allow-other-keys)
277 (let ((out (assoc-ref outputs "out"))
278 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
279 (wrap-program (string-append out "/bin/clementine")
280 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
283 `(("gettext" ,gettext-minimal)
284 ("pkg-config" ,pkg-config)
285 ("qtlinguist" ,qttools)))
288 ("chromaprint" ,chromaprint)
292 ("gstreamer" ,gstreamer)
293 ("gst-plugins-base" ,gst-plugins-base)
294 ("gst-plugins-good" ,gst-plugins-good)
295 ("gst-libav" ,gst-libav)
297 ("libmygpo-qt" ,libmygpo-qt)
298 ;; TODO: Package libgpod.
302 ("protobuf" ,protobuf)
303 ("pulseaudio" ,pulseaudio)
305 ("qtx11extras" ,qtx11extras)
307 ("sparsehash" ,sparsehash)
309 (home-page "https://clementine-player.org")
310 (synopsis "Music player and library organizer")
311 (description "Clementine is a multiplatform music player. It is inspired
312 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
313 playing your music.")
315 ;; clementine and qtiocompressor are under GPLv3.
317 ;; gmock is under BSD-3.
319 ;; qxt is under CPL1.0.
321 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
323 ;; qocoa is under MIT and CC by-sa for the icons.
324 license:cc-by-sa3.0)))))
333 (url "https://github.com/cmus/cmus")
334 (commit (string-append "v" version))))
335 (file-name (git-file-name name version))
338 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
339 (build-system gnu-build-system)
341 `(#:tests? #f ; cmus does not include tests
343 (modify-phases %standard-phases
345 (lambda* (#:key outputs #:allow-other-keys)
346 (let ((out (assoc-ref outputs "out")))
347 ;; It's an idiosyncratic configure script that doesn't
348 ;; understand --prefix=..; it wants prefix=.. instead.
349 (invoke "./configure"
350 (string-append "prefix=" out))
352 ;; TODO: cmus optionally supports the following formats, which haven't yet
353 ;; been added to Guix:
357 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
358 ;; Guix. See <http://sourceforge.net/projects/discid/>
360 `(("pkg-config" ,pkg-config)))
362 `(("alsa-lib" ,alsa-lib)
369 ("libcdio-paranoia" ,libcdio-paranoia)
372 ("libmodplug" ,libmodplug)
373 ("libmpcdec" ,libmpcdec)
374 ("libsamplerate" ,libsamplerate)
375 ("libvorbis" ,libvorbis)
377 ("opusfile" ,opusfile)
378 ("pulseaudio" ,pulseaudio)
379 ("wavpack" ,wavpack)))
380 (home-page "https://cmus.github.io/")
381 (synopsis "Small console music player")
382 (description "Cmus is a small and fast console music player. It supports
383 many input formats and provides a customisable Vi-style user interface.")
384 (license license:gpl2+)))
386 (define-public denemo
393 (uri (string-append "mirror://gnu/denemo/"
394 "denemo-" version ".tar.gz"))
396 (base32 "145kq0zfgdadykl3i6na221i4s5wzdrcqq48amzyfarnrqk2rmpd"))))
397 (build-system gnu-build-system)
400 (modify-phases %standard-phases
402 (lambda* (#:key inputs #:allow-other-keys)
403 ;; Tests require to write $HOME.
404 (setenv "HOME" (getcwd))
405 ;; Replace hard-coded diff file name.
406 (substitute* "tests/integration.c"
408 (string-append (assoc-ref inputs "diffutils") "/bin/diff")))
409 ;; Denemo's documentation says to use this command to run its
411 (invoke "make" "-C" "tests" "check")))
412 (add-before 'build 'set-lilypond
413 ;; This phase sets the default path for lilypond to its current
414 ;; location in the store.
415 (lambda* (#:key inputs #:allow-other-keys)
416 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
418 (substitute* "src/core/prefops.c"
419 (("g_string_new \\(\"lilypond\"\\);")
420 (string-append "g_string_new (\""
425 `(("diffutils" ,diffutils)
426 ("glib:bin" ,glib "bin") ; for gtester
428 ("intltool" ,intltool)
430 ("pkg-config" ,pkg-config)))
432 `(("alsa-lib" ,alsa-lib)
436 ("fluidsynth" ,fluidsynth)
439 ("gtksourceview" ,gtksourceview-3)
442 ("libsndfile" ,libsndfile)
444 ("lilypond" ,lilypond)
445 ("portaudio" ,portaudio)
446 ("portmidi" ,portmidi)
447 ("rubberband" ,rubberband)))
448 (synopsis "Graphical music notation, front-end to GNU Lilypond")
450 "GNU Denemo is a music notation editor that provides a convenient
451 interface to the powerful music engraving program Lilypond. Music can be
452 typed in using the computer keyboard, played in using a MIDI keyboard, or
453 even input via a microphone connected to the sound card. The final product
454 is publication-quality music notation that is continuously generated in the
455 background while you work.")
456 (home-page "http://www.denemo.org")
457 (license license:gpl3+)))
467 (url "https://github.com/kode54/dumb")
470 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
471 (file-name (git-file-name name version))))
472 (build-system cmake-build-system)
474 '(#:tests? #f ; no check target
476 (list "-DBUILD_SHARED_LIBS=ON"
477 "-DBUILD_EXAMPLES=OFF")))
478 (home-page "https://github.com/kode54/dumb")
479 (synopsis "Module audio renderer library")
481 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
482 targets maximum accuracy to the original formats, with low-pass resonant filters
483 for the IT files, accurate timing and pitching, and three resampling quality
484 settings (aliasing, linear interpolation and cubic interpolation).")
485 ;; The DUMB license is a bit peculiar.
486 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
487 ;; the first three clauses for genuine consideration.
488 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
489 ;; license, a known free software license.
490 ;; Therefore, the DUMB license may be considered a free software license.
491 (license (license:fsf-free "file://LICENSE"))))
493 (define-public dumb-allegro4
496 (name "dumb-allegro4")
498 (substitute-keyword-arguments (package-arguments dumb)
499 ((#:configure-flags flags)
500 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
502 `(("allegro" ,allegro-4)))))
504 (define-public hydrogen
512 (url "https://github.com/hydrogen-music/hydrogen")
514 (file-name (git-file-name name version))
516 (base32 "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1"))))
517 (build-system cmake-build-system)
519 `(#:test-target "tests"
521 (modify-phases %standard-phases
522 (add-after 'unpack 'fix-data-directory
523 (lambda* (#:key outputs #:allow-other-keys)
524 (substitute* "CMakeLists.txt"
525 (("/usr/share/pixmaps")
526 (string-append (assoc-ref outputs "out")
530 `(("cppunit" ,cppunit)
531 ("pkg-config" ,pkg-config)
532 ("qtlinguist" ,qttools)))
534 `(("alsa-lib" ,alsa-lib)
536 ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set
538 ("libarchive" ,libarchive)
540 ("libsndfile" ,libsndfile)
542 ("pulseaudio" ,pulseaudio)
544 ("qtxmlpatterns" ,qtxmlpatterns)
546 (home-page "http://www.hydrogen-music.org")
547 (synopsis "Drum machine")
549 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
550 enable professional yet simple and intuitive pattern-based drum programming.")
551 (license license:gpl2+)))
553 (define-public easytag
559 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
563 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
564 (build-system glib-or-gtk-build-system)
566 `(("desktop-file-utils" ,desktop-file-utils)
568 ("intltool" ,intltool)
570 ("pkg-config" ,pkg-config)
571 ("xmllint" ,libxml2)))
576 ("libid3tag" ,libid3tag)
577 ("libvorbis" ,libvorbis)
578 ("opusfile" ,opusfile)
585 (modify-phases %standard-phases
586 (add-before 'configure 'configure-libid3tag
587 (lambda* (#:key inputs #:allow-other-keys)
588 ;; libid3tag does not provide a .pc file and EasyTAG's configure
589 ;; script healivy relies on pkg-config. Providing a temporary
590 ;; local .pc file is easier than patching the configure script.
591 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
592 (mkdir-p "pkgconfig")
594 "pkgconfig/id3tag.pc"
598 libdir=${prefix}/lib~@
599 includedir=${prefix}/include~@
604 Libs: -L${libdir} -lid3tag -lz~@
605 Cflags: -I${includedir}~%"
607 (setenv "PKG_CONFIG_PATH"
608 (string-append (getenv "PKG_CONFIG_PATH")
609 ":" (getcwd) "/pkgconfig"))
611 (add-after 'unpack 'patch-makefile
613 (substitute* "Makefile.in"
614 ;; The Makefile generates a test-desktop-file-validate.sh
615 ;; script with /bin/sh hard-coded.
616 (("/bin/sh") (which "sh"))
617 ;; Don't create 'icon-theme.cache'.
618 (("gtk-update-icon-cache") "true"))
620 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
621 (synopsis "Simple application for viewing and editing tags in audio files")
623 "EasyTAG is an application for viewing and editing tags in audio files.
624 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
625 MusePack, Monkey's Audio, and WavPack files.")
626 (license license:gpl2+)))
628 (define-public extempore
635 (url "https://github.com/digego/extempore")
636 (commit (string-append "v" version))))
639 "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp"))
640 (file-name (git-file-name name version))
641 (patches (search-patches
642 "extempore-unbundle-external-dependencies.patch"))
643 (modules '((guix build utils)))
646 ;; Remove bundled sources.
647 (map delete-file-recursively
651 (build-system cmake-build-system)
653 `(#:configure-flags (list "-DJACK=ON"
655 "-DEXTERNAL_SHLIBS_AUDIO=OFF"
656 "-DEXTERNAL_SHLIBS_GRAPHICS=OFF"
657 "-DCMAKE_BUILD_TYPE=Release"
658 (string-append "-DEXT_SHARE_DIR="
659 (assoc-ref %outputs "out")
661 #:modules ((ice-9 match)
662 (guix build cmake-build-system)
665 (modify-phases %standard-phases
666 (add-after 'build 'build-aot-libs
668 (for-each (lambda (target)
669 (invoke "make" target))
674 (add-after 'unpack 'patch-install-locations
675 (lambda* (#:key outputs #:allow-other-keys)
676 (substitute* "CMakeLists.txt"
677 (("EXT_SHARE_DIR=\"\\.\"\\)")
678 "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")")
679 (("DESTINATION \"\\.\"\\)") "DESTINATION bin)")
680 (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n"))
682 (add-after 'unpack 'patch-directories
683 (lambda* (#:key outputs #:allow-other-keys)
684 (substitute* "extras/extempore.el"
685 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
686 (string-append "(runtime-directory \""
687 (assoc-ref outputs "out")
688 "/share/extempore/runtime"
691 (add-after 'unpack 'link-with-additional-libs
693 ;; The executable must be linked with libffi and zlib.
694 (substitute* "CMakeLists.txt"
695 (("target_link_libraries\\(extempore PRIVATE dl" line)
696 (string-append line " ffi z")))
698 ;; FIXME: All examples that are used as tests segfault for some
700 (add-after 'unpack 'disable-broken-tests
702 (substitute* "CMakeLists.txt"
703 (("extempore_add_example_as_test\\(.*") ""))
705 (add-after 'unpack 'hardcode-external-lib-paths
706 (lambda* (#:key inputs #:allow-other-keys)
707 (use-modules (ice-9 match))
710 ((file-name lib pkg-name)
711 (substitute* (string-append "libs/external/" file-name ".xtm")
712 ((lib) (string-append (assoc-ref inputs pkg-name)
714 '(("assimp" "libassimp.so" "assimp")
715 ("portmidi" "libportmidi.so" "portmidi")
716 ("sndfile" "libsndfile.so" "libsndfile")
717 ("fft" "libkiss_fft.so" "kiss-fft")
718 ("stb_image" "libstb_image.so" "stb-image")
719 ("nanovg" "libnanovg.so" "nanovg")
720 ("glext" "libGL.so" "mesa")
721 ("glfw3" "libglfw.so" "glfw")
722 ("gl/glcore-directbind" "libGL.so" "mesa")
723 ("gl/glcompat-directbind" "libGL.so" "mesa")))
725 (add-after 'unpack 'use-own-llvm
726 (lambda* (#:key inputs #:allow-other-keys)
727 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
728 ;; Our LLVM builds shared libraries, so Extempore should use
730 (substitute* "CMakeLists.txt"
731 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
733 (add-after 'unpack 'fix-aot-compilation
734 (lambda* (#:key outputs #:allow-other-keys)
735 (substitute* "CMakeLists.txt"
736 ;; Extempore needs to be told where the runtime is to be found.
737 ;; While we're at it we disable automatic tuning for a specific
738 ;; CPU to make binary substitution possible.
739 (("COMMAND extempore" prefix)
740 (string-append prefix " --sharedir " (getcwd)
741 " --mcpu=generic --attr=none")))
744 `(("llvm" ,llvm-for-extempore)
747 ("libsndfile" ,libsndfile)
750 ("stb-image" ,stb-image-for-extempore)
751 ("kiss-fft" ,kiss-fft-for-extempore)
752 ("nanovg" ,nanovg-for-extempore)
753 ("portmidi" ,portmidi-for-extempore)
755 ("alsa-lib" ,alsa-lib)
756 ("portaudio" ,portaudio)
762 ("emacs" ,emacs-no-x)))
763 ;; Extempore refuses to build on architectures other than x86_64
764 (supported-systems '("x86_64-linux"))
765 (home-page "https://digego.github.io/extempore/")
766 (synopsis "Programming environment for live coding of multimedia")
768 "Extempore is a programming language and runtime environment designed
769 with live programming in mind. It supports interactive programming in a REPL
770 style, compiling and binding code just-in-time. Although Extempore has its
771 roots in 'live coding' of audiovisual media art, it is suitable for any task
772 domain where dynamic run-time modifiability and good numerical performance are
773 required. Extempore also has strong timing and concurrency semantics, which
774 are helpful when working in problem spaces where timing is important (such as
776 (license license:bsd-2)))
784 (uri (string-append "http://das.nasophon.de/download/klick-"
788 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
789 (build-system scons-build-system)
791 `(#:scons-flags (list (string-append "PREFIX=" %output))
792 #:scons ,scons-python2
793 #:tests? #f ; no "check" target
795 (modify-phases %standard-phases
796 (add-after 'unpack 'be-permissive
798 (substitute* "SConstruct"
799 (("'-Wall'") "'-Wall', '-fpermissive'"))
801 (add-after 'unpack 'replace-removed-scons-syntax
803 (substitute* "SConstruct"
804 (("BoolOption") "BoolVariable")
805 (("PathOption") "PathVariable")
806 (("Options") "Variables"))
811 ("libsndfile" ,libsndfile)
812 ("libsamplerate" ,libsamplerate)
814 ("rubberband" ,rubberband)))
816 `(("pkg-config" ,pkg-config)))
817 (home-page "http://das.nasophon.de/klick/")
818 (synopsis "Metronome for JACK")
820 "klick is an advanced command-line based metronome for JACK. It allows
821 you to define complex tempo maps for entire songs or performances.")
822 (license license:gpl2+)))
824 (define-public gtklick
830 (uri (string-append "http://das.nasophon.de/download/gtklick-"
834 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
835 (build-system python-build-system)
837 `(#:tests? #f ; no tests
840 (modify-phases %standard-phases
841 (add-before 'build 'add-sitedirs
842 ;; .pth files are not automatically interpreted unless the
843 ;; directories containing them are added as "sites". The directories
844 ;; are then added to those in the PYTHONPATH. This is required for
845 ;; the operation of pygtk.
847 (substitute* "gtklick/gtklick.py"
849 "import pygtk, site, sys
850 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
851 (add-after 'unpack 'inject-store-path-to-klick
852 (lambda* (#:key inputs #:allow-other-keys)
853 (substitute* "gtklick/klick_backend.py"
854 (("KLICK_PATH = 'klick'")
855 (string-append "KLICK_PATH = '"
856 (assoc-ref inputs "klick")
861 ("python2-pyliblo" ,python2-pyliblo)
862 ("python2-pygtk" ,python2-pygtk)))
864 `(("gettext" ,gettext-minimal)))
865 (home-page "http://das.nasophon.de/gtklick/")
866 (synopsis "Simple metronome with an easy-to-use graphical interface")
868 "Gtklick is a simple metronome with an easy-to-use graphical user
869 interface. It is implemented as a frontend to @code{klick}.")
870 (license license:gpl2+)))
872 (define-public libgme
878 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
879 "downloads/game-music-emu-" version
883 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
884 (build-system cmake-build-system)
886 '(#:tests? #f)) ; no check target
887 (home-page "https://bitbucket.org/mpyne/game-music-emu")
888 (synopsis "Video game music file playback library")
890 "Game-music-emu is a collection of video game music file emulators that
891 support the following formats and systems:
894 ZX Spectrum/Asmtrad CPC
898 Sega Genesis/Mega Drive
900 NEC TurboGrafx-16/PC Engine
902 MSX Home Computer/other Z80 systems (doesn't support FM sound)
904 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
906 Atari systems using POKEY sound chip
908 Super Nintendo/Super Famicom
910 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
912 (license (list license:lgpl2.1+
913 ;; demo and player directories are under the Expat license
916 (define-public ninjas2
925 (url "https://github.com/clearly-broken-software/ninjas2")
926 (commit (string-append "v" version))
927 ;; Bundles a specific commit of the DISTRHO plugin framework.
929 (file-name (git-file-name name version))
931 (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
932 (build-system gnu-build-system)
934 `(#:tests? #f ;no tests
936 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
937 (string-append "CC=" ,(cc-for-target)))
939 (modify-phases %standard-phases
940 (delete 'configure) ;no configure target
941 (replace 'install ;no install target
942 (lambda* (#:key outputs #:allow-other-keys)
943 (let* ((out (assoc-ref outputs "out"))
944 (bin (string-append out "/bin"))
945 (lv2 (string-append out "/lib/lv2")))
949 (copy-recursively file
950 (string-append lv2 "/" (basename file))))
951 (find-files "bin" "\\.lv2$" #:directories? #t))
952 ;; Install executables.
955 (install-file file bin))
959 (equal? (dirname name) "bin")
960 (not (string-suffix? ".so" name))
961 (not (string-suffix? ".lv2" name))))))
965 ("jack" ,jack-1) ; for the standalone JACK application
966 ("libsamplerate" ,libsamplerate)
968 ("libsndfile" ,libsndfile)))
972 ("pkg-config" ,pkg-config)))
973 (synopsis "Sample slicer audio plugin")
975 "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
976 Its goal is to be an easy to use sample slicer with quick slicing of samples
977 and auto-mapping slices to MIDI note numbers.")
978 (home-page "https://github.com/clearly-broken-software/ninjas2")
979 (license license:gpl3+)))
981 (define-public lilypond
988 (uri (string-append "http://lilypond.org/download/sources/"
989 "v" (version-major+minor version) "/"
990 "lilypond-" version ".tar.gz"))
992 (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar"))))
993 (build-system gnu-build-system)
995 `(#:tests? #f ;out-test/collated-files.html fails
997 #:make-flags '("conf=www") ;to generate images for info manuals
999 (list "CONFIGURATION=www"
1000 (string-append "--with-texgyre-dir="
1001 (assoc-ref %build-inputs "font-tex-gyre")
1002 "/share/fonts/opentype/"))
1004 (modify-phases %standard-phases
1005 (add-after 'unpack 'use-texlive-union
1007 ;; FIXME: fonts are not found and have to be generated in HOME.
1008 (setenv "HOME" "/tmp")
1009 ;; The test for the "lh" package fails, even though it is among
1011 (substitute* "configure"
1012 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
1014 (add-after 'unpack 'fix-path-references
1016 (substitute* "scm/backend-library.scm"
1017 (("\\(search-executable '\\(\"gs\"\\)\\)")
1018 (string-append "\"" (which "gs") "\""))
1020 (string-append "\"" (which "sh") "\"")))
1022 (add-before 'configure 'prepare-configuration
1024 (substitute* "configure"
1025 (("SHELL=/bin/sh") "SHELL=sh")
1026 ;; When checking the fontforge version do not consider the
1027 ;; version string that's part of the directory.
1028 (("head -n") "tail -n")
1029 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
1030 (("20110222") "19700101"))
1031 (setenv "out" "www")
1032 (setenv "conf" "www")
1034 (add-after 'install 'install-info
1037 "-j" (number->string (parallel-job-count))
1038 "conf=www" "install-info")
1041 `(("guile" ,guile-1.8)
1042 ("font-dejavu" ,font-dejavu)
1043 ("font-tex-gyre" ,font-tex-gyre)
1044 ("fontconfig" ,fontconfig)
1045 ("freetype" ,freetype)
1046 ("ghostscript" ,ghostscript)
1048 ("python" ,python-2)))
1053 ("fontforge" ,fontforge)
1054 ("dblatex" ,dblatex)
1055 ("gettext" ,gettext-minimal)
1056 ("imagemagick" ,imagemagick)
1057 ("netpbm" ,netpbm) ;for pngtopnm
1058 ("texlive" ,(texlive-union (list texlive-metapost
1059 texlive-generic-epsf
1061 texlive-latex-cyrillic)))
1062 ("texinfo" ,texinfo)
1063 ("texi2html" ,texi2html-1.82)
1065 ("pkg-config" ,pkg-config)
1067 (home-page "http://www.lilypond.org/")
1068 (synopsis "Music typesetting")
1070 "GNU LilyPond is a music typesetter, which produces high-quality sheet
1071 music. Music is input in a text file containing control sequences which are
1072 interpreted by LilyPond to produce the final document. It is extendable with
1074 (license license:gpl3+)
1076 ;; On armhf and mips64el, building the documentation sometimes leads to
1077 ;; more than an hour of silence, so double the max silent time.
1078 (properties `((max-silent-time . 7200)))))
1080 (define-public non-sequencer
1081 ;; The latest tagged release is three years old and uses a custom build
1082 ;; system, so we take the last commit.
1083 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1086 (name "non-sequencer")
1087 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
1091 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1095 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
1096 (file-name (string-append name "-" version "-checkout"))))
1097 (build-system waf-build-system)
1099 `(#:tests? #f ;no "check" target
1101 (list "--project=sequencer"
1102 ;; Disable the use of SSE unless on x86_64.
1103 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1104 (%current-system))))
1107 #:python ,python-2))
1110 ("libsigc++" ,libsigc++)
1114 `(("pkg-config" ,pkg-config)))
1115 (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer")
1116 (synopsis "Pattern-based MIDI sequencer")
1118 "The Non Sequencer is a powerful, lightweight, real-time,
1119 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1120 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1121 Sequencer happens on-line, in real-time. Music can be composed live, while the
1122 transport is rolling.")
1123 (license license:gpl2+))))
1125 (define-public non-session-manager
1126 (package (inherit non-sequencer)
1127 (name "non-session-manager")
1129 (substitute-keyword-arguments (package-arguments non-sequencer)
1130 ((#:configure-flags flags)
1131 `(cons "--project=session-manager"
1132 (delete "--project=sequencer" ,flags)))))
1138 `(("pkg-config" ,pkg-config)))
1139 (home-page "https://non.tuxfamily.org/nsm/")
1140 (synopsis "Audio session management")
1142 "The Non Session Manager is an API and an implementation for audio
1143 session management. NSM clients use a well-specified OSC protocol to
1144 communicate with the session management daemon.")
1145 (license license:gpl2+)))
1147 (define-public non-mixer
1148 (package (inherit non-sequencer)
1151 (substitute-keyword-arguments (package-arguments non-sequencer)
1152 ((#:configure-flags flags)
1153 `(cons "--project=mixer"
1154 (delete "--project=sequencer" ,flags)))))
1162 `(("pkg-config" ,pkg-config)))
1163 (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
1164 (synopsis "Modular digital audio mixer")
1166 "The Non Mixer is a powerful, reliable and fast modular digital audio
1167 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1168 toolkit for a fast and lightweight user interface. Non Mixer can be used
1169 alone or in concert with Non Timeline and Non Sequencer to form a complete
1171 (license license:gpl2+)))
1173 (define-public non-timeline
1174 (package (inherit non-sequencer)
1175 (name "non-timeline")
1177 (substitute-keyword-arguments (package-arguments non-sequencer)
1178 ((#:configure-flags flags)
1179 `(cons "--project=timeline"
1180 (delete "--project=sequencer" ,flags)))))
1184 ("libsndfile" ,libsndfile)
1187 `(("pkg-config" ,pkg-config)))
1188 (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
1189 (synopsis "Modular digital audio timeline arranger")
1191 "The Non Timeline is a powerful, reliable and fast modular digital audio
1192 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1193 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1194 be used alone or in concert with Non Mixer and Non Sequencer to form a
1196 (license license:gpl2+)))
1198 (define-public tascam-gtk
1199 ;; This commit represents the latest version at the time of this writing.
1200 (let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
1204 (version (git-version "0.4" revision commit))
1208 (url "https://github.com/onkelDead/tascam-gtk.git")
1210 (file-name (git-file-name name version))
1213 "07k7rccqqg7lnygkh97a200l1i6s1rl92n01v0q6n4257sinir6f"))))
1214 (build-system gnu-build-system)
1218 ("alsa-lib" ,alsa-lib)
1219 ("libxmlplusplus" ,libxmlplusplus-2.6)))
1221 `(("glib:bin" ,glib "bin")
1222 ("pkg-config" ,pkg-config)))
1223 (home-page "https://github.com/onkelDead/tascam-gtk")
1224 (synopsis "GTK+ based application to control Tascam US-16x08 DSP mixer")
1225 (description "This is a mixer application to control the Tascam US-16x08
1226 audio interface. This device contains about 280 control elements and this
1227 mixer application aims to provide comfortable access to the DSP effects the
1229 (license license:expat))))
1231 (define-public bsequencer
1238 (url "https://github.com/sjaehn/BSEQuencer")
1240 (file-name (git-file-name name version))
1243 "08xwz5v8wrar0rx7qdr9pkpjz2k9sw6bn5glhpn6sp6453fabf8q"))))
1244 (build-system gnu-build-system)
1247 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1248 #:tests? #f ; there are none
1250 (modify-phases %standard-phases
1251 (delete 'configure))))
1255 ("libx11" ,libx11)))
1257 `(("pkg-config" ,pkg-config)))
1258 (home-page "https://github.com/sjaehn/BSEQuencer")
1259 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1261 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1262 with a selectable pattern matrix size.")
1263 (license license:gpl3+)))
1265 (define-public bchoppr
1267 (inherit bsequencer)
1274 (url "https://github.com/sjaehn/BChoppr")
1276 (file-name (git-file-name name version))
1279 "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"))))
1280 (synopsis "Audio stream-chopping LV2 plugin")
1281 (description "B.Choppr cuts the audio input stream into a repeated
1282 sequence of up to 16 chops. Each chop can be leveled up or down (gating).
1283 B.Choppr is the successor of B.Slizr.")
1284 (home-page "https://github.com/sjaehn/BChoppr")
1285 (license license:gpl3+)))
1287 (define-public bshapr
1289 (inherit bsequencer)
1296 (url "https://github.com/sjaehn/BShapr")
1297 (commit (string-append "v" version))))
1298 (file-name (git-file-name name version))
1300 (base32 "04zd3a178i2nivg5rjailzqvc5mlnilmhj1ziygmbhshbrywplri"))))
1301 (synopsis "Beat/envelope shaper LV2 plugin")
1302 (description "B.Shapr is a beat/envelope shaper LV2 plugin.")
1303 (home-page "https://github.com/sjaehn/BShapr")
1304 (license license:gpl3+)))
1306 (define-public bjumblr
1308 (inherit bsequencer)
1315 (url "https://github.com/sjaehn/BJumblr")
1317 (file-name (git-file-name name version))
1320 "0kl6hrxmqrdf0195bfnzsa2h1073fgiqrfhg2276fm1954sm994v"))))
1323 ("libsndfile", libsndfile)
1325 (synopsis "Pattern-controlled audio stream/sample re-sequencer LV2 plugin")
1326 (description "B.Jumblr is a pattern-controlled audio stream / sample
1327 re-sequencer LV2 plugin.")
1328 (home-page "https://github.com/sjaehn/BJumblr")
1329 (license license:gpl3+)))
1331 (define-public bschaffl
1333 (inherit bsequencer)
1340 (url "https://github.com/sjaehn/BSchaffl")
1342 (file-name (git-file-name name version))
1345 "1c09acqrbd387ba41f8ch1qykdap5h6cg9if5pgd16i4dmjnpghj"))))
1348 ("fontconfig" ,fontconfig)
1349 ("libsndfile", libsndfile)
1352 (home-page "https://github.com/sjaehn/BSchaffl")
1353 (synopsis "Pattern-controlled MIDI amp & time stretch LV2 plugin")
1354 (description "This package provides an LV2 plugin that allows for
1355 pattern-controlled MIDI amp & time stretching to produce shuffle / swing
1358 Key features include:
1361 @item MIDI velocity amplification and timing manipulation plugin
1362 @item Swing and shuffle rhythms
1363 @item Pre-generator dynamics
1365 @item Pattern (sliders) or shape-controlled
1367 @item Smart quantization
1370 (license license:gpl3+)))
1372 (define-public solfege
1379 "mirror://gnu/solfege/solfege-"
1383 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1384 (build-system gnu-build-system)
1386 `(#:tests? #f ; xmllint attempts to download DTD
1387 #:test-target "test"
1389 (modify-phases %standard-phases
1390 (add-after 'unpack 'fix-configuration
1391 (lambda* (#:key inputs #:allow-other-keys)
1392 (substitute* "default.config"
1393 (("/usr/bin/aplay") "aplay")
1394 (("/usr/bin/timidity") "timidity")
1395 (("/usr/bin/mpg123") "mpg123")
1396 (("/usr/bin/ogg123") "ogg123"))
1398 (add-before 'build 'patch-python-shebangs
1400 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1402 (substitute* '("solfege/parsetree.py"
1403 "solfege/presetup.py")
1404 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1406 (add-before 'build 'add-sitedirs
1407 ;; .pth files are not automatically interpreted unless the
1408 ;; directories containing them are added as "sites". The directories
1409 ;; are then added to those in the PYTHONPATH. This is required for
1410 ;; the operation of pygtk and pygobject.
1412 (substitute* "run-solfege.py"
1415 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1417 (add-before 'build 'adjust-config-file-prefix
1418 (lambda* (#:key outputs #:allow-other-keys)
1419 (substitute* "run-solfege.py"
1420 (("prefix = os.path.*$")
1421 (string-append "prefix = " (assoc-ref outputs "out"))))
1423 (add-after 'install 'wrap-program
1424 (lambda* (#:key inputs outputs #:allow-other-keys)
1425 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1426 (let* ((out (assoc-ref outputs "out"))
1427 (path (getenv "PYTHONPATH")))
1428 (wrap-program (string-append out "/bin/solfege")
1429 `("PYTHONPATH" ":" prefix (,path))))
1432 `(("python" ,python-2)
1433 ("pygtk" ,python2-pygtk)
1434 ("gettext" ,gettext-minimal)
1436 ("lilypond" ,lilypond)))
1438 `(("pkg-config" ,pkg-config)
1439 ("txt2man" ,txt2man)
1440 ("libxml2" ,libxml2) ; for tests
1441 ("ghostscript" ,ghostscript)
1442 ("texinfo" ,texinfo)))
1443 (home-page "https://www.gnu.org/software/solfege/")
1444 (synopsis "Ear training")
1446 "GNU Solfege is a program for practicing musical ear-training. With it,
1447 you can practice your recognition of various musical intervals and chords. It
1448 features a statistics overview so you can monitor your progress across several
1449 sessions. Solfege is also designed to be extensible so you can easily write
1451 (license license:gpl3+)))
1453 (define-public powertabeditor
1455 (name "powertabeditor")
1456 (version "2.0.0-alpha13")
1460 (url "https://github.com/powertab/powertabeditor")
1462 (file-name (git-file-name name version))
1465 "12il5xzgg53ick5k4ivvvqdagld5pgigiiz6s829kkdaymqr7vx5"))))
1466 (build-system cmake-build-system)
1469 (modify-phases %standard-phases
1470 (replace 'check (lambda _ (invoke "bin/pte_tests"))))))
1472 `(("alsa-lib" ,alsa-lib)
1474 ("minizip" ,minizip)
1475 ("pugixml" ,pugixml)
1477 ("rapidjson" ,rapidjson)
1479 ("timidity" ,timidity++)
1482 `(("doctest" ,doctest)
1483 ("pkg-config" ,pkg-config)))
1484 (home-page "https://github.com/powertab/powertabedito")
1485 (synopsis "Guitar tablature editor")
1487 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1488 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1489 (license license:gpl3+)))
1491 (define-public jalv-select
1493 (name "jalv-select")
1498 (url "https://github.com/brummer10/jalv_select")
1499 (commit (string-append "v" version))))
1500 (file-name (git-file-name name version))
1503 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
1504 (build-system gnu-build-system)
1507 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1509 (modify-phases %standard-phases
1511 (add-after 'unpack 'ignore-PATH
1512 (lambda* (#:key inputs #:allow-other-keys)
1513 (substitute* "jalv.select.cpp"
1514 (("echo \\$PATH.*tr ':'.*xargs ls")
1515 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1517 (add-before 'reset-gzip-timestamps 'make-manpages-writable
1518 (lambda* (#:key outputs #:allow-other-keys)
1519 (for-each make-file-writable
1520 (find-files (string-append (assoc-ref outputs "out")
1528 ("gtkmm" ,gtkmm-2)))
1530 `(("pkg-config" ,pkg-config)))
1531 (home-page "https://github.com/brummer10/jalv_select")
1532 (synopsis "GUI to select LV2 plugins and run them with jalv")
1534 "The jalv.select package provides a graphical user interface allowing
1535 users to select LV2 plugins and run them with jalv.")
1536 (license license:public-domain)))
1538 (define-public synthv1
1545 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1546 "/synthv1-" version ".tar.gz"))
1549 "0jc2drk5dzsaa6vxmk1hyi0zp02zm3mzar3arssfy5vcyc5ig6sk"))))
1550 (build-system gnu-build-system)
1552 `(#:tests? #f)) ; there are no tests
1556 ("alsa-lib" ,alsa-lib)
1557 ("non-session-manager" ,non-session-manager)
1559 ("qtbase" ,qtbase)))
1561 `(("pkg-config" ,pkg-config)
1562 ("qttools" ,qttools)))
1563 (home-page "https://synthv1.sourceforge.io")
1564 (synopsis "Polyphonic subtractive synthesizer")
1566 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1567 oscillators and stereo effects.")
1568 (license license:gpl2+)))
1570 (define-public drumkv1
1577 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
1578 "/drumkv1-" version ".tar.gz"))
1581 "198fyc5dwjn679si86vy139ngym4n3mdy1z4vfjikn7b6mriq1x2"))))
1582 (build-system gnu-build-system)
1584 `(#:tests? #f)) ; there are no tests
1588 ("libsndfile" ,libsndfile)
1589 ("alsa-lib" ,alsa-lib)
1590 ("non-session-manager" ,non-session-manager)
1592 ("qtbase" ,qtbase)))
1594 `(("pkg-config" ,pkg-config)
1595 ("qttools" ,qttools)))
1596 (home-page "https://drumkv1.sourceforge.io")
1597 (synopsis "Drum-kit sampler synthesizer with stereo effects")
1599 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
1601 (license license:gpl2+)))
1603 (define-public samplv1
1610 (string-append "mirror://sourceforge/samplv1/samplv1/" version
1611 "/samplv1-" version ".tar.gz"))
1614 "1v21r722m027jjy4x6lm5cvzapsnpx36r10ar543ay0hgmygl322"))))
1615 (build-system gnu-build-system)
1617 `(#:tests? #f)) ; there are no tests
1621 ("libsndfile" ,libsndfile)
1622 ("alsa-lib" ,alsa-lib)
1623 ("non-session-manager" ,non-session-manager)
1625 ("qtbase" ,qtbase)))
1627 `(("pkg-config" ,pkg-config)
1628 ("qttools" ,qttools)))
1629 (home-page "https://samplv1.sourceforge.io")
1630 (synopsis "Polyphonic sampler synthesizer with stereo effects")
1632 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
1634 (license license:gpl2+)))
1636 (define-public padthv1
1643 (string-append "mirror://sourceforge/padthv1/padthv1/" version
1644 "/padthv1-" version ".tar.gz"))
1647 "1f2v60dpja0rnml60g463fjiz0f84v32yjwpvr56z79h1i6fssmv"))))
1648 (build-system gnu-build-system)
1650 `(#:tests? #f)) ; there are no tests
1654 ("alsa-lib" ,alsa-lib)
1655 ("non-session-manager" ,non-session-manager)
1658 ("qtbase" ,qtbase)))
1660 `(("pkg-config" ,pkg-config)
1661 ("qttools" ,qttools)))
1662 (home-page "https://padthv1.sourceforge.io")
1663 (synopsis "Polyphonic additive synthesizer")
1665 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
1666 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
1667 special variant of additive synthesis.")
1668 (license license:gpl2+)))
1670 (define-public amsynth
1677 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
1678 "download/release-" version
1679 "/amsynth-" version ".tar.bz2"))
1682 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
1683 (build-system gnu-build-system)
1685 `(("alsa-lib" ,alsa-lib)
1689 ("libsndfile" ,libsndfile)
1691 ("gtkmm" ,gtkmm-2)))
1693 `(("pkg-config" ,pkg-config)
1694 ("intltool" ,intltool)))
1695 (home-page "https://amsynth.github.io")
1696 (synopsis "Analog modeling synthesizer")
1698 "amsynth is an easy-to-use software synthesizer with a classic
1699 subtractive synthesizer topology. Its features include: dual
1700 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
1701 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
1702 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
1703 which can modulate the oscillators, filter, and amplitude; distortion and
1705 (license license:gpl2+)))
1707 (define-public setbfree
1714 (url "https://github.com/pantherb/setBfree")
1715 (commit (string-append "v" version))))
1716 (file-name (git-file-name name version))
1719 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
1720 (build-system gnu-build-system)
1722 `(#:tests? #f ; no "check" target
1724 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1725 (string-append "FONTFILE="
1726 (assoc-ref %build-inputs "font-bitstream-vera")
1727 "/share/fonts/truetype/VeraBd.ttf")
1728 ;; Disable unsupported optimization flags on non-x86
1729 ,@(let ((system (or (%current-target-system)
1730 (%current-system))))
1731 (if (or (string-prefix? "x86_64" system)
1732 (string-prefix? "i686" system))
1734 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
1736 (modify-phases %standard-phases
1737 (add-before 'build 'set-CC-variable
1738 (lambda _ (setenv "CC" "gcc") #t))
1739 (delete 'configure))))
1743 ("zita-convolver" ,zita-convolver)
1746 ("font-bitstream-vera" ,font-bitstream-vera)))
1748 `(("help2man" ,help2man)
1749 ("pkg-config" ,pkg-config)))
1750 (home-page "http://setbfree.org")
1751 (synopsis "Tonewheel organ")
1753 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
1754 the sound and properties of the electromechanical organs and sound
1755 modification devices that brought world-wide fame to the names and products of
1756 Laurens Hammond and Don Leslie.")
1757 (license license:gpl2+)))
1759 (define-public beast
1765 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
1769 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
1770 (build-system gnu-build-system)
1772 '(#:parallel-build? #f)) ; Race conditions cause build failures
1774 `(("rapicorn" ,rapicorn)
1775 ("guile" ,guile-1.8)
1776 ("python" ,python-2)
1777 ("libgnomecanvas" ,libgnomecanvas)
1781 ("alsa-lib" ,alsa-lib)
1782 ("libvorbis" ,libvorbis)
1783 ("gettext" ,gettext-minimal)))
1785 `(("pkg-config" ,pkg-config)
1786 ("glib:bin" ,glib "bin")
1787 ("cython" ,python2-cython)
1789 ("perl-xml-parser" ,perl-xml-parser)))
1790 (home-page "https://testbit.eu/wiki/Beast_Home")
1791 (synopsis "Music composition and modular synthesis environment")
1793 "Beast is a music composition and modular synthesis application. It
1794 supports a wide range of standards in the field, such as MIDI, various audio
1795 file formats and LADSPA modules. It allows for multitrack editing, real-time
1796 synthesis, 32bit audio rendering, precise timing down to sample granularity,
1797 on-demand and partial loading of wave files, on the fly decoding, stereo
1798 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
1799 (license license:gpl3+)))
1801 (define-public bristol
1807 (uri (string-append "mirror://sourceforge/bristol/bristol/"
1808 (version-major+minor version)
1809 "/bristol-" version ".tar.gz"))
1812 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
1813 (build-system gnu-build-system)
1816 (modify-phases %standard-phases
1817 (add-after 'unpack 'remove-sse-flags
1818 (lambda* (#:key system #:allow-other-keys)
1819 (when (not (or (string-prefix? "x86_64" system)
1820 (string-prefix? "i686" system)))
1821 (substitute* "bristol/Makefile.in"
1822 (("-msse -mfpmath=sse") "")))
1824 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
1825 ;; bristol actually doesn't use it.
1826 (add-after 'unpack 'do-not-use-alsa-iatomic
1828 (substitute* "libbristolaudio/audioEngineJack.c"
1829 (("#include <alsa/iatomic.h>") ""))
1831 ;; We know that Bristol has been linked with JACK and we don't have
1832 ;; ldd, so we can just skip this check.
1833 (add-after 'unpack 'do-not-grep-for-jack
1835 (substitute* "bin/startBristol.in"
1836 (("ldd `which bristol` | grep jack") "echo guix"))
1839 `(("alsa-lib" ,alsa-lib)
1842 ("libx11" ,libx11)))
1844 `(("pkg-config" ,pkg-config)))
1845 (home-page "http://bristol.sourceforge.net/")
1846 (synopsis "Synthesizer emulator")
1848 "Bristol is an emulation package for a number of different @code{classic}
1849 synthesizers including additive and subtractive and a few organs. The
1850 application consists of the engine, which is called bristol, and its own GUI
1851 library called brighton that represents all the emulations. There are
1852 currently more than twenty different emulations; each does sound different
1853 although the author maintains that the quality and accuracy of each emulation
1855 (license license:gpl3+)))
1857 (define-public tuxguitar
1864 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
1865 version "/tuxguitar-" version "-src.tar.gz"))
1868 "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg"))))
1869 (build-system ant-build-system)
1871 `(#:build-target "build"
1873 #:tests? #f ; no tests
1875 (modify-phases %standard-phases
1877 (lambda* (#:key inputs outputs #:allow-other-keys)
1878 (let* ((initial-classpath (getenv "CLASSPATH"))
1879 (build-dir (lambda (dir)
1882 (string-join (cons initial-classpath
1883 (find-files (getcwd) "\\.jar$"))
1885 (with-directory-excursion dir
1886 (if (file-exists? "build.xml")
1887 ((assoc-ref %standard-phases 'build)
1888 #:build-target "build")
1890 ;; Generate default build.xml.
1891 ((@@ (guix build ant-build-system)
1893 (string-append (string-downcase dir) ".jar")
1894 (string-append (assoc-ref outputs "out")
1896 ((assoc-ref %standard-phases 'build))))))))
1897 (map build-dir '("TuxGuitar-lib"
1898 "TuxGuitar-editor-utils"
1899 "TuxGuitar-ui-toolkit"
1900 "TuxGuitar-ui-toolkit-swt"
1903 "TuxGuitar-gm-utils"
1906 "TuxGuitar-midi-ui"))
1908 (add-after 'build 'build-jni
1911 (setenv "CFLAGS" (string-append
1914 "/build-scripts/native-modules/common-include"))
1915 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
1917 (lambda* (#:key inputs outputs #:allow-other-keys)
1918 (let* ((out (assoc-ref outputs "out"))
1919 (bin (string-append out "/bin"))
1920 (share (string-append out "/share"))
1921 (jni-lib (string-append out "/lib"))
1922 (lib (string-append share "/java"))
1923 (swt (assoc-ref inputs "java-swt"))
1924 (mime (string-append share "/mime/packages"))
1925 (app (string-append share "/applications"))
1926 (man (string-append share "/man/man1")))
1929 ;; Install all jars.
1930 (for-each (lambda (file)
1931 (install-file file lib))
1932 (find-files "." "\\.jar$"))
1934 ;; Install jni libraries
1935 (for-each (lambda (file)
1936 (install-file file jni-lib))
1937 (find-files "." "\\-jni.so$"))
1939 ;; Install all resources.
1940 (copy-recursively "./TuxGuitar/share" share)
1942 ;; Install desktop and mime files
1943 (install-file "./misc/tuxguitar.xml" mime)
1944 (install-file "./misc/tuxguitar.desktop" app)
1947 (install-file "./misc/tuxguitar.1" man)
1950 (call-with-output-file (string-append bin "/tuxguitar")
1952 (let ((classpath (string-join (append (find-files lib "\\.jar$")
1953 (find-files swt "\\.jar$"))
1957 (string-append "#!/bin/sh\n"
1960 " -Dtuxguitar.home.path=" out
1961 " -Dtuxguitar.share.path=" out "/share"
1962 " -Dswt.library.path=" swt "/lib"
1963 " -Djava.library.path=" out "/lib"
1964 " org.herac.tuxguitar.app.TGMainSingleton"
1965 " \"$1\" \"$2\"")))))
1966 (chmod (string-append bin "/tuxguitar") #o555)
1969 `(("alsa-lib" ,alsa-lib)
1970 ("java-swt" ,java-swt)))
1971 (home-page "http://tuxguitar.com.ar/")
1972 (synopsis "Multitrack tablature editor and player")
1974 "TuxGuitar is a guitar tablature editor with player support through midi.
1975 It can display scores and multitrack tabs. TuxGuitar provides various
1976 additional features, including autoscrolling while playing, note duration
1977 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
1978 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
1980 (license license:lgpl2.1+)))
1989 (string-append "http://msp.ucsd.edu/Software/pd-"
1990 version ".src.tar.gz"))
1993 "0imbha9h96vqa967cbmdj7kkx7zrs054n5w2bjnifxdzws3qbxf6"))))
1994 (build-system gnu-build-system)
1996 (let ((wish (string-append "wish" (version-major+minor
1997 (package-version tk)))))
1998 `(#:tests? #f ; no "check" target
2002 (string-append "--with-wish=" (string-append
2003 (assoc-ref %build-inputs "tk")
2006 (modify-phases %standard-phases
2007 (add-before 'configure 'fix-with-path
2009 (substitute* "tcl/pd-gui.tcl"
2010 (("exec wish ") (string-append "exec " (which ,wish) " ")))
2013 `(("autoconf" ,autoconf)
2014 ("automake" ,automake)
2015 ("libtool" ,libtool)
2016 ("gettext" ,gettext-minimal)
2017 ("pkg-config" ,pkg-config)))
2020 ("alsa-lib" ,alsa-lib)
2022 (home-page "https://puredata.info")
2023 (synopsis "Visual programming language for artistic performances")
2025 "Pure Data (aka Pd) is a visual programming language. Pd enables
2026 musicians, visual artists, performers, researchers, and developers to create
2027 software graphically, without writing lines of code. Pd is used to process
2028 and generate sound, video, 2D/3D graphics, and interface sensors, input
2029 devices, and MIDI. Pd can easily work over local and remote networks to
2030 integrate wearable technology, motor systems, lighting rigs, and other
2031 equipment. Pd is suitable for learning basic multimedia processing and visual
2032 programming methods as well as for realizing complex systems for large-scale
2034 (license license:bsd-3)))
2036 (define-public libpd
2043 (url "https://github.com/libpd/libpd")
2045 (recursive? #t))) ; for the 'pure-data' submodule
2046 (file-name (string-append name "-" version "-checkout"))
2049 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
2050 (build-system gnu-build-system)
2052 '(#:tests? #f ; no tests
2053 #:make-flags '("CC=gcc")
2055 (modify-phases %standard-phases
2056 (delete 'configure) ; no configure script
2058 (lambda* (#:key outputs #:allow-other-keys)
2059 (let ((out (assoc-ref outputs "out")))
2060 (invoke "make" "install"
2061 (string-append "prefix=" out)
2062 ;; XXX: Fix the last 2 lines of 'install' target.
2064 "LIBPD_DEF=NO")))))))
2065 (home-page "http://libpd.cc/")
2066 (synopsis "Pure Data as an embeddable audio synthesis library")
2068 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
2069 main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
2070 (license license:bsd-3)))
2072 (define-public portmidi
2078 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
2079 version "/portmidi-src-" version ".zip"))
2082 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
2083 (patches (list (search-patch "portmidi-modular-build.patch")))))
2084 (build-system cmake-build-system)
2086 `(#:tests? #f ; tests cannot be linked
2087 #:build-type "Release" ; needed to have PMALSA set
2089 (list "-DPORTMIDI_ENABLE_JAVA=Off"
2090 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
2092 (modify-phases %standard-phases
2093 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
2094 ;; "libportmidi.so". Distributions get away with it by creating an
2095 ;; appropriate symlink.
2096 (add-after 'install 'add-porttime
2097 (lambda* (#:key outputs #:allow-other-keys)
2098 (let* ((out (assoc-ref outputs "out"))
2099 (lib (string-append out "/lib")))
2100 (with-directory-excursion lib
2101 (symlink "libportmidi.so" "libporttime.so")))
2104 `(("alsa-lib" ,alsa-lib)))
2106 `(("unzip" ,unzip)))
2107 (home-page "http://portmedia.sourceforge.net/portmidi/")
2108 (synopsis "Library for MIDI I/O")
2110 "PortMidi is a library supporting real-time input and output of MIDI data
2111 using a system-independent interface.")
2112 (license license:expat)))
2114 (define-public portmidi-for-extempore
2115 (let ((version "217")
2117 (commit "8602f548f71daf5ef638b2f7d224753400cb2158"))
2118 (package (inherit portmidi)
2119 (name "portmidi-for-extempore")
2120 (version (git-version version revision commit))
2124 (url "https://github.com/extemporelang/portmidi")
2126 (file-name (git-file-name name version))
2129 "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w"))))
2130 (build-system cmake-build-system)
2131 (arguments `(#:tests? #f)) ; no tests
2133 ;; Extempore refuses to build on architectures other than x86_64
2134 (supported-systems '("x86_64-linux"))
2135 (home-page "https://github.com/extemporelang/portmidi/"))))
2137 (define-public python-pyportmidi
2139 (name "python-pyportmidi")
2140 (version (package-version portmidi))
2141 (source (package-source portmidi))
2142 (build-system python-build-system)
2144 `(#:tests? #f ; no tests included
2146 (modify-phases %standard-phases
2147 (add-after 'unpack 'enter-dir
2148 (lambda _ (chdir "pm_python") #t))
2149 (add-after 'enter-dir 'fix-setup.py
2151 (substitute* "setup.py"
2152 ;; Use Python 3 syntax
2153 (("print (\".*\")" _ text)
2154 (string-append "print(" text ")\n"))
2155 ;; TODO.txt and CHANGES.txt don't exist
2156 (("CHANGES =.*") "CHANGES = \"\"\n")
2157 (("TODO =.*") "TODO = \"\"\n"))
2160 `(("portmidi" ,portmidi)
2161 ("alsa-lib" ,alsa-lib)))
2163 `(("python-cython" ,python-cython)
2165 (home-page "http://portmedia.sourceforge.net/portmidi/")
2166 (synopsis "Python bindings to PortMidi")
2168 "This package provides Python bindings to the PortMidi library.")
2169 (license license:expat)))
2171 (define-public frescobaldi
2173 (name "frescobaldi")
2179 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2180 version "/frescobaldi-" version ".tar.gz"))
2182 (base32 "084vxzvxnxl5rrhllincnh6krsyi03c8p0452ppzmn9c52wgyb2w"))))
2183 (build-system python-build-system)
2185 `(#:tests? #f)) ;no tests included
2187 `(("lilypond" ,lilypond)
2188 ("poppler" ,poppler)
2189 ("portmidi" ,portmidi)
2190 ("python-ly" ,python-ly)
2191 ("python-poppler-qt5" ,python-poppler-qt5)
2192 ("python-pyportmidi" ,python-pyportmidi)
2193 ("python-pyqt" ,python-pyqt)
2194 ("python-sip" ,python-sip)))
2195 (home-page "https://www.frescobaldi.org/")
2196 (synopsis "LilyPond sheet music text editor")
2198 "Frescobaldi is a LilyPond sheet music text editor with syntax
2199 highlighting and automatic completion. Among other things, it can render
2200 scores next to the source, can capture input from MIDI or read MusicXML and
2201 ABC files, has a MIDI player for proof-listening, and includes a documentation
2203 (license license:gpl2+)))
2205 (define-public drumstick
2211 (uri (string-append "mirror://sourceforge/drumstick/"
2212 version "/drumstick-" version ".tar.bz2"))
2215 "1n9wvg79yvkygrkc8xd8pgrd3d7hqmr7gh24dccf0px23lla9b3m"))))
2216 (build-system cmake-build-system)
2218 `(#:tests? #f ; no test target
2219 #:configure-flags '("-DLIB_SUFFIX=")
2221 (modify-phases %standard-phases
2222 (add-before 'configure 'fix-docbook
2223 (lambda* (#:key inputs #:allow-other-keys)
2224 (substitute* "cmake_admin/CreateManpages.cmake"
2225 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2226 (string-append (assoc-ref inputs "docbook-xsl")
2227 "/xml/xsl/docbook-xsl-"
2228 ,(package-version docbook-xsl)
2229 "/manpages/docbook.xsl")))
2232 `(("qtbase" ,qtbase)
2234 ("alsa-lib" ,alsa-lib)))
2236 `(("pkg-config" ,pkg-config)
2237 ("libxslt" ,libxslt) ; for xsltproc
2238 ("docbook-xsl" ,docbook-xsl)
2239 ("doxygen" ,doxygen)))
2240 (home-page "http://drumstick.sourceforge.net/")
2241 (synopsis "C++ MIDI library")
2243 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2244 includes a C++ wrapper around the ALSA library sequencer interface. A
2245 complementary library provides classes for processing SMF (Standard MIDI
2246 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2247 multiplatform realtime MIDI I/O library is also provided with various output
2248 backends, including ALSA, OSS, Network and FluidSynth.")
2249 (license license:gpl2+)))
2257 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2258 version "/vmpk-" version ".tar.bz2"))
2261 "1i3hnvdgz46n4k5v0q4jhgh7nkh0s390ix4nqr69z0q3026yp0p6"))))
2262 (build-system cmake-build-system)
2264 `(#:tests? #f ; no test target
2266 (modify-phases %standard-phases
2267 (add-before 'configure 'fix-docbook
2268 (lambda* (#:key inputs #:allow-other-keys)
2269 (substitute* "cmake_admin/CreateManpages.cmake"
2270 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2271 (string-append (assoc-ref inputs "docbook-xsl")
2272 "/xml/xsl/docbook-xsl-"
2273 ,(package-version docbook-xsl)
2274 "/manpages/docbook.xsl")))
2277 `(("drumstick" ,drumstick)
2280 ("qtx11extras" ,qtx11extras)))
2282 `(("libxslt" ,libxslt) ;for xsltproc
2283 ("docbook-xsl" ,docbook-xsl)
2284 ("qttools" ,qttools)
2285 ("pkg-config" ,pkg-config)))
2286 (home-page "https://vmpk.sourceforge.io/")
2287 (synopsis "Virtual MIDI piano keyboard")
2289 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2290 doesn't produce any sound by itself, but can be used to drive a MIDI
2291 synthesizer (either hardware or software, internal or external). You can use
2292 the computer's keyboard to play MIDI notes, and also the mouse. You can use
2293 the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2294 instrument or MIDI file player.")
2295 (license license:gpl3+)))
2297 (define-public zynaddsubfx
2299 (name "zynaddsubfx")
2304 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
2305 version "/zynaddsubfx-" version ".tar.bz2"))
2308 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
2309 (build-system cmake-build-system)
2312 (modify-phases %standard-phases
2313 ;; Move SSE compiler optimization flags from generic target to
2314 ;; athlon64 and core2 targets, because otherwise the build would fail
2315 ;; on non-Intel machines.
2316 (add-after 'unpack 'remove-sse-flags-from-generic-target
2318 (substitute* "src/CMakeLists.txt"
2319 (("-msse -msse2 -mfpmath=sse") "")
2320 (("-march=(athlon64|core2)" flag)
2321 (string-append flag " -msse -msse2 -mfpmath=sse")))
2327 ("alsa-lib" ,alsa-lib)
2330 ("minixml" ,minixml)
2334 `(("pkg-config" ,pkg-config)))
2335 (home-page "http://zynaddsubfx.sf.net/")
2336 (synopsis "Software synthesizer")
2338 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2339 three synthesizer engines, multitimbral and polyphonic synths, microtonal
2340 capabilities, custom envelopes, effects, etc.")
2341 (license license:gpl2)))
2343 (define-public yoshimi
2350 (uri (string-append "mirror://sourceforge/yoshimi/"
2351 (version-major+minor version)
2352 "/yoshimi-" version ".tar.bz2"))
2354 (base32 "1vxrksg199pcgiykq0nsf67ihfk2ny2jmpf6gzdb3nk9iphm7di3"))))
2355 (build-system cmake-build-system)
2357 `(#:tests? #f ; there are no tests
2359 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2360 (assoc-ref %outputs "out") "/share"))
2362 (modify-phases %standard-phases
2363 (add-before 'configure 'enter-dir
2364 (lambda _ (chdir "src") #t))
2365 ;; Move SSE compiler optimization flags from generic target to
2366 ;; athlon64 and core2 targets, because otherwise the build would fail
2367 ;; on non-Intel machines.
2368 (add-after 'unpack 'remove-sse-flags-from-generic-target
2370 (substitute* "src/CMakeLists.txt"
2371 (("-msse -msse2 -mfpmath=sse") "")
2372 (("-march=(athlon64|core2)" flag)
2373 (string-append flag " -msse -msse2 -mfpmath=sse")))
2378 ("alsa-lib" ,alsa-lib)
2380 ("fontconfig" ,fontconfig)
2381 ("minixml" ,minixml)
2385 ("readline" ,readline)
2386 ("ncurses" ,ncurses)
2390 `(("pkg-config" ,pkg-config)))
2391 (home-page "http://yoshimi.sourceforge.net/")
2392 (synopsis "Multi-paradigm software synthesizer")
2394 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2395 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2396 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2397 improves on support for JACK features, such as JACK MIDI.")
2398 (license license:gpl2)))
2400 (define-public libgig
2406 (uri (string-append "http://download.linuxsampler.org/packages/"
2407 "libgig-" version ".tar.bz2"))
2410 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
2411 (build-system gnu-build-system)
2413 `(("libuuid" ,util-linux "lib")
2414 ("libsndfile" ,libsndfile)))
2416 `(("pkg-config" ,pkg-config)))
2417 (home-page "https://linuxsampler.org/libgig/")
2418 (synopsis "C++ library for working with Gigasampler (.gig) files")
2420 "Libgig is a C++ library for loading, modifying existing and creating new
2421 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2422 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2423 AKAI sampler data. The package includes a couple of command line tools based
2425 ;; The library and tools are released under the GPL, except the AKAI
2426 ;; classes which are released under the LGPL.
2427 (license (list license:gpl2+ license:lgpl2.1+))))
2429 (define-public jack-keyboard
2431 (name "jack-keyboard")
2436 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2437 version "/jack-keyboard-" version ".tar.gz"))
2440 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2441 (build-system gnu-build-system)
2447 `(("pkg-config" ,pkg-config)))
2448 (home-page "http://jack-keyboard.sourceforge.net/")
2449 (synopsis "Virtual MIDI keyboard")
2450 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2451 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2452 (license license:bsd-2)))
2454 (define-public jack-capture
2456 (name "jack-capture")
2461 (url "https://github.com/kmatheussen/jack_capture")
2463 (file-name (string-append name "-" version "-checkout"))
2466 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2467 (build-system gnu-build-system)
2470 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2471 #:tests? #f ; there are none
2473 (modify-phases %standard-phases
2474 (delete 'configure))))
2476 `(("pkg-config" ,pkg-config)
2484 ("libsndfile" ,libsndfile)))
2485 (home-page "https://github.com/kmatheussen/jack_capture")
2486 (synopsis "Program for recording sound files with JACK")
2487 (description "This is a program for recording sound files with JACK. It
2488 can connect to any JACK port and record the output into a stereo WAV file.")
2489 (license license:gpl2+)))
2491 (define-public jack-select
2493 (name "jack-select")
2497 (uri (pypi-uri "jack-select" version))
2500 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
2501 (build-system gnu-build-system)
2503 `(#:modules ((guix build gnu-build-system)
2504 ((guix build python-build-system) #:prefix python:)
2506 #:imported-modules (,@%gnu-build-system-modules
2507 (guix build python-build-system))
2509 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2510 #:tests? #f ; there are none
2512 (modify-phases %standard-phases
2514 (lambda* (#:key inputs #:allow-other-keys)
2515 ;; python-dbus cannot be found but it's really there. See
2516 ;; https://github.com/SpotlightKid/jack-select/issues/2
2517 (substitute* "setup.py"
2518 (("'dbus-python',") ""))
2519 ;; Fix reference to dlopened libraries.
2520 (substitute* "jackselect/alsainfo.py"
2522 (string-append (assoc-ref inputs "alsa-lib")
2523 "/lib/libasound.so.2")))
2526 (assoc-ref python:%standard-phases 'build))
2527 (add-after 'install 'wrap
2528 (assoc-ref python:%standard-phases 'wrap)))))
2530 `(("pkg-config" ,pkg-config)))
2532 `(("alsa-lib" ,alsa-lib)
2533 ("python" ,python-wrapper)
2534 ("python-pyudev" ,python-pyudev)
2535 ("python-pyxdg" ,python-pyxdg)
2536 ("python-dbus" ,python-dbus)
2537 ("python-pygobject" ,python-pygobject)))
2538 (home-page "https://github.com/SpotlightKid/jack-select")
2539 (synopsis "Systray application to quickly change the JACK-DBus configuration")
2540 (description "This application displays an icon in the system tray (also
2541 known as notification area) of your desktop, which shows the status of the
2542 JACK audio server and when you click on it, a menu pops up, which lets you
2543 quickly select from the JACK configuration presets you created with QjackCtl.
2544 When you select a preset, its JACK engine and driver configuration settings
2545 are loaded via DBus into JACK and then the server is restarted. This allows
2546 you to switch between different audio setups with just two mouse clicks.")
2547 (license license:expat)))
2549 (define-public cursynth
2556 (uri (string-append "mirror://gnu/cursynth/cursynth-"
2559 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
2560 (patches (search-patches "cursynth-wave-rand.patch"))))
2561 (build-system gnu-build-system)
2562 (native-inputs `(("pkg-config" ,pkg-config)))
2563 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
2564 ;; prevents us from using pulseaudio
2565 (inputs `(("ncurses" ,ncurses)
2566 ("alsa" ,alsa-lib)))
2567 (home-page "https://www.gnu.org/software/cursynth/")
2568 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
2569 (description "GNU cursynth is a polyphonic synthesizer that runs
2570 graphically in the terminal. It is built on a full-featured subtractive
2571 synthesis engine. Notes and parameter changes may be entered via MIDI or the
2572 computer's keyboard.")
2573 (license license:gpl3+)))
2575 (define-public aj-snapshot
2577 (name "aj-snapshot")
2581 (uri (string-append "mirror://sourceforge/aj-snapshot/"
2582 "aj-snapshot-" version ".tar.bz2"))
2585 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
2586 (build-system gnu-build-system)
2588 `(("minixml" ,minixml)
2590 ("alsa-lib" ,alsa-lib)))
2592 `(("pkg-config" ,pkg-config)))
2593 (home-page "http://aj-snapshot.sourceforge.net/")
2594 (synopsis "Snapshot connections between ALSA and JACK clients")
2595 (description "Aj-snapshot is a small program that can be used to make
2596 snapshots of the connections made between JACK and/or ALSA clients. Because
2597 JACK can provide both audio and MIDI support to programs, aj-snapshot can
2598 store both types of connections for JACK. ALSA, on the other hand, only
2599 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
2600 from the command line.")
2601 (license license:gpl3+)))
2603 (define-public qtractor
2609 (uri (string-append "https://downloads.sourceforge.net/qtractor/"
2610 "qtractor-" version ".tar.gz"))
2613 "1l19g7cvgb7gfjmaihnd899k5hhxyf4sz22380y830xjfs2fvqxc"))))
2614 (build-system gnu-build-system)
2616 `(#:tests? #f)) ; no "check" target
2619 ("qtx11extras" ,qtx11extras)
2620 ("alsa-lib" ,alsa-lib)
2622 ("libsndfile" ,libsndfile)
2627 ("libsamplerate" ,libsamplerate)
2628 ("libvorbis" ,libvorbis)
2630 ("rubberband" ,rubberband)
2634 `(("pkg-config" ,pkg-config)
2635 ("qttools" ,qttools)))
2636 (home-page "http://qtractor.org/")
2637 (synopsis "Audio/MIDI multi-track sequencer")
2639 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
2640 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
2641 follows a traditional multi-track tape recorder control paradigm.")
2642 (license license:gpl2+)))
2644 (define-public ams-lv2
2652 (url "https://github.com/blablack/ams-lv2")
2653 (commit (string-append "v" version))))
2654 (file-name (git-file-name name version))
2656 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
2657 (build-system waf-build-system)
2660 (modify-phases %standard-phases
2661 (add-after 'unpack 'remove-sse-flags
2662 (lambda* (#:key system #:allow-other-keys)
2663 (unless (or (string-prefix? "x86_64" system)
2664 (string-prefix? "i686" system))
2665 (substitute* "wscript"
2666 (("'-msse', '-mfpmath=sse', ") "")))
2668 #:tests? #f)) ; no tests
2677 `(("pkg-config" ,pkg-config)))
2678 (home-page "https://github.com/blablack/ams-lv2")
2679 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
2680 (description "This set of LV2 plugins is a port of the internal modules
2681 found in Alsa Modular Synth. These plugins are used to create modular
2682 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
2684 (license license:gpl2)))
2686 (define-public gxtuner
2693 (url "https://github.com/brummer10/gxtuner")
2694 (commit (string-append "v" version))))
2695 (file-name (git-file-name name version))
2698 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
2699 (build-system gnu-build-system)
2702 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2703 (string-append "INCLUDE_L_DIR="
2704 (assoc-ref %build-inputs "zita-resampler")
2707 (modify-phases %standard-phases
2708 (delete 'configure))))
2714 ("zita-resampler" ,zita-resampler)))
2716 `(("pkg-config" ,pkg-config)))
2717 (home-page "https://github.com/brummer10/gxtuner")
2718 (synopsis "Guitar tuner")
2719 (description "GXtuner is a simple guitar tuner for JACK with an
2720 analogue-like user interface.")
2721 (license license:gpl2+)))
2723 (define-public mod-host
2724 ;; The last release was in 2014 but since then hundreds of commits have
2726 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
2730 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
2734 (url "https://github.com/moddevices/mod-host")
2738 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
2739 (file-name (string-append name "-" version "-checkout"))))
2740 (build-system gnu-build-system)
2742 `(#:tests? #f ; no tests included
2744 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2747 (modify-phases %standard-phases
2749 (add-after 'unpack 'fix-jack-installation-directory
2751 ;; Do not attempt to install files to output of "jack" package.
2752 (substitute* "Makefile"
2753 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
2762 ("readline" ,readline)))
2764 `(("pkg-config" ,pkg-config)
2765 ("python" ,python-2)))
2766 (home-page "https://github.com/moddevices/mod-host")
2767 (synopsis "LV2 host for Jack controllable via socket or command line")
2768 (description "mod-host is an LV2 plugin host for JACK, controllable via
2769 socket or command line.")
2770 (license license:gpl3+))))
2772 (define-public curseradio
2773 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
2777 (version (git-version "0" revision commit))
2781 (url "https://github.com/chronitis/curseradio")
2783 (file-name (git-file-name name version))
2786 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
2787 (build-system python-build-system)
2790 (modify-phases %standard-phases
2791 (add-after 'unpack 'link-to-mpv
2792 (lambda* (#:key inputs #:allow-other-keys)
2793 (substitute* "curseradio/curseradio.py"
2795 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
2798 `(("python-lxml" ,python-lxml)
2799 ("python-requests" ,python-requests)
2800 ("python-pyxdg" ,python-pyxdg)))
2803 (home-page "https://github.com/chronitis/curseradio")
2804 (synopsis "Command-line Internet radio player")
2805 (description "Curseradio is a Curses-based radio player that uses a
2806 tune-in sender list from @url{http://opml.radiotime.com}.")
2807 (license license:expat))))
2809 (define-public pianobar
2812 (version "2020.04.05")
2816 (url "https://github.com/PromyLOPh/pianobar")
2818 (file-name (git-file-name name version))
2821 "1gq8kpks6nychqz4gf0rpy7mrhz5vjw48a60x56j6y9flmazmypw"))))
2822 (build-system gnu-build-system)
2824 `(#:tests? #f ; no tests
2825 #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
2826 #:phases (modify-phases %standard-phases
2827 (delete 'configure))))
2831 ("libgcrypt" ,libgcrypt)
2833 ("ffmpeg" ,ffmpeg)))
2835 `(("pkg-config" ,pkg-config)))
2836 (home-page "https://6xq.net/pianobar/")
2837 (synopsis "Console-based pandora.com player")
2838 (description "pianobar is a console-based music player for the
2839 personalized online radio pandora.com. It has configurable keys for playing
2840 and managing stations, can be controlled remotely via fifo, and can run
2841 event-based scripts for scrobbling, notifications, etc.")
2842 (license license:expat)))
2844 (define-public picard
2851 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
2852 "picard/picard-" version ".tar.gz"))
2855 "19w5k3bf4886gdycxjds9nkjvir0gwy2r5cqkz0lbls4ikk4y14f"))))
2856 (build-system python-build-system)
2858 '(#:use-setuptools? #f
2861 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
2862 "--disable-autoupdate")
2864 (modify-phases %standard-phases
2865 (add-after 'unpack 'patch-source
2866 (lambda* (#:key inputs #:allow-other-keys)
2867 (substitute* "picard/const/__init__.py"
2871 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
2874 `(("gettext" ,gettext-minimal)))
2876 `(("chromaprint" ,chromaprint)
2877 ("python-discid" ,python-discid)
2878 ("python-pyqt" ,python-pyqt)
2879 ("python-mutagen" ,python-mutagen)))
2880 (home-page "https://picard.musicbrainz.org/")
2881 (synopsis "Graphical music tagging application")
2883 "MusicBrainz Picard is a music tagging application, supporting multiple
2884 formats, looking up tracks through metadata and audio fingerprints.")
2885 (license license:gpl2+)))
2887 (define-public python-mutagen
2889 (name "python-mutagen")
2893 (uri (pypi-uri "mutagen" version))
2896 "0rl7sxn1rcjl48fwga3dqf9f6pzspsny4ngxyf6pp337mrq0z693"))))
2897 (build-system python-build-system)
2899 `(("python-pytest" ,python-pytest)))
2900 (home-page "https://bitbucket.org/lazka/mutagen")
2901 (synopsis "Read and write audio tags")
2902 (description "Mutagen is a Python module to handle audio metadata. It
2903 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
2904 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
2905 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
2906 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
2907 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
2908 streams on an individual packet/page level.")
2909 (license license:gpl2))) ; "later version" never mentioned
2911 (define-public python2-mutagen
2912 (package-with-python2 python-mutagen))
2914 (define-public python-musicbrainzngs
2916 (name "python-musicbrainzngs")
2920 (uri (pypi-uri "musicbrainzngs" version))
2923 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
2924 (build-system python-build-system)
2926 '(;; The tests fail suffer from race conditions:
2927 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
2929 (home-page "https://python-musicbrainzngs.readthedocs.org/")
2930 (synopsis "Python bindings for MusicBrainz NGS webservice")
2931 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
2932 web service. This library can be used to retrieve music metadata from the
2933 MusicBrainz database.")
2934 ;; 'musicbrainzngs/compat.py' is ISC licensed.
2935 (license (list license:bsd-2 license:isc))))
2937 (define-public python2-musicbrainzngs
2938 (package-with-python2 python-musicbrainzngs))
2940 (define-public python-isrcsubmit
2942 (name "python-isrcsubmit")
2947 (uri (pypi-uri "isrcsubmit" version))
2950 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
2951 (build-system python-build-system)
2953 `(("python-discid" ,python-discid)
2954 ("python-musicbrainzngs" ,python-musicbrainzngs)))
2955 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
2956 (synopsis "Submit ISRCs from CDs to MusicBrainz")
2957 (description "@code{isrcsubmit} is a tool to extract @dfn{International
2958 Standard Recording Code} (ISRCs) from audio CDs and submit them to
2959 @url{https://musicbrainz.org/, MusicBrainz}.")
2960 (license license:gpl3+)))
2962 (define-public python2-pyechonest
2964 (name "python2-pyechonest")
2968 (uri (pypi-uri "pyechonest" version))
2971 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
2972 (build-system python-build-system)
2974 `(;; Python 3 is not supported:
2975 ;; https://github.com/echonest/pyechonest/issues/42
2976 #:python ,python-2))
2977 (home-page "https://github.com/echonest/pyechonest")
2978 (synopsis "Python interface to The Echo Nest APIs")
2979 (description "Pyechonest is a Python library for the Echo Nest API. With
2980 Pyechonest you have Python access to the entire set of API methods including:
2983 @item artist - search for artists by name, description, or attribute, and get
2984 back detailed information about any artist including audio, similar artists,
2985 blogs, familiarity, hotttnesss, news, reviews, urls and video.
2986 @item song - search songs by artist, title, description, or attribute (tempo,
2987 duration, etc) and get detailed information back about each song, such as
2988 hotttnesss, audio_summary, or tracks.
2989 @item track - upload a track to the Echo Nest and receive summary information
2990 about the track including key, duration, mode, tempo, time signature along with
2991 detailed track info including timbre, pitch, rhythm and loudness information.
2993 (license license:bsd-3)))
2995 (define-public python-pylast
2997 (name "python-pylast")
3001 (uri (pypi-uri "pylast" version))
3004 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
3005 (build-system python-build-system)
3006 ;; Tests require network access. See
3007 ;; https://github.com/pylast/pylast/issues/105
3008 (arguments '(#:tests? #f))
3010 `(("python-coverage" ,python-coverage)
3011 ("python-pycodestyle" ,python-pycodestyle)
3012 ("python-mock" ,python-mock)
3013 ("python-pep8" ,python-pep8)
3014 ("python-pytest" ,python-pytest)
3015 ("python-flaky" ,python-flaky)
3016 ("python-pyflakes" ,python-pyflakes)
3017 ("python-pyyaml" ,python-pyyaml)))
3019 `(("python-six" ,python-six)))
3020 (home-page "https://github.com/pylast/pylast")
3021 (synopsis "Python interface to Last.fm and Libre.fm")
3022 (description "A Python interface to Last.fm and other API-compatible
3023 websites such as Libre.fm.")
3024 (license license:asl2.0)))
3026 (define-public python2-pylast
3027 (package-with-python2 python-pylast))
3029 (define-public instantmusic
3030 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
3033 (name "instantmusic")
3034 (version (git-version "1.0" revision commit))
3038 (url "https://github.com/yask123/Instant-Music-Downloader")
3040 (file-name (git-file-name name version))
3043 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
3044 (build-system python-build-system)
3046 `(("python-requests" ,python-requests)
3048 ("python-beautifulsoup4" ,python-beautifulsoup4)
3049 ("youtube-dl" ,youtube-dl)))
3051 '(#:modules ((guix build python-build-system)
3054 #:phases (modify-phases %standard-phases
3055 (add-before 'build 'change-directory
3057 (chdir "instantmusic-0.1") #t))
3058 (add-before 'install 'fix-file-permissions
3060 ;; Fix some read-only files that would cause a build failure
3061 (for-each (cut chmod <> #o644)
3062 (find-files "instantmusic.egg-info"
3063 "PKG-INFO|.*\\.txt"))
3065 (home-page "https://github.com/yask123/Instant-Music-Downloader")
3066 (synopsis "Command-line program to download a song from YouTube")
3067 (description "InstantMusic downloads a song from YouTube in MP3 format.
3068 Songs can be searched by artist, name or even by a part of the song text.")
3069 (license license:expat))))
3071 (define-public beets
3077 (uri (pypi-uri "beets" version))
3078 (patches (search-patches "beets-werkzeug-compat.patch"))
3081 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3082 (build-system python-build-system)
3085 (modify-phases %standard-phases
3086 (add-after 'unpack 'set-HOME
3088 (setenv "HOME" (string-append (getcwd) "/tmp"))
3092 (invoke "nosetests" "-v")))
3093 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3094 ;; gstreamer plugins.
3095 (add-after 'wrap 'wrap-typelib
3096 (lambda* (#:key outputs #:allow-other-keys)
3097 (let ((prog (string-append (assoc-ref outputs "out")
3099 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3100 (types (getenv "GI_TYPELIB_PATH")))
3102 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3103 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3106 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3107 ("python-flask" ,python-flask)
3108 ("python-mock" ,python-mock)
3109 ("python-mpd2" ,python-mpd2)
3110 ("python-nose" ,python-nose)
3111 ("python-pathlib" ,python-pathlib)
3112 ("python-pyxdg" ,python-pyxdg)
3113 ("python-pylast" ,python-pylast)
3114 ("python-rarfile" ,python-rarfile)
3115 ("python-responses" ,python-responses)))
3116 ;; TODO: Install optional plugins and dependencies.
3118 `(("python-discogs-client" ,python-discogs-client)
3119 ("python-jellyfish" ,python-jellyfish)
3120 ("python-munkres" ,python-munkres)
3121 ("python-musicbrainzngs" ,python-musicbrainzngs)
3122 ("python-mutagen" ,python-mutagen)
3123 ("python-pyacoustid" ,python-pyacoustid)
3124 ("python-pyyaml" ,python-pyyaml)
3125 ("python-unidecode" ,python-unidecode)
3126 ;; For plugin replaygain.
3127 ("python-pygobject" ,python-pygobject)
3128 ("gobject-introspection" ,gobject-introspection)
3129 ("gst-plugins-base" ,gst-plugins-base)
3130 ("gst-plugins-good" ,gst-plugins-good)
3131 ("gstreamer" ,gstreamer)))
3132 (home-page "https://beets.io")
3133 (synopsis "Music organizer")
3134 (description "The purpose of beets is to get your music collection right
3135 once and for all. It catalogs your collection, automatically improving its
3136 metadata as it goes using the MusicBrainz database. Then it provides a variety
3137 of tools for manipulating and accessing your music.")
3138 (license license:expat)))
3140 (define-public beets-bandcamp
3142 (name "beets-bandcamp")
3146 (uri (pypi-uri "beets-bandcamp" version))
3149 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
3150 (build-system python-build-system)
3151 (arguments '(#:tests? #f)) ; there are no tests
3154 ("python-isodate" ,python-isodate)))
3156 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3157 ("python-requests" ,python-requests)
3158 ("python-six" ,python-six)))
3159 (home-page "https://github.com/unrblt/beets-bandcamp")
3160 (synopsis "Bandcamp plugin for beets")
3162 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3163 https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3164 using the beets FetchArt plugin.")
3165 (license license:gpl2)))
3167 (define-public milkytracker
3169 (name "milkytracker")
3174 (url "https://github.com/milkytracker/MilkyTracker")
3175 (commit (string-append "v" version))))
3176 (file-name (git-file-name name version))
3179 "05a6d7l98k9i82dwrgi855dnccm3f2lkb144gi244vhk1156n0ca"))
3180 (modules '((guix build utils)))
3181 ;; Remove non-FSDG compliant sample songs.
3184 (delete-file-recursively "resources/music")
3185 (substitute* "CMakeLists.txt"
3186 (("add_subdirectory\\(resources/music\\)") ""))
3188 (build-system cmake-build-system)
3190 '(#:tests? #f ; no check target
3191 ;; This flag ensures that MilkyTracker links with the JACK library.
3192 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
3194 `(("alsa-lib" ,alsa-lib)
3200 ("zziplib" ,zziplib)))
3202 `(("pkg-config" ,pkg-config)))
3203 (synopsis "Music tracker for working with .MOD/.XM module files")
3204 (description "MilkyTracker is a music application for creating .MOD and .XM
3205 module files. It attempts to recreate the module replay and user experience of
3206 the popular DOS program Fasttracker II, with special playback modes available
3207 for improved Amiga ProTracker 2/3 compatibility.")
3208 (home-page "https://milkytracker.titandemo.org/")
3209 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3210 (license (list license:bsd-3 license:gpl3+))))
3212 (define-public schismtracker
3214 (name "schismtracker")
3215 (version "20190805")
3219 (url "https://github.com/schismtracker/schismtracker")
3221 (file-name (git-file-name name version))
3224 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
3225 (modules '((guix build utils)))
3227 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
3229 (substitute* "schism/version.c"
3230 (("Schism Tracker built %s %s.*$")
3231 (string-append "Schism Tracker version " ,version "\") ;")))
3233 (build-system gnu-build-system)
3236 (modify-phases %standard-phases
3237 (add-before 'configure 'link-libm
3238 (lambda _ (setenv "LIBS" "-lm") #t)))))
3240 `(("autoconf" ,autoconf)
3241 ("automake" ,automake)
3242 ("python" ,python)))
3244 `(("alsa-lib" ,alsa-lib) ; for asound dependency
3246 ("libxext" ,libxext)
3248 (home-page "http://schismtracker.org")
3249 (synopsis "Oldschool sample-based music composition tool")
3251 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3252 create high quality music without the requirements of specialized, expensive
3253 equipment, and with a unique \"finger feel\" that is difficult to replicate in
3254 part. The player is based on a highly modified version of the ModPlug engine,
3255 with a number of bugfixes and changes to improve IT playback.")
3256 (license license:gpl2+)))
3258 (define-public sooperlooper
3260 (name "sooperlooper")
3265 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3268 (base32 "1jjvq4aflbyr3nr8b318k1vkad16xfa1jkqn9ckzw4419qc6c1k5"))))
3269 (build-system gnu-build-system)
3272 (modify-phases %standard-phases
3273 (add-after 'unpack 'add-sigc++-includes
3274 (lambda* (#:key inputs #:allow-other-keys)
3275 (let ((sig (assoc-ref inputs "libsigc++"))
3276 (xml (assoc-ref inputs "libxml2"))
3279 (string-append sig "/include/sigc++-2.0:"
3280 sig "/lib/sigc++-2.0/include:"
3281 xml "/include/libxml2/:"
3284 (or (getenv "CPATH") ""))))
3285 (substitute* '("src/control_osc.hpp"
3286 "src/gui/app_frame.hpp"
3287 "src/gui/config_panel.hpp"
3288 "src/gui/keys_panel.hpp"
3289 "src/gui/latency_panel.hpp"
3290 "src/gui/main_panel.hpp"
3291 "src/gui/midi_bind_panel.hpp"
3292 "src/gui/prefs_dialog.hpp")
3293 (("sigc\\+\\+/object.h")
3295 (substitute* '("src/engine.cpp"
3296 "src/gui/latency_panel.cpp"
3297 "src/gui/looper_panel.cpp"
3298 "src/gui/main_panel.cpp")
3299 (("(\\(| )bind " _ pre)
3300 (string-append pre "sigc::bind ")))
3302 (add-after 'unpack 'fix-xpm-warnings
3304 (substitute* (find-files "." "\\.xpm$")
3305 (("static char") "static const char"))
3309 ("alsa-lib" ,alsa-lib)
3310 ("wxwidgets" ,wxwidgets-gtk2)
3311 ("libsndfile" ,libsndfile)
3312 ("libsamplerate" ,libsamplerate)
3314 ("rubberband" ,rubberband)
3315 ("libxml2" ,libxml2)
3316 ("libsigc++" ,libsigc++)
3317 ("ncurses" ,ncurses)))
3319 `(("pkg-config" ,pkg-config)))
3320 (home-page "http://essej.net/sooperlooper/")
3321 (synopsis "Live looping sampler")
3323 "SooperLooper is a live looping sampler capable of immediate loop
3324 recording, overdubbing, multiplying, reversing and more. It allows for
3325 multiple simultaneous multi-channel loops limited only by your computer's
3327 (license license:gpl2+)))
3335 (uri (string-append "http://ftp.daper.net/pub/soft/"
3337 name "-" version ".tar.bz2"))
3340 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
3341 (build-system gnu-build-system)
3343 `(("alsa-lib" ,alsa-lib)
3346 ("ffmpeg" ,ffmpeg-3.4)
3349 ("libid3tag" ,libid3tag)
3350 ("libltdl" ,libltdl)
3351 ("libmodplug" ,libmodplug)
3352 ("libmpcdec" ,libmpcdec)
3355 ("libvorbis" ,libvorbis)
3356 ("ncurses" ,ncurses)
3357 ("openssl" ,openssl)
3358 ("sasl" ,cyrus-sasl)
3361 ("wavpack" ,wavpack)
3364 `(("pkg-config" ,pkg-config)))
3365 (synopsis "Console audio player designed to be powerful and easy to use")
3367 "Music on Console is a console audio player that supports many file
3368 formats, including most audio formats recognized by FFMpeg.")
3369 (home-page "http://moc.daper.net")
3370 (license license:gpl2+)))
3372 (define-public midicsv
3378 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3379 name "-" version ".tar.gz"))
3382 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3383 (build-system gnu-build-system)
3385 `(#:phases (modify-phases %standard-phases (delete 'configure))
3386 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
3387 (synopsis "Convert MIDI files to and from CSV")
3389 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
3390 value file (CSV), which preserves all the information in the MIDI file. The
3391 ASCII CSV file may be loaded into a spreadsheet or database application, or
3392 processed by a program to transform the MIDI data (for example, to key
3393 transpose a composition or extract a track from a multi-track sequence). A
3394 CSV file in the format created by midicsv may be converted back into a
3395 standard MIDI file with the csvmidi program.")
3396 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
3397 (license license:public-domain)))
3399 (define-public gx-guvnor-lv2
3401 (name "gx-guvnor-lv2")
3406 (url "https://github.com/brummer10/GxGuvnor.lv2")
3407 (commit (string-append "v" version))))
3408 (file-name (string-append name "-" version "-checkout"))
3411 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
3412 (build-system gnu-build-system)
3414 `(;; The check target is used only to output a warning.
3417 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
3419 (modify-phases %standard-phases
3422 (substitute* "Makefile"
3423 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
3424 (("install : all") "install :"))
3428 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
3429 (synopsis "Overdrive/distortion pedal simulation")
3430 (description "This package provides the LV2 plugin \"GxGuvnor\", a
3431 simulation of an overdrive or distortion pedal for guitars.")
3432 ;; The LICENSE file says GPLv3 but the license headers in the files say
3433 ;; GPLv2 or later. The whole project is released under GPLv3 or later
3434 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
3435 (license license:gpl3+)))
3437 (define-public gx-vbass-preamp-lv2
3438 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
3440 (package (inherit gx-guvnor-lv2)
3441 (name "gx-vbass-preamp-lv2")
3442 (version (string-append "0-" revision "." (string-take commit 9)))
3446 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
3450 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
3451 (file-name (string-append name "-" version "-checkout"))))
3456 `(("pkg-config" ,pkg-config)))
3457 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
3458 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
3459 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
3460 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
3463 (define-public gx-overdriver-lv2
3464 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
3466 (package (inherit gx-guvnor-lv2)
3467 (name "gx-overdriver-lv2")
3468 (version (string-append "0-" revision "." (string-take commit 9)))
3472 (url "https://github.com/brummer10/GxOverDriver.lv2")
3476 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
3477 (file-name (string-append name "-" version "-checkout"))))
3478 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
3479 (synopsis "Overdrive effect with level and tone control")
3480 (description "This package provides the LV2 plugin \"GxOverDriver\", an
3481 overdrive effect."))))
3483 (define-public gx-tone-mender-lv2
3484 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
3486 (package (inherit gx-guvnor-lv2)
3487 (name "gx-tone-mender-lv2")
3488 (version (string-append "0-" revision "." (string-take commit 9)))
3492 (url "https://github.com/brummer10/GxToneMender.lv2")
3496 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
3497 (file-name (string-append name "-" version "-checkout"))))
3498 (home-page "https://github.com/brummer10/GxToneMender.lv2")
3499 (synopsis "Clean boost with a 3-knob tonestack")
3500 (description "This package provides the LV2 plugin \"GxToneMender\", a
3501 clean boost effect with a 3-knob tonestack."))))
3503 (define-public gx-push-pull-lv2
3504 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
3506 (package (inherit gx-guvnor-lv2)
3507 (name "gx-push-pull-lv2")
3508 (version (string-append "0-" revision "." (string-take commit 9)))
3512 (url "https://github.com/brummer10/GxPushPull.lv2")
3516 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
3517 (file-name (string-append name "-" version "-checkout"))))
3518 (home-page "https://github.com/brummer10/GxPushPull.lv2")
3519 (synopsis "Octave up push pull transistor fuzz simulation")
3520 (description "This package provides the LV2 plugin \"GxPushPull\", a
3521 simulation of a push pull transistor fuzz effect with added high octave."))))
3523 (define-public gx-suppa-tone-bender-lv2
3524 (package (inherit gx-guvnor-lv2)
3525 (name "gx-suppa-tone-bender-lv2")
3530 (url "https://github.com/brummer10/GxSuppaToneBender.lv2")
3531 (commit (string-append "v" version))))
3532 (file-name (string-append name "-" version "-checkout"))
3535 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
3536 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
3537 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
3538 (description "This package provides the LV2 plugin
3539 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
3542 (define-public gx-saturator-lv2
3543 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
3545 (package (inherit gx-vbass-preamp-lv2)
3546 (name "gx-saturator-lv2")
3547 (version (string-append "0-" revision "." (string-take commit 9)))
3551 (url "https://github.com/brummer10/GxSaturator.lv2")
3555 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
3556 (file-name (string-append name "-" version "-checkout"))))
3557 (home-page "https://github.com/brummer10/GxSaturator.lv2")
3558 (synopsis "Saturation effect")
3559 (description "This package provides the LV2 plugin \"GxSaturator\", a
3560 saturation effect."))))
3562 (define-public gx-hyperion-lv2
3563 (package (inherit gx-guvnor-lv2)
3564 (name "gx-hyperion-lv2")
3569 (url "https://github.com/brummer10/GxHyperion.lv2")
3570 (commit (string-append "v" version))))
3571 (file-name (string-append name "-" version "-checkout"))
3574 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
3575 (home-page "https://github.com/brummer10/GxHyperion.lv2")
3576 (synopsis "Simulation of the Hyperion Fuzz pedal")
3577 (description "This package provides the LV2 plugin \"GxHyperion\", a
3578 simulation of the Hyperion Fuzz pedal.")))
3580 (define-public gx-voodoo-fuzz-lv2
3581 (package (inherit gx-guvnor-lv2)
3582 (name "gx-voodoo-fuzz-lv2")
3587 (url "https://github.com/brummer10/GxVoodoFuzz.lv2")
3588 (commit (string-append "v" version))))
3589 (file-name (string-append name "-" version "-checkout"))
3592 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
3593 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
3594 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
3595 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
3596 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
3597 Bosstone circuit, followed by the tone control of the FoxToneMachine in
3598 parallel with a DarkBooster, followed by a volume control.")))
3600 (define-public gx-super-fuzz-lv2
3601 (package (inherit gx-guvnor-lv2)
3602 (name "gx-super-fuzz-lv2")
3607 (url "https://github.com/brummer10/GxSuperFuzz.lv2")
3608 (commit (string-append "v" version))))
3609 (file-name (string-append name "-" version "-checkout"))
3612 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
3613 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
3614 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
3615 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
3616 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
3617 pot, which is usually in the housing, is exposed as a control parameter. It
3618 adjusts the amount of harmonics.")))
3620 (define-public gx-vintage-fuzz-master-lv2
3621 (package (inherit gx-guvnor-lv2)
3622 (name "gx-vintage-fuzz-master-lv2")
3627 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3628 (commit (string-append "v" version))))
3629 (file-name (string-append name "-" version "-checkout"))
3632 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
3633 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3634 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
3635 (description "This package provides the LV2 plugin
3636 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
3638 (define-public gx-slow-gear-lv2
3639 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
3641 (package (inherit gx-vbass-preamp-lv2)
3642 (name "gx-slow-gear-lv2")
3643 (version (string-append "0-" revision "." (string-take commit 9)))
3647 (url "https://github.com/brummer10/GxSlowGear.lv2")
3651 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
3652 (file-name (string-append name "-" version "-checkout"))))
3653 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
3654 (synopsis "Slow gear audio effect")
3655 (description "This package provides the LV2 plugin \"GxSlowGear\", a
3656 slow gear audio effect to produce volume swells."))))
3658 (define-public gx-switchless-wah-lv2
3659 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
3661 (package (inherit gx-guvnor-lv2)
3662 (name "gx-switchless-wah-lv2")
3663 (version (string-append "0-" revision "." (string-take commit 9)))
3667 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
3671 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
3672 (file-name (string-append name "-" version "-checkout"))))
3673 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
3674 (synopsis "Wah emulation with switchless activation")
3675 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
3676 a simulation of an analog Wah pedal with switchless activation."))))
3678 (define-public rkrlv2
3679 ;; This commit corresponds to the beta_3 tag
3680 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
3684 (version (git-version "0" revision commit))
3688 (url "https://github.com/ssj71/rkrlv2")
3692 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
3693 (file-name (git-file-name name version))))
3694 (build-system cmake-build-system)
3695 (arguments '(#:tests? #f)) ; there are no tests
3698 ("libsamplerate" ,libsamplerate)
3701 `(("pkg-config" ,pkg-config)))
3702 (home-page "https://github.com/ssj71/rkrlv2")
3703 (synopsis "Rakarrack effects ported to LV2 plugins")
3704 (description "This package provides the Rakarrack effects as LV2
3705 plugins. The ports are done such that hopefully when Rakarrack gets an active
3706 maintainer these will get merged into the original project.")
3707 (license license:gpl2))))
3709 (define-public mod-utilities
3710 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
3713 (name "mod-utilities")
3714 (version (string-append "0-" revision "." (string-take commit 9)))
3718 (url "https://github.com/moddevices/mod-utilities")
3720 (file-name (string-append name "-" version "-checkout"))
3723 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
3724 (build-system gnu-build-system)
3726 `(#:tests? #f ; there are no tests
3728 (list (string-append "INSTALL_PATH="
3729 (assoc-ref %outputs "out")
3731 (string-append "PREFIX=" (assoc-ref %outputs "out"))
3734 (modify-phases %standard-phases
3735 (delete 'configure))))
3738 (home-page "https://github.com/moddevices/mod-utilities")
3739 (synopsis "LV2 utility plugins")
3740 (description "This package provides LV2 audio utility plugins, such as
3741 filters, crossovers, simple gain plugins without zipper noise, switch box
3742 plugins, a switch trigger, a toggle switch, and a peakmeter.")
3743 (license license:gpl2+))))
3745 (define-public ingen
3746 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
3750 (version (string-append "0.0.0-" revision "."
3751 (string-take commit 9)))
3756 (url "https://git.drobilla.net/ingen.git")
3758 (file-name (string-append name "-" version "-checkout"))
3761 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
3762 (build-system waf-build-system)
3764 `(#:python ,python-2
3765 #:tests? #f ; no "check" target
3766 #:configure-flags (list "--no-webkit")
3768 (modify-phases %standard-phases
3769 (add-after 'unpack 'patch-wscript
3770 (lambda* (#:key outputs #:allow-other-keys)
3771 (let ((out (assoc-ref outputs "out")))
3772 (substitute* "wscript"
3773 ;; FIXME: Our version of lv2specgen.py does not behave as
3774 ;; expected. Maybe this requires a development version of
3776 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
3777 ;; Add libraries to RUNPATH.
3778 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
3779 (string-append prefix
3780 "linkflags=[\"-Wl,-rpath="
3781 out "/lib" "\"]," line)))
3782 (substitute* '("src/wscript"
3783 "src/server/wscript")
3784 ;; Add libraries to RUNPATH.
3785 (("bld.env.PTHREAD_LINKFLAGS" line)
3787 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
3788 (substitute* "src/client/wscript"
3789 ;; Add libraries to RUNPATH.
3790 (("^(.+)target.*= 'ingen_client'," line prefix)
3791 (string-append prefix
3792 "linkflags=[\"-Wl,-rpath="
3793 out "/lib" "\"]," line)))
3794 (substitute* "src/gui/wscript"
3795 ;; Add libraries to RUNPATH.
3796 (("^(.+)target.* = 'ingen_gui.*" line prefix)
3797 (string-append prefix
3798 "linkflags=[\"-Wl,-rpath="
3799 out "/lib" "\"]," line))))
3803 ("python-rdflib" ,python-rdflib)
3808 ("raul" ,raul-devel)
3814 ("gtkmm" ,gtkmm-2)))
3816 `(("pkg-config" ,pkg-config)
3817 ("python-pygments" ,python-pygments)))
3818 (home-page "https://drobilla.net/software/ingen")
3819 (synopsis "Modular audio processing system")
3820 (description "Ingen is a modular audio processing system for JACK and
3821 LV2 based systems. Ingen is built around LV2 technology and a strict
3822 separation of engine from user interface. The engine is controlled
3823 exclusively through a protocol, and can execute as a headless process, with an
3824 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
3825 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
3826 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
3827 plugin on any system where Ingen is installed. This allows users to visually
3828 develop custom plugins for use in other applications without programming.")
3829 (license license:agpl3+))))
3831 (define-public qmidiarp
3837 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
3838 version "/qmidiarp-" version ".tar.bz2"))
3841 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
3842 (build-system gnu-build-system)
3845 (list "--enable-qt5")))
3847 `(("qtbase" ,qtbase)
3848 ("alsa-lib" ,alsa-lib)
3853 `(("pkg-config" ,pkg-config)
3854 ("qttools" ,qttools)))
3855 (home-page "http://qmidiarp.sourceforge.net/")
3856 (synopsis "MIDI arpeggiator")
3857 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
3858 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
3859 modules running in parallel.")
3860 (license license:gpl2+)))
3862 (define-public qmidiroute
3868 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
3869 version "/qmidiroute-" version ".tar.bz2"))
3872 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
3873 (build-system gnu-build-system)
3876 (list "--enable-qt5")))
3878 `(("qtbase" ,qtbase)
3879 ("alsa-lib" ,alsa-lib)))
3881 `(("pkg-config" ,pkg-config)
3882 ("qttools" ,qttools)))
3883 (home-page "http://alsamodular.sourceforge.net/")
3884 (synopsis "MIDI event router and filter")
3885 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
3886 control change, program change and pitch bend events are logged, and can be
3887 filtered, redirected and transformed into other events according to MIDI maps
3888 defined as tabs in the main control surface.")
3889 (license license:gpl2+)))
3891 (define-public seq24
3897 (uri (string-append "https://launchpad.net/seq24/trunk/"
3898 version "/+download/seq24-"
3899 version ".tar.bz2"))
3902 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
3903 (patches (search-patches "seq24-rename-mutex.patch"))))
3904 (build-system gnu-build-system)
3906 `(("gtkmm" ,gtkmm-2)
3907 ("alsa-lib" ,alsa-lib)
3911 `(("pkg-config" ,pkg-config)))
3912 (home-page "https://edge.launchpad.net/seq24/")
3913 (synopsis "Real-time MIDI sequencer")
3914 (description "Seq24 is a real-time MIDI sequencer. It was created to
3915 provide a very simple interface for editing and playing MIDI loops.")
3916 (license license:gpl2+)))
3918 (define-public python-discogs-client
3920 (name "python-discogs-client")
3924 (uri (pypi-uri "discogs-client" version))
3927 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
3928 (build-system python-build-system)
3930 `(("python-oauthlib" ,python-oauthlib)
3931 ("python-requests" ,python-requests)))
3933 `(("python-six" ,python-six)))
3934 (home-page "https://github.com/discogs/discogs_client")
3935 (synopsis "Official Python client for the Discogs API")
3936 (description "This is the official Discogs API client for Python. It enables
3937 you to query the Discogs database for information on artists, releases, labels,
3938 users, Marketplace listings, and more. It also supports OAuth 1.0a
3939 authorization, which allows you to change user data such as profile information,
3940 collections and wantlists, inventory, and orders.")
3941 (license license:bsd-2)))
3943 (define-public python2-discogs-client
3944 (package-with-python2 python-discogs-client))
3946 (define-public libsmf
3953 ;; SF download page says development moved, but the link it points to
3954 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
3955 ;; it but made no release so far (https://github.com/stump/libsmf).
3956 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
3957 version "/libsmf-" version ".tar.gz"))
3960 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
3961 (build-system gnu-build-system)
3963 "static")) ; 88KiB of .a files
3966 (modify-phases %standard-phases
3967 (add-after 'install 'move-static-libraries
3968 (lambda* (#:key outputs #:allow-other-keys)
3969 ;; Move static libraries to the "static" output.
3970 (let* ((out (assoc-ref outputs "out"))
3971 (lib (string-append out "/lib"))
3972 (static (assoc-ref outputs "static"))
3973 (slib (string-append static "/lib")))
3975 (for-each (lambda (file)
3976 (install-file file slib)
3978 (find-files lib "\\.a$"))
3981 `(("readline" ,readline)
3984 `(("doxygen" ,doxygen)
3985 ("pkg-config" ,pkg-config)))
3986 (home-page "http://libsmf.sourceforge.net/")
3987 (synopsis "Standard MIDI File format library")
3989 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
3990 conversions between time and pulses, tempo map handling and more. The only dependencies
3991 are a C compiler and glib. Full API documentation and examples are included.")
3992 (license license:bsd-2)))
4002 (url "https://github.com/LMMS/lmms")
4003 (commit (string-append "v" version))))
4004 (file-name (git-file-name name version))
4007 "1gx730z361xx30iqbsm99aam1k2c8yf561gcay6sryyjksb4w1wy"))))
4008 (build-system cmake-build-system)
4010 `(#:tests? #f ; no tests
4011 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
4012 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
4013 ;; Also, explicitly disabling VST support gets rid of the in-tree
4014 ;; dependency on qt5-x11embed.
4015 #:configure-flags '("-DWANT_QT5=ON"
4018 (modify-phases %standard-phases
4019 (add-after 'unpack 'unpack-rpmalloc
4020 (lambda* (#:key inputs #:allow-other-keys)
4021 (copy-recursively (assoc-ref inputs "rpmalloc")
4022 "src/3rdparty/rpmalloc/rpmalloc")
4024 (add-before 'configure 'set-ldflags
4025 (lambda* (#:key outputs #:allow-other-keys)
4029 (assoc-ref outputs "out") "/lib/lmms"
4031 (assoc-ref outputs "out") "/lib/lmms/ladspa"
4034 (add-before 'reset-gzip-timestamps 'make-manpages-writable
4035 (lambda* (#:key outputs #:allow-other-keys)
4037 (make-file-writable file))
4038 (find-files (string-append (assoc-ref outputs "out")
4043 `(("pkg-config" ,pkg-config)
4044 ("qttools" ,qttools)
4045 ;; rpmalloc is a public domain memory allocator. This version specified
4046 ;; below is the version required by LMMS.
4047 ;; To get the new commit of rpmalloc to use here, run
4048 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
4049 ;; in the cloned LMMS repository.
4054 (url "https://github.com/mjansson/rpmalloc")
4055 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
4058 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
4062 ("qtx11extras" ,qtx11extras)
4065 ("libsamplerate" ,libsamplerate)
4066 ("fluidsynth" ,fluidsynth)
4067 ("libvorbis" ,libvorbis)
4068 ("alsa-lib" ,alsa-lib)
4069 ("portaudio" ,portaudio)
4071 ("libsndfile1" ,libsndfile)
4073 ("freetype2" ,freetype)
4076 (home-page "https://lmms.io/")
4077 (synopsis "Music composition tool")
4078 (description "LMMS is a digital audio workstation. It includes tools for sequencing
4079 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
4080 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
4081 (license license:gpl2+)))
4083 (define-public musescore
4091 (url "https://github.com/musescore/MuseScore")
4092 (commit (string-append "v" version))))
4093 (file-name (git-file-name name version))
4095 (base32 "1s8767imzv9hclpzvvvsqb3iyiv4y2klr6agf95zwym2xafy8p26"))
4096 (modules '((guix build utils)))
4098 ;; Un-bundle OpenSSL and remove unused libraries.
4100 (for-each delete-file-recursively
4101 '("thirdparty/freetype"
4102 "thirdparty/google_analytics"
4103 "thirdparty/openssl"
4104 "thirdparty/portmidi"))
4106 (build-system cmake-build-system)
4109 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
4110 "-DBUILD_WEBENGINE=OFF"
4111 "-DDOWNLOAD_SOUNDFONT=OFF"
4112 "-DUSE_SYSTEM_FREETYPE=ON")
4113 ;; There are tests, but no simple target to run. The command used to
4116 ;; make debug && sudo make installdebug && cd \
4117 ;; build.debug/mtest && make && ctest
4119 ;; Basically, it requires to start a whole new build process.
4120 ;; So we simply skip them.
4123 `(("alsa-lib" ,alsa-lib)
4124 ("freetype" ,freetype)
4125 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
4129 ("libsndfile" ,libsndfile)
4130 ("libvorbis" ,libvorbis)
4131 ("portaudio" ,portaudio)
4132 ("portmidi" ,portmidi)
4133 ("pulseaudio" ,pulseaudio)
4135 ("qtdeclarative" ,qtdeclarative)
4136 ("qtquickcontrols2" ,qtquickcontrols2)
4137 ("qtscript" ,qtscript)
4139 ("qtxmlpatterns" ,qtxmlpatterns)))
4141 `(("pkg-config" ,pkg-config)
4142 ("qttools" ,qttools)))
4143 (synopsis "Music composition and notation software")
4144 (description "MuseScore is a music score typesetter. Its main purpose is
4145 the creation of high-quality engraved musical scores in a WYSIWYG environment.
4147 It supports unlimited staves, linked parts and part extraction, tablature,
4148 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
4149 lyrics (multiple verses), fretboard diagrams, and in general everything
4150 commonly used in sheet music. Style options and style sheets to change the
4151 appearance and layout are provided.
4153 MuseScore can also play back scores through the built-in sequencer and SoundFont
4155 (home-page "https://musescore.org")
4156 (license license:gpl2)))
4158 (define-public muse-sequencer
4160 (name "muse-sequencer")
4165 (url "https://github.com/muse-sequencer/muse")
4166 (commit (string-append "muse_"
4167 (string-map (lambda (c)
4169 #\_ c)) version)))))
4170 (file-name (git-file-name name version))
4173 "1nninz8qyqlxxjdnrm79y3gr3056pga9l2fsqh674jd3cjvafya3"))))
4174 (build-system cmake-build-system)
4176 `(#:tests? #f ; there is no test target
4178 (list "-DENABLE_LV2_SUPPLIED=OFF"
4179 "-DENABLE_RTAUDIO=OFF" ; FIXME: not packaged
4180 "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4181 "-DENABLE_VST_NATIVE=OFF")
4183 (modify-phases %standard-phases
4184 (add-after 'unpack 'chdir
4185 (lambda _ (chdir "muse3"))))))
4187 `(("alsa-lib" ,alsa-lib)
4196 ("libsndfile" ,libsndfile)
4197 ("libsamplerate" ,libsamplerate)
4198 ("fluidsynth" ,fluidsynth)
4203 `(("pkg-config" ,pkg-config)
4204 ("qttools" ,qttools)))
4205 (home-page "https://muse-sequencer.github.io/")
4206 (synopsis "MIDI/Audio sequencer")
4207 (description "MusE is a MIDI/Audio sequencer with recording and editing
4208 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4209 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4210 list view, and a score editor. MusE aims to be a complete multitrack virtual
4212 (license license:gpl2+)))
4221 "mirror://sourceforge/dssi/dssi/" version
4222 "/dssi-" version ".tar.gz"))
4225 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4226 (build-system gnu-build-system)
4228 `(("alsa-lib" ,alsa-lib)
4231 ("libsamplerate" ,libsamplerate)
4232 ("libsndfile" ,libsndfile)
4235 `(("pkg-config" ,pkg-config)))
4236 (synopsis "Audio plugin API for soft synths and effects")
4237 (description "DSSI is a plugin API for software instruments with user
4238 interfaces, permitting them to be hosted in-process by audio applications.
4239 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4240 towards familiarity with MIDI. The DSSI distribution package contains
4241 a JACK/ALSA-sequencer reference host and some plugins as well as the
4242 specification and header.")
4243 (home-page "http://dssi.sourceforge.net/")
4244 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4245 ;; The vast majority of examples are in the public domain.
4246 (license (list license:lgpl2.1+ license:gpl2+))))
4248 (define-public rosegarden
4255 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4256 version "/rosegarden-" version ".tar.bz2"))
4258 (base32 "1i9x9rkqwwdrk77xl5ra8i48cjirbc7fbisnj0nnclccwaq0wk6r"))))
4259 (build-system cmake-build-system)
4261 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4263 (modify-phases %standard-phases
4264 (add-after 'unpack 'patch-tests
4266 (substitute* "CMakeLists.txt"
4267 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4269 ((" -fvisibility=hidden") ""))
4271 (add-after 'unpack 'fix-references
4272 (lambda* (#:key inputs #:allow-other-keys)
4273 (substitute* "src/gui/general/ProjectPackager.cpp"
4275 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4277 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4279 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4281 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4283 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4284 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4285 (("\"convert-ly\\>")
4286 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4288 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4290 (add-after 'unpack 'make-reproducible
4292 ;; Prevent Last-Modified from being written.
4293 ;; The "*.qm" files that are used in locale.qrc would have a new
4294 ;; mtime otherwise that is written into qrc_locale.cpp in the
4295 ;; end - except when we disable it.
4296 (substitute* "src/CMakeLists.txt"
4297 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4298 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4300 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4301 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4303 ;; Make hashtable traversal order predicable.
4304 (setenv "QT_RCC_TEST" "1") ; important
4306 (add-before 'check 'prepare-check
4308 (setenv "QT_QPA_PLATFORM" "offscreen")
4309 ;; Tests create files in $HOME/.local/share/rosegarden .
4310 (mkdir-p "/tmp/foo")
4311 (setenv "HOME" "/tmp/foo")
4312 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
4315 `(("alsa-lib" ,alsa-lib)
4323 ("libsamplerate" ,libsamplerate)
4324 ("lilypond" ,lilypond)
4329 ("wavpack" ,wavpack)
4332 `(("pkg-config" ,pkg-config)
4333 ("qtlinguist" ,qttools)))
4334 (synopsis "Music composition and editing environment based around a MIDI
4336 (description "Rosegarden is a music composition and editing environment
4337 based around a MIDI sequencer that features a rich understanding of music
4338 notation and includes basic support for digital audio.")
4339 (home-page "https://www.rosegardenmusic.com/")
4340 (license license:gpl2)))
4342 (define-public patchmatrix
4344 (name "patchmatrix")
4349 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
4351 (file-name (git-file-name "patchmatrix" version))
4354 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
4355 (build-system meson-build-system)
4356 (arguments '(#:tests? #f)) ; no test target
4362 `(("pkg-config" ,pkg-config)))
4363 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
4364 (synopsis "Simple JACK patch bay")
4365 (description "PatchMatrix is a patch bay for the JACK audio connection
4366 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
4368 (license license:artistic2.0)))
4370 (define-public sorcer
4376 (uri (string-append "https://github.com/openAVproductions/"
4377 "openAV-Sorcer/archive/release-"
4379 (file-name (string-append name "-" version ".tar.gz"))
4382 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
4383 (build-system cmake-build-system)
4385 `(#:tests? #f ; no tests included
4387 (modify-phases %standard-phases
4388 (add-after 'unpack 'remove-architecture-specific-flags
4390 (substitute* "CMakeLists.txt"
4391 (("-msse2 -mfpmath=sse") ""))
4393 (add-after 'unpack 'build-faust-sources
4394 (lambda* (#:key inputs #:allow-other-keys)
4395 (with-directory-excursion "faust"
4396 (delete-file "main.cpp")
4397 (invoke "faust" "-i"
4399 "-o" "main.cpp" "main.dsp")))))))
4406 ("pkg-config" ,pkg-config)))
4407 (home-page "http://openavproductions.com/sorcer/")
4408 (synopsis "Wavetable LV2 plugin synth")
4409 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
4410 the electronic or dubstep genre.")
4411 (license license:gpl3+)))
4413 (define-public sonivox-eas
4415 (name "sonivox-eas")
4420 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
4421 (commit (string-append "v" version))))
4422 (file-name (string-append name "-" version "-checkout"))
4425 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
4426 (build-system cmake-build-system)
4427 (arguments '(#:tests? #f)) ; there are no tests
4429 `(("alsa-lib" ,alsa-lib)
4430 ("drumstick" ,drumstick)
4431 ("pulseaudio" ,pulseaudio)
4432 ("qtbase" ,qtbase)))
4434 `(("pkg-config" ,pkg-config)))
4435 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
4436 (synopsis "MIDI synthesizer library")
4437 (description "This project is a real time General MIDI synthesizer based
4438 on the Sonivox EAS Synthesizer by Google. It does not need external
4439 soundfonts, using embedded samples instead.")
4440 ;; Sonivox is released under the ASL2.0; the rest of the code is under
4442 (license (list license:gpl2+ license:asl2.0))))
4444 (define-public whysynth
4447 (version "20170701")
4450 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
4451 version ".tar.bz2"))
4454 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
4455 (build-system gnu-build-system)
4462 ("alsa-lib" ,alsa-lib)))
4464 `(("pkg-config" ,pkg-config)))
4465 (home-page "http://smbolton.com/whysynth.html")
4466 (synopsis "DSSI software synthesizer")
4467 (description "WhySynth is a versatile softsynth which operates as a plugin
4468 for the DSSI Soft Synth Interface. A brief list of features:
4471 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
4472 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
4473 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
4475 @item 10 filter modes.
4476 @item flexible modulation and mixdown options, plus effects.
4479 (license license:gpl2+)))
4481 (define-public libdiscid
4489 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
4493 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
4494 (arguments `(#:test-target "check"))
4495 (build-system cmake-build-system)
4496 (home-page "https://musicbrainz.org/doc/libdiscid")
4497 (synopsis "Disc id reader library")
4498 (description "libdiscid is a C library for creating MusicBrainz and freedb
4499 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
4500 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
4501 it provides a submission URL for adding the disc ID to the database and gathers
4502 ISRCs and the MCN (=UPC/EAN) from disc.")
4503 (license license:lgpl2.1+)))
4505 (define-public python-discid
4507 (name "python-discid")
4512 (uri (pypi-uri "discid" version))
4515 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
4516 (build-system python-build-system)
4518 `(("libdiscid" ,libdiscid)))
4521 (modify-phases %standard-phases
4522 (add-before 'build 'set-libdiscid
4523 ;; Set path of libdiscid
4524 (lambda* (#:key inputs #:allow-other-keys)
4525 (let ((discid (assoc-ref inputs "libdiscid")))
4526 (substitute* "discid/libdiscid.py"
4527 (("lib_name = (.*)$" all name)
4528 (string-append "lib_name = \"" discid
4529 "/lib/libdiscid.so.0\"\n")))
4531 (home-page "https://python-discid.readthedocs.io/")
4532 (synopsis "Python bindings for Libdiscid")
4534 "This package provides Python bindings for the Libdiscid library. The
4535 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
4536 Disc IDs} for use with the MusicBrainz database. Additionally the disc
4537 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
4538 Recording Code} (ISRC) can be extracted.}")
4539 (license license:lgpl3+)))
4541 (define-public libmusicbrainz
4543 (name "libmusicbrainz")
4549 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
4550 version "/libmusicbrainz-" version ".tar.gz"))
4553 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
4554 (build-system cmake-build-system)
4557 (modify-phases %standard-phases
4560 ;; requires network connections
4561 ;; (invoke "tests/mbtest")
4562 (invoke "tests/ctest")
4564 (inputs `(("neon" ,neon)
4565 ("libxml2" ,libxml2)))
4566 (native-inputs `(("pkg-config" ,pkg-config)))
4567 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
4568 (synopsis "MusicBrainz client library")
4569 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
4570 mb_client, is a development library geared towards developers who wish to add
4571 MusicBrainz lookup capabilities to their applications.")
4572 (license license:lgpl2.1+)))
4574 (define-public perl-musicbrainz-discid
4576 (name "perl-musicbrainz-discid")
4581 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
4585 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
4586 (build-system perl-build-system)
4587 (native-inputs `(("pkg-config" ,pkg-config)
4589 (inputs `(("libdiscid" ,libdiscid)))
4590 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
4591 (synopsis "Perl interface to the MusicBrainz libdiscid library")
4593 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
4594 MusicBrainz libdiscid library, allowing you to manipulate digital audio
4595 compact disc (CDDA) identifiers.")
4596 (license license:gpl2)))
4598 (define-public perl-webservice-musicbrainz
4600 (name "perl-webservice-musicbrainz")
4605 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
4609 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
4610 (build-system perl-build-system)
4612 ;; Tests try to connect to http://musicbrainz.org.
4615 `(("perl-module-build" ,perl-module-build)))
4617 `(("perl-mojolicious" ,perl-mojolicious)))
4618 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
4619 (synopsis "Web service API to the MusicBrainz database")
4621 "This module searches the MusicBrainz database through their web service
4622 at @code{musicbrainz.org}.")
4623 (license license:perl-license)))
4625 (define-public clyrics
4633 (url "https://github.com/trizen/clyrics")
4635 (file-name (git-file-name name version))
4637 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
4638 (build-system trivial-build-system)
4640 `(("bash" ,bash) ; for the wrapped program
4642 ("perl-www-mechanize" ,perl-www-mechanize)
4643 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
4644 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
4645 ;; 500 Can't verify SSL peers without knowing which Certificate
4646 ;; Authorities to trust".
4647 ("perl-mozilla-ca" ,perl-mozilla-ca)))
4649 `(#:modules ((guix build utils))
4651 (use-modules (guix build utils)
4654 (let* ((source (assoc-ref %build-inputs "source"))
4655 (output (assoc-ref %outputs "out")))
4658 (assoc-ref %build-inputs "bash") "/bin" ":"
4659 (assoc-ref %build-inputs "perl") "/bin" ":"))
4660 (copy-recursively source (getcwd))
4661 (patch-shebang "clyrics")
4662 (substitute* "clyrics"
4663 (("/usr/share") output))
4664 (install-file "clyrics" (string-append output "/bin"))
4665 (wrap-program (string-append output "/bin/clyrics")
4670 (((? (cut string-prefix? "perl-" <>) name) . dir)
4671 (string-append dir "/lib/perl5/site_perl"))
4674 (copy-recursively "plugins" (string-append output "/clyrics"))
4676 (home-page "https://github.com/trizen/clyrics")
4677 (synopsis "Extensible lyrics fetcher")
4679 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
4680 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
4681 console music players.")
4682 (license license:gpl3+)))
4684 (define-public demlo
4685 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
4689 (version (git-version "3.8" revision commit))
4695 "https://gitlab.com/ambrevar/demlo")
4697 (file-name (git-file-name name version))
4700 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
4701 (build-system go-build-system)
4704 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4705 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
4706 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
4707 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
4708 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
4709 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
4710 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
4711 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
4712 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
4713 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
4715 `(("chromaprint" ,chromaprint)
4716 ("ffmpeg" ,ffmpeg)))
4718 `(#:import-path "gitlab.com/ambrevar/demlo"
4720 (modify-phases %standard-phases
4721 (add-after 'install 'wrap-program
4722 (lambda* (#:key inputs outputs #:allow-other-keys)
4723 (let ((out (assoc-ref outputs "out"))
4724 (ffmpeg (assoc-ref inputs "ffmpeg"))
4725 (chromaprint (assoc-ref inputs "chromaprint")))
4726 (wrap-program (string-append out "/bin/demlo")
4727 `("XDG_DATA_DIRS" ":" prefix (,out))
4730 (string-append dir "/bin:"
4732 (list ffmpeg chromaprint))))
4734 (add-after 'install 'install-scripts
4735 (lambda* (#:key outputs #:allow-other-keys)
4736 (let* ((out (assoc-ref outputs "out"))
4737 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
4738 (xdg-data-dirs (string-append out "/demlo")))
4739 (copy-recursively (string-append root "/actions")
4740 (string-append xdg-data-dirs "/actions"))
4741 (copy-recursively (string-append root "/scripts")
4742 (string-append xdg-data-dirs "/scripts"))
4743 (install-file (string-append root "/config.lua") xdg-data-dirs)
4744 ;; TODO: Test fish completion.
4745 (install-file (string-append root "/completion/demlo.fish")
4746 (string-append out "/share/fish/vendor_completions.d"))
4748 (home-page "https://gitlab.com/ambrevar/demlo")
4749 (synopsis "Dynamic and extensible music library organizer")
4750 (description "Demlo is a music library organizer. It can encode, fix
4751 case, change folder hierarchy according to tags or file properties, tag from
4752 an online database, copy covers while ignoring duplicates or those below a
4753 quality threshold, and much more. It makes it possible to manage your
4754 libraries uniformly and dynamically. You can write your own rules to fit your
4757 Demlo can address any of these recurring music library issues (and much more):
4760 @item Fix the lack of folder structure.
4761 @item Normalize tags, fix their case, chose which tags to keep and which to
4763 @item Handle lossy and lossless audio differently.
4764 @item Handle mp3 id3tags hell...
4765 @item Handle multiple covers, whether embedded and/or external, resize covers,
4766 discard bad quality ones.
4768 (license license:expat))))
4777 (url "https://github.com/gillesdegottex/fmit/")
4778 (commit (string-append "v" version))))
4779 (file-name (git-file-name name version))
4782 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
4783 (build-system gnu-build-system)
4786 (modify-phases %standard-phases
4788 (add-before 'build 'qmake
4790 (let ((out (assoc-ref %outputs "out")))
4793 (string-append "PREFIX=" out)
4794 (string-append "PREFIXSHORTCUT=" out)
4795 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
4796 (add-after 'install 'wrap-executable
4797 (lambda* (#:key inputs outputs #:allow-other-keys)
4798 (let ((out (assoc-ref outputs "out")))
4799 (wrap-program (string-append out "/bin/fmit")
4800 `("QT_PLUGIN_PATH" ":" prefix
4801 ,(map (lambda (label)
4802 (string-append (assoc-ref inputs label)
4803 "/lib/qt5/plugins"))
4804 '("qtbase" "qtmultimedia" "qtsvg")))
4805 `("QML2_IMPORT_PATH" ":" prefix
4806 ,(map (lambda (label)
4807 (string-append (assoc-ref inputs label)
4809 '("qtmultimedia"))))
4812 `(("alsa-lib" ,alsa-lib)
4815 ("portaudio" ,portaudio)
4817 ("qtmultimedia" ,qtmultimedia)
4820 `(("gettext" ,gettext-minimal)
4821 ("hicolor-icon-theme" ,hicolor-icon-theme)
4822 ("itstool" ,itstool)
4823 ("qttools" ,qttools)))
4824 (synopsis "Musical instrument tuner")
4825 (description "FMIT is a graphical utility for tuning musical instruments,
4826 with error and volume history, and advanced features.")
4827 (home-page "https://gillesdegottex.github.io/fmit/")
4828 ;; Most of the code is under GPL2+, but some abstract or helper classes
4829 ;; are under LGPL2.1.
4830 (license (list license:gpl2+ license:lgpl2.1))))
4832 (define-public mloop
4833 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
4837 (version (git-version "0.0.1" revision commit))
4841 (url "http://git.fuzzle.org/mloop")
4843 (file-name (git-file-name name version))
4846 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
4847 (build-system waf-build-system)
4849 `(#:python ,python-2
4850 #:tests? #f)) ; no "check" target
4853 ("ncurses" ,ncurses)))
4855 `(("pkg-config" ,pkg-config)))
4856 (home-page "https://fuzzle.org/~petern/mloop.html")
4857 (synopsis "Live MIDI looper")
4858 (description "mloop is a live MIDI looping system, using jack-midi.
4859 Loops are recorded, optionally with beat quantization, and can then be played
4860 back, either once or looping. A 'note cache' system is implemented to
4861 remember which notes are pressed and their velocities. This allows for a loop
4862 to start off with the currently pressed notes, making seamless loops much
4863 easier to perform. Features include:
4866 @item Quantisation; end a loop on a beat exactly.
4867 @item Delayed recording; wait for a MIDI event before starting a loop record.
4868 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
4870 (license license:gpl2))))
4872 (define-public pragha
4878 (uri (string-append "https://github.com/pragha-music-player/pragha/"
4879 "releases/download/v" version "/pragha-" version
4883 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
4884 (build-system glib-or-gtk-build-system)
4886 `(("intltool" ,intltool)
4887 ("pkg-config" ,pkg-config)))
4891 ("gstreamer" ,gstreamer)
4892 ("gst-plugins-base" ,gst-plugins-base)
4893 ("gst-plugins-good" ,gst-plugins-good)
4895 ("libcddb" ,libcddb)
4896 ("libcdio" ,libcdio)
4897 ("libcdio-paranoia" ,libcdio-paranoia)
4898 ("libgudev" ,libgudev)
4899 ("libnotify" ,libnotify)
4900 ("libpeas" ,libpeas)
4901 ("libsoup" ,libsoup)
4903 ("taglib" ,taglib)))
4906 (modify-phases %standard-phases
4907 (add-after 'install 'wrap-program
4908 (lambda* (#:key inputs outputs #:allow-other-keys)
4909 (let ((out (assoc-ref outputs "out"))
4910 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
4911 (wrap-program (string-append out "/bin/pragha")
4912 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
4914 (home-page "https://pragha-music-player.github.io")
4915 (synopsis "Music player")
4916 (description "Pragha is a lightweight music player based on Gtk and
4917 sqlite. It is constructed to be fast, light, and simultaneously tries to be
4918 complete without obstructing your daily work.")
4919 (license license:gpl3+)))
4921 (define-public playerctl
4928 (url "https://github.com/altdesktop/playerctl")
4929 (commit (string-append "v" version))))
4930 (file-name (git-file-name name version))
4933 "1f3njnpd52djx3dmhh9a8p5a67f0jmr1gbk98icflr2q91149gjz"))))
4934 (build-system meson-build-system)
4936 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
4937 (inputs `(("python-pygobject" ,python-pygobject)))
4939 `(("glib:bin" ,glib "bin")
4940 ("pkg-config" ,pkg-config)))
4941 (synopsis "Control MPRIS-supporting media player applications")
4943 "Playerctl is a command-line utility and library for controlling media
4944 players that implement the MPRIS D-Bus Interface Specification. Playerctl
4945 makes it easy to bind player actions, such as play and pause, to media keys.
4946 You can also get metadata about the playing track such as the artist and title
4947 for integration into status line generators or other command-line tools.")
4948 (home-page "https://github.com/altdesktop/playerctl")
4949 (license license:lgpl3+)))
4951 (define-public artyfx
4959 "https://github.com/openAVproductions/openAV-ArtyFX.git")
4960 (commit (string-append "release-" version))))
4961 (file-name (git-file-name name version))
4964 "012hcy1mxl7gs2lipfcqp5x0xv1azb9hjrwf0h59yyxnzx96h7c9"))))
4965 (build-system cmake-build-system)
4967 `(#:tests? #f ; no tests included
4969 (modify-phases %standard-phases
4970 (add-after 'unpack 'remove-architecture-specific-flags
4972 (substitute* "CMakeLists.txt"
4973 (("-msse2 -mfpmath=sse") ""))
4977 ("libsndfile" ,libsndfile)))
4979 `(("pkg-config" ,pkg-config)
4981 (home-page "http://openavproductions.com/artyfx/")
4982 (synopsis "Audio effect LV2 plugin bundle")
4983 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
4984 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
4986 (license license:gpl2+)))
4988 (define-public lsp-plugins
4990 (name "lsp-plugins")
4996 (url "https://github.com/sadko4u/lsp-plugins")
4997 (commit (string-append "lsp-plugins-" version))))
4998 (file-name (git-file-name name version))
5000 (base32 "0rzgzkg6wvhjcf664i16nz4v30drgv80s34bhdflcjzx2x7ix5zk"))))
5001 (build-system gnu-build-system)
5005 (string-append "CC=" ,(cc-for-target))
5006 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5007 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5008 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5010 (modify-phases %standard-phases
5011 (delete 'configure)) ; no configure
5012 #:test-target "test"))
5015 ("hicolor-icon-theme", hicolor-icon-theme)
5018 ("libsndfile", libsndfile)
5022 `(("pkg-config", pkg-config)))
5023 (synopsis "Audio plugin collection")
5024 (description "LSP (Linux Studio Plugins) is a collection of audio
5025 plugins available as LADSPA/LV2 plugins and as standalone JACK
5027 (home-page "https://lsp-plug.in/")
5028 (license license:lgpl3)))
5030 (define-public sherlock-lv2
5032 (name "sherlock-lv2")
5038 "https://git.open-music-kontrollers.ch/lv2/"
5039 "sherlock.lv2/snapshot/sherlock.lv2-"
5043 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5044 (build-system meson-build-system)
5049 ("sratom" ,sratom)))
5052 ("pkg-config" ,pkg-config)))
5053 (synopsis "Investigative LV2 plugin bundle")
5054 (description "The Sherlock plugin bundle contains LV2 plugins for
5055 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5056 and debugging of event signal flows inside plugin graphs.")
5057 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5058 (license license:artistic2.0)))
5060 (define-public foo-yc20
5067 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5068 version "/foo-yc20-" version ".tar.bz2"))
5071 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5072 (build-system gnu-build-system)
5075 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5076 #:tests? #f ; no automated test
5078 (modify-phases %standard-phases
5081 (substitute* "Makefile"
5082 (("-mtune=native") "")
5083 (("-march=native") ""))
5092 ("pkg-config" ,pkg-config)))
5093 (home-page "https://foo-yc20.codeforcode.com/")
5094 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5095 (description "This is a Faust implementation of a 1969 designed Yamaha
5096 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5097 version. Processing for the organ is based on original schematics and
5098 measurements from a working specimen. This instrument simulates the circutry
5099 as a whole to realisticly reproduce the features and flaws of the real deal.")
5100 ;; Note that after 1.3.0 the license was changed.
5101 (license license:gpl3+)))
5103 (define-public spectacle-analyzer
5105 (name "spectacle-analyzer")
5111 (url "https://github.com/jpcima/spectacle")
5112 (commit (string-append "v" version))
5113 ;; Bundles a specific commit of the DISTRHO plugin framework.
5115 (file-name (git-file-name name version))
5118 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5119 (build-system gnu-build-system)
5121 `(#:tests? #f ; no check target
5124 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5126 (modify-phases %standard-phases
5127 (delete 'configure))))
5129 `(("pkg-config" ,pkg-config)
5138 (synopsis "Realtime graphical spectrum analyzer")
5139 (description "Spectacle is a real-time spectral analyzer using the
5140 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5141 (home-page "https://github.com/jpcima/spectacle")
5142 ;; The project is licensed under the ISC license, and files in
5143 ;; sources/plugin carry the Expat license.
5144 (license (list license:isc license:expat))))
5146 (define-public x42-plugins
5148 (name "x42-plugins")
5149 (version "20200714")
5154 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5157 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5158 (build-system gnu-build-system)
5160 `(#:tests? #f ; no "check" target
5162 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5163 "LIBZITACONVOLVER=-lzita-convolver"
5164 (string-append "FONTFILE="
5165 (assoc-ref %build-inputs "font-dejavu")
5166 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5168 (modify-phases %standard-phases
5169 (add-before 'build 'set-CC-variable
5173 (delete 'configure))))
5180 ("hicolor-icon-theme" ,hicolor-icon-theme)
5183 ("libsamplerate" ,libsamplerate)
5186 ("zita-convolver" ,zita-convolver)))
5188 `(("help2man" ,help2man)
5191 ("font-dejavu" ,font-dejavu)
5192 ("pkg-config" ,pkg-config)))
5193 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5194 (description "x42-plugins is a collection of over 80 cross-platform LV2
5195 audio and MIDI plugins that can also run as standalone JACK applications.")
5196 (home-page "https://x42-plugins.com/x42/")
5197 (license license:gpl2+)))
5199 (define-public zam-plugins
5201 (name "zam-plugins")
5208 (url "https://github.com/zamaudio/zam-plugins")
5210 ;; Recursive to fetch the DISTRHO plugin framework. This
5211 ;; framework is intended to be included in the sources
5212 ;; and not to be used as a library.
5214 (file-name (git-file-name name version))
5216 (base32 "0bxvssqnnd7bph3w1d6xcmxradv4cqq3wyzyv1a1hfm71a0pdahs"))))
5217 (build-system gnu-build-system)
5219 `(#:tests? #f ;no "check" target
5221 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5222 "HAVE_ZITA_CONVOLVER=true")
5224 (modify-phases %standard-phases
5225 (add-before 'build 'set-CC-variable
5227 (setenv "CC" "gcc") #t))
5228 (delete 'configure))))
5231 ("jack" ,jack-1) ;for the standalone JACK application
5233 ("libsamplerate" ,libsamplerate)
5235 ("zita-convolver" ,zita-convolver)))
5237 `(("ladspa" ,ladspa)
5239 ("pkg-config" ,pkg-config)))
5240 (synopsis "Collection of audio processing plugins")
5242 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5243 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5244 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5245 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5246 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5247 (home-page "http://www.zamaudio.com/?p=976")
5248 (license license:gpl2+)))
5250 (define-public geonkick
5258 (url "https://gitlab.com/geontime/geonkick.git")
5259 (commit (string-append "v" version))))
5260 (file-name (git-file-name name version))
5263 "1wdcbwiyy6i5agq5lffkyilyc8mv1cc4mp9h0nybn240vb2flqc2"))))
5264 (build-system cmake-build-system)
5266 `(#:tests? #f ;no tests included
5268 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5269 (assoc-ref %build-inputs "redkite"))
5270 (string-append "-DCMAKE_INSTALL_PREFIX="
5271 (assoc-ref %outputs "out")))))
5274 ("hicolor-icon-theme" ,hicolor-icon-theme)
5275 ("jack" ,jack-1) ;for the standalone JACK application
5276 ("libsndfile" ,libsndfile)
5278 ("redkite" ,redkite)
5279 ("rapidjson" ,rapidjson)))
5282 ;; Fails with default gcc (#include <filesystem> not found).
5284 ("pkg-config" ,pkg-config)
5286 (synopsis "Percussion synthesizer")
5287 (description "Geonkick is a synthesizer that can synthesize elements
5288 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5289 It can also play and mix samples.")
5290 (home-page "https://gitlab.com/geontime/geonkick")
5291 (license license:gpl3+)))
5293 (define-public dpf-plugins
5295 (name "dpf-plugins")
5302 (url "https://github.com/DISTRHO/DPF-Plugins")
5303 (commit (string-append "v" version))))
5304 (file-name (git-file-name name version))
5307 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
5308 (build-system gnu-build-system)
5310 `(#:tests? #f ; no "check" target
5312 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5314 (modify-phases %standard-phases
5315 (add-before 'build 'set-CC-variable
5316 (lambda _ (setenv "CC" "gcc") #t))
5317 (delete 'configure))))
5320 ("liblo" ,liblo) ; for dssi plugins
5321 ("jack" ,jack-1) ; for standalone applications
5324 `(("pkg-config" ,pkg-config)
5327 (home-page "https://github.com/DISTRHO/DPF-Plugins")
5328 (synopsis "Audio plugin collection")
5329 (description "Collection of audio plugins built with the DISTRHO Plugin
5330 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
5331 package includes the following plugins: glBars, Kars, Max-Gen examples
5332 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
5333 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
5334 Soul Force), MVerb, Nekobi, and ProM.")
5335 ;; This package consists of several plugins refactored to use the
5336 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
5337 ;; apply to different plugins. The root LICENSE file has a table with
5338 ;; license information for each plugin and paths to each license
5339 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
5341 (define-public avldrums-lv2
5343 (name "avldrums-lv2")
5349 (url "https://github.com/x42/avldrums.lv2")
5350 (commit (string-append "v" version))
5351 ;; This plugin expects the robtk submodule's source files to be
5352 ;; there in order to build.
5354 (file-name (git-file-name name version))
5356 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
5357 (build-system gnu-build-system)
5359 `(#:tests? #f ; no "check" target
5361 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5363 (modify-phases %standard-phases
5364 (add-before 'build 'set-CC-variable
5366 (setenv "CC" "gcc") #t))
5367 (delete 'configure))))
5375 `(("pkg-config" ,pkg-config)
5377 (home-page "https://x42-plugins.com/x42/x42-avldrums")
5378 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
5379 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
5380 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
5381 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
5382 (license license:gpl2+)))
5393 (url "https://github.com/mtytel/helm")
5394 (commit (string-append "v" version))))
5395 (file-name (git-file-name name version))
5398 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
5399 (build-system gnu-build-system)
5401 `(#:tests? #f ; no "check" target
5403 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
5406 (modify-phases %standard-phases
5407 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
5409 (substitute* "standalone/builds/linux/Makefile"
5410 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5411 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5412 (substitute* "builds/linux/LV2/Makefile"
5413 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5414 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5415 (substitute* "Makefile"
5418 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
5419 (lambda* (#:key outputs #:allow-other-keys)
5420 (for-each make-file-writable
5421 (find-files (string-append (assoc-ref outputs "out"))
5424 (delete 'configure))))
5426 `(("alsa-lib" ,alsa-lib)
5428 ("freetype2" ,freetype)
5429 ("hicolor-icon-theme" ,hicolor-icon-theme)
5430 ("libxcursor" ,libxcursor)
5431 ("libxinerama", libxinerama)
5435 `(("pkg-config" ,pkg-config)
5437 (home-page "https://tytel.org/helm/")
5438 (synopsis "Polyphonic synth with lots of modulation")
5439 (description "Helm is a cross-platform polyphonic synthesizer available standalone
5440 and as an LV2 plugin.")
5441 (license license:gpl3+)))
5443 (define-public zrythm
5450 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
5454 "0x2kxr5zz058jpy6k6ymj0fi2gqfcgrlv4qkwz9443hjy5345iwb"))))
5455 (build-system meson-build-system)
5459 `("-Denable_tests=true" "-Dmanpage=true"
5460 "-Dinstall_dseg_font=false" "-Denable_ffmpeg=true")
5462 (modify-phases %standard-phases
5463 (add-after 'unpack 'patch-xdg-open
5465 (substitute* "src/utils/io.c"
5467 (string-append "\"" (which "xdg-open") "\"")))
5470 `(("alsa-lib" ,alsa-lib)
5472 ("font-dseg" ,font-dseg)
5476 ("gettext" ,gettext-minimal)
5478 ("graphviz" ,graphviz)
5480 ("gtksourceview" ,gtksourceview)
5481 ("guile" ,guile-2.2)
5482 ("libcyaml" ,libcyaml)
5483 ("libsamplerate" ,libsamplerate)
5484 ("libsndfile" ,libsndfile)
5485 ("libyaml" ,libyaml)
5487 ("xdg-utils" ,xdg-utils)
5488 ("rubberband" ,rubberband)))
5490 `(("pkg-config" ,pkg-config)
5491 ("help2man" ,help2man)
5492 ("libaudec" ,libaudec)
5494 ("glib" ,glib "bin"))) ;for 'glib-compile-resources'
5495 (synopsis "Digital audio workstation focusing on usability")
5496 (description "Zrythm is a digital audio workstation designed to be
5497 featureful and easy to use. It offers unlimited automation options, LV2
5498 plugin support, JACK support and chord assistance.")
5499 (home-page "https://www.zrythm.org")
5500 (license license:agpl3+)))
5502 (define-public dragonfly-reverb
5504 (name "dragonfly-reverb")
5511 (url "https://github.com/michaelwillis/dragonfly-reverb")
5513 ;; Bundles a specific commit of the DISTRHO plugin framework.
5515 (file-name (git-file-name name version))
5517 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
5518 (build-system gnu-build-system)
5520 `(#:tests? #f ; no check target
5521 #:make-flags (list "CC=gcc")
5523 (modify-phases %standard-phases
5524 (delete 'configure) ;no configure target
5525 (replace 'install ;no install target
5526 (lambda* (#:key outputs #:allow-other-keys)
5527 (let* ((out (assoc-ref outputs "out"))
5528 (bin (string-append out "/bin"))
5529 (lv2 (string-append out "/lib/lv2")))
5533 (copy-recursively file
5534 (string-append lv2 "/" (basename file))))
5535 (find-files "bin" "\\.lv2$" #:directories? #t))
5536 ;; Install executables.
5539 (install-file file bin))
5543 (equal? (dirname name) "bin")
5544 (not (string-suffix? ".so" name))
5545 (not (string-suffix? ".lv2" name))))))
5548 `(("pkg-config" ,pkg-config)))
5553 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
5554 (synopsis "Concert hall reverb and room reverb effects")
5556 "Dragonfly Reverb is a bundle of two free audio effects: a concert
5557 hall reverb and a room reverb. Both are available as LV2 plugins as well
5558 as JACK standalone applications.")
5559 (license license:gpl3+)))
5569 (url "https://git.zrythm.org/git/ZLFO")
5570 (commit (string-append "v" version))))
5571 (file-name (git-file-name name version))
5574 "0bm466ci5xyvxvq7l9p6xyh789lvk6i31b4zja1igqh13akbjnjz"))))
5575 (build-system meson-build-system)
5577 `(("librsvg" ,librsvg)
5579 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
5581 `(("pkg-config" ,pkg-config)))
5582 (synopsis "Low frequency oscillator plugin")
5583 (description "ZLFO is a fully featured
5584 @dfn{low frequency oscillator} (LFO) for @dfn{control voltage} (CV)-based
5585 automation that comes as an LV2 plugin bundle with a custom UI.")
5586 (home-page "https://git.zrythm.org/cgit/ZLFO/")
5587 (license license:agpl3+)))
5589 (define-public remid-lv2
5597 (url "https://github.com/ssj71/reMID.lv2")
5598 (commit (string-append "v" version))))
5599 (file-name (git-file-name name version))
5602 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
5603 (build-system cmake-build-system)
5605 `(#:tests? #f)) ; no tests included
5607 `(("alsa-lib" ,alsa-lib)
5612 `(("pkg-config" ,pkg-config)))
5613 (home-page "https://github.com/ssj71/reMID.lv2")
5615 "MIDI-controlled implementation of the SID 6581 chip used in the
5618 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
5619 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
5620 to provide a virtual SID-based synthesizer, controllable in real-time via
5621 MIDI. It includes support for scripted instruments that allow complex sonic
5622 control of the chip.")
5623 (license license:gpl2+)))
5625 (define-public vl1-emulator
5627 (name "vl1-emulator")
5633 (url "https://github.com/linuxmao-org/VL1-emulator")
5634 (commit (string-append "v" version))
5635 ;; bundles a specific commit of the DISTRHO plugin framework
5637 (file-name (git-file-name name version))
5640 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
5641 (build-system gnu-build-system)
5643 `(#:tests? #f ;no check target
5645 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5648 (modify-phases %standard-phases
5649 (delete 'configure)))) ;no configure target
5655 `(("pkg-config" ,pkg-config)))
5656 (home-page "https://github.com/linuxmao-org/VL1-emulator")
5657 (synopsis "Emulator of Casio VL-Tone VL1")
5658 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
5659 based on source code by PolyValens, offered as an LV2 plugin and a
5660 standalone JACK application.")
5662 (license (list license:expat license:cc0))))
5664 (define-public regrader
5666 (inherit vl1-emulator)
5673 (url "https://github.com/linuxmao-org/regrader")
5674 (commit (string-append "v" version))
5675 ;; bundles a specific commit of the DISTRHO plugin framework
5677 (file-name (git-file-name name version))
5680 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
5681 (home-page "https://github.com/linuxmao-org/regrader")
5682 (synopsis "Delay effect plugin")
5684 "Regrader is a delay effect where the repeats degrade in resolution.
5685 This is an unofficial port of the Regrader plugin created by Igorski. It
5686 is available as an LV2 plugin and a standalone JACK application.")
5687 (license license:expat)))
5689 (define-public fogpad
5691 (inherit vl1-emulator)
5698 (url "https://github.com/linuxmao-org/fogpad")
5699 (commit (string-append "v" version))
5700 ;; bundles a specific commit of the DISTRHO plugin framework
5702 (file-name (git-file-name name version))
5705 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
5706 (home-page "https://github.com/linuxmao-org/fogpad")
5707 (synopsis "Reverb effect plugin")
5709 "Fogpad is a reverb effect in which the reflections can be frozen,
5710 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
5711 port of the Regrader plugin created by Igorski. It is available as an LV2
5712 plugin and a standalone JACK application.")
5713 (license license:expat)))
5715 (define-public tap-lv2
5716 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
5720 (version (git-version "0.0" revision commit))
5725 (url "https://github.com/moddevices/tap-lv2")
5727 (file-name (git-file-name name version))
5730 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
5731 (build-system gnu-build-system)
5733 `(#:tests? #f ; no check target
5737 (modify-phases %standard-phases
5738 (delete 'configure) ; no configure
5742 (string-append "INSTALL_PATH="
5743 (assoc-ref %outputs "out")
5749 `(("pkg-config", pkg-config)))
5750 (synopsis "Audio plugin collection")
5751 (description "TAP (Tom's Audio Processing) plugins is a collection of
5752 audio effect plugins originally released as LADSPA plugins. This package
5753 offers an LV2 version ported by moddevices.")
5754 (home-page "http://tap-plugins.sourceforge.net/")
5755 (license license:gpl2))))
5757 (define-public wolf-shaper
5759 (name "wolf-shaper")
5765 (url "https://github.com/pdesaulniers/wolf-shaper")
5766 (commit (string-append "v" version))
5767 ;; Bundles a specific commit of the DISTRHO plugin framework.
5769 (file-name (git-file-name name version))
5772 "0lllgcbnnh1m95bp29hh17x170hl7170zizjrvy892qfkn36830d"))))
5773 (build-system gnu-build-system)
5775 `(#:tests? #f ; no check target
5776 #:make-flags (list "CC=gcc")
5778 (modify-phases %standard-phases
5779 (delete 'configure) ;no configure target
5780 (replace 'install ;no install target
5781 (lambda* (#:key outputs #:allow-other-keys)
5782 (let* ((out (assoc-ref outputs "out"))
5783 (bin (string-append out "/bin"))
5784 (lv2 (string-append out "/lib/lv2")))
5788 (copy-recursively file
5789 (string-append lv2 "/" (basename file))))
5790 (find-files "bin" "\\.lv2$" #:directories? #t))
5791 ;; Install executables.
5794 (install-file file bin))
5798 (equal? (dirname name) "bin")
5799 (not (string-suffix? ".so" name))
5800 (not (string-suffix? ".lv2" name))))))
5803 `(("pkg-config" ,pkg-config)))
5808 (synopsis "Waveshaper plugin")
5809 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
5810 It is provided as an LV2 plugin and as a standalone Jack application.")
5811 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
5812 (license license:gpl3)))
5814 (define-public wolf-spectrum
5816 (inherit wolf-shaper)
5817 (name "wolf-spectrum")
5823 (url "https://github.com/pdesaulniers/wolf-spectrum")
5824 (commit (string-append "v" version))
5825 ;; Bundles a specific commit of the DISTRHO plugin framework.
5827 (file-name (git-file-name name version))
5830 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
5831 (synopsis "2D spectrogram plugin")
5832 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
5833 It is provided as an LV2 plugin and as a standalone Jack application.")
5834 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
5835 (license license:gpl3)))
5837 (define-public shiru-lv2
5838 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
5842 (version (git-version "0.0" revision commit))
5847 (url "https://github.com/linuxmao-org/shiru-plugins")
5849 ;; Bundles a specific commit of the DISTRHO plugin framework.
5851 (file-name (git-file-name name version))
5854 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
5855 (build-system gnu-build-system)
5857 `(#:tests? #f ; no check target
5858 #:make-flags (list "CC=gcc")
5860 (modify-phases %standard-phases
5861 (delete 'configure) ;no configure target
5862 (replace 'install ;no install target
5863 (lambda* (#:key outputs #:allow-other-keys)
5864 (let* ((out (assoc-ref outputs "out"))
5865 (bin (string-append out "/bin"))
5866 (lv2 (string-append out "/lib/lv2")))
5870 (copy-recursively file
5871 (string-append lv2 "/" (basename file))))
5872 (find-files "bin" "\\.lv2$" #:directories? #t))
5873 ;; Install executables.
5876 (install-file file bin))
5880 (equal? (dirname name) "bin")
5881 (not (string-suffix? ".so" name))
5882 (not (string-suffix? ".lv2" name))))))
5885 `(("pkg-config" ,pkg-config)))
5893 (synopsis "Audio plugin collection")
5894 (description "Shiru plugins is a collection of audio plugins created
5895 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
5897 (home-page "http://shiru.untergrund.net/software.shtml")
5898 (license license:wtfpl2))))