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, 2021 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–2021 Tobias Geerinckx-Rice <me@tobias.gr>
17 ;;; Copyright © 2018 nee <nee.git@hidamari.blue>
18 ;;; Copyright © 2018 Stefan Reichör <stefan@xsteve.at>
19 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
20 ;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
21 ;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
22 ;;; Copyright © 2019 Gabriel Hondet <gabrielhondet@gmail.com>
23 ;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
24 ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
25 ;;; Copyright © 2019 raingloom <raingloom@protonmail.com>
26 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
27 ;;; Copyright © 2019, 2020 Alexandros Theodotou <alex@zrythm.org>
28 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
29 ;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
30 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
31 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
32 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
33 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
34 ;;; Copyright © 2019 Riku Viitanen <riku.viitanen0@gmail.com>
35 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
37 ;;; This file is part of GNU Guix.
39 ;;; GNU Guix is free software; you can redistribute it and/or modify it
40 ;;; under the terms of the GNU General Public License as published by
41 ;;; the Free Software Foundation; either version 3 of the License, or (at
42 ;;; your option) any later version.
44 ;;; GNU Guix is distributed in the hope that it will be useful, but
45 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
46 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47 ;;; GNU General Public License for more details.
49 ;;; You should have received a copy of the GNU General Public License
50 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
52 (define-module (gnu packages music)
53 #:use-module (guix utils)
54 #:use-module (guix packages)
55 #:use-module (guix download)
56 #:use-module (guix git-download)
57 #:use-module ((guix licenses) #:prefix license:)
58 #:use-module (guix build-system gnu)
59 #:use-module (guix build-system ant)
60 #:use-module (guix build-system cmake)
61 #:use-module (guix build-system meson)
62 #:use-module (guix build-system perl)
63 #:use-module (guix build-system python)
64 #:use-module (guix build-system scons)
65 #:use-module (guix build-system glib-or-gtk)
66 #:use-module (guix build-system waf)
67 #:use-module (guix build-system trivial)
68 #:use-module (guix build-system go)
69 #:use-module (gnu packages)
70 #:use-module (gnu packages admin)
71 #:use-module (gnu packages algebra)
72 #:use-module (gnu packages apr)
73 #:use-module (gnu packages audio)
74 #:use-module (gnu packages autotools)
75 #:use-module (gnu packages backup)
76 #:use-module (gnu packages base) ;libbdf
77 #:use-module (gnu packages bash)
78 #:use-module (gnu packages bison)
79 #:use-module (gnu packages boost)
80 #:use-module (gnu packages build-tools)
81 #:use-module (gnu packages cdrom)
82 #:use-module (gnu packages code)
83 #:use-module (gnu packages check)
84 #:use-module (gnu packages cmake)
85 #:use-module (gnu packages compression)
86 #:use-module (gnu packages cpp)
87 #:use-module (gnu packages crypto)
88 #:use-module (gnu packages curl)
89 #:use-module (gnu packages cyrus-sasl)
90 #:use-module (gnu packages datastructures)
91 #:use-module (gnu packages docbook)
92 #:use-module (gnu packages documentation)
93 #:use-module (gnu packages emacs)
94 #:use-module (gnu packages file)
95 #:use-module (gnu packages flex)
96 #:use-module (gnu packages fltk)
97 #:use-module (gnu packages fonts)
98 #:use-module (gnu packages fontutils)
99 #:use-module (gnu packages freedesktop)
100 #:use-module (gnu packages game-development)
101 #:use-module (gnu packages gcc)
102 #:use-module (gnu packages gnupg)
103 #:use-module (gnu packages gettext)
104 #:use-module (gnu packages ghostscript)
105 #:use-module (gnu packages gl)
106 #:use-module (gnu packages glib)
107 #:use-module (gnu packages gnome)
108 #:use-module (gnu packages gpodder)
109 #:use-module (gnu packages graphics)
110 #:use-module (gnu packages graphviz)
111 #:use-module (gnu packages gstreamer)
112 #:use-module (gnu packages gtk)
113 #:use-module (gnu packages guile)
114 #:use-module (gnu packages haskell)
115 #:use-module (gnu packages image)
116 #:use-module (gnu packages imagemagick)
117 #:use-module (gnu packages java)
118 #:use-module (gnu packages libffi)
119 #:use-module (gnu packages libusb)
120 #:use-module (gnu packages linux) ; for alsa-utils
121 #:use-module (gnu packages lirc)
122 #:use-module (gnu packages llvm)
123 #:use-module (gnu packages man)
124 #:use-module (gnu packages mp3)
125 #:use-module (gnu packages mpd)
126 #:use-module (gnu packages ncurses)
127 #:use-module (gnu packages netpbm)
128 #:use-module (gnu packages pcre)
129 #:use-module (gnu packages pdf)
130 #:use-module (gnu packages perl)
131 #:use-module (gnu packages perl-web)
132 #:use-module (gnu packages pkg-config)
133 #:use-module (gnu packages protobuf)
134 #:use-module (gnu packages pulseaudio) ;libsndfile
135 #:use-module (gnu packages python)
136 #:use-module (gnu packages python-web)
137 #:use-module (gnu packages python-xyz)
138 #:use-module (gnu packages qt)
139 #:use-module (gnu packages rdf)
140 #:use-module (gnu packages readline)
141 #:use-module (gnu packages rsync)
142 #:use-module (gnu packages sdl)
143 #:use-module (gnu packages sqlite)
144 #:use-module (gnu packages stb)
145 #:use-module (gnu packages tcl)
146 #:use-module (gnu packages texinfo)
147 #:use-module (gnu packages tex)
148 #:use-module (gnu packages time)
149 #:use-module (gnu packages tls)
150 #:use-module (gnu packages version-control)
151 #:use-module (gnu packages video)
152 #:use-module (gnu packages vim) ;for 'xxd'
153 #:use-module (gnu packages web)
154 #:use-module (gnu packages wxwidgets)
155 #:use-module (gnu packages xdisorg)
156 #:use-module (gnu packages xml)
157 #:use-module (gnu packages xorg)
158 #:use-module (gnu packages xiph)
159 #:use-module (gnu packages golang)
160 #:use-module (gnu packages lua)
161 #:use-module ((srfi srfi-1) #:select (last)))
163 (define-public audacious
170 (uri (string-append "https://distfiles.audacious-media-player.org/"
171 "audacious-" version ".tar.bz2"))
173 (base32 "028zjgz0p7ys15lk2a30m5zcv9xrx3ga50wjsh4m4zxilgkakbji"))))
174 (build-system gnu-build-system)
177 (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
178 #:tests? #f ; no check target
180 (modify-phases %standard-phases
181 (add-after 'install 'unpack-plugins
182 (lambda* (#:key inputs #:allow-other-keys)
183 (let ((plugins (assoc-ref inputs "audacious-plugins")))
184 (invoke "tar" "xvf" plugins)
186 (add-after 'unpack-plugins 'configure-plugins
187 (lambda* (#:key configure-flags outputs #:allow-other-keys)
188 (let ((out (assoc-ref outputs "out")))
189 (with-directory-excursion
190 (string-append "audacious-plugins-" ,version)
191 (substitute* "configure"
192 (("/bin/sh") (which "sh")))
193 (apply invoke "./configure"
194 (append configure-flags
195 ;; audacious-plugins requires audacious to build.
196 (list (string-append "PKG_CONFIG_PATH="
197 out "/lib/pkgconfig:"
198 (getenv "PKG_CONFIG_PATH"))
199 (string-append "--prefix=" out))))))))
200 (add-after 'configure-plugins 'build-plugins
202 (with-directory-excursion
203 (string-append "audacious-plugins-" ,version)
204 (invoke "make" "-j" (number->string (parallel-job-count))))))
205 (add-after 'build-plugins 'install-plugins
207 (with-directory-excursion
208 (string-append "audacious-plugins-" ,version)
209 (invoke "make" "install")))))))
211 `(("audacious-plugins"
214 (uri (string-append "https://distfiles.audacious-media-player.org/"
215 "audacious-plugins-" version ".tar.bz2"))
217 (base32 "0ny5w1agr9jaz5w3wyyxf1ygmzmd1sivaf97lcm4z4w6529520lz"))))
218 ("gettext" ,gettext-minimal)
219 ("glib:bin" ,glib "bin") ; for gdbus-codegen
220 ("pkg-config" ,pkg-config)))
224 ("qtmultimedia" ,qtmultimedia)
225 ;; Plugin dependencies
226 ("alsa-lib" ,alsa-lib)
231 ("fluidsynth" ,fluidsynth)
235 ("libcdio-paranoia" ,libcdio-paranoia)
237 ("libmodplug" ,libmodplug)
238 ("libnotify" ,libnotify)
240 ("libsamplerate" ,libsamplerate)
241 ("libsndfile" ,libsndfile)
242 ("libvorbis" ,libvorbis)
243 ("libxcomposite" ,libxcomposite)
245 ("libxrender" ,libxrender)
251 ("pulseaudio" ,pulseaudio)
254 ("wavpack" ,wavpack)))
255 (home-page "https://audacious-media-player.org")
256 (synopsis "Modular and skinnable audio player")
258 "Audacious is an audio player descended from XMMS. Drag and drop
259 folders and individual song files, search for artists and albums in
260 your entire music library, or create and edit your own custom
261 playlists. Listen to CD’s or stream music from the Internet. Tweak
262 the sound with the graphical equalizer or experiment with LADSPA
263 effects. Enjoy the modern GTK-themed interface or change things up
264 with Winamp Classic skins. Use the plugins included with Audacious to
265 fetch lyrics for your music, to set an alarm in the morning, and
267 ;; According to COPYING, Audacious and its plugins are licensed
268 ;; under the BSD 2-clause license and libguess is licensed under
269 ;; the BSD 3-clause license.
270 (license (list license:bsd-2
272 ;; Plugin licenses that aren't BSD 2- or 3-clause.
280 (define-public aria-maestosa
282 (name "aria-maestosa")
286 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
287 version "/AriaSrc-" version ".tar.bz2"))
290 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
291 (build-system scons-build-system)
293 `(#:tests? #f ;no tests
295 (list (string-append "prefix=" (assoc-ref %outputs "out")))
296 #:scons ,scons-python2
298 (modify-phases %standard-phases
300 (add-after 'unpack 'scons-propagate-environment
302 ;; By design, SCons does not, by default, propagate
303 ;; environment variables to subprocesses. See:
304 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
305 ;; Here, we modify the SConstruct file to arrange for
306 ;; environment variables to be propagated.
307 (substitute* "SConstruct"
308 (("env = Environment\\(\\)")
309 "env = Environment(ENV=os.environ)")
310 ;; Scons errors out when copying subdirectories from Resources,
311 ;; so we move them instead.
313 ;; We move the "score" and "Documentation" directories at once,
314 ;; so we have to ignore files contained therein.
315 (("if \".svn\" in file" line)
317 " or \"score/\" in file"
318 " or \"Documentation/\" in file")))
320 (add-after 'install 'fix-directory-permissions
321 (lambda* (#:key outputs #:allow-other-keys)
322 (let ((out (assoc-ref outputs "out")))
323 (chmod (string-append out "/share/Aria/Documentation") #o555)
324 (chmod (string-append out "/share/Aria/score") #o555)
327 `(("wxwidgets" ,wxwidgets)
329 ("alsa-lib" ,alsa-lib)))
331 `(("pkg-config" ,pkg-config)))
332 (home-page "http://ariamaestosa.sourceforge.net/")
333 (synopsis "MIDI sequencer and editor")
335 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
336 and play MIDI files with a few clicks in a user-friendly interface offering
337 score, keyboard, guitar, drum and controller views.")
338 (license license:gpl3+)))
340 ;; We don't use the latest release because it depends on Qt4. Instead we
341 ;; download the sources from the tip of the "qt5" branch.
342 (define-public clementine
343 (let ((commit "4619a4c1ab3b17b13d4b2327ad477912917eaf36")
347 (version (git-version "1.3.1" revision commit))
351 (url "https://github.com/clementine-player/Clementine")
353 (file-name (git-file-name name version))
356 "1hximk3q0p8nw8is5w7215xgkb7k4flnfyr0pdz9svfwvcm05w1i"))
357 (modules '((guix build utils)))
362 (delete-file-recursively
363 (string-append "3rdparty/" dir)))
365 ;; TODO: The following dependencies are still bundled:
366 ;; - "qxt": Appears to be unmaintained upstream.
368 ;; - "qtsingleapplication"
370 ;; - "qtiocompressor"
371 ;; - "gmock": The tests crash when using our googletest
372 ;; package instead of the bundled gmock.
380 "sha2" ;; Replaced by openssl.
384 (patches (search-patches "clementine-use-openssl.patch"
385 "clementine-remove-crypto++-dependency.patch"
386 "clementine-fix-sqlite.patch"))))
387 (build-system cmake-build-system)
389 '(#:test-target "clementine_test"
391 (list ;; Requires unpackaged "projectm"
392 "-DENABLE_VISUALISATIONS=OFF"
393 ;; Otherwise it may try to download a non-free library at run-time.
394 ;; TODO In an origin snippet, remove the code that performs the
396 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
397 "-DUSE_SYSTEM_SHA2=TRUE")
399 (modify-phases %standard-phases
400 (add-after 'install 'wrap-program
401 (lambda* (#:key inputs outputs #:allow-other-keys)
402 (let ((out (assoc-ref outputs "out"))
403 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
404 (wrap-program (string-append out "/bin/clementine")
405 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
408 `(("gettext" ,gettext-minimal)
409 ("pkg-config" ,pkg-config)
410 ("qtlinguist" ,qttools)))
413 ("chromaprint" ,chromaprint)
417 ("gstreamer" ,gstreamer)
418 ("gst-plugins-base" ,gst-plugins-base)
419 ("gst-plugins-good" ,gst-plugins-good)
420 ("gst-libav" ,gst-libav)
422 ("libmygpo-qt" ,libmygpo-qt)
423 ;; TODO: Package libgpod.
427 ("protobuf" ,protobuf)
428 ("pulseaudio" ,pulseaudio)
430 ("qtx11extras" ,qtx11extras)
432 ("sparsehash" ,sparsehash)
434 (home-page "https://clementine-player.org")
435 (synopsis "Music player and library organizer")
436 (description "Clementine is a multiplatform music player. It is inspired
437 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
438 playing your music.")
440 ;; clementine and qtiocompressor are under GPLv3.
442 ;; gmock is under BSD-3.
444 ;; qxt is under CPL1.0.
446 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
448 ;; qocoa is under MIT and CC by-sa for the icons.
449 license:cc-by-sa3.0)))))
458 (url "https://github.com/cmus/cmus")
459 (commit (string-append "v" version))))
460 (file-name (git-file-name name version))
463 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
464 (build-system gnu-build-system)
466 `(#:tests? #f ; cmus does not include tests
468 (modify-phases %standard-phases
470 (lambda* (#:key outputs #:allow-other-keys)
471 (let ((out (assoc-ref outputs "out")))
472 ;; It's an idiosyncratic configure script that doesn't
473 ;; understand --prefix=..; it wants prefix=.. instead.
474 (invoke "./configure"
475 (string-append "prefix=" out))
477 ;; TODO: cmus optionally supports the following formats, which haven't yet
478 ;; been added to Guix:
482 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
483 ;; Guix. See <http://sourceforge.net/projects/discid/>
485 `(("pkg-config" ,pkg-config)))
487 `(("alsa-lib" ,alsa-lib)
494 ("libcdio-paranoia" ,libcdio-paranoia)
497 ("libmodplug" ,libmodplug)
498 ("libmpcdec" ,libmpcdec)
499 ("libsamplerate" ,libsamplerate)
500 ("libvorbis" ,libvorbis)
502 ("opusfile" ,opusfile)
503 ("pulseaudio" ,pulseaudio)
504 ("wavpack" ,wavpack)))
505 (home-page "https://cmus.github.io/")
506 (synopsis "Small console music player")
507 (description "Cmus is a small and fast console music player. It supports
508 many input formats and provides a customisable Vi-style user interface.")
509 (license license:gpl2+)))
511 (define-public denemo
518 (uri (string-append "mirror://gnu/denemo/"
519 "denemo-" version ".tar.gz"))
521 (base32 "145kq0zfgdadykl3i6na221i4s5wzdrcqq48amzyfarnrqk2rmpd"))))
522 (build-system gnu-build-system)
525 (modify-phases %standard-phases
527 (lambda* (#:key inputs #:allow-other-keys)
528 ;; Tests require to write $HOME.
529 (setenv "HOME" (getcwd))
530 ;; Replace hard-coded diff file name.
531 (substitute* "tests/integration.c"
533 (string-append (assoc-ref inputs "diffutils") "/bin/diff")))
534 ;; Denemo's documentation says to use this command to run its
536 (invoke "make" "-C" "tests" "check")))
537 (add-before 'build 'set-lilypond
538 ;; This phase sets the default path for lilypond to its current
539 ;; location in the store.
540 (lambda* (#:key inputs #:allow-other-keys)
541 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
543 (substitute* "src/core/prefops.c"
544 (("g_string_new \\(\"lilypond\"\\);")
545 (string-append "g_string_new (\""
550 `(("diffutils" ,diffutils)
551 ("glib:bin" ,glib "bin") ; for gtester
553 ("intltool" ,intltool)
555 ("pkg-config" ,pkg-config)))
557 `(("alsa-lib" ,alsa-lib)
561 ("fluidsynth" ,fluidsynth)
564 ("gtksourceview" ,gtksourceview-3)
567 ("libsndfile" ,libsndfile)
569 ("lilypond" ,lilypond)
570 ("portaudio" ,portaudio)
571 ("portmidi" ,portmidi)
572 ("rubberband" ,rubberband)))
573 (synopsis "Graphical music notation, front-end to GNU Lilypond")
575 "GNU Denemo is a music notation editor that provides a convenient
576 interface to the powerful music engraving program Lilypond. Music can be
577 typed in using the computer keyboard, played in using a MIDI keyboard, or
578 even input via a microphone connected to the sound card. The final product
579 is publication-quality music notation that is continuously generated in the
580 background while you work.")
581 (home-page "http://www.denemo.org")
582 (license license:gpl3+)))
592 (url "https://github.com/kode54/dumb")
595 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
596 (file-name (git-file-name name version))))
597 (build-system cmake-build-system)
599 '(#:tests? #f ; no check target
601 (list "-DBUILD_SHARED_LIBS=ON"
602 "-DBUILD_EXAMPLES=OFF")))
603 (home-page "https://github.com/kode54/dumb")
604 (synopsis "Module audio renderer library")
606 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
607 targets maximum accuracy to the original formats, with low-pass resonant filters
608 for the IT files, accurate timing and pitching, and three resampling quality
609 settings (aliasing, linear interpolation and cubic interpolation).")
610 ;; The DUMB license is a bit peculiar.
611 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
612 ;; the first three clauses for genuine consideration.
613 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
614 ;; license, a known free software license.
615 ;; Therefore, the DUMB license may be considered a free software license.
616 (license (license:fsf-free "file://LICENSE"))))
618 (define-public dumb-allegro4
621 (name "dumb-allegro4")
623 (substitute-keyword-arguments (package-arguments dumb)
624 ((#:configure-flags flags)
625 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
627 `(("allegro" ,allegro-4)))))
629 (define-public hydrogen
637 (url "https://github.com/hydrogen-music/hydrogen")
639 (file-name (git-file-name name version))
641 (base32 "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1"))))
642 (build-system cmake-build-system)
644 `(#:test-target "tests"
646 (modify-phases %standard-phases
647 (add-after 'unpack 'fix-data-directory
648 (lambda* (#:key outputs #:allow-other-keys)
649 (substitute* "CMakeLists.txt"
650 (("/usr/share/pixmaps")
651 (string-append (assoc-ref outputs "out")
655 `(("cppunit" ,cppunit)
656 ("pkg-config" ,pkg-config)
657 ("qtlinguist" ,qttools)))
659 `(("alsa-lib" ,alsa-lib)
661 ;; ("ladspa" ,ladspa) ; require LADSPA_PATH to be set
663 ("libarchive" ,libarchive)
665 ("libsndfile" ,libsndfile)
667 ("pulseaudio" ,pulseaudio)
669 ("qtxmlpatterns" ,qtxmlpatterns)
671 (home-page "http://www.hydrogen-music.org")
672 (synopsis "Drum machine")
674 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
675 enable professional yet simple and intuitive pattern-based drum programming.")
676 (license license:gpl2+)))
678 (define-public easytag
684 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
688 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
689 (build-system glib-or-gtk-build-system)
691 `(("desktop-file-utils" ,desktop-file-utils)
693 ("intltool" ,intltool)
695 ("pkg-config" ,pkg-config)
696 ("xmllint" ,libxml2)))
701 ("libid3tag" ,libid3tag)
702 ("libvorbis" ,libvorbis)
703 ("opusfile" ,opusfile)
710 (modify-phases %standard-phases
711 (add-before 'configure 'configure-libid3tag
712 (lambda* (#:key inputs #:allow-other-keys)
713 ;; libid3tag does not provide a .pc file and EasyTAG's configure
714 ;; script healivy relies on pkg-config. Providing a temporary
715 ;; local .pc file is easier than patching the configure script.
716 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
717 (mkdir-p "pkgconfig")
719 "pkgconfig/id3tag.pc"
723 libdir=${prefix}/lib~@
724 includedir=${prefix}/include~@
729 Libs: -L${libdir} -lid3tag -lz~@
730 Cflags: -I${includedir}~%"
732 (setenv "PKG_CONFIG_PATH"
733 (string-append (getenv "PKG_CONFIG_PATH")
734 ":" (getcwd) "/pkgconfig"))
736 (add-after 'unpack 'patch-makefile
738 (substitute* "Makefile.in"
739 ;; The Makefile generates a test-desktop-file-validate.sh
740 ;; script with /bin/sh hard-coded.
741 (("/bin/sh") (which "sh"))
742 ;; Don't create 'icon-theme.cache'.
743 (("gtk-update-icon-cache") "true"))
745 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
746 (synopsis "Simple application for viewing and editing tags in audio files")
748 "EasyTAG is an application for viewing and editing tags in audio files.
749 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
750 MusePack, Monkey's Audio, and WavPack files.")
751 (license license:gpl2+)))
753 (define-public extempore
760 (url "https://github.com/digego/extempore")
761 (commit (string-append "v" version))))
764 "182jy23qv115dipny7kglwbn21z55dp253w1ykm0kh8n6vkgs7gp"))
765 (file-name (git-file-name name version))
766 (patches (search-patches
767 "extempore-unbundle-external-dependencies.patch"))
768 (modules '((guix build utils)))
771 ;; Remove bundled sources.
772 (map delete-file-recursively
776 (build-system cmake-build-system)
778 `(#:configure-flags (list "-DJACK=ON"
780 "-DEXTERNAL_SHLIBS_AUDIO=OFF"
781 "-DEXTERNAL_SHLIBS_GRAPHICS=OFF"
782 "-DCMAKE_BUILD_TYPE=Release"
783 (string-append "-DEXT_SHARE_DIR="
784 (assoc-ref %outputs "out")
786 #:modules ((ice-9 match)
787 (guix build cmake-build-system)
790 (modify-phases %standard-phases
791 (add-after 'build 'build-aot-libs
793 (for-each (lambda (target)
794 (invoke "make" target))
799 (add-after 'unpack 'patch-install-locations
800 (lambda* (#:key outputs #:allow-other-keys)
801 (substitute* "CMakeLists.txt"
802 (("EXT_SHARE_DIR=\"\\.\"\\)")
803 "EXT_SHARE_DIR=\"${EXT_SHARE_DIR}/extempore\")")
804 (("DESTINATION \"\\.\"\\)") "DESTINATION bin)")
805 (("DESTINATION \"\\.\"\n") "DESTINATION share/extempore\n"))
807 (add-after 'unpack 'patch-directories
808 (lambda* (#:key outputs #:allow-other-keys)
809 (substitute* "extras/extempore.el"
810 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
811 (string-append "(runtime-directory \""
812 (assoc-ref outputs "out")
813 "/share/extempore/runtime"
816 (add-after 'unpack 'link-with-additional-libs
818 ;; The executable must be linked with libffi and zlib.
819 (substitute* "CMakeLists.txt"
820 (("target_link_libraries\\(extempore PRIVATE dl" line)
821 (string-append line " ffi z")))
823 ;; FIXME: All examples that are used as tests segfault for some
825 (add-after 'unpack 'disable-broken-tests
827 (substitute* "CMakeLists.txt"
828 (("extempore_add_example_as_test\\(.*") ""))
830 (add-after 'unpack 'hardcode-external-lib-paths
831 (lambda* (#:key inputs #:allow-other-keys)
832 (use-modules (ice-9 match))
835 ((file-name lib pkg-name)
836 (substitute* (string-append "libs/external/" file-name ".xtm")
837 ((lib) (string-append (assoc-ref inputs pkg-name)
839 '(("assimp" "libassimp.so" "assimp")
840 ("portmidi" "libportmidi.so" "portmidi")
841 ("sndfile" "libsndfile.so" "libsndfile")
842 ("fft" "libkiss_fft.so" "kiss-fft")
843 ("stb_image" "libstb_image.so" "stb-image")
844 ("nanovg" "libnanovg.so" "nanovg")
845 ("glext" "libGL.so" "mesa")
846 ("glfw3" "libglfw.so" "glfw")
847 ("gl/glcore-directbind" "libGL.so" "mesa")
848 ("gl/glcompat-directbind" "libGL.so" "mesa")))
850 (add-after 'unpack 'use-own-llvm
851 (lambda* (#:key inputs #:allow-other-keys)
852 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
853 ;; Our LLVM builds shared libraries, so Extempore should use
855 (substitute* "CMakeLists.txt"
856 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
858 (add-after 'unpack 'fix-aot-compilation
859 (lambda* (#:key outputs #:allow-other-keys)
860 (substitute* "CMakeLists.txt"
861 ;; Extempore needs to be told where the runtime is to be found.
862 ;; While we're at it we disable automatic tuning for a specific
863 ;; CPU to make binary substitution possible.
864 (("COMMAND extempore" prefix)
865 (string-append prefix " --sharedir " (getcwd)
866 " --mcpu=generic --attr=none")))
872 (name "llvm-for-extempore")
876 (uri (string-append "http://extempore.moso.com.au/extras/"
877 "llvm-3.8.0.src-patched-for-extempore.tar.xz"))
880 "1svdl6fxn8l01ni8mpm0bd5h856ahv3h9sdzgmymr6fayckjvqzs"))))))
883 ("libsndfile" ,libsndfile)
887 ,(let ((revision "1")
888 (commit "152a250a702bf28951bb0220d63bc0c99830c498"))
891 (name "stb-image-for-extempore")
892 (version (git-version "0" revision commit))
894 (origin (method git-fetch)
896 (url "https://github.com/extemporelang/stb")
900 "0y0aa20pj9311x2ii06zg8xs34idg14hfgldqc5ymizc6cf1qiqv"))
901 (file-name (git-file-name name version))))
902 (build-system cmake-build-system)
903 (arguments `(#:tests? #f)) ;no tests included
905 ("kiss-fft" ,kiss-fft-for-extempore)
906 ("nanovg" ,nanovg-for-extempore)
908 ,(let ((version "217")
910 (commit "8602f548f71daf5ef638b2f7d224753400cb2158"))
913 (name "portmidi-for-extempore")
914 (version (git-version version revision commit))
918 (url "https://github.com/extemporelang/portmidi")
920 (file-name (git-file-name name version))
923 "1qidzl1s3kzhczzm96rcd2ppn27a97k2axgfh1zhvyf0s52d7m4w"))))
924 (build-system cmake-build-system)
925 (arguments `(#:tests? #f)) ;no tests
926 (native-inputs '()))))
928 ("alsa-lib" ,alsa-lib)
929 ("portaudio" ,portaudio)
935 ("emacs" ,emacs-no-x)))
936 ;; Extempore refuses to build on architectures other than x86_64
937 (supported-systems '("x86_64-linux"))
938 (home-page "https://digego.github.io/extempore/")
939 (synopsis "Programming environment for live coding of multimedia")
941 "Extempore is a programming language and runtime environment designed
942 with live programming in mind. It supports interactive programming in a REPL
943 style, compiling and binding code just-in-time. Although Extempore has its
944 roots in 'live coding' of audiovisual media art, it is suitable for any task
945 domain where dynamic run-time modifiability and good numerical performance are
946 required. Extempore also has strong timing and concurrency semantics, which
947 are helpful when working in problem spaces where timing is important (such as
949 (license license:bsd-2)))
951 (define-public surge-synth
959 (url "https://github.com/surge-synthesizer/surge")
960 (commit (string-append "release_" version))
961 (recursive? #t))) ; build system expects modules to be there
962 (file-name (git-file-name name version))
965 "1jhk8iaqh89dnci4446b47315v2lc8gclraygk8m9jl20zpjxl0l"))))
966 (build-system cmake-build-system)
968 `(#:tests? #f ; no tests included
970 (modify-phases %standard-phases
971 (add-after 'unpack 'replace-python
972 (lambda* (#:key inputs outputs #:allow-other-keys)
973 (substitute* "CMakeLists.txt"
975 (string-append " " (assoc-ref inputs "python")
978 (add-after 'unpack 'fix-data-directory-name
979 (lambda* (#:key inputs outputs #:allow-other-keys)
980 (substitute* "src/common/SurgeStorage.cpp"
981 (("/usr") (assoc-ref outputs "out")))
983 (replace 'install ; no install target
984 (lambda* (#:key inputs outputs #:allow-other-keys)
985 (let* ((src (assoc-ref inputs "source"))
986 (out (assoc-ref outputs "out"))
987 (share (string-append out "/share"))
988 (lib (string-append out "/lib"))
989 (lv2 (string-append lib "/lv2"))
990 (vst3 (string-append lib "/vst3")))
993 ;; Install LV2 plugin.
994 (copy-recursively "surge_products/Surge.lv2"
995 (string-append lv2 "/Surge.lv2"))
996 ;; Install VST3 plugin.
997 (copy-recursively "surge_products/Surge.vst3"
998 (string-append vst3 "/Surge.vst3"))
1000 (copy-recursively (string-append src "/resources/data")
1001 (string-append share "/Surge"))
1005 ("libxkbcommon" ,libxkbcommon)
1007 ("xcb-util" ,xcb-util)
1008 ("xcb-util-cursor" ,xcb-util-cursor)
1009 ("xcb-util-keysyms" ,xcb-util-keysyms)))
1011 `(("pkg-config" ,pkg-config)))
1012 (home-page "https://surge-synthesizer.github.io/")
1013 (synopsis "Synthesizer plugin")
1015 "Surge is a subtractive hybrid digital synthesizer. Each patch contains
1016 two @dfn{scenes} which are separate instances of the entire synthesis
1017 engine (except effects) that can be used for layering or split patches.")
1018 (license license:gpl3+)))
1020 (define-public klick
1026 (uri (string-append "http://das.nasophon.de/download/klick-"
1030 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
1031 (build-system scons-build-system)
1033 `(#:scons-flags (list (string-append "PREFIX=" %output))
1034 #:scons ,scons-python2
1035 #:tests? #f ; no "check" target
1037 (modify-phases %standard-phases
1038 (add-after 'unpack 'be-permissive
1040 (substitute* "SConstruct"
1041 (("'-Wall'") "'-Wall', '-fpermissive'"))
1043 (add-after 'unpack 'replace-removed-scons-syntax
1045 (substitute* "SConstruct"
1046 (("BoolOption") "BoolVariable")
1047 (("PathOption") "PathVariable")
1048 (("Options") "Variables"))
1053 ("libsndfile" ,libsndfile)
1054 ("libsamplerate" ,libsamplerate)
1056 ("rubberband" ,rubberband)))
1058 `(("pkg-config" ,pkg-config)))
1059 (home-page "http://das.nasophon.de/klick/")
1060 (synopsis "Metronome for JACK")
1062 "klick is an advanced command-line based metronome for JACK. It allows
1063 you to define complex tempo maps for entire songs or performances.")
1064 (license license:gpl2+)))
1073 (url "https://github.com/sahib/glyr")
1075 (file-name (git-file-name name version))
1078 "1miwbqzkhg0v3zysrwh60pj9sv6ci4lzq2vq2hhc6pc6hdyh8xyr"))))
1079 (build-system cmake-build-system)
1081 '(#:configure-flags '("-DTEST=true")
1083 (modify-phases %standard-phases
1084 (add-after 'unpack 'patch-tests
1086 (substitute* "spec/capi/check_api.c"
1087 (("fail_unless \\(c != NULL,\"Could not load www.google.de\"\\);")
1091 (lambda* (#:key tests? #:allow-other-keys)
1094 (invoke "bin/check_api")
1095 ;; (invoke "bin/check_opt") TODO Very dependent on the network
1096 (invoke "bin/check_dbc"))
1098 ;; TODO Work out how to run the spec/providers Python tests
1103 ("sqlite" ,sqlite)))
1105 `(("pkg-config" ,pkg-config)
1107 (home-page "https://github.com/sahib/glyr")
1108 (synopsis "Search engine for music related metadata")
1110 "Glyr comes both in a command-line interface tool (@command{glyrc}) and
1111 as a C library (libglyr).
1113 The sort of metadata glyr is searching (and downloading) is usually the data
1114 you see in your musicplayer. And indeed, originally it was written to serve
1115 as internally library for a musicplayer, but has been extended to work as a
1116 standalone program which is able to download cover art, lyrics, photos,
1117 biographies, reviews and more.")
1118 (license license:lgpl3+)))
1120 (define-public gtklick
1126 (uri (string-append "http://das.nasophon.de/download/gtklick-"
1130 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
1131 (build-system python-build-system)
1133 `(#:tests? #f ; no tests
1136 (modify-phases %standard-phases
1137 (add-before 'build 'add-sitedirs
1138 ;; .pth files are not automatically interpreted unless the
1139 ;; directories containing them are added as "sites". The directories
1140 ;; are then added to those in the PYTHONPATH. This is required for
1141 ;; the operation of pygtk.
1143 (substitute* "gtklick/gtklick.py"
1145 "import pygtk, site, sys
1146 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
1147 (add-after 'unpack 'inject-store-path-to-klick
1148 (lambda* (#:key inputs #:allow-other-keys)
1149 (substitute* "gtklick/klick_backend.py"
1150 (("KLICK_PATH = 'klick'")
1151 (string-append "KLICK_PATH = '"
1152 (assoc-ref inputs "klick")
1157 ("python2-pyliblo" ,python2-pyliblo)
1158 ("python2-pygtk" ,python2-pygtk)))
1160 `(("gettext" ,gettext-minimal)))
1161 (home-page "http://das.nasophon.de/gtklick/")
1162 (synopsis "Simple metronome with an easy-to-use graphical interface")
1164 "Gtklick is a simple metronome with an easy-to-use graphical user
1165 interface. It is implemented as a frontend to @code{klick}.")
1166 (license license:gpl2+)))
1168 (define-public libgme
1174 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
1175 "downloads/game-music-emu-" version
1179 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
1180 (build-system cmake-build-system)
1182 '(#:tests? #f)) ; no check target
1183 (home-page "https://bitbucket.org/mpyne/game-music-emu")
1184 (synopsis "Video game music file playback library")
1186 "Game-music-emu is a collection of video game music file emulators that
1187 support the following formats and systems:
1190 ZX Spectrum/Asmtrad CPC
1194 Sega Genesis/Mega Drive
1196 NEC TurboGrafx-16/PC Engine
1198 MSX Home Computer/other Z80 systems (doesn't support FM sound)
1200 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
1202 Atari systems using POKEY sound chip
1204 Super Nintendo/Super Famicom
1206 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
1208 (license (list license:lgpl2.1+
1209 ;; demo and player directories are under the Expat license
1212 (define-public ninjas2
1221 (url "https://github.com/clearly-broken-software/ninjas2")
1222 (commit (string-append "v" version))
1223 ;; Bundles a specific commit of the DISTRHO plugin framework.
1225 (file-name (git-file-name name version))
1227 (base32 "1kwp6pmnfar2ip9693gprfbcfscklgri1k1ycimxzlqr61nkd2k9"))))
1228 (build-system gnu-build-system)
1230 `(#:tests? #f ;no tests
1232 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1233 (string-append "CC=" ,(cc-for-target)))
1235 (modify-phases %standard-phases
1236 (delete 'configure) ;no configure target
1237 (replace 'install ;no install target
1238 (lambda* (#:key outputs #:allow-other-keys)
1239 (let* ((out (assoc-ref outputs "out"))
1240 (bin (string-append out "/bin"))
1241 (lv2 (string-append out "/lib/lv2")))
1245 (copy-recursively file
1246 (string-append lv2 "/" (basename file))))
1247 (find-files "bin" "\\.lv2$" #:directories? #t))
1248 ;; Install executables.
1251 (install-file file bin))
1255 (equal? (dirname name) "bin")
1256 (not (string-suffix? ".so" name))
1257 (not (string-suffix? ".lv2" name))))))
1261 ("jack" ,jack-1) ; for the standalone JACK application
1262 ("libsamplerate" ,libsamplerate)
1264 ("libsndfile" ,libsndfile)))
1266 `(("ladspa" ,ladspa)
1268 ("pkg-config" ,pkg-config)))
1269 (synopsis "Sample slicer audio plugin")
1271 "Ninjas 2 is a rewrite of the Ninjas sample slicer audio plugin.
1272 Its goal is to be an easy to use sample slicer with quick slicing of samples
1273 and auto-mapping slices to MIDI note numbers.")
1274 (home-page "https://github.com/clearly-broken-software/ninjas2")
1275 (license license:gpl3+)))
1277 (define-public lilypond
1284 (uri (string-append "http://lilypond.org/download/sources/"
1285 "v" (version-major+minor version) "/"
1286 "lilypond-" version ".tar.gz"))
1288 (base32 "0qd6pd4siss016ffmcyw5qc6pr2wihnvrgd4kh1x725w7wr02nar"))))
1289 (build-system gnu-build-system)
1291 `(#:tests? #f ;out-test/collated-files.html fails
1293 #:make-flags '("conf=www") ;to generate images for info manuals
1295 (list "CONFIGURATION=www"
1296 (string-append "--with-texgyre-dir="
1297 (assoc-ref %build-inputs "font-tex-gyre")
1298 "/share/fonts/opentype/"))
1300 (modify-phases %standard-phases
1301 (add-after 'unpack 'use-texlive-union
1303 ;; FIXME: fonts are not found and have to be generated in HOME.
1304 (setenv "HOME" "/tmp")
1305 ;; The test for the "lh" package fails, even though it is among
1307 (substitute* "configure"
1308 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
1310 (add-after 'unpack 'fix-path-references
1312 (substitute* "scm/backend-library.scm"
1313 (("\\(search-executable '\\(\"gs\"\\)\\)")
1314 (string-append "\"" (which "gs") "\""))
1316 (string-append "\"" (which "sh") "\"")))
1318 (add-before 'configure 'prepare-configuration
1320 (substitute* "configure"
1321 (("SHELL=/bin/sh") "SHELL=sh")
1322 ;; When checking the fontforge version do not consider the
1323 ;; version string that's part of the directory.
1324 (("head -n") "tail -n")
1325 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
1326 (("20110222") "19700101"))
1327 (setenv "out" "www")
1328 (setenv "conf" "www")
1330 (add-after 'install 'install-info
1333 "-j" (number->string (parallel-job-count))
1334 "conf=www" "install-info")
1337 `(("guile" ,guile-1.8)
1338 ("font-dejavu" ,font-dejavu)
1339 ("font-tex-gyre" ,font-tex-gyre)
1340 ("fontconfig" ,fontconfig)
1341 ("freetype" ,freetype)
1342 ("ghostscript" ,ghostscript)
1344 ("python" ,python-2)))
1349 ("fontforge" ,fontforge)
1350 ("dblatex" ,dblatex)
1351 ("gettext" ,gettext-minimal)
1352 ("imagemagick" ,imagemagick)
1353 ("netpbm" ,netpbm) ;for pngtopnm
1354 ("texlive" ,(texlive-union (list texlive-metapost
1355 texlive-generic-epsf
1357 texlive-latex-cyrillic)))
1358 ("texinfo" ,texinfo)
1359 ("texi2html" ,texi2html-1.82)
1361 ("pkg-config" ,pkg-config)
1363 (home-page "http://www.lilypond.org/")
1364 (synopsis "Music typesetting")
1366 "GNU LilyPond is a music typesetter, which produces high-quality sheet
1367 music. Music is input in a text file containing control sequences which are
1368 interpreted by LilyPond to produce the final document. It is extendable with
1370 (license license:gpl3+)
1372 ;; On armhf and mips64el, building the documentation sometimes leads to
1373 ;; more than an hour of silence, so double the max silent time.
1374 (properties `((max-silent-time . 7200)))))
1376 (define-public non-sequencer
1377 ;; The latest tagged release is three years old and uses a custom build
1378 ;; system, so we take the last commit.
1379 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1382 (name "non-sequencer")
1383 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
1387 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1391 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
1392 (file-name (string-append name "-" version "-checkout"))))
1393 (build-system waf-build-system)
1395 `(#:tests? #f ;no "check" target
1397 (list "--project=sequencer"
1398 ;; Disable the use of SSE unless on x86_64.
1399 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1400 (%current-system))))
1403 #:python ,python-2))
1406 ("libsigc++" ,libsigc++)
1410 `(("pkg-config" ,pkg-config)))
1411 (home-page "https://non.tuxfamily.org/wiki/Non%20Sequencer")
1412 (synopsis "Pattern-based MIDI sequencer")
1414 "The Non Sequencer is a powerful, lightweight, real-time,
1415 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1416 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1417 Sequencer happens on-line, in real-time. Music can be composed live, while the
1418 transport is rolling.")
1419 (license license:gpl2+))))
1421 (define-public non-session-manager
1422 (package (inherit non-sequencer)
1423 (name "non-session-manager")
1425 (substitute-keyword-arguments (package-arguments non-sequencer)
1426 ((#:configure-flags flags)
1427 `(cons "--project=session-manager"
1428 (delete "--project=sequencer" ,flags)))))
1434 `(("pkg-config" ,pkg-config)))
1435 (home-page "https://non.tuxfamily.org/nsm/")
1436 (synopsis "Audio session management")
1438 "The Non Session Manager is an API and an implementation for audio
1439 session management. NSM clients use a well-specified OSC protocol to
1440 communicate with the session management daemon.")
1441 (license license:gpl2+)))
1443 (define-public non-mixer
1444 (package (inherit non-sequencer)
1447 (substitute-keyword-arguments (package-arguments non-sequencer)
1448 ((#:configure-flags flags)
1449 `(cons "--project=mixer"
1450 (delete "--project=sequencer" ,flags)))))
1458 `(("pkg-config" ,pkg-config)))
1459 (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
1460 (synopsis "Modular digital audio mixer")
1462 "The Non Mixer is a powerful, reliable and fast modular digital audio
1463 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1464 toolkit for a fast and lightweight user interface. Non Mixer can be used
1465 alone or in concert with Non Timeline and Non Sequencer to form a complete
1467 (license license:gpl2+)))
1469 (define-public non-timeline
1470 (package (inherit non-sequencer)
1471 (name "non-timeline")
1473 (substitute-keyword-arguments (package-arguments non-sequencer)
1474 ((#:configure-flags flags)
1475 `(cons "--project=timeline"
1476 (delete "--project=sequencer" ,flags)))))
1480 ("libsndfile" ,libsndfile)
1483 `(("pkg-config" ,pkg-config)))
1484 (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
1485 (synopsis "Modular digital audio timeline arranger")
1487 "The Non Timeline is a powerful, reliable and fast modular digital audio
1488 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1489 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1490 be used alone or in concert with Non Mixer and Non Sequencer to form a
1492 (license license:gpl2+)))
1494 (define-public tascam-gtk
1495 ;; This commit represents the latest version at the time of this writing.
1496 (let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
1500 (version (git-version "0.4" revision commit))
1504 (url "https://github.com/onkelDead/tascam-gtk")
1506 (file-name (git-file-name name version))
1509 "07k7rccqqg7lnygkh97a200l1i6s1rl92n01v0q6n4257sinir6f"))))
1510 (build-system gnu-build-system)
1514 ("alsa-lib" ,alsa-lib)
1515 ("libxmlplusplus" ,libxmlplusplus-2.6)))
1517 `(("glib:bin" ,glib "bin")
1518 ("pkg-config" ,pkg-config)))
1519 (home-page "https://github.com/onkelDead/tascam-gtk")
1520 (synopsis "GTK+ based application to control Tascam US-16x08 DSP mixer")
1521 (description "This is a mixer application to control the Tascam US-16x08
1522 audio interface. This device contains about 280 control elements and this
1523 mixer application aims to provide comfortable access to the DSP effects the
1525 (license license:expat))))
1527 (define-public bsequencer
1534 (url "https://github.com/sjaehn/BSEQuencer")
1536 (file-name (git-file-name name version))
1539 "0w7iwzz2r4a699fi24qk71vv2k3jpl9ylzlgmvyc3rlgad0m01k1"))))
1540 (build-system gnu-build-system)
1543 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1544 #:tests? #f ; there are none
1546 (modify-phases %standard-phases
1547 (delete 'configure))))
1551 ("libx11" ,libx11)))
1553 `(("pkg-config" ,pkg-config)))
1554 (home-page "https://github.com/sjaehn/BSEQuencer")
1555 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1557 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1558 with a selectable pattern matrix size.")
1559 (license license:gpl3+)))
1561 (define-public bchoppr
1563 (inherit bsequencer)
1570 (url "https://github.com/sjaehn/BChoppr")
1572 (file-name (git-file-name name version))
1575 "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j"))))
1576 (synopsis "Audio stream-chopping LV2 plugin")
1577 (description "B.Choppr cuts the audio input stream into a repeated
1578 sequence of up to 16 chops. Each chop can be leveled up or down (gating).
1579 B.Choppr is the successor of B.Slizr.")
1580 (home-page "https://github.com/sjaehn/BChoppr")
1581 (license license:gpl3+)))
1583 (define-public bshapr
1585 (inherit bsequencer)
1592 (url "https://github.com/sjaehn/BShapr")
1593 (commit (string-append "v" version))))
1594 (file-name (git-file-name name version))
1596 (base32 "04zd3a178i2nivg5rjailzqvc5mlnilmhj1ziygmbhshbrywplri"))))
1597 (synopsis "Beat/envelope shaper LV2 plugin")
1598 (description "B.Shapr is a beat/envelope shaper LV2 plugin.")
1599 (home-page "https://github.com/sjaehn/BShapr")
1600 (license license:gpl3+)))
1602 (define-public bjumblr
1604 (inherit bsequencer)
1611 (url "https://github.com/sjaehn/BJumblr")
1613 (file-name (git-file-name name version))
1616 "0kl6hrxmqrdf0195bfnzsa2h1073fgiqrfhg2276fm1954sm994v"))))
1619 ("libsndfile" ,libsndfile)
1621 (synopsis "Pattern-controlled audio stream/sample re-sequencer LV2 plugin")
1622 (description "B.Jumblr is a pattern-controlled audio stream / sample
1623 re-sequencer LV2 plugin.")
1624 (home-page "https://github.com/sjaehn/BJumblr")
1625 (license license:gpl3+)))
1627 (define-public bschaffl
1629 (inherit bsequencer)
1636 (url "https://github.com/sjaehn/BSchaffl")
1638 (file-name (git-file-name name version))
1641 "1c09acqrbd387ba41f8ch1qykdap5h6cg9if5pgd16i4dmjnpghj"))))
1644 ("fontconfig" ,fontconfig)
1645 ("libsndfile" ,libsndfile)
1648 (home-page "https://github.com/sjaehn/BSchaffl")
1649 (synopsis "Pattern-controlled MIDI amp & time stretch LV2 plugin")
1650 (description "This package provides an LV2 plugin that allows for
1651 pattern-controlled MIDI amp & time stretching to produce shuffle / swing
1654 Key features include:
1657 @item MIDI velocity amplification and timing manipulation plugin
1658 @item Swing and shuffle rhythms
1659 @item Pre-generator dynamics
1661 @item Pattern (sliders) or shape-controlled
1663 @item Smart quantization
1666 (license license:gpl3+)))
1668 (define-public solfege
1675 "mirror://gnu/solfege/solfege-"
1679 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1680 (build-system gnu-build-system)
1682 `(#:tests? #f ; xmllint attempts to download DTD
1683 #:test-target "test"
1685 (modify-phases %standard-phases
1686 (add-after 'unpack 'fix-configuration
1687 (lambda* (#:key inputs #:allow-other-keys)
1688 (substitute* "default.config"
1689 (("/usr/bin/aplay") "aplay")
1690 (("/usr/bin/timidity") "timidity")
1691 (("/usr/bin/mpg123") "mpg123")
1692 (("/usr/bin/ogg123") "ogg123"))
1694 (add-before 'build 'patch-python-shebangs
1696 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1698 (substitute* '("solfege/parsetree.py"
1699 "solfege/presetup.py")
1700 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1702 (add-before 'build 'add-sitedirs
1703 ;; .pth files are not automatically interpreted unless the
1704 ;; directories containing them are added as "sites". The directories
1705 ;; are then added to those in the PYTHONPATH. This is required for
1706 ;; the operation of pygtk and pygobject.
1708 (substitute* "run-solfege.py"
1711 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1713 (add-before 'build 'adjust-config-file-prefix
1714 (lambda* (#:key outputs #:allow-other-keys)
1715 (substitute* "run-solfege.py"
1716 (("prefix = os.path.*$")
1717 (string-append "prefix = " (assoc-ref outputs "out"))))
1719 (add-after 'install 'wrap-program
1720 (lambda* (#:key inputs outputs #:allow-other-keys)
1721 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1722 (let* ((out (assoc-ref outputs "out"))
1723 (path (getenv "PYTHONPATH")))
1724 (wrap-program (string-append out "/bin/solfege")
1725 `("PYTHONPATH" ":" prefix (,path))))
1728 `(("python" ,python-2)
1729 ("pygtk" ,python2-pygtk)
1730 ("gettext" ,gettext-minimal)
1732 ("lilypond" ,lilypond)))
1734 `(("pkg-config" ,pkg-config)
1735 ("txt2man" ,txt2man)
1736 ("libxml2" ,libxml2) ; for tests
1737 ("ghostscript" ,ghostscript)
1738 ("texinfo" ,texinfo)))
1739 (home-page "https://www.gnu.org/software/solfege/")
1740 (synopsis "Ear training")
1742 "GNU Solfege is a program for practicing musical ear-training. With it,
1743 you can practice your recognition of various musical intervals and chords. It
1744 features a statistics overview so you can monitor your progress across several
1745 sessions. Solfege is also designed to be extensible so you can easily write
1747 (license license:gpl3+)))
1749 (define-public powertabeditor
1751 (name "powertabeditor")
1752 (version "2.0.0-alpha14")
1756 (url "https://github.com/powertab/powertabeditor")
1758 (file-name (git-file-name name version))
1761 "1wsvni2aa9h2bpndlic7ckch4n600ahwm56n521y5vxivwjx3jmj"))))
1762 (build-system cmake-build-system)
1765 (modify-phases %standard-phases
1766 (replace 'check (lambda _ (invoke "bin/pte_tests")))
1767 (add-after 'unpack 'fix-pugixml-detection
1769 (substitute* "cmake/third_party/pugixml.cmake"
1770 (("add_library") "#add_library"))
1773 `(("alsa-lib" ,alsa-lib)
1775 ("minizip" ,minizip)
1776 ("pugixml" ,pugixml)
1778 ("rapidjson" ,rapidjson)
1780 ("timidity" ,timidity++)
1783 `(("doctest" ,doctest)
1784 ("pkg-config" ,pkg-config)))
1785 (home-page "https://github.com/powertab/powertabedito")
1786 (synopsis "Guitar tablature editor")
1788 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1789 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1790 (license license:gpl3+)))
1792 (define-public jalv-select
1794 (name "jalv-select")
1799 (url "https://github.com/brummer10/jalv_select")
1800 (commit (string-append "v" version))))
1801 (file-name (git-file-name name version))
1804 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
1805 (build-system gnu-build-system)
1808 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1810 (modify-phases %standard-phases
1812 (add-after 'unpack 'ignore-PATH
1813 (lambda* (#:key inputs #:allow-other-keys)
1814 (substitute* "jalv.select.cpp"
1815 (("echo \\$PATH.*tr ':'.*xargs ls")
1816 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1818 (add-before 'reset-gzip-timestamps 'make-manpages-writable
1819 (lambda* (#:key outputs #:allow-other-keys)
1820 (for-each make-file-writable
1821 (find-files (string-append (assoc-ref outputs "out")
1829 ("gtkmm" ,gtkmm-2)))
1831 `(("pkg-config" ,pkg-config)))
1832 (home-page "https://github.com/brummer10/jalv_select")
1833 (synopsis "GUI to select LV2 plugins and run them with jalv")
1835 "The jalv.select package provides a graphical user interface allowing
1836 users to select LV2 plugins and run them with jalv.")
1837 (license license:public-domain)))
1839 (define-public synthv1
1846 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1847 "/synthv1-" version ".tar.gz"))
1850 "17sizhav01mn07gi812n8wqdcr85290zqg609s18cww2b95dy6mn"))))
1851 (build-system gnu-build-system)
1853 `(#:tests? #f)) ; there are no tests
1857 ("alsa-lib" ,alsa-lib)
1858 ("non-session-manager" ,non-session-manager)
1860 ("qtbase" ,qtbase)))
1862 `(("pkg-config" ,pkg-config)
1863 ("qttools" ,qttools)))
1864 (home-page "https://synthv1.sourceforge.io")
1865 (synopsis "Polyphonic subtractive synthesizer")
1867 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1868 oscillators and stereo effects.")
1869 (license license:gpl2+)))
1871 (define-public drumkv1
1878 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
1879 "/drumkv1-" version ".tar.gz"))
1882 "0w9frc634yg2m0yc84szdf6x7l4f19pcviqpg065a1kdixf98qrf"))))
1883 (build-system gnu-build-system)
1885 `(#:tests? #f)) ; there are no tests
1889 ("libsndfile" ,libsndfile)
1890 ("alsa-lib" ,alsa-lib)
1891 ("non-session-manager" ,non-session-manager)
1893 ("qtbase" ,qtbase)))
1895 `(("pkg-config" ,pkg-config)
1896 ("qttools" ,qttools)))
1897 (home-page "https://drumkv1.sourceforge.io")
1898 (synopsis "Drum-kit sampler synthesizer with stereo effects")
1900 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
1902 (license license:gpl2+)))
1904 (define-public samplv1
1911 (string-append "mirror://sourceforge/samplv1/samplv1/" version
1912 "/samplv1-" version ".tar.gz"))
1915 "1fwvk83sfvp1k6qyqv1a7a1l8sbm6azcldaiiqa3ls1vhl4m5wv4"))))
1916 (build-system gnu-build-system)
1918 `(#:tests? #f)) ; there are no tests
1922 ("libsndfile" ,libsndfile)
1923 ("alsa-lib" ,alsa-lib)
1924 ("non-session-manager" ,non-session-manager)
1926 ("qtbase" ,qtbase)))
1928 `(("pkg-config" ,pkg-config)
1929 ("qttools" ,qttools)))
1930 (home-page "https://samplv1.sourceforge.io")
1931 (synopsis "Polyphonic sampler synthesizer with stereo effects")
1933 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
1935 (license license:gpl2+)))
1937 (define-public padthv1
1944 (string-append "mirror://sourceforge/padthv1/padthv1/" version
1945 "/padthv1-" version ".tar.gz"))
1948 "06fkrc4xxzr3sa3c76lnkcm4q9k0xl5993bn60la0ja4sz2kp6r7"))))
1949 (build-system gnu-build-system)
1951 `(#:tests? #f)) ; there are no tests
1955 ("alsa-lib" ,alsa-lib)
1956 ("non-session-manager" ,non-session-manager)
1959 ("qtbase" ,qtbase)))
1961 `(("pkg-config" ,pkg-config)
1962 ("qttools" ,qttools)))
1963 (home-page "https://padthv1.sourceforge.io")
1964 (synopsis "Polyphonic additive synthesizer")
1966 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
1967 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
1968 special variant of additive synthesis.")
1969 (license license:gpl2+)))
1971 (define-public amsynth
1978 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
1979 "download/release-" version
1980 "/amsynth-" version ".tar.bz2"))
1983 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
1984 (build-system gnu-build-system)
1987 (modify-phases %standard-phases
1988 (add-after 'unpack 'patch-file-names
1990 (substitute* "src/GUI/editor_pane.c"
1991 (("/usr/bin/unzip") (which "unzip")))
1992 (substitute* "src/GUI/GUI.cc"
1993 (("/usr/bin/which") (which "which")))
1996 `(("alsa-lib" ,alsa-lib)
2001 ("libsndfile" ,libsndfile)
2003 ;; External commands invoked at run time.
2007 `(("intltool" ,intltool)
2008 ("pkg-config" ,pkg-config)))
2009 (home-page "https://amsynth.github.io")
2010 (synopsis "Analog modeling synthesizer")
2012 "amsynth is an easy-to-use software synthesizer with a classic
2013 subtractive synthesizer topology. Its features include: dual
2014 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
2015 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
2016 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
2017 which can modulate the oscillators, filter, and amplitude; distortion and
2019 (license license:gpl2+)))
2021 (define-public setbfree
2028 (url "https://github.com/pantherb/setBfree")
2029 (commit (string-append "v" version))))
2030 (file-name (git-file-name name version))
2033 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
2034 (build-system gnu-build-system)
2036 `(#:tests? #f ; no "check" target
2038 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2039 (string-append "FONTFILE="
2040 (assoc-ref %build-inputs "font-bitstream-vera")
2041 "/share/fonts/truetype/VeraBd.ttf")
2042 ;; Disable unsupported optimization flags on non-x86
2043 ,@(let ((system (or (%current-target-system)
2044 (%current-system))))
2045 (if (or (string-prefix? "x86_64" system)
2046 (string-prefix? "i686" system))
2048 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
2050 (modify-phases %standard-phases
2051 (add-before 'build 'set-CC-variable
2052 (lambda _ (setenv "CC" "gcc") #t))
2053 (delete 'configure))))
2057 ("zita-convolver" ,zita-convolver)
2060 ("font-bitstream-vera" ,font-bitstream-vera)))
2062 `(("help2man" ,help2man)
2063 ("pkg-config" ,pkg-config)))
2064 (home-page "http://setbfree.org")
2065 (synopsis "Tonewheel organ")
2067 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
2068 the sound and properties of the electromechanical organs and sound
2069 modification devices that brought world-wide fame to the names and products of
2070 Laurens Hammond and Don Leslie.")
2071 (license license:gpl2+)))
2073 (define-public beast
2079 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
2083 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
2084 (build-system gnu-build-system)
2086 '(#:parallel-build? #f)) ; Race conditions cause build failures
2088 `(("rapicorn" ,rapicorn)
2089 ("guile" ,guile-1.8)
2090 ("python" ,python-2)
2091 ("libgnomecanvas" ,libgnomecanvas)
2095 ("alsa-lib" ,alsa-lib)
2096 ("libvorbis" ,libvorbis)
2097 ("gettext" ,gettext-minimal)))
2099 `(("pkg-config" ,pkg-config)
2100 ("glib:bin" ,glib "bin")
2101 ("cython" ,python2-cython)
2103 ("perl-xml-parser" ,perl-xml-parser)))
2104 (home-page "https://testbit.eu/wiki/Beast_Home")
2105 (synopsis "Music composition and modular synthesis environment")
2107 "Beast is a music composition and modular synthesis application. It
2108 supports a wide range of standards in the field, such as MIDI, various audio
2109 file formats and LADSPA modules. It allows for multitrack editing, real-time
2110 synthesis, 32bit audio rendering, precise timing down to sample granularity,
2111 on-demand and partial loading of wave files, on the fly decoding, stereo
2112 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
2113 (license license:gpl3+)))
2115 (define-public bristol
2121 (uri (string-append "mirror://sourceforge/bristol/bristol/"
2122 (version-major+minor version)
2123 "/bristol-" version ".tar.gz"))
2126 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
2127 (build-system gnu-build-system)
2130 (modify-phases %standard-phases
2131 (add-after 'unpack 'remove-sse-flags
2132 (lambda* (#:key system #:allow-other-keys)
2133 (when (not (or (string-prefix? "x86_64" system)
2134 (string-prefix? "i686" system)))
2135 (substitute* "bristol/Makefile.in"
2136 (("-msse -mfpmath=sse") "")))
2138 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
2139 ;; bristol actually doesn't use it.
2140 (add-after 'unpack 'do-not-use-alsa-iatomic
2142 (substitute* "libbristolaudio/audioEngineJack.c"
2143 (("#include <alsa/iatomic.h>") ""))
2145 ;; We know that Bristol has been linked with JACK and we don't have
2146 ;; ldd, so we can just skip this check.
2147 (add-after 'unpack 'do-not-grep-for-jack
2149 (substitute* "bin/startBristol.in"
2150 (("ldd `which bristol` | grep jack") "echo guix"))
2153 `(("alsa-lib" ,alsa-lib)
2156 ("libx11" ,libx11)))
2158 `(("pkg-config" ,pkg-config)))
2159 (home-page "http://bristol.sourceforge.net/")
2160 (synopsis "Synthesizer emulator")
2162 "Bristol is an emulation package for a number of different @code{classic}
2163 synthesizers including additive and subtractive and a few organs. The
2164 application consists of the engine, which is called bristol, and its own GUI
2165 library called brighton that represents all the emulations. There are
2166 currently more than twenty different emulations; each does sound different
2167 although the author maintains that the quality and accuracy of each emulation
2169 (license license:gpl3+)))
2171 (define-public tuxguitar
2178 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
2179 version "/tuxguitar-" version "-src.tar.gz"))
2182 "0fjhf56lhlhm84v08917xp4yw8y6d0qajm4qiy1gfp8dm74whwwg"))))
2183 (build-system ant-build-system)
2185 `(#:build-target "build"
2187 #:tests? #f ; no tests
2189 (modify-phases %standard-phases
2191 (lambda* (#:key inputs outputs #:allow-other-keys)
2192 (let* ((initial-classpath (getenv "CLASSPATH"))
2193 (build-dir (lambda (dir)
2196 (string-join (cons initial-classpath
2197 (find-files (getcwd) "\\.jar$"))
2199 (with-directory-excursion dir
2200 (if (file-exists? "build.xml")
2201 ((assoc-ref %standard-phases 'build)
2202 #:build-target "build")
2204 ;; Generate default build.xml.
2205 ((@@ (guix build ant-build-system)
2207 (string-append (string-downcase dir) ".jar")
2208 (string-append (assoc-ref outputs "out")
2210 ((assoc-ref %standard-phases 'build))))))))
2211 (map build-dir '("TuxGuitar-lib"
2212 "TuxGuitar-editor-utils"
2213 "TuxGuitar-ui-toolkit"
2214 "TuxGuitar-ui-toolkit-swt"
2217 "TuxGuitar-gm-utils"
2220 "TuxGuitar-midi-ui"))
2222 (add-after 'build 'build-jni
2225 (setenv "CFLAGS" (string-append
2228 "/build-scripts/native-modules/common-include"))
2229 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
2231 (lambda* (#:key inputs outputs #:allow-other-keys)
2232 (let* ((out (assoc-ref outputs "out"))
2233 (bin (string-append out "/bin"))
2234 (share (string-append out "/share"))
2235 (jni-lib (string-append out "/lib"))
2236 (lib (string-append share "/java"))
2237 (swt (assoc-ref inputs "java-swt"))
2238 (mime (string-append share "/mime/packages"))
2239 (app (string-append share "/applications"))
2240 (man (string-append share "/man/man1")))
2243 ;; Install all jars.
2244 (for-each (lambda (file)
2245 (install-file file lib))
2246 (find-files "." "\\.jar$"))
2248 ;; Install jni libraries
2249 (for-each (lambda (file)
2250 (install-file file jni-lib))
2251 (find-files "." "\\-jni.so$"))
2253 ;; Install all resources.
2254 (copy-recursively "./TuxGuitar/share" share)
2256 ;; Install desktop and mime files
2257 (install-file "./misc/tuxguitar.xml" mime)
2258 (install-file "./misc/tuxguitar.desktop" app)
2261 (install-file "./misc/tuxguitar.1" man)
2264 (call-with-output-file (string-append bin "/tuxguitar")
2266 (let ((classpath (string-join (append (find-files lib "\\.jar$")
2267 (find-files swt "\\.jar$"))
2271 (string-append "#!/bin/sh\n"
2274 " -Dtuxguitar.home.path=" out
2275 " -Dtuxguitar.share.path=" out "/share"
2276 " -Dswt.library.path=" swt "/lib"
2277 " -Djava.library.path=" out "/lib"
2278 " org.herac.tuxguitar.app.TGMainSingleton"
2279 " \"$1\" \"$2\"")))))
2280 (chmod (string-append bin "/tuxguitar") #o555)
2283 `(("alsa-lib" ,alsa-lib)
2284 ("java-swt" ,java-swt)))
2285 (home-page "http://tuxguitar.com.ar/")
2286 (synopsis "Multitrack tablature editor and player")
2288 "TuxGuitar is a guitar tablature editor with player support through midi.
2289 It can display scores and multitrack tabs. TuxGuitar provides various
2290 additional features, including autoscrolling while playing, note duration
2291 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
2292 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
2294 (license license:lgpl2.1+)))
2303 (string-append "http://msp.ucsd.edu/Software/pd-"
2304 version ".src.tar.gz"))
2307 "1hgw1ciwr59f4f9s0h7c2l36wcsn3jsddhr1r9qj97vf64c1ynaj"))))
2308 (build-system gnu-build-system)
2310 (let ((wish (string-append "wish" (version-major+minor
2311 (package-version tk)))))
2312 `(#:tests? #f ; no "check" target
2316 (string-append "--with-wish=" (string-append
2317 (assoc-ref %build-inputs "tk")
2320 (modify-phases %standard-phases
2321 (add-before 'configure 'fix-with-path
2323 (substitute* "tcl/pd-gui.tcl"
2324 (("exec wish ") (string-append "exec " (which ,wish) " ")))
2327 `(("autoconf" ,autoconf)
2328 ("automake" ,automake)
2329 ("libtool" ,libtool)
2330 ("gettext" ,gettext-minimal)
2331 ("pkg-config" ,pkg-config)))
2334 ("alsa-lib" ,alsa-lib)
2336 (home-page "https://puredata.info")
2337 (synopsis "Visual programming language for artistic performances")
2339 "Pure Data (aka Pd) is a visual programming language. Pd enables
2340 musicians, visual artists, performers, researchers, and developers to create
2341 software graphically, without writing lines of code. Pd is used to process
2342 and generate sound, video, 2D/3D graphics, and interface sensors, input
2343 devices, and MIDI. Pd can easily work over local and remote networks to
2344 integrate wearable technology, motor systems, lighting rigs, and other
2345 equipment. Pd is suitable for learning basic multimedia processing and visual
2346 programming methods as well as for realizing complex systems for large-scale
2348 (license license:bsd-3)))
2350 (define-public libpd
2357 (url "https://github.com/libpd/libpd")
2359 (recursive? #t))) ; for the 'pure-data' submodule
2360 (file-name (string-append name "-" version "-checkout"))
2363 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
2364 (build-system gnu-build-system)
2366 '(#:tests? #f ; no tests
2367 #:make-flags '("CC=gcc")
2369 (modify-phases %standard-phases
2370 (delete 'configure) ; no configure script
2372 (lambda* (#:key outputs #:allow-other-keys)
2373 (let ((out (assoc-ref outputs "out")))
2374 (invoke "make" "install"
2375 (string-append "prefix=" out)
2376 ;; XXX: Fix the last 2 lines of 'install' target.
2378 "LIBPD_DEF=NO")))))))
2379 (home-page "http://libpd.cc/")
2380 (synopsis "Pure Data as an embeddable audio synthesis library")
2382 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
2383 main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
2384 (license license:bsd-3)))
2386 (define-public portmidi
2392 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
2393 version "/portmidi-src-" version ".zip"))
2396 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
2397 (patches (list (search-patch "portmidi-modular-build.patch")))))
2398 (build-system cmake-build-system)
2400 `(#:tests? #f ; tests cannot be linked
2401 #:build-type "Release" ; needed to have PMALSA set
2403 (list "-DPORTMIDI_ENABLE_JAVA=Off"
2404 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
2406 (modify-phases %standard-phases
2407 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
2408 ;; "libportmidi.so". Distributions get away with it by creating an
2409 ;; appropriate symlink.
2410 (add-after 'install 'add-porttime
2411 (lambda* (#:key outputs #:allow-other-keys)
2412 (let* ((out (assoc-ref outputs "out"))
2413 (lib (string-append out "/lib")))
2414 (with-directory-excursion lib
2415 (symlink "libportmidi.so" "libporttime.so")))))
2416 (add-after 'install 'install-pkg-config
2417 (lambda* (#:key outputs #:allow-other-keys)
2418 (let* ((out (assoc-ref outputs "out"))
2419 (pkg-config-dir (string-append out "/lib/pkgconfig")))
2420 (mkdir-p pkg-config-dir)
2421 (with-output-to-file (string-append pkg-config-dir "/portmidi.pc")
2425 libdir=${prefix}/lib~@
2426 includedir=${prefix}/include~@
2431 Libs: -L${libdir} -lportmidi~@
2432 Cflags: -I${includedir}~%"
2433 out ,version)))))))))
2435 `(("alsa-lib" ,alsa-lib)))
2437 `(("unzip" ,unzip)))
2438 (home-page "http://portmedia.sourceforge.net/portmidi/")
2439 (synopsis "Library for MIDI I/O")
2441 "PortMidi is a library supporting real-time input and output of MIDI data
2442 using a system-independent interface.")
2443 (license license:expat)))
2445 (define-public python-pyportmidi
2447 (name "python-pyportmidi")
2448 (version (package-version portmidi))
2449 (source (package-source portmidi))
2450 (build-system python-build-system)
2452 `(#:tests? #f ; no tests included
2454 (modify-phases %standard-phases
2455 (add-after 'unpack 'enter-dir
2456 (lambda _ (chdir "pm_python") #t))
2457 (add-after 'enter-dir 'fix-setup.py
2459 (substitute* "setup.py"
2460 ;; Use Python 3 syntax
2461 (("print (\".*\")" _ text)
2462 (string-append "print(" text ")\n"))
2463 ;; TODO.txt and CHANGES.txt don't exist
2464 (("CHANGES =.*") "CHANGES = \"\"\n")
2465 (("TODO =.*") "TODO = \"\"\n"))
2468 `(("portmidi" ,portmidi)
2469 ("alsa-lib" ,alsa-lib)))
2471 `(("python-cython" ,python-cython)
2473 (home-page "http://portmedia.sourceforge.net/portmidi/")
2474 (synopsis "Python bindings to PortMidi")
2476 "This package provides Python bindings to the PortMidi library.")
2477 (license license:expat)))
2479 (define-public frescobaldi
2481 (name "frescobaldi")
2487 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2488 version "/frescobaldi-" version ".tar.gz"))
2490 (base32 "1hg9yc8kj445fjsby92g3qf50crcl1pb079zfma18sb7ycv50zww"))))
2491 (build-system python-build-system)
2493 `(#:tests? #f)) ;no tests included
2495 `(("lilypond" ,lilypond)
2496 ("poppler" ,poppler)
2497 ("portmidi" ,portmidi)
2498 ("python-ly" ,python-ly)
2499 ("python-poppler-qt5" ,python-poppler-qt5)
2500 ("python-pyportmidi" ,python-pyportmidi)
2501 ("python-pyqt" ,python-pyqt)
2502 ("python-sip" ,python-sip)))
2503 (home-page "https://www.frescobaldi.org/")
2504 (synopsis "LilyPond sheet music text editor")
2506 "Frescobaldi is a LilyPond sheet music text editor with syntax
2507 highlighting and automatic completion. Among other things, it can render
2508 scores next to the source, can capture input from MIDI or read MusicXML and
2509 ABC files, has a MIDI player for proof-listening, and includes a documentation
2511 (license license:gpl2+)))
2513 (define-public drumstick
2519 (uri (string-append "mirror://sourceforge/drumstick/"
2520 version "/drumstick-" version ".tar.bz2"))
2523 "088j0w3kr9i4lh78y0js0q8adlfzkr89xq2dxc8y3bafsgihax1x"))))
2524 (build-system cmake-build-system)
2526 `(#:tests? #f ; no test target
2527 #:configure-flags '("-DLIB_SUFFIX=")
2529 (modify-phases %standard-phases
2530 (add-before 'configure 'fix-docbook
2531 (lambda* (#:key inputs #:allow-other-keys)
2532 (substitute* "cmake_admin/CreateManpages.cmake"
2533 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2534 (string-append (assoc-ref inputs "docbook-xsl")
2535 "/xml/xsl/docbook-xsl-"
2536 ,(package-version docbook-xsl)
2537 "/manpages/docbook.xsl")))
2540 `(("qtbase" ,qtbase)
2542 ("qttools" ,qttools)
2543 ("alsa-lib" ,alsa-lib)))
2545 `(("pkg-config" ,pkg-config)
2546 ("libxslt" ,libxslt) ; for xsltproc
2547 ("docbook-xsl" ,docbook-xsl)
2548 ("doxygen" ,doxygen)
2549 ("graphviz" ,graphviz))) ; for dot
2550 (home-page "http://drumstick.sourceforge.net/")
2551 (synopsis "C++ MIDI library")
2553 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2554 includes a C++ wrapper around the ALSA library sequencer interface. A
2555 complementary library provides classes for processing SMF (Standard MIDI
2556 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2557 multiplatform realtime MIDI I/O library is also provided with various output
2558 backends, including ALSA, OSS, Network and FluidSynth.")
2559 (license license:gpl2+)))
2567 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2568 version "/vmpk-" version ".tar.bz2"))
2571 "0wn45c4sbvan7schq93zmsgg5fcf144mbbawxn5kq699vrbc3473"))))
2572 (build-system cmake-build-system)
2574 `(#:tests? #f ; no test target
2576 (modify-phases %standard-phases
2577 (add-before 'configure 'fix-docbook
2578 (lambda* (#:key inputs #:allow-other-keys)
2579 (substitute* "cmake_admin/CreateManpages.cmake"
2580 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2581 (string-append (assoc-ref inputs "docbook-xsl")
2582 "/xml/xsl/docbook-xsl-"
2583 ,(package-version docbook-xsl)
2584 "/manpages/docbook.xsl")))
2587 `(("drumstick" ,drumstick)
2590 ("qtx11extras" ,qtx11extras)))
2592 `(("libxslt" ,libxslt) ;for xsltproc
2593 ("docbook-xsl" ,docbook-xsl)
2594 ("qttools" ,qttools)
2595 ("pkg-config" ,pkg-config)))
2596 (home-page "https://vmpk.sourceforge.io/")
2597 (synopsis "Virtual MIDI piano keyboard")
2599 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2600 doesn't produce any sound by itself, but can be used to drive a MIDI
2601 synthesizer (either hardware or software, internal or external). You can use
2602 the computer's keyboard to play MIDI notes, and also the mouse. You can use
2603 the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2604 instrument or MIDI file player.")
2605 (license license:gpl3+)))
2607 (define-public zynaddsubfx
2609 (name "zynaddsubfx")
2614 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
2615 version "/zynaddsubfx-" version ".tar.bz2"))
2618 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
2619 (build-system cmake-build-system)
2622 (modify-phases %standard-phases
2623 ;; Move SSE compiler optimization flags from generic target to
2624 ;; athlon64 and core2 targets, because otherwise the build would fail
2625 ;; on non-Intel machines.
2626 (add-after 'unpack 'remove-sse-flags-from-generic-target
2628 (substitute* "src/CMakeLists.txt"
2629 (("-msse -msse2 -mfpmath=sse") "")
2630 (("-march=(athlon64|core2)" flag)
2631 (string-append flag " -msse -msse2 -mfpmath=sse")))
2637 ("alsa-lib" ,alsa-lib)
2640 ("minixml" ,minixml)
2644 `(("pkg-config" ,pkg-config)))
2645 (home-page "http://zynaddsubfx.sf.net/")
2646 (synopsis "Software synthesizer")
2648 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2649 three synthesizer engines, multitimbral and polyphonic synths, microtonal
2650 capabilities, custom envelopes, effects, etc.")
2651 (license license:gpl2)))
2653 (define-public yoshimi
2660 (uri (string-append "mirror://sourceforge/yoshimi/"
2661 (version-major+minor version)
2662 "/yoshimi-" version ".tar.bz2"))
2664 (base32 "0lxfqj4p4njww3n0wa6yfj38zfls16y3wszd47gvc5asmqyg5vjd"))))
2665 (build-system cmake-build-system)
2667 `(#:tests? #f ; there are no tests
2669 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2670 (assoc-ref %outputs "out") "/share"))
2672 (modify-phases %standard-phases
2673 (add-before 'configure 'enter-dir
2674 (lambda _ (chdir "src") #t))
2675 ;; Move SSE compiler optimization flags from generic target to
2676 ;; athlon64 and core2 targets, because otherwise the build would fail
2677 ;; on non-Intel machines.
2678 (add-after 'unpack 'remove-sse-flags-from-generic-target
2680 (substitute* "src/CMakeLists.txt"
2681 (("-msse -msse2 -mfpmath=sse") "")
2682 (("-march=(athlon64|core2)" flag)
2683 (string-append flag " -msse -msse2 -mfpmath=sse")))
2688 ("alsa-lib" ,alsa-lib)
2690 ("fontconfig" ,fontconfig)
2691 ("minixml" ,minixml)
2695 ("readline" ,readline)
2696 ("ncurses" ,ncurses)
2700 `(("pkg-config" ,pkg-config)))
2701 (home-page "http://yoshimi.sourceforge.net/")
2702 (synopsis "Multi-paradigm software synthesizer")
2704 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2705 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2706 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2707 improves on support for JACK features, such as JACK MIDI.")
2708 (license license:gpl2)))
2710 (define-public libgig
2716 (uri (string-append "http://download.linuxsampler.org/packages/"
2717 "libgig-" version ".tar.bz2"))
2720 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
2721 (build-system gnu-build-system)
2723 `(("libuuid" ,util-linux "lib")
2724 ("libsndfile" ,libsndfile)))
2726 `(("pkg-config" ,pkg-config)))
2727 (home-page "https://linuxsampler.org/libgig/")
2728 (synopsis "C++ library for working with Gigasampler (.gig) files")
2730 "Libgig is a C++ library for loading, modifying existing and creating new
2731 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2732 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2733 AKAI sampler data. The package includes a couple of command line tools based
2735 ;; The library and tools are released under the GPL, except the AKAI
2736 ;; classes which are released under the LGPL.
2737 (license (list license:gpl2+ license:lgpl2.1+))))
2739 (define-public jack-keyboard
2741 (name "jack-keyboard")
2746 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2747 version "/jack-keyboard-" version ".tar.gz"))
2750 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2751 (build-system gnu-build-system)
2757 `(("pkg-config" ,pkg-config)))
2758 (home-page "http://jack-keyboard.sourceforge.net/")
2759 (synopsis "Virtual MIDI keyboard")
2760 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2761 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2762 (license license:bsd-2)))
2764 (define-public jack-capture
2766 (name "jack-capture")
2771 (url "https://github.com/kmatheussen/jack_capture")
2773 (file-name (string-append name "-" version "-checkout"))
2776 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2777 (build-system gnu-build-system)
2780 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2781 #:tests? #f ; there are none
2783 (modify-phases %standard-phases
2784 (delete 'configure))))
2786 `(("pkg-config" ,pkg-config)
2794 ("libsndfile" ,libsndfile)))
2795 (home-page "https://github.com/kmatheussen/jack_capture")
2796 (synopsis "Program for recording sound files with JACK")
2797 (description "This is a program for recording sound files with JACK. It
2798 can connect to any JACK port and record the output into a stereo WAV file.")
2799 (license license:gpl2+)))
2801 (define-public jack-select
2803 (name "jack-select")
2807 (uri (pypi-uri "jack-select" version))
2810 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
2811 (build-system gnu-build-system)
2813 `(#:modules ((guix build gnu-build-system)
2814 ((guix build python-build-system) #:prefix python:)
2816 #:imported-modules (,@%gnu-build-system-modules
2817 (guix build python-build-system))
2819 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2820 #:tests? #f ; there are none
2822 (modify-phases %standard-phases
2824 (lambda* (#:key inputs #:allow-other-keys)
2825 ;; python-dbus cannot be found but it's really there. See
2826 ;; https://github.com/SpotlightKid/jack-select/issues/2
2827 (substitute* "setup.py"
2828 (("'dbus-python',") ""))
2829 ;; Fix reference to dlopened libraries.
2830 (substitute* "jackselect/alsainfo.py"
2832 (string-append (assoc-ref inputs "alsa-lib")
2833 "/lib/libasound.so.2")))
2836 (assoc-ref python:%standard-phases 'build))
2837 (add-after 'install 'wrap
2838 (assoc-ref python:%standard-phases 'wrap)))))
2840 `(("pkg-config" ,pkg-config)))
2842 `(("alsa-lib" ,alsa-lib)
2843 ("python" ,python-wrapper)
2844 ("python-pyudev" ,python-pyudev)
2845 ("python-pyxdg" ,python-pyxdg)
2846 ("python-dbus" ,python-dbus)
2847 ("python-pygobject" ,python-pygobject)))
2848 (home-page "https://github.com/SpotlightKid/jack-select")
2849 (synopsis "Systray application to quickly change the JACK-DBus configuration")
2850 (description "This application displays an icon in the system tray (also
2851 known as notification area) of your desktop, which shows the status of the
2852 JACK audio server and when you click on it, a menu pops up, which lets you
2853 quickly select from the JACK configuration presets you created with QjackCtl.
2854 When you select a preset, its JACK engine and driver configuration settings
2855 are loaded via DBus into JACK and then the server is restarted. This allows
2856 you to switch between different audio setups with just two mouse clicks.")
2857 (license license:expat)))
2859 (define-public cursynth
2866 (uri (string-append "mirror://gnu/cursynth/cursynth-"
2869 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
2870 (patches (search-patches "cursynth-wave-rand.patch"))))
2871 (build-system gnu-build-system)
2872 (native-inputs `(("pkg-config" ,pkg-config)))
2873 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
2874 ;; prevents us from using pulseaudio
2875 (inputs `(("ncurses" ,ncurses)
2876 ("alsa" ,alsa-lib)))
2877 (home-page "https://www.gnu.org/software/cursynth/")
2878 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
2879 (description "GNU cursynth is a polyphonic synthesizer that runs
2880 graphically in the terminal. It is built on a full-featured subtractive
2881 synthesis engine. Notes and parameter changes may be entered via MIDI or the
2882 computer's keyboard.")
2883 (license license:gpl3+)))
2885 (define-public aj-snapshot
2887 (name "aj-snapshot")
2891 (uri (string-append "mirror://sourceforge/aj-snapshot/"
2892 "aj-snapshot-" version ".tar.bz2"))
2895 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
2896 (build-system gnu-build-system)
2898 `(("minixml" ,minixml)
2900 ("alsa-lib" ,alsa-lib)))
2902 `(("pkg-config" ,pkg-config)))
2903 (home-page "http://aj-snapshot.sourceforge.net/")
2904 (synopsis "Snapshot connections between ALSA and JACK clients")
2905 (description "Aj-snapshot is a small program that can be used to make
2906 snapshots of the connections made between JACK and/or ALSA clients. Because
2907 JACK can provide both audio and MIDI support to programs, aj-snapshot can
2908 store both types of connections for JACK. ALSA, on the other hand, only
2909 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
2910 from the command line.")
2911 (license license:gpl3+)))
2913 (define-public qtractor
2919 (uri (string-append "https://downloads.sourceforge.net/qtractor/"
2920 "qtractor-" version ".tar.gz"))
2923 "0gdr1hvda56vmv4998z9xcqsp7da6lplj00f217x9g2i2snyvkzp"))))
2924 (build-system gnu-build-system)
2926 `(#:tests? #f)) ; no "check" target
2929 ("qtx11extras" ,qtx11extras)
2930 ("alsa-lib" ,alsa-lib)
2932 ("libsndfile" ,libsndfile)
2937 ("libsamplerate" ,libsamplerate)
2938 ("libvorbis" ,libvorbis)
2940 ("rubberband" ,rubberband)
2944 `(("pkg-config" ,pkg-config)
2945 ("qttools" ,qttools)))
2946 (home-page "http://qtractor.org/")
2947 (synopsis "Audio/MIDI multi-track sequencer")
2949 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
2950 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
2951 follows a traditional multi-track tape recorder control paradigm.")
2952 (license license:gpl2+)))
2954 (define-public ams-lv2
2962 (url "https://github.com/blablack/ams-lv2")
2963 (commit (string-append "v" version))))
2964 (file-name (git-file-name name version))
2966 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
2967 (build-system waf-build-system)
2970 (modify-phases %standard-phases
2971 (add-after 'unpack 'remove-sse-flags
2972 (lambda* (#:key system #:allow-other-keys)
2973 (unless (or (string-prefix? "x86_64" system)
2974 (string-prefix? "i686" system))
2975 (substitute* "wscript"
2976 (("'-msse', '-mfpmath=sse', ") "")))
2978 #:tests? #f)) ; no tests
2987 `(("pkg-config" ,pkg-config)))
2988 (home-page "https://github.com/blablack/ams-lv2")
2989 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
2990 (description "This set of LV2 plugins is a port of the internal modules
2991 found in Alsa Modular Synth. These plugins are used to create modular
2992 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
2994 (license license:gpl2)))
2996 (define-public gxtuner
3003 (url "https://github.com/brummer10/gxtuner")
3004 (commit (string-append "v" version))))
3005 (file-name (git-file-name name version))
3008 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
3009 (build-system gnu-build-system)
3012 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3013 (string-append "INCLUDE_L_DIR="
3014 (assoc-ref %build-inputs "zita-resampler")
3017 (modify-phases %standard-phases
3018 (delete 'configure))))
3024 ("zita-resampler" ,zita-resampler)))
3026 `(("pkg-config" ,pkg-config)))
3027 (home-page "https://github.com/brummer10/gxtuner")
3028 (synopsis "Guitar tuner")
3029 (description "GXtuner is a simple guitar tuner for JACK with an
3030 analogue-like user interface.")
3031 (license license:gpl2+)))
3033 (define-public mod-host
3034 ;; The last release was in 2014 but since then hundreds of commits have
3036 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
3040 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
3044 (url "https://github.com/moddevices/mod-host")
3048 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
3049 (file-name (string-append name "-" version "-checkout"))))
3050 (build-system gnu-build-system)
3052 `(#:tests? #f ; no tests included
3054 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3057 (modify-phases %standard-phases
3059 (add-after 'unpack 'fix-jack-installation-directory
3061 ;; Do not attempt to install files to output of "jack" package.
3062 (substitute* "Makefile"
3063 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
3072 ("readline" ,readline)))
3074 `(("pkg-config" ,pkg-config)
3075 ("python" ,python-2)))
3076 (home-page "https://github.com/moddevices/mod-host")
3077 (synopsis "LV2 host for Jack controllable via socket or command line")
3078 (description "mod-host is an LV2 plugin host for JACK, controllable via
3079 socket or command line.")
3080 (license license:gpl3+))))
3082 (define-public curseradio
3083 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
3087 (version (git-version "0" revision commit))
3091 (url "https://github.com/chronitis/curseradio")
3093 (file-name (git-file-name name version))
3096 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
3097 (build-system python-build-system)
3100 (modify-phases %standard-phases
3101 (add-after 'unpack 'link-to-mpv
3102 (lambda* (#:key inputs #:allow-other-keys)
3103 (substitute* "curseradio/curseradio.py"
3105 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
3108 `(("python-lxml" ,python-lxml)
3109 ("python-requests" ,python-requests)
3110 ("python-pyxdg" ,python-pyxdg)))
3113 (home-page "https://github.com/chronitis/curseradio")
3114 (synopsis "Command-line Internet radio player")
3115 (description "Curseradio is a Curses-based radio player that uses a
3116 tune-in sender list from @url{http://opml.radiotime.com}.")
3117 (license license:expat))))
3119 (define-public pianobar
3122 (version "2020.04.05")
3126 (url "https://github.com/PromyLOPh/pianobar")
3128 (file-name (git-file-name name version))
3131 "1gq8kpks6nychqz4gf0rpy7mrhz5vjw48a60x56j6y9flmazmypw"))))
3132 (build-system gnu-build-system)
3134 `(#:tests? #f ; no tests
3135 #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
3136 #:phases (modify-phases %standard-phases
3137 (delete 'configure))))
3141 ("libgcrypt" ,libgcrypt)
3143 ("ffmpeg" ,ffmpeg)))
3145 `(("pkg-config" ,pkg-config)))
3146 (home-page "https://6xq.net/pianobar/")
3147 (synopsis "Console-based pandora.com player")
3148 (description "pianobar is a console-based music player for the
3149 personalized online radio pandora.com. It has configurable keys for playing
3150 and managing stations, can be controlled remotely via fifo, and can run
3151 event-based scripts for scrobbling, notifications, etc.")
3152 (license license:expat)))
3154 (define-public picard
3161 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
3162 "picard/picard-" version ".tar.gz"))
3165 "1c5l7i43jaj3s4wklc0cba6nn2x9cmpcggk4q4h9m1bci2xilsiy"))
3166 (patches (search-patches "picard-fix-id3-rename-test.patch"))))
3167 (build-system python-build-system)
3169 '(#:use-setuptools? #f
3172 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
3173 "--disable-autoupdate")
3175 (modify-phases %standard-phases
3176 (add-after 'unpack 'patch-source
3177 (lambda* (#:key inputs #:allow-other-keys)
3178 (substitute* "picard/const/__init__.py"
3182 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
3185 `(("gettext" ,gettext-minimal)
3186 ("python-dateutil" ,python-dateutil)))
3188 `(("chromaprint" ,chromaprint)
3189 ("python-discid" ,python-discid)
3190 ("python-pyqt" ,python-pyqt)
3191 ("python-mutagen" ,python-mutagen)))
3192 (home-page "https://picard.musicbrainz.org/")
3193 (synopsis "Graphical music tagging application")
3195 "MusicBrainz Picard is a music tagging application, supporting multiple
3196 formats, looking up tracks through metadata and audio fingerprints.")
3197 (license license:gpl2+)))
3199 (define-public python-mutagen
3201 (name "python-mutagen")
3205 (uri (pypi-uri "mutagen" version))
3208 "1qdk6i8gyhbi1c4j5jmbfpac3q8sff2ysri1pnp7nb9wzcp615v3"))))
3209 (build-system python-build-system)
3211 `(("python-pytest" ,python-pytest)
3212 ("python-hypothesis" ,python-hypothesis)
3213 ("python-flake8" ,python-flake8)))
3214 (home-page "https://bitbucket.org/lazka/mutagen")
3215 (synopsis "Read and write audio tags")
3216 (description "Mutagen is a Python module to handle audio metadata. It
3217 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
3218 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
3219 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
3220 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
3221 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
3222 streams on an individual packet/page level.")
3223 (license license:gpl2))) ; "later version" never mentioned
3225 (define-public python2-mutagen
3226 (package-with-python2 python-mutagen))
3228 (define-public python-musicbrainzngs
3230 (name "python-musicbrainzngs")
3234 (uri (pypi-uri "musicbrainzngs" version))
3237 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
3238 (build-system python-build-system)
3240 '(;; The tests fail suffer from race conditions:
3241 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
3243 (home-page "https://python-musicbrainzngs.readthedocs.org/")
3244 (synopsis "Python bindings for MusicBrainz NGS webservice")
3245 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
3246 web service. This library can be used to retrieve music metadata from the
3247 MusicBrainz database.")
3248 ;; 'musicbrainzngs/compat.py' is ISC licensed.
3249 (license (list license:bsd-2 license:isc))))
3251 (define-public python2-musicbrainzngs
3252 (package-with-python2 python-musicbrainzngs))
3254 (define-public python-isrcsubmit
3256 (name "python-isrcsubmit")
3261 (uri (pypi-uri "isrcsubmit" version))
3264 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
3265 (build-system python-build-system)
3267 `(("python-discid" ,python-discid)
3268 ("python-musicbrainzngs" ,python-musicbrainzngs)))
3269 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
3270 (synopsis "Submit ISRCs from CDs to MusicBrainz")
3271 (description "@code{isrcsubmit} is a tool to extract @dfn{International
3272 Standard Recording Code} (ISRCs) from audio CDs and submit them to
3273 @url{https://musicbrainz.org/, MusicBrainz}.")
3274 (license license:gpl3+)))
3276 (define-public python2-pyechonest
3278 (name "python2-pyechonest")
3282 (uri (pypi-uri "pyechonest" version))
3285 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
3286 (build-system python-build-system)
3288 `(;; Python 3 is not supported:
3289 ;; https://github.com/echonest/pyechonest/issues/42
3290 #:python ,python-2))
3291 (home-page "https://github.com/echonest/pyechonest")
3292 (synopsis "Python interface to The Echo Nest APIs")
3293 (description "Pyechonest is a Python library for the Echo Nest API. With
3294 Pyechonest you have Python access to the entire set of API methods including:
3297 @item artist - search for artists by name, description, or attribute, and get
3298 back detailed information about any artist including audio, similar artists,
3299 blogs, familiarity, hotttnesss, news, reviews, urls and video.
3300 @item song - search songs by artist, title, description, or attribute (tempo,
3301 duration, etc) and get detailed information back about each song, such as
3302 hotttnesss, audio_summary, or tracks.
3303 @item track - upload a track to the Echo Nest and receive summary information
3304 about the track including key, duration, mode, tempo, time signature along with
3305 detailed track info including timbre, pitch, rhythm and loudness information.
3307 (license license:bsd-3)))
3309 (define-public python-pylast
3311 (name "python-pylast")
3315 (uri (pypi-uri "pylast" version))
3318 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
3319 (build-system python-build-system)
3320 ;; Tests require network access. See
3321 ;; https://github.com/pylast/pylast/issues/105
3322 (arguments '(#:tests? #f))
3324 `(("python-coverage" ,python-coverage)
3325 ("python-pycodestyle" ,python-pycodestyle)
3326 ("python-mock" ,python-mock)
3327 ("python-pep8" ,python-pep8)
3328 ("python-pytest" ,python-pytest)
3329 ("python-flaky" ,python-flaky)
3330 ("python-pyflakes" ,python-pyflakes)
3331 ("python-pyyaml" ,python-pyyaml)))
3333 `(("python-six" ,python-six)))
3334 (home-page "https://github.com/pylast/pylast")
3335 (synopsis "Python interface to Last.fm and Libre.fm")
3336 (description "A Python interface to Last.fm and other API-compatible
3337 websites such as Libre.fm.")
3338 (license license:asl2.0)))
3340 (define-public python2-pylast
3341 (package-with-python2 python-pylast))
3343 (define-public instantmusic
3344 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
3347 (name "instantmusic")
3348 (version (git-version "1.0" revision commit))
3352 (url "https://github.com/yask123/Instant-Music-Downloader")
3354 (file-name (git-file-name name version))
3357 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
3358 (build-system python-build-system)
3360 `(("python-requests" ,python-requests)
3362 ("python-beautifulsoup4" ,python-beautifulsoup4)
3363 ("youtube-dl" ,youtube-dl)))
3365 '(#:modules ((guix build python-build-system)
3368 #:phases (modify-phases %standard-phases
3369 (add-before 'build 'change-directory
3371 (chdir "instantmusic-0.1") #t))
3372 (add-before 'install 'fix-file-permissions
3374 ;; Fix some read-only files that would cause a build failure
3375 (for-each (cut chmod <> #o644)
3376 (find-files "instantmusic.egg-info"
3377 "PKG-INFO|.*\\.txt"))
3379 (home-page "https://github.com/yask123/Instant-Music-Downloader")
3380 (synopsis "Command-line program to download a song from YouTube")
3381 (description "InstantMusic downloads a song from YouTube in MP3 format.
3382 Songs can be searched by artist, name or even by a part of the song text.")
3383 (license license:expat))))
3385 (define-public beets
3391 (uri (pypi-uri "beets" version))
3392 (patches (search-patches "beets-werkzeug-compat.patch"))
3395 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3396 (build-system python-build-system)
3399 (modify-phases %standard-phases
3400 ;; Reported upstream: <https://github.com/beetbox/beets/issues/3771>.
3401 ;; Disable the faulty test as the fix is unclear.
3402 (add-after 'unpack 'disable-failing-tests
3404 (substitute* "test/test_mediafile.py"
3405 (("def test_read_audio_properties") "def _test_read_audio_properties"))
3407 (add-after 'unpack 'set-HOME
3409 (setenv "HOME" (string-append (getcwd) "/tmp"))
3413 (invoke "nosetests" "-v")))
3414 ;; Wrap the executable, so it can find python-gi (aka pygobject) and
3415 ;; gstreamer plugins.
3416 (add-after 'wrap 'wrap-typelib
3417 (lambda* (#:key outputs #:allow-other-keys)
3418 (let ((prog (string-append (assoc-ref outputs "out")
3420 (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
3421 (types (getenv "GI_TYPELIB_PATH")))
3423 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
3424 `("GI_TYPELIB_PATH" ":" prefix (,types)))
3427 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3428 ("python-flask" ,python-flask)
3429 ("python-mock" ,python-mock)
3430 ("python-mpd2" ,python-mpd2)
3431 ("python-nose" ,python-nose)
3432 ("python-pathlib" ,python-pathlib)
3433 ("python-pyxdg" ,python-pyxdg)
3434 ("python-pylast" ,python-pylast)
3435 ("python-rarfile" ,python-rarfile)
3436 ("python-responses" ,python-responses)))
3437 ;; TODO: Install optional plugins and dependencies.
3439 `(("python-discogs-client" ,python-discogs-client)
3440 ("python-jellyfish" ,python-jellyfish)
3441 ("python-munkres" ,python-munkres)
3442 ("python-musicbrainzngs" ,python-musicbrainzngs)
3443 ("python-mutagen" ,python-mutagen)
3444 ("python-pyacoustid" ,python-pyacoustid)
3445 ("python-pyyaml" ,python-pyyaml)
3446 ("python-unidecode" ,python-unidecode)
3447 ;; For plugin replaygain.
3448 ("python-pygobject" ,python-pygobject)
3449 ("gobject-introspection" ,gobject-introspection)
3450 ("gst-plugins-base" ,gst-plugins-base)
3451 ("gst-plugins-good" ,gst-plugins-good)
3452 ("gstreamer" ,gstreamer)))
3453 (home-page "https://beets.io")
3454 (synopsis "Music organizer")
3455 (description "The purpose of beets is to get your music collection right
3456 once and for all. It catalogs your collection, automatically improving its
3457 metadata as it goes using the MusicBrainz database. Then it provides a variety
3458 of tools for manipulating and accessing your music.")
3459 (license license:expat)))
3461 (define-public beets-bandcamp
3463 (name "beets-bandcamp")
3467 (uri (pypi-uri "beets-bandcamp" version))
3470 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
3471 (build-system python-build-system)
3472 (arguments '(#:tests? #f)) ; there are no tests
3475 ("python-isodate" ,python-isodate)))
3477 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3478 ("python-requests" ,python-requests)
3479 ("python-six" ,python-six)))
3480 (home-page "https://github.com/unrblt/beets-bandcamp")
3481 (synopsis "Bandcamp plugin for beets")
3483 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3484 https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3485 using the beets FetchArt plugin.")
3486 (license license:gpl2)))
3488 (define-public milkytracker
3490 (name "milkytracker")
3495 (url "https://github.com/milkytracker/MilkyTracker")
3496 (commit (string-append "v" version))))
3497 (file-name (git-file-name name version))
3500 "025fj34gq2kmkpwcswcyx7wdxb89vm944dh685zi4bxx0hz16vvk"))
3501 (modules '((guix build utils)))
3502 ;; Remove non-FSDG compliant sample songs.
3505 (delete-file-recursively "resources/music")
3506 (substitute* "CMakeLists.txt"
3507 (("add_subdirectory\\(resources/music\\)") ""))
3509 (build-system cmake-build-system)
3511 '(#:tests? #f ; no check target
3512 ;; This flag ensures that MilkyTracker links with the JACK library.
3513 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
3515 `(("alsa-lib" ,alsa-lib)
3521 ("zziplib" ,zziplib)))
3523 `(("pkg-config" ,pkg-config)))
3524 (synopsis "Music tracker for working with .MOD/.XM module files")
3525 (description "MilkyTracker is a music application for creating .MOD and .XM
3526 module files. It attempts to recreate the module replay and user experience of
3527 the popular DOS program Fasttracker II, with special playback modes available
3528 for improved Amiga ProTracker 2/3 compatibility.")
3529 (home-page "https://milkytracker.titandemo.org/")
3530 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3531 (license (list license:bsd-3 license:gpl3+))))
3533 (define-public schismtracker
3535 (name "schismtracker")
3536 (version "20190805")
3540 (url "https://github.com/schismtracker/schismtracker")
3542 (file-name (git-file-name name version))
3545 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
3546 (modules '((guix build utils)))
3548 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
3550 (substitute* "schism/version.c"
3551 (("Schism Tracker built %s %s.*$")
3552 (string-append "Schism Tracker version " ,version "\") ;")))
3554 (build-system gnu-build-system)
3557 (modify-phases %standard-phases
3558 (add-before 'configure 'link-libm
3559 (lambda _ (setenv "LIBS" "-lm") #t)))))
3561 `(("autoconf" ,autoconf)
3562 ("automake" ,automake)
3563 ("python" ,python)))
3565 `(("alsa-lib" ,alsa-lib) ; for asound dependency
3567 ("libxext" ,libxext)
3569 (home-page "http://schismtracker.org")
3570 (synopsis "Oldschool sample-based music composition tool")
3572 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3573 create high quality music without the requirements of specialized, expensive
3574 equipment, and with a unique \"finger feel\" that is difficult to replicate in
3575 part. The player is based on a highly modified version of the ModPlug engine,
3576 with a number of bugfixes and changes to improve IT playback.")
3577 (license license:gpl2+)))
3579 (define-public sooperlooper
3581 (name "sooperlooper")
3586 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3589 (base32 "1jjvq4aflbyr3nr8b318k1vkad16xfa1jkqn9ckzw4419qc6c1k5"))))
3590 (build-system gnu-build-system)
3593 (modify-phases %standard-phases
3594 (add-after 'unpack 'add-sigc++-includes
3595 (lambda* (#:key inputs #:allow-other-keys)
3596 (let ((sig (assoc-ref inputs "libsigc++"))
3597 (xml (assoc-ref inputs "libxml2"))
3600 (string-append sig "/include/sigc++-2.0:"
3601 sig "/lib/sigc++-2.0/include:"
3602 xml "/include/libxml2/:"
3605 (or (getenv "CPATH") ""))))
3606 (substitute* '("src/control_osc.hpp"
3607 "src/gui/app_frame.hpp"
3608 "src/gui/config_panel.hpp"
3609 "src/gui/keys_panel.hpp"
3610 "src/gui/latency_panel.hpp"
3611 "src/gui/main_panel.hpp"
3612 "src/gui/midi_bind_panel.hpp"
3613 "src/gui/prefs_dialog.hpp")
3614 (("sigc\\+\\+/object.h")
3616 (substitute* '("src/engine.cpp"
3617 "src/gui/latency_panel.cpp"
3618 "src/gui/looper_panel.cpp"
3619 "src/gui/main_panel.cpp")
3620 (("(\\(| )bind " _ pre)
3621 (string-append pre "sigc::bind ")))
3623 (add-after 'unpack 'fix-xpm-warnings
3625 (substitute* (find-files "." "\\.xpm$")
3626 (("static char") "static const char"))
3630 ("alsa-lib" ,alsa-lib)
3631 ("wxwidgets" ,wxwidgets-gtk2)
3632 ("libsndfile" ,libsndfile)
3633 ("libsamplerate" ,libsamplerate)
3635 ("rubberband" ,rubberband)
3636 ("libxml2" ,libxml2)
3637 ("libsigc++" ,libsigc++)
3638 ("ncurses" ,ncurses)))
3640 `(("pkg-config" ,pkg-config)))
3641 (home-page "http://essej.net/sooperlooper/")
3642 (synopsis "Live looping sampler")
3644 "SooperLooper is a live looping sampler capable of immediate loop
3645 recording, overdubbing, multiplying, reversing and more. It allows for
3646 multiple simultaneous multi-channel loops limited only by your computer's
3648 (license license:gpl2+)))
3656 (uri (string-append "http://ftp.daper.net/pub/soft/"
3658 name "-" version ".tar.bz2"))
3661 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
3662 (build-system gnu-build-system)
3664 `(("alsa-lib" ,alsa-lib)
3667 ("ffmpeg" ,ffmpeg-3.4)
3670 ("libid3tag" ,libid3tag)
3671 ("libltdl" ,libltdl)
3672 ("libmodplug" ,libmodplug)
3673 ("libmpcdec" ,libmpcdec)
3676 ("libvorbis" ,libvorbis)
3677 ("ncurses" ,ncurses)
3678 ("openssl" ,openssl)
3679 ("sasl" ,cyrus-sasl)
3682 ("wavpack" ,wavpack)
3685 `(("pkg-config" ,pkg-config)))
3686 (synopsis "Console audio player designed to be powerful and easy to use")
3688 "Music on Console is a console audio player that supports many file
3689 formats, including most audio formats recognized by FFMpeg.")
3690 (home-page "http://moc.daper.net")
3691 (license license:gpl2+)))
3693 (define-public midicsv
3699 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3700 name "-" version ".tar.gz"))
3703 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3704 (build-system gnu-build-system)
3706 `(#:phases (modify-phases %standard-phases (delete 'configure))
3707 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
3708 (synopsis "Convert MIDI files to and from CSV")
3710 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
3711 value file (CSV), which preserves all the information in the MIDI file. The
3712 ASCII CSV file may be loaded into a spreadsheet or database application, or
3713 processed by a program to transform the MIDI data (for example, to key
3714 transpose a composition or extract a track from a multi-track sequence). A
3715 CSV file in the format created by midicsv may be converted back into a
3716 standard MIDI file with the csvmidi program.")
3717 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
3718 (license license:public-domain)))
3720 (define-public gx-guvnor-lv2
3722 (name "gx-guvnor-lv2")
3727 (url "https://github.com/brummer10/GxGuvnor.lv2")
3728 (commit (string-append "v" version))))
3729 (file-name (string-append name "-" version "-checkout"))
3732 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
3733 (build-system gnu-build-system)
3735 `(;; The check target is used only to output a warning.
3738 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
3740 (modify-phases %standard-phases
3743 (substitute* "Makefile"
3744 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
3745 (("install : all") "install :"))
3749 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
3750 (synopsis "Overdrive/distortion pedal simulation")
3751 (description "This package provides the LV2 plugin \"GxGuvnor\", a
3752 simulation of an overdrive or distortion pedal for guitars.")
3753 ;; The LICENSE file says GPLv3 but the license headers in the files say
3754 ;; GPLv2 or later. The whole project is released under GPLv3 or later
3755 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
3756 (license license:gpl3+)))
3758 (define-public gx-vbass-preamp-lv2
3759 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
3761 (package (inherit gx-guvnor-lv2)
3762 (name "gx-vbass-preamp-lv2")
3763 (version (string-append "0-" revision "." (string-take commit 9)))
3767 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
3771 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
3772 (file-name (string-append name "-" version "-checkout"))))
3777 `(("pkg-config" ,pkg-config)))
3778 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
3779 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
3780 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
3781 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
3784 (define-public gx-overdriver-lv2
3785 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
3787 (package (inherit gx-guvnor-lv2)
3788 (name "gx-overdriver-lv2")
3789 (version (string-append "0-" revision "." (string-take commit 9)))
3793 (url "https://github.com/brummer10/GxOverDriver.lv2")
3797 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
3798 (file-name (string-append name "-" version "-checkout"))))
3799 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
3800 (synopsis "Overdrive effect with level and tone control")
3801 (description "This package provides the LV2 plugin \"GxOverDriver\", an
3802 overdrive effect."))))
3804 (define-public gx-tone-mender-lv2
3805 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
3807 (package (inherit gx-guvnor-lv2)
3808 (name "gx-tone-mender-lv2")
3809 (version (string-append "0-" revision "." (string-take commit 9)))
3813 (url "https://github.com/brummer10/GxToneMender.lv2")
3817 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
3818 (file-name (string-append name "-" version "-checkout"))))
3819 (home-page "https://github.com/brummer10/GxToneMender.lv2")
3820 (synopsis "Clean boost with a 3-knob tonestack")
3821 (description "This package provides the LV2 plugin \"GxToneMender\", a
3822 clean boost effect with a 3-knob tonestack."))))
3824 (define-public gx-push-pull-lv2
3825 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
3827 (package (inherit gx-guvnor-lv2)
3828 (name "gx-push-pull-lv2")
3829 (version (string-append "0-" revision "." (string-take commit 9)))
3833 (url "https://github.com/brummer10/GxPushPull.lv2")
3837 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
3838 (file-name (string-append name "-" version "-checkout"))))
3839 (home-page "https://github.com/brummer10/GxPushPull.lv2")
3840 (synopsis "Octave up push pull transistor fuzz simulation")
3841 (description "This package provides the LV2 plugin \"GxPushPull\", a
3842 simulation of a push pull transistor fuzz effect with added high octave."))))
3844 (define-public gx-suppa-tone-bender-lv2
3845 (package (inherit gx-guvnor-lv2)
3846 (name "gx-suppa-tone-bender-lv2")
3851 (url "https://github.com/brummer10/GxSuppaToneBender.lv2")
3852 (commit (string-append "v" version))))
3853 (file-name (string-append name "-" version "-checkout"))
3856 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
3857 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
3858 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
3859 (description "This package provides the LV2 plugin
3860 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
3863 (define-public gx-saturator-lv2
3864 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
3866 (package (inherit gx-vbass-preamp-lv2)
3867 (name "gx-saturator-lv2")
3868 (version (string-append "0-" revision "." (string-take commit 9)))
3872 (url "https://github.com/brummer10/GxSaturator.lv2")
3876 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
3877 (file-name (string-append name "-" version "-checkout"))))
3878 (home-page "https://github.com/brummer10/GxSaturator.lv2")
3879 (synopsis "Saturation effect")
3880 (description "This package provides the LV2 plugin \"GxSaturator\", a
3881 saturation effect."))))
3883 (define-public gx-hyperion-lv2
3884 (package (inherit gx-guvnor-lv2)
3885 (name "gx-hyperion-lv2")
3890 (url "https://github.com/brummer10/GxHyperion.lv2")
3891 (commit (string-append "v" version))))
3892 (file-name (string-append name "-" version "-checkout"))
3895 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
3896 (home-page "https://github.com/brummer10/GxHyperion.lv2")
3897 (synopsis "Simulation of the Hyperion Fuzz pedal")
3898 (description "This package provides the LV2 plugin \"GxHyperion\", a
3899 simulation of the Hyperion Fuzz pedal.")))
3901 (define-public gx-voodoo-fuzz-lv2
3902 (package (inherit gx-guvnor-lv2)
3903 (name "gx-voodoo-fuzz-lv2")
3908 (url "https://github.com/brummer10/GxVoodoFuzz.lv2")
3909 (commit (string-append "v" version))))
3910 (file-name (string-append name "-" version "-checkout"))
3913 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
3914 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
3915 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
3916 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
3917 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
3918 Bosstone circuit, followed by the tone control of the FoxToneMachine in
3919 parallel with a DarkBooster, followed by a volume control.")))
3921 (define-public gx-super-fuzz-lv2
3922 (package (inherit gx-guvnor-lv2)
3923 (name "gx-super-fuzz-lv2")
3928 (url "https://github.com/brummer10/GxSuperFuzz.lv2")
3929 (commit (string-append "v" version))))
3930 (file-name (string-append name "-" version "-checkout"))
3933 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
3934 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
3935 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
3936 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
3937 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
3938 pot, which is usually in the housing, is exposed as a control parameter. It
3939 adjusts the amount of harmonics.")))
3941 (define-public gx-vintage-fuzz-master-lv2
3942 (package (inherit gx-guvnor-lv2)
3943 (name "gx-vintage-fuzz-master-lv2")
3948 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3949 (commit (string-append "v" version))))
3950 (file-name (string-append name "-" version "-checkout"))
3953 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
3954 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3955 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
3956 (description "This package provides the LV2 plugin
3957 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
3959 (define-public gx-slow-gear-lv2
3960 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
3962 (package (inherit gx-vbass-preamp-lv2)
3963 (name "gx-slow-gear-lv2")
3964 (version (string-append "0-" revision "." (string-take commit 9)))
3968 (url "https://github.com/brummer10/GxSlowGear.lv2")
3972 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
3973 (file-name (string-append name "-" version "-checkout"))))
3974 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
3975 (synopsis "Slow gear audio effect")
3976 (description "This package provides the LV2 plugin \"GxSlowGear\", a
3977 slow gear audio effect to produce volume swells."))))
3979 (define-public gx-switchless-wah-lv2
3980 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
3982 (package (inherit gx-guvnor-lv2)
3983 (name "gx-switchless-wah-lv2")
3984 (version (string-append "0-" revision "." (string-take commit 9)))
3988 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
3992 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
3993 (file-name (string-append name "-" version "-checkout"))))
3994 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
3995 (synopsis "Wah emulation with switchless activation")
3996 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
3997 a simulation of an analog Wah pedal with switchless activation."))))
3999 (define-public rkrlv2
4000 ;; This commit corresponds to the beta_3 tag
4001 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
4005 (version (git-version "0" revision commit))
4009 (url "https://github.com/ssj71/rkrlv2")
4013 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
4014 (file-name (git-file-name name version))))
4015 (build-system cmake-build-system)
4016 (arguments '(#:tests? #f)) ; there are no tests
4019 ("libsamplerate" ,libsamplerate)
4022 `(("pkg-config" ,pkg-config)))
4023 (home-page "https://github.com/ssj71/rkrlv2")
4024 (synopsis "Rakarrack effects ported to LV2 plugins")
4025 (description "This package provides the Rakarrack effects as LV2
4026 plugins. The ports are done such that hopefully when Rakarrack gets an active
4027 maintainer these will get merged into the original project.")
4028 (license license:gpl2))))
4030 (define-public mod-utilities
4031 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
4034 (name "mod-utilities")
4035 (version (string-append "0-" revision "." (string-take commit 9)))
4039 (url "https://github.com/moddevices/mod-utilities")
4041 (file-name (string-append name "-" version "-checkout"))
4044 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
4045 (build-system gnu-build-system)
4047 `(#:tests? #f ; there are no tests
4049 (list (string-append "INSTALL_PATH="
4050 (assoc-ref %outputs "out")
4052 (string-append "PREFIX=" (assoc-ref %outputs "out"))
4055 (modify-phases %standard-phases
4056 (delete 'configure))))
4059 (home-page "https://github.com/moddevices/mod-utilities")
4060 (synopsis "LV2 utility plugins")
4061 (description "This package provides LV2 audio utility plugins, such as
4062 filters, crossovers, simple gain plugins without zipper noise, switch box
4063 plugins, a switch trigger, a toggle switch, and a peakmeter.")
4064 (license license:gpl2+))))
4066 (define-public ingen
4067 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
4071 (version (string-append "0.0.0-" revision "."
4072 (string-take commit 9)))
4077 (url "https://git.drobilla.net/ingen.git")
4079 (file-name (string-append name "-" version "-checkout"))
4082 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
4083 (build-system waf-build-system)
4085 `(#:python ,python-2
4086 #:tests? #f ; no "check" target
4087 #:configure-flags (list "--no-webkit")
4089 (modify-phases %standard-phases
4090 (add-after 'unpack 'patch-wscript
4091 (lambda* (#:key outputs #:allow-other-keys)
4092 (let ((out (assoc-ref outputs "out")))
4093 (substitute* "wscript"
4094 ;; FIXME: Our version of lv2specgen.py does not behave as
4095 ;; expected. Maybe this requires a development version of
4097 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
4098 ;; Add libraries to RUNPATH.
4099 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
4100 (string-append prefix
4101 "linkflags=[\"-Wl,-rpath="
4102 out "/lib" "\"]," line)))
4103 (substitute* '("src/wscript"
4104 "src/server/wscript")
4105 ;; Add libraries to RUNPATH.
4106 (("bld.env.PTHREAD_LINKFLAGS" line)
4108 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
4109 (substitute* "src/client/wscript"
4110 ;; Add libraries to RUNPATH.
4111 (("^(.+)target.*= 'ingen_client'," line prefix)
4112 (string-append prefix
4113 "linkflags=[\"-Wl,-rpath="
4114 out "/lib" "\"]," line)))
4115 (substitute* "src/gui/wscript"
4116 ;; Add libraries to RUNPATH.
4117 (("^(.+)target.* = 'ingen_gui.*" line prefix)
4118 (string-append prefix
4119 "linkflags=[\"-Wl,-rpath="
4120 out "/lib" "\"]," line))))
4124 ("python-rdflib" ,python-rdflib)
4129 ("raul" ,raul-devel)
4135 ("gtkmm" ,gtkmm-2)))
4137 `(("pkg-config" ,pkg-config)
4138 ("python-pygments" ,python-pygments)))
4139 (home-page "https://drobilla.net/software/ingen")
4140 (synopsis "Modular audio processing system")
4141 (description "Ingen is a modular audio processing system for JACK and
4142 LV2 based systems. Ingen is built around LV2 technology and a strict
4143 separation of engine from user interface. The engine is controlled
4144 exclusively through a protocol, and can execute as a headless process, with an
4145 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
4146 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
4147 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
4148 plugin on any system where Ingen is installed. This allows users to visually
4149 develop custom plugins for use in other applications without programming.")
4150 (license license:agpl3+))))
4152 (define-public qmidiarp
4158 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
4159 version "/qmidiarp-" version ".tar.bz2"))
4162 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
4163 (build-system gnu-build-system)
4166 (list "--enable-qt5")))
4168 `(("qtbase" ,qtbase)
4169 ("alsa-lib" ,alsa-lib)
4174 `(("pkg-config" ,pkg-config)
4175 ("qttools" ,qttools)))
4176 (home-page "http://qmidiarp.sourceforge.net/")
4177 (synopsis "MIDI arpeggiator")
4178 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
4179 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
4180 modules running in parallel.")
4181 (license license:gpl2+)))
4183 (define-public qmidiroute
4189 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
4190 version "/qmidiroute-" version ".tar.bz2"))
4193 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
4194 (build-system gnu-build-system)
4197 (list "--enable-qt5")))
4199 `(("qtbase" ,qtbase)
4200 ("alsa-lib" ,alsa-lib)))
4202 `(("pkg-config" ,pkg-config)
4203 ("qttools" ,qttools)))
4204 (home-page "http://alsamodular.sourceforge.net/")
4205 (synopsis "MIDI event router and filter")
4206 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
4207 control change, program change and pitch bend events are logged, and can be
4208 filtered, redirected and transformed into other events according to MIDI maps
4209 defined as tabs in the main control surface.")
4210 (license license:gpl2+)))
4212 (define-public seq24
4218 (uri (string-append "https://launchpad.net/seq24/trunk/"
4219 version "/+download/seq24-"
4220 version ".tar.bz2"))
4223 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
4224 (patches (search-patches "seq24-rename-mutex.patch"))))
4225 (build-system gnu-build-system)
4227 `(("gtkmm" ,gtkmm-2)
4228 ("alsa-lib" ,alsa-lib)
4232 `(("pkg-config" ,pkg-config)))
4233 (home-page "https://edge.launchpad.net/seq24/")
4234 (synopsis "Real-time MIDI sequencer")
4235 (description "Seq24 is a real-time MIDI sequencer. It was created to
4236 provide a very simple interface for editing and playing MIDI loops.")
4237 (license license:gpl2+)))
4239 (define-public python-discogs-client
4241 (name "python-discogs-client")
4245 (uri (pypi-uri "discogs-client" version))
4248 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
4249 (build-system python-build-system)
4251 `(("python-oauthlib" ,python-oauthlib)
4252 ("python-requests" ,python-requests)))
4254 `(("python-six" ,python-six)))
4255 (home-page "https://github.com/discogs/discogs_client")
4256 (synopsis "Official Python client for the Discogs API")
4257 (description "This is the official Discogs API client for Python. It enables
4258 you to query the Discogs database for information on artists, releases, labels,
4259 users, Marketplace listings, and more. It also supports OAuth 1.0a
4260 authorization, which allows you to change user data such as profile information,
4261 collections and wantlists, inventory, and orders.")
4262 (license license:bsd-2)))
4264 (define-public python2-discogs-client
4265 (package-with-python2 python-discogs-client))
4267 (define-public libsmf
4274 ;; SF download page says development moved, but the link it points to
4275 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
4276 ;; it but made no release so far (https://github.com/stump/libsmf).
4277 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
4278 version "/libsmf-" version ".tar.gz"))
4281 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
4282 (build-system gnu-build-system)
4284 "static")) ; 88KiB of .a files
4287 (modify-phases %standard-phases
4288 (add-after 'install 'move-static-libraries
4289 (lambda* (#:key outputs #:allow-other-keys)
4290 ;; Move static libraries to the "static" output.
4291 (let* ((out (assoc-ref outputs "out"))
4292 (lib (string-append out "/lib"))
4293 (static (assoc-ref outputs "static"))
4294 (slib (string-append static "/lib")))
4296 (for-each (lambda (file)
4297 (install-file file slib)
4299 (find-files lib "\\.a$"))
4302 `(("readline" ,readline)
4305 `(("doxygen" ,doxygen)
4306 ("pkg-config" ,pkg-config)))
4307 (home-page "http://libsmf.sourceforge.net/")
4308 (synopsis "Standard MIDI File format library")
4310 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
4311 conversions between time and pulses, tempo map handling and more. The only dependencies
4312 are a C compiler and glib. Full API documentation and examples are included.")
4313 (license license:bsd-2)))
4323 (url "https://github.com/LMMS/lmms")
4324 (commit (string-append "v" version))))
4325 (file-name (git-file-name name version))
4328 "1gx730z361xx30iqbsm99aam1k2c8yf561gcay6sryyjksb4w1wy"))))
4329 (build-system cmake-build-system)
4331 `(#:tests? #f ; no tests
4332 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
4333 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
4334 ;; Also, explicitly disabling VST support gets rid of the in-tree
4335 ;; dependency on qt5-x11embed.
4336 #:configure-flags '("-DWANT_QT5=ON"
4339 (modify-phases %standard-phases
4340 (add-after 'unpack 'unpack-rpmalloc
4341 (lambda* (#:key inputs #:allow-other-keys)
4342 (copy-recursively (assoc-ref inputs "rpmalloc")
4343 "src/3rdparty/rpmalloc/rpmalloc")
4345 (add-before 'configure 'set-ldflags
4346 (lambda* (#:key outputs #:allow-other-keys)
4350 (assoc-ref outputs "out") "/lib/lmms"
4352 (assoc-ref outputs "out") "/lib/lmms/ladspa"
4355 (add-before 'reset-gzip-timestamps 'make-manpages-writable
4356 (lambda* (#:key outputs #:allow-other-keys)
4358 (make-file-writable file))
4359 (find-files (string-append (assoc-ref outputs "out")
4364 `(("pkg-config" ,pkg-config)
4365 ("qttools" ,qttools)
4366 ;; rpmalloc is a public domain memory allocator. This version specified
4367 ;; below is the version required by LMMS.
4368 ;; To get the new commit of rpmalloc to use here, run
4369 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
4370 ;; in the cloned LMMS repository.
4375 (url "https://github.com/mjansson/rpmalloc")
4376 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
4379 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
4383 ("qtx11extras" ,qtx11extras)
4386 ("libsamplerate" ,libsamplerate)
4387 ("fluidsynth" ,fluidsynth)
4388 ("libvorbis" ,libvorbis)
4389 ("alsa-lib" ,alsa-lib)
4390 ("portaudio" ,portaudio)
4392 ("libsndfile1" ,libsndfile)
4394 ("freetype2" ,freetype)
4397 (home-page "https://lmms.io/")
4398 (synopsis "Music composition tool")
4399 (description "LMMS is a digital audio workstation. It includes tools for sequencing
4400 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
4401 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
4402 (license license:gpl2+)))
4404 (define-public liquidsfz
4410 (uri (string-append "https://space.twc.de/~stefan/liquidsfz/"
4411 "liquidsfz-" version ".tar.bz2"))
4414 "011m839vjb8gmiv1vzc0d7xz2q2jiwk4v0j9paqyx3lm61czvy93"))))
4415 (build-system gnu-build-system)
4417 `(#:configure-flags '("--enable-shared")))
4419 `(("pkg-config" ,pkg-config)
4420 ;; Fails with default gcc (#include <filesystem> not found).
4425 ("readline" ,readline)
4426 ("libsndfile" ,libsndfile)))
4427 (home-page "https://github.com/swesterfeld/liquidsfz")
4428 (synopsis "Sampler library")
4429 (description "The main goal of liquidsfz is to provide an SFZ sampler
4430 implementation library that is easy to integrate into other projects. A
4431 standalone JACK client and an LV2 plugin is also available.")
4432 (license license:lgpl2.1+)))
4434 (define-public musescore
4442 (url "https://github.com/musescore/MuseScore")
4443 (commit (string-append "v" version))))
4444 (file-name (git-file-name name version))
4446 (base32 "0c9yf8irkism3ffzzpkx636wa6b1r1lgpsb2x63pr0gbi5ss5kyh"))
4447 (modules '((guix build utils)))
4449 ;; Remove unused libraries.
4451 (for-each delete-file-recursively
4452 '("thirdparty/freetype"
4453 "thirdparty/openssl"
4454 "thirdparty/portmidi"
4455 "thirdparty/qt-google-analytics"))
4457 (build-system cmake-build-system)
4460 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
4461 "-DBUILD_WEBENGINE=OFF"
4462 "-DDOWNLOAD_SOUNDFONT=OFF"
4463 "-DMUSESCORE_BUILD_CONFIG=release"
4464 "-DUSE_SYSTEM_FREETYPE=ON")
4465 ;; There are tests, but no simple target to run. The command used to
4468 ;; make debug && sudo make installdebug && cd \
4469 ;; build.debug/mtest && make && ctest
4471 ;; Basically, it requires to start a whole new build process.
4472 ;; So we simply skip them.
4475 `(("alsa-lib" ,alsa-lib)
4476 ("freetype" ,freetype)
4477 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
4481 ("libsndfile" ,libsndfile)
4482 ("libvorbis" ,libvorbis)
4483 ("portaudio" ,portaudio)
4484 ("portmidi" ,portmidi)
4485 ("pulseaudio" ,pulseaudio)
4487 ("qtdeclarative" ,qtdeclarative)
4488 ("qtquickcontrols2" ,qtquickcontrols2)
4489 ("qtscript" ,qtscript)
4491 ("qtxmlpatterns" ,qtxmlpatterns)))
4493 `(("pkg-config" ,pkg-config)
4494 ("qttools" ,qttools)))
4495 (synopsis "Music composition and notation software")
4497 "MuseScore is a music score typesetter. Its main purpose is the creation
4498 of high-quality engraved musical scores in a WYSIWYG environment.
4500 It supports unlimited staves, linked parts and part extraction, tablature,
4501 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
4502 lyrics (multiple verses), fretboard diagrams, and in general everything
4503 commonly used in sheet music. Style options and style sheets to change the
4504 appearance and layout are provided.
4506 MuseScore can also play back scores through the built-in sequencer and SoundFont
4508 (home-page "https://musescore.org")
4509 (license license:gpl2)))
4511 (define-public muse-sequencer
4513 (name "muse-sequencer")
4518 (url "https://github.com/muse-sequencer/muse")
4519 (commit (string-append "muse_"
4520 (string-map (lambda (c)
4522 #\_ c)) version)))))
4523 (file-name (git-file-name name version))
4526 "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p"))))
4527 (build-system cmake-build-system)
4529 `(#:tests? #f ; there is no test target
4531 (list "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4532 "-DENABLE_VST_NATIVE=OFF"
4533 (string-append "-DCMAKE_EXE_LINKER_FLAGS="
4535 (assoc-ref %outputs "out") "/lib/muse-"
4536 ,(version-major+minor version) "/modules")
4537 (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
4539 (assoc-ref %outputs "out") "/lib/muse-"
4540 ,(version-major+minor version) "/modules"))
4542 (modify-phases %standard-phases
4543 (add-after 'unpack 'chdir
4544 (lambda _ (chdir "muse3") #t))
4545 (add-after 'chdir 'fix-include
4547 (substitute* "muse/driver/rtaudio.h"
4548 (("rtaudio/RtAudio.h") "RtAudio.h"))
4551 `(("alsa-lib" ,alsa-lib)
4560 ("libsndfile" ,libsndfile)
4561 ("libsamplerate" ,libsamplerate)
4563 ("fluidsynth" ,fluidsynth)
4565 ("pulseaudio" ,pulseaudio) ; required by rtaudio
4568 ("rtaudio" ,rtaudio)
4569 ("rubberband" ,rubberband)))
4571 `(("pkg-config" ,pkg-config)
4572 ("qttools" ,qttools)))
4573 (home-page "https://muse-sequencer.github.io/")
4574 (synopsis "MIDI/Audio sequencer")
4575 (description "MusE is a MIDI/Audio sequencer with recording and editing
4576 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4577 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4578 list view, and a score editor. MusE aims to be a complete multitrack virtual
4580 (license license:gpl2+)))
4589 "mirror://sourceforge/dssi/dssi/" version
4590 "/dssi-" version ".tar.gz"))
4593 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4594 (build-system gnu-build-system)
4596 `(("alsa-lib" ,alsa-lib)
4599 ("libsamplerate" ,libsamplerate)
4600 ("libsndfile" ,libsndfile)
4603 `(("pkg-config" ,pkg-config)))
4604 (synopsis "Audio plugin API for soft synths and effects")
4605 (description "DSSI is a plugin API for software instruments with user
4606 interfaces, permitting them to be hosted in-process by audio applications.
4607 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4608 towards familiarity with MIDI. The DSSI distribution package contains
4609 a JACK/ALSA-sequencer reference host and some plugins as well as the
4610 specification and header.")
4611 (home-page "http://dssi.sourceforge.net/")
4612 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4613 ;; The vast majority of examples are in the public domain.
4614 (license (list license:lgpl2.1+ license:gpl2+))))
4616 (define-public rosegarden
4623 (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
4624 version "/rosegarden-" version ".tar.bz2"))
4626 (base32 "0nqw2caxmv6mqh485wzvywa024yvi18q87sd4dw9b2l5qnpq8rl8"))))
4627 (build-system cmake-build-system)
4629 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
4631 (modify-phases %standard-phases
4632 (add-after 'unpack 'patch-tests
4634 (substitute* "CMakeLists.txt"
4635 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4637 ((" -fvisibility=hidden") ""))
4639 (add-after 'unpack 'fix-references
4640 (lambda* (#:key inputs #:allow-other-keys)
4641 (substitute* "src/gui/general/ProjectPackager.cpp"
4643 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4645 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4647 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4649 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4651 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4652 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4653 (("\"convert-ly\\>")
4654 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4656 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4658 (add-after 'unpack 'make-reproducible
4660 ;; Prevent Last-Modified from being written.
4661 ;; The "*.qm" files that are used in locale.qrc would have a new
4662 ;; mtime otherwise that is written into qrc_locale.cpp in the
4663 ;; end - except when we disable it.
4664 (substitute* "src/CMakeLists.txt"
4665 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4666 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4668 ;;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4669 ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4671 ;; Make hashtable traversal order predicable.
4672 (setenv "QT_RCC_TEST" "1") ; important
4674 (add-before 'check 'prepare-check
4676 (setenv "QT_QPA_PLATFORM" "offscreen")
4677 ;; Tests create files in $HOME/.local/share/rosegarden .
4678 (mkdir-p "/tmp/foo")
4679 (setenv "HOME" "/tmp/foo")
4680 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
4683 `(("alsa-lib" ,alsa-lib)
4691 ("libsamplerate" ,libsamplerate)
4692 ("lilypond" ,lilypond)
4697 ("wavpack" ,wavpack)
4700 `(("pkg-config" ,pkg-config)
4701 ("qtlinguist" ,qttools)))
4702 (synopsis "Music composition and editing environment based around a MIDI
4704 (description "Rosegarden is a music composition and editing environment
4705 based around a MIDI sequencer that features a rich understanding of music
4706 notation and includes basic support for digital audio.")
4707 (home-page "https://www.rosegardenmusic.com/")
4708 (license license:gpl2)))
4710 (define-public patchmatrix
4712 (name "patchmatrix")
4717 (url "https://github.com/OpenMusicKontrollers/patchmatrix")
4719 (file-name (git-file-name "patchmatrix" version))
4722 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
4723 (build-system meson-build-system)
4724 (arguments '(#:tests? #f)) ; no test target
4730 `(("pkg-config" ,pkg-config)))
4731 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
4732 (synopsis "Simple JACK patch bay")
4733 (description "PatchMatrix is a patch bay for the JACK audio connection
4734 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
4736 (license license:artistic2.0)))
4738 (define-public sorcer
4744 (uri (string-append "https://github.com/openAVproductions/"
4745 "openAV-Sorcer/archive/release-"
4747 (file-name (string-append name "-" version ".tar.gz"))
4750 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
4751 (build-system cmake-build-system)
4753 `(#:tests? #f ; no tests included
4755 (modify-phases %standard-phases
4756 (add-after 'unpack 'remove-architecture-specific-flags
4758 (substitute* "CMakeLists.txt"
4759 (("-msse2 -mfpmath=sse") ""))
4761 (add-after 'unpack 'build-faust-sources
4762 (lambda* (#:key inputs #:allow-other-keys)
4763 (with-directory-excursion "faust"
4764 (delete-file "main.cpp")
4765 (invoke "faust" "-i"
4767 "-o" "main.cpp" "main.dsp")))))))
4774 ("pkg-config" ,pkg-config)))
4775 (home-page "http://openavproductions.com/sorcer/")
4776 (synopsis "Wavetable LV2 plugin synth")
4777 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
4778 the electronic or dubstep genre.")
4779 (license license:gpl3+)))
4781 (define-public sonivox-eas
4783 (name "sonivox-eas")
4788 (url "https://github.com/pedrolcl/Linux-SonivoxEas")
4789 (commit (string-append "v" version))))
4790 (file-name (string-append name "-" version "-checkout"))
4793 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
4794 (build-system cmake-build-system)
4795 (arguments '(#:tests? #f)) ; there are no tests
4797 `(("alsa-lib" ,alsa-lib)
4798 ("drumstick" ,drumstick)
4799 ("pulseaudio" ,pulseaudio)
4800 ("qtbase" ,qtbase)))
4802 `(("pkg-config" ,pkg-config)))
4803 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
4804 (synopsis "MIDI synthesizer library")
4805 (description "This project is a real time General MIDI synthesizer based
4806 on the Sonivox EAS Synthesizer by Google. It does not need external
4807 soundfonts, using embedded samples instead.")
4808 ;; Sonivox is released under the ASL2.0; the rest of the code is under
4810 (license (list license:gpl2+ license:asl2.0))))
4812 (define-public whysynth
4815 (version "20170701")
4818 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
4819 version ".tar.bz2"))
4822 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
4823 (build-system gnu-build-system)
4830 ("alsa-lib" ,alsa-lib)))
4832 `(("pkg-config" ,pkg-config)))
4833 (home-page "http://smbolton.com/whysynth.html")
4834 (synopsis "DSSI software synthesizer")
4835 (description "WhySynth is a versatile softsynth which operates as a plugin
4836 for the DSSI Soft Synth Interface. A brief list of features:
4839 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
4840 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
4841 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
4843 @item 10 filter modes.
4844 @item flexible modulation and mixdown options, plus effects.
4847 (license license:gpl2+)))
4849 (define-public libdiscid
4857 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
4861 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
4862 (arguments `(#:test-target "check"))
4863 (build-system cmake-build-system)
4864 (home-page "https://musicbrainz.org/doc/libdiscid")
4865 (synopsis "Disc id reader library")
4866 (description "libdiscid is a C library for creating MusicBrainz and freedb
4867 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
4868 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
4869 it provides a submission URL for adding the disc ID to the database and gathers
4870 ISRCs and the MCN (=UPC/EAN) from disc.")
4871 (license license:lgpl2.1+)))
4873 (define-public python-discid
4875 (name "python-discid")
4880 (uri (pypi-uri "discid" version))
4883 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
4884 (build-system python-build-system)
4886 `(("libdiscid" ,libdiscid)))
4889 (modify-phases %standard-phases
4890 (add-before 'build 'set-libdiscid
4891 ;; Set path of libdiscid
4892 (lambda* (#:key inputs #:allow-other-keys)
4893 (let ((discid (assoc-ref inputs "libdiscid")))
4894 (substitute* "discid/libdiscid.py"
4895 (("lib_name = (.*)$" all name)
4896 (string-append "lib_name = \"" discid
4897 "/lib/libdiscid.so.0\"\n")))
4899 (home-page "https://python-discid.readthedocs.io/")
4900 (synopsis "Python bindings for Libdiscid")
4902 "This package provides Python bindings for the Libdiscid library. The
4903 main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
4904 Disc IDs} for use with the MusicBrainz database. Additionally the disc
4905 @dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
4906 Recording Code} (ISRC) can be extracted.}")
4907 (license license:lgpl3+)))
4909 (define-public libmusicbrainz
4911 (name "libmusicbrainz")
4917 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
4918 version "/libmusicbrainz-" version ".tar.gz"))
4921 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
4922 (build-system cmake-build-system)
4925 (modify-phases %standard-phases
4928 ;; requires network connections
4929 ;; (invoke "tests/mbtest")
4930 (invoke "tests/ctest")
4932 (inputs `(("neon" ,neon)
4933 ("libxml2" ,libxml2)))
4934 (native-inputs `(("pkg-config" ,pkg-config)))
4935 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
4936 (synopsis "MusicBrainz client library")
4937 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
4938 mb_client, is a development library geared towards developers who wish to add
4939 MusicBrainz lookup capabilities to their applications.")
4940 (license license:lgpl2.1+)))
4942 (define-public perl-musicbrainz-discid
4944 (name "perl-musicbrainz-discid")
4949 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
4953 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
4954 (build-system perl-build-system)
4955 (native-inputs `(("pkg-config" ,pkg-config)
4957 (inputs `(("libdiscid" ,libdiscid)))
4958 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
4959 (synopsis "Perl interface to the MusicBrainz libdiscid library")
4961 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
4962 MusicBrainz libdiscid library, allowing you to manipulate digital audio
4963 compact disc (CDDA) identifiers.")
4964 (license license:gpl2)))
4966 (define-public perl-webservice-musicbrainz
4968 (name "perl-webservice-musicbrainz")
4973 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
4977 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
4978 (build-system perl-build-system)
4980 ;; Tests try to connect to http://musicbrainz.org.
4983 `(("perl-module-build" ,perl-module-build)))
4985 `(("perl-mojolicious" ,perl-mojolicious)))
4986 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
4987 (synopsis "Web service API to the MusicBrainz database")
4989 "This module searches the MusicBrainz database through their web service
4990 at @code{musicbrainz.org}.")
4991 (license license:perl-license)))
4993 (define-public clyrics
5001 (url "https://github.com/trizen/clyrics")
5003 (file-name (git-file-name name version))
5005 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
5006 (build-system trivial-build-system)
5008 `(("bash" ,bash) ; for the wrapped program
5010 ("perl-www-mechanize" ,perl-www-mechanize)
5011 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
5012 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
5013 ;; 500 Can't verify SSL peers without knowing which Certificate
5014 ;; Authorities to trust".
5015 ("perl-mozilla-ca" ,perl-mozilla-ca)))
5017 `(#:modules ((guix build utils))
5019 (use-modules (guix build utils)
5022 (let* ((source (assoc-ref %build-inputs "source"))
5023 (output (assoc-ref %outputs "out")))
5026 (assoc-ref %build-inputs "bash") "/bin" ":"
5027 (assoc-ref %build-inputs "perl") "/bin" ":"))
5028 (copy-recursively source (getcwd))
5029 (patch-shebang "clyrics")
5030 (substitute* "clyrics"
5031 (("/usr/share") output))
5032 (install-file "clyrics" (string-append output "/bin"))
5033 (wrap-program (string-append output "/bin/clyrics")
5038 (((? (cut string-prefix? "perl-" <>) name) . dir)
5039 (string-append dir "/lib/perl5/site_perl"))
5042 (copy-recursively "plugins" (string-append output "/clyrics"))
5044 (home-page "https://github.com/trizen/clyrics")
5045 (synopsis "Extensible lyrics fetcher")
5047 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
5048 It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
5049 console music players.")
5050 (license license:gpl3+)))
5052 (define-public demlo
5053 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
5057 (version (git-version "3.8" revision commit))
5063 "https://gitlab.com/ambrevar/demlo")
5065 (file-name (git-file-name name version))
5068 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
5069 (build-system go-build-system)
5072 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
5073 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
5074 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
5075 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
5076 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
5077 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
5078 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
5079 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
5080 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
5081 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
5083 `(("chromaprint" ,chromaprint)
5084 ("ffmpeg" ,ffmpeg)))
5086 `(#:import-path "gitlab.com/ambrevar/demlo"
5088 (modify-phases %standard-phases
5089 (add-after 'install 'wrap-program
5090 (lambda* (#:key inputs outputs #:allow-other-keys)
5091 (let ((out (assoc-ref outputs "out"))
5092 (ffmpeg (assoc-ref inputs "ffmpeg"))
5093 (chromaprint (assoc-ref inputs "chromaprint")))
5094 (wrap-program (string-append out "/bin/demlo")
5095 `("XDG_DATA_DIRS" ":" prefix (,out))
5098 (string-append dir "/bin:"
5100 (list ffmpeg chromaprint))))
5102 (add-after 'install 'install-scripts
5103 (lambda* (#:key outputs #:allow-other-keys)
5104 (let* ((out (assoc-ref outputs "out"))
5105 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
5106 (xdg-data-dirs (string-append out "/demlo")))
5107 (copy-recursively (string-append root "/actions")
5108 (string-append xdg-data-dirs "/actions"))
5109 (copy-recursively (string-append root "/scripts")
5110 (string-append xdg-data-dirs "/scripts"))
5111 (install-file (string-append root "/config.lua") xdg-data-dirs)
5112 ;; TODO: Test fish completion.
5113 (install-file (string-append root "/completion/demlo.fish")
5114 (string-append out "/share/fish/vendor_completions.d"))
5116 (home-page "https://gitlab.com/ambrevar/demlo")
5117 (synopsis "Dynamic and extensible music library organizer")
5118 (description "Demlo is a music library organizer. It can encode, fix
5119 case, change folder hierarchy according to tags or file properties, tag from
5120 an online database, copy covers while ignoring duplicates or those below a
5121 quality threshold, and much more. It makes it possible to manage your
5122 libraries uniformly and dynamically. You can write your own rules to fit your
5125 Demlo can address any of these recurring music library issues (and much more):
5128 @item Fix the lack of folder structure.
5129 @item Normalize tags, fix their case, chose which tags to keep and which to
5131 @item Handle lossy and lossless audio differently.
5132 @item Handle mp3 id3tags hell...
5133 @item Handle multiple covers, whether embedded and/or external, resize covers,
5134 discard bad quality ones.
5136 (license license:expat))))
5145 (url "https://github.com/gillesdegottex/fmit/")
5146 (commit (string-append "v" version))))
5147 (file-name (git-file-name name version))
5150 "1q062pfwz2vr9hbfn29fv54ip3jqfd9r99nhpr8w7mn1csy38azx"))))
5151 (build-system gnu-build-system)
5154 (modify-phases %standard-phases
5156 (add-before 'build 'qmake
5158 (let ((out (assoc-ref %outputs "out")))
5161 (string-append "PREFIX=" out)
5162 (string-append "PREFIXSHORTCUT=" out)
5163 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
5164 (add-after 'install 'wrap-executable
5165 (lambda* (#:key inputs outputs #:allow-other-keys)
5166 (let ((out (assoc-ref outputs "out")))
5167 (wrap-program (string-append out "/bin/fmit")
5168 `("QT_PLUGIN_PATH" ":" prefix
5169 ,(map (lambda (label)
5170 (string-append (assoc-ref inputs label)
5171 "/lib/qt5/plugins"))
5172 '("qtbase" "qtmultimedia" "qtsvg")))
5173 `("QML2_IMPORT_PATH" ":" prefix
5174 ,(map (lambda (label)
5175 (string-append (assoc-ref inputs label)
5177 '("qtmultimedia"))))
5180 `(("alsa-lib" ,alsa-lib)
5183 ("portaudio" ,portaudio)
5185 ("qtmultimedia" ,qtmultimedia)
5188 `(("gettext" ,gettext-minimal)
5189 ("hicolor-icon-theme" ,hicolor-icon-theme)
5190 ("itstool" ,itstool)
5191 ("qttools" ,qttools)))
5192 (synopsis "Musical instrument tuner")
5193 (description "FMIT is a graphical utility for tuning musical instruments,
5194 with error and volume history, and advanced features.")
5195 (home-page "https://gillesdegottex.github.io/fmit/")
5196 ;; Most of the code is under GPL2+, but some abstract or helper classes
5197 ;; are under LGPL2.1.
5198 (license (list license:gpl2+ license:lgpl2.1))))
5200 (define-public mloop
5201 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
5205 (version (git-version "0.0.1" revision commit))
5209 (url "http://git.fuzzle.org/mloop")
5211 (file-name (git-file-name name version))
5214 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
5215 (build-system waf-build-system)
5217 `(#:python ,python-2
5218 #:tests? #f)) ; no "check" target
5221 ("ncurses" ,ncurses)))
5223 `(("pkg-config" ,pkg-config)))
5224 (home-page "https://fuzzle.org/~petern/mloop.html")
5225 (synopsis "Live MIDI looper")
5226 (description "mloop is a live MIDI looping system, using jack-midi.
5227 Loops are recorded, optionally with beat quantization, and can then be played
5228 back, either once or looping. A 'note cache' system is implemented to
5229 remember which notes are pressed and their velocities. This allows for a loop
5230 to start off with the currently pressed notes, making seamless loops much
5231 easier to perform. Features include:
5234 @item Quantisation; end a loop on a beat exactly.
5235 @item Delayed recording; wait for a MIDI event before starting a loop record.
5236 @item Adjust tempo; Playback speed of loops can be adjusted on the fly.
5238 (license license:gpl2))))
5240 (define-public pragha
5246 (uri (string-append "https://github.com/pragha-music-player/pragha/"
5247 "releases/download/v" version "/pragha-" version
5251 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
5252 (build-system glib-or-gtk-build-system)
5254 `(("intltool" ,intltool)
5255 ("pkg-config" ,pkg-config)))
5259 ("gstreamer" ,gstreamer)
5260 ("gst-plugins-base" ,gst-plugins-base)
5261 ("gst-plugins-good" ,gst-plugins-good)
5263 ("libcddb" ,libcddb)
5264 ("libcdio" ,libcdio)
5265 ("libcdio-paranoia" ,libcdio-paranoia)
5266 ("libgudev" ,libgudev)
5267 ("libnotify" ,libnotify)
5268 ("libpeas" ,libpeas)
5269 ("libsoup" ,libsoup)
5271 ("taglib" ,taglib)))
5274 (modify-phases %standard-phases
5275 (add-after 'install 'wrap-program
5276 (lambda* (#:key inputs outputs #:allow-other-keys)
5277 (let ((out (assoc-ref outputs "out"))
5278 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
5279 (wrap-program (string-append out "/bin/pragha")
5280 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
5282 (home-page "https://pragha-music-player.github.io")
5283 (synopsis "Music player")
5284 (description "Pragha is a lightweight music player based on Gtk and
5285 sqlite. It is constructed to be fast, light, and simultaneously tries to be
5286 complete without obstructing your daily work.")
5287 (license license:gpl3+)))
5289 (define-public playerctl
5296 (url "https://github.com/altdesktop/playerctl")
5297 (commit (string-append "v" version))))
5298 (file-name (git-file-name name version))
5301 "17hi33sw3663qz5v54bqqil31sgkrlxkb2l5bgqk87pac6x2wnbz"))))
5302 (build-system meson-build-system)
5304 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
5305 (inputs `(("python-pygobject" ,python-pygobject)))
5307 `(("glib:bin" ,glib "bin")
5308 ("pkg-config" ,pkg-config)))
5309 (synopsis "Control MPRIS-supporting media player applications")
5311 "Playerctl is a command-line utility and library for controlling media
5312 players that implement the MPRIS D-Bus Interface Specification. Playerctl
5313 makes it easy to bind player actions, such as play and pause, to media keys.
5314 You can also get metadata about the playing track such as the artist and title
5315 for integration into status line generators or other command-line tools.")
5316 (home-page "https://github.com/altdesktop/playerctl")
5317 (license license:lgpl3+)))
5319 (define-public artyfx
5327 "https://github.com/openAVproductions/openAV-ArtyFX")
5328 (commit (string-append "release-" version))))
5329 (file-name (git-file-name name version))
5332 "012hcy1mxl7gs2lipfcqp5x0xv1azb9hjrwf0h59yyxnzx96h7c9"))))
5333 (build-system cmake-build-system)
5335 `(#:tests? #f ; no tests included
5337 (modify-phases %standard-phases
5338 (add-after 'unpack 'remove-architecture-specific-flags
5340 (substitute* "CMakeLists.txt"
5341 (("-msse2 -mfpmath=sse") ""))
5345 ("libsndfile" ,libsndfile)))
5347 `(("pkg-config" ,pkg-config)
5349 (home-page "http://openavproductions.com/artyfx/")
5350 (synopsis "Audio effect LV2 plugin bundle")
5351 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
5352 effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
5354 (license license:gpl2+)))
5356 (define-public lsp-plugins
5358 (name "lsp-plugins")
5364 (url "https://github.com/sadko4u/lsp-plugins")
5365 (commit (string-append "lsp-plugins-" version))))
5366 (file-name (git-file-name name version))
5368 (base32 "1apw8zh3a3il4smkjji6bih4vbsymj0hjs10fgkrd4nazqkjvgyd"))))
5369 (build-system gnu-build-system)
5373 (string-append "CC=" ,(cc-for-target))
5374 "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0"
5375 (string-append "PREFIX=" (assoc-ref %outputs "out"))
5376 (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc"))
5378 (modify-phases %standard-phases
5379 (delete 'configure)) ; no configure script
5380 #:test-target "test"))
5383 ("hicolor-icon-theme" ,hicolor-icon-theme)
5386 ("libsndfile" ,libsndfile)
5390 `(("pkg-config" ,pkg-config)))
5391 (synopsis "Audio plugin collection")
5392 (description "LSP (Linux Studio Plugins) is a collection of audio
5393 plugins available as LADSPA/LV2 plugins and as standalone JACK
5395 (home-page "https://lsp-plug.in/")
5396 (license license:lgpl3)))
5398 (define-public sherlock-lv2
5400 (name "sherlock-lv2")
5406 "https://git.open-music-kontrollers.ch/lv2/"
5407 "sherlock.lv2/snapshot/sherlock.lv2-"
5411 "08gjfx7vrsx9zvj04j8cr3vscxmq6jr2hbdi6dfgp1l1dnnpxsgq"))))
5412 (build-system meson-build-system)
5417 ("sratom" ,sratom)))
5420 ("pkg-config" ,pkg-config)))
5421 (synopsis "Investigative LV2 plugin bundle")
5422 (description "The Sherlock plugin bundle contains LV2 plugins for
5423 visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
5424 and debugging of event signal flows inside plugin graphs.")
5425 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
5426 (license license:artistic2.0)))
5428 (define-public foo-yc20
5435 (uri (string-append "https://github.com/sampov2/foo-yc20/releases/download/"
5436 version "/foo-yc20-" version ".tar.bz2"))
5439 "1drzfyr7mzb58pdv0gsqkg6ds6kbgp6g25rrv1yya1611cljgvjh"))))
5440 (build-system gnu-build-system)
5443 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5444 #:tests? #f ; no automated test
5446 (modify-phases %standard-phases
5449 (substitute* "Makefile"
5450 (("-mtune=native") "")
5451 (("-march=native") ""))
5460 ("pkg-config" ,pkg-config)))
5461 (home-page "https://foo-yc20.codeforcode.com/")
5462 (synopsis "Implementation of Yamaha YC-20 combo organ from 1969")
5463 (description "This is a Faust implementation of a 1969 designed Yamaha
5464 combo organ, the YC-20. This package provides an LV2 plugin and a standalone
5465 version. Processing for the organ is based on original schematics and
5466 measurements from a working specimen. This instrument simulates the circutry
5467 as a whole to realisticly reproduce the features and flaws of the real deal.")
5468 ;; Note that after 1.3.0 the license was changed.
5469 (license license:gpl3+)))
5471 (define-public spectacle-analyzer
5473 (name "spectacle-analyzer")
5479 (url "https://github.com/jpcima/spectacle")
5480 (commit (string-append "v" version))
5481 ;; Bundles a specific commit of the DISTRHO plugin framework.
5483 (file-name (git-file-name name version))
5486 "0xiqa6z8g68lcvnwhws4j7c4py35r9d20cirrili7ycyp3a6149a"))))
5487 (build-system gnu-build-system)
5489 `(#:tests? #f ; no check target
5492 (string-append "PREFIX=" (assoc-ref %outputs "out")))
5494 (modify-phases %standard-phases
5495 (delete 'configure))))
5497 `(("pkg-config" ,pkg-config)
5506 (synopsis "Realtime graphical spectrum analyzer")
5507 (description "Spectacle is a real-time spectral analyzer using the
5508 short-time Fourier transform, available as LV2 audio plugin and JACK client.")
5509 (home-page "https://github.com/jpcima/spectacle")
5510 ;; The project is licensed under the ISC license, and files in
5511 ;; sources/plugin carry the Expat license.
5512 (license (list license:isc license:expat))))
5514 (define-public x42-plugins
5516 (name "x42-plugins")
5517 (version "20200714")
5522 (string-append "https://gareus.org/misc/x42-plugins/x42-plugins-"
5525 (base32 "1av05ykph8x67018hm9zfgh1vk0zi39mvrsxkj6bm4hkarxf0vvl"))))
5526 (build-system gnu-build-system)
5528 `(#:tests? #f ; no "check" target
5530 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5531 "LIBZITACONVOLVER=-lzita-convolver"
5532 (string-append "FONTFILE="
5533 (assoc-ref %build-inputs "font-dejavu")
5534 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
5536 (modify-phases %standard-phases
5537 (add-before 'build 'set-CC-variable
5541 (delete 'configure))))
5548 ("hicolor-icon-theme" ,hicolor-icon-theme)
5551 ("libsamplerate" ,libsamplerate)
5554 ("zita-convolver" ,zita-convolver)))
5556 `(("help2man" ,help2man)
5559 ("font-dejavu" ,font-dejavu)
5560 ("pkg-config" ,pkg-config)))
5561 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
5562 (description "x42-plugins is a collection of over 80 cross-platform LV2
5563 audio and MIDI plugins that can also run as standalone JACK applications.")
5564 (home-page "https://x42-plugins.com/x42/")
5565 (license license:gpl2+)))
5567 (define-public zam-plugins
5569 (name "zam-plugins")
5576 (url "https://github.com/zamaudio/zam-plugins")
5578 ;; Recursive to fetch the DISTRHO plugin framework. This
5579 ;; framework is intended to be included in the sources
5580 ;; and not to be used as a library.
5582 (file-name (git-file-name name version))
5584 (base32 "0bxvssqnnd7bph3w1d6xcmxradv4cqq3wyzyv1a1hfm71a0pdahs"))))
5585 (build-system gnu-build-system)
5587 `(#:tests? #f ;no "check" target
5589 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5590 "HAVE_ZITA_CONVOLVER=true")
5592 (modify-phases %standard-phases
5593 (add-before 'build 'set-CC-variable
5595 (setenv "CC" "gcc") #t))
5596 (delete 'configure))))
5599 ("jack" ,jack-1) ;for the standalone JACK application
5601 ("libsamplerate" ,libsamplerate)
5603 ("zita-convolver" ,zita-convolver)))
5605 `(("ladspa" ,ladspa)
5607 ("pkg-config" ,pkg-config)))
5608 (synopsis "Collection of audio processing plugins")
5610 "Zam plugins is a collection of audio processing plugins in the LADSPA,
5611 LV2 and VST2 formats, as well as standalone JACK versions. The collection
5612 includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
5613 ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
5614 ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
5615 (home-page "http://www.zamaudio.com/?p=976")
5616 (license license:gpl2+)))
5618 (define-public geonkick
5626 (url "https://gitlab.com/geontime/geonkick.git")
5627 (commit (string-append "v" version))))
5628 (file-name (git-file-name name version))
5630 (base32 "07809yy2q7dd6fcp0yndlg1vw2ca2zisnsplb3xrxvzdvrqlw910"))))
5631 (build-system cmake-build-system)
5633 `(#:tests? #f ;no tests included
5635 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
5636 (assoc-ref %build-inputs "redkite"))
5637 (string-append "-DCMAKE_INSTALL_PREFIX="
5638 (assoc-ref %outputs "out")))))
5641 ("hicolor-icon-theme" ,hicolor-icon-theme)
5642 ("jack" ,jack-1) ;for the standalone JACK application
5643 ("libsndfile" ,libsndfile)
5645 ("redkite" ,redkite)
5646 ("rapidjson" ,rapidjson)))
5649 ;; Fails with default gcc (#include <filesystem> not found).
5651 ("pkg-config" ,pkg-config)
5653 (synopsis "Percussion synthesizer")
5654 (description "Geonkick is a synthesizer that can synthesize elements
5655 of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5656 It can also play and mix samples.")
5657 (home-page "https://gitlab.com/geontime/geonkick")
5658 (license license:gpl3+)))
5660 (define-public dpf-plugins
5662 (name "dpf-plugins")
5669 (url "https://github.com/DISTRHO/DPF-Plugins")
5670 (commit (string-append "v" version))))
5671 (file-name (git-file-name name version))
5674 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
5675 (build-system gnu-build-system)
5677 `(#:tests? #f ; no "check" target
5679 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5681 (modify-phases %standard-phases
5682 (add-before 'build 'set-CC-variable
5683 (lambda _ (setenv "CC" "gcc") #t))
5684 (delete 'configure))))
5687 ("liblo" ,liblo) ; for dssi plugins
5688 ("jack" ,jack-1) ; for standalone applications
5691 `(("pkg-config" ,pkg-config)
5694 (home-page "https://github.com/DISTRHO/DPF-Plugins")
5695 (synopsis "Audio plugin collection")
5696 (description "Collection of audio plugins built with the DISTRHO Plugin
5697 Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
5698 package includes the following plugins: glBars, Kars, Max-Gen examples
5699 (MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
5700 3BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
5701 Soul Force), MVerb, Nekobi, and ProM.")
5702 ;; This package consists of several plugins refactored to use the
5703 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
5704 ;; apply to different plugins. The root LICENSE file has a table with
5705 ;; license information for each plugin and paths to each license
5706 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
5708 (define-public avldrums-lv2
5710 (name "avldrums-lv2")
5716 (url "https://github.com/x42/avldrums.lv2")
5717 (commit (string-append "v" version))
5718 ;; This plugin expects the robtk submodule's source files to be
5719 ;; there in order to build.
5721 (file-name (git-file-name name version))
5723 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
5724 (build-system gnu-build-system)
5726 `(#:tests? #f ; no "check" target
5728 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5730 (modify-phases %standard-phases
5731 (add-before 'build 'set-CC-variable
5733 (setenv "CC" "gcc") #t))
5734 (delete 'configure))))
5742 `(("pkg-config" ,pkg-config)
5744 (home-page "https://x42-plugins.com/x42/x42-avldrums")
5745 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
5746 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
5747 MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
5748 MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
5749 (license license:gpl2+)))
5760 (url "https://github.com/mtytel/helm")
5761 (commit (string-append "v" version))))
5762 (file-name (git-file-name name version))
5765 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
5766 (build-system gnu-build-system)
5768 `(#:tests? #f ; no "check" target
5770 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
5773 (modify-phases %standard-phases
5774 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
5776 (substitute* "standalone/builds/linux/Makefile"
5777 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5778 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5779 (substitute* "builds/linux/LV2/Makefile"
5780 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5781 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5782 (substitute* "Makefile"
5785 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
5786 (lambda* (#:key outputs #:allow-other-keys)
5787 (for-each make-file-writable
5788 (find-files (string-append (assoc-ref outputs "out"))
5791 (delete 'configure))))
5793 `(("alsa-lib" ,alsa-lib)
5795 ("freetype2" ,freetype)
5796 ("hicolor-icon-theme" ,hicolor-icon-theme)
5797 ("libxcursor" ,libxcursor)
5798 ("libxinerama" ,libxinerama)
5802 `(("pkg-config" ,pkg-config)
5804 (home-page "https://tytel.org/helm/")
5805 (synopsis "Polyphonic synth with lots of modulation")
5806 (description "Helm is a cross-platform polyphonic synthesizer available standalone
5807 and as an LV2 plugin.")
5808 (license license:gpl3+)))
5810 (define-public zrythm
5812 ;; Zrythm contains trademarks and comes with a trademark policy found in
5813 ;; TRADMARKS.md inside the release distribution. The trademark policy
5814 ;; allows verbatim re-distribution, and it also allows FSF-approved
5815 ;; distros to make necessary changes to integrate the software into the
5818 (version "1.0.0-alpha.6.0.1")
5822 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
5826 "1zfky3yj0k0rmbxighlk9sp4fsgw8rj7viv44yv626kldfvc04ab"))))
5827 (build-system meson-build-system)
5835 "-Dgraphviz=enabled" ; for exporting routing graphs
5836 "-Dguile=enabled" ; for Guile scripting
5837 "-Djack=enabled" ; for JACK audio/MIDI backend
5838 "-Drtmidi=enabled" ; for RtMidi backend (ALSA sequencer)
5839 "-Dsdl=enabled"))) ; for SDL audio backend (which uses ALSA)
5841 `(("alsa-lib" ,alsa-lib)
5843 ("font-dseg" ,font-dseg)
5846 ("gettext" ,gettext-minimal)
5848 ("graphviz" ,graphviz)
5850 ("gtksourceview" ,gtksourceview)
5851 ("guile" ,guile-2.2)
5852 ("libaudec" ,libaudec)
5853 ("libcyaml" ,libcyaml)
5854 ("libsamplerate" ,libsamplerate)
5855 ("libsndfile" ,libsndfile)
5856 ("libyaml" ,libyaml)
5860 ("rubberband" ,rubberband)
5863 ("xdg-utils" ,xdg-utils)
5864 ("zstd" ,zstd "lib")))
5866 `(("pkg-config" ,pkg-config)
5867 ("help2man" ,help2man)
5868 ("glib" ,glib "bin"))) ; for 'glib-compile-resources'
5869 (synopsis "Digital audio workstation focusing on usability")
5870 (description "Zrythm is a digital audio workstation designed to be
5871 featureful and easy to use. It offers unlimited automation options, LV2
5872 plugin support, JACK support and chord assistance.")
5873 (home-page "https://www.zrythm.org")
5874 (license license:agpl3+)))
5876 (define-public dragonfly-reverb
5878 (name "dragonfly-reverb")
5885 (url "https://github.com/michaelwillis/dragonfly-reverb")
5887 ;; Bundles a specific commit of the DISTRHO plugin framework.
5889 (file-name (git-file-name name version))
5891 (base32 "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa"))))
5892 (build-system gnu-build-system)
5894 `(#:tests? #f ; no check target
5895 #:make-flags (list "CC=gcc")
5897 (modify-phases %standard-phases
5898 (delete 'configure) ;no configure target
5899 (replace 'install ;no install target
5900 (lambda* (#:key outputs #:allow-other-keys)
5901 (let* ((out (assoc-ref outputs "out"))
5902 (bin (string-append out "/bin"))
5903 (lv2 (string-append out "/lib/lv2")))
5907 (copy-recursively file
5908 (string-append lv2 "/" (basename file))))
5909 (find-files "bin" "\\.lv2$" #:directories? #t))
5910 ;; Install executables.
5913 (install-file file bin))
5917 (equal? (dirname name) "bin")
5918 (not (string-suffix? ".so" name))
5919 (not (string-suffix? ".lv2" name))))))
5922 `(("pkg-config" ,pkg-config)))
5927 (home-page "https://michaelwillis.github.io/dragonfly-reverb/")
5928 (synopsis "Concert hall reverb and room reverb effects")
5930 "Dragonfly Reverb is a bundle of two free audio effects: a concert
5931 hall reverb and a room reverb. Both are available as LV2 plugins as well
5932 as JACK standalone applications.")
5933 (license license:gpl3+)))
5943 (url "https://git.zrythm.org/git/ZLFO")
5944 (commit (string-append "v" version))))
5945 (file-name (git-file-name name version))
5948 "0bm466ci5xyvxvq7l9p6xyh789lvk6i31b4zja1igqh13akbjnjz"))))
5949 (build-system meson-build-system)
5951 `(("librsvg" ,librsvg)
5953 ("ztoolkit-rsvg" ,ztoolkit-rsvg)))
5955 `(("pkg-config" ,pkg-config)))
5956 (synopsis "Low frequency oscillator plugin")
5957 (description "ZLFO is a fully featured
5958 @dfn{low frequency oscillator} (LFO) for @dfn{control voltage} (CV)-based
5959 automation that comes as an LV2 plugin bundle with a custom UI.")
5960 (home-page "https://git.zrythm.org/cgit/ZLFO/")
5961 (license license:agpl3+)))
5963 (define-public remid-lv2
5971 (url "https://github.com/ssj71/reMID.lv2")
5972 (commit (string-append "v" version))))
5973 (file-name (git-file-name name version))
5976 "062kriniidsrhzwrf89kfxm9wb0cmgrl07asnlmgil8vcl7gl9y5"))))
5977 (build-system cmake-build-system)
5979 `(#:tests? #f)) ; no tests included
5981 `(("alsa-lib" ,alsa-lib)
5986 `(("pkg-config" ,pkg-config)))
5987 (home-page "https://github.com/ssj71/reMID.lv2")
5989 "MIDI-controlled implementation of the SID 6581 chip used in the
5992 "The 6581 SID chip is the sound chip used in the Commodore 64 computer.
5993 reMID is a MIDI implementation of the 6581 SID chip using the reSID library
5994 to provide a virtual SID-based synthesizer, controllable in real-time via
5995 MIDI. It includes support for scripted instruments that allow complex sonic
5996 control of the chip.")
5997 (license license:gpl2+)))
5999 (define-public vl1-emulator
6001 (name "vl1-emulator")
6007 (url "https://github.com/linuxmao-org/VL1-emulator")
6008 (commit (string-append "v" version))
6009 ;; bundles a specific commit of the DISTRHO plugin framework
6011 (file-name (git-file-name name version))
6014 "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
6015 (build-system gnu-build-system)
6017 `(#:tests? #f ;no check target
6019 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
6022 (modify-phases %standard-phases
6023 (delete 'configure)))) ;no configure target
6029 `(("pkg-config" ,pkg-config)))
6030 (home-page "https://github.com/linuxmao-org/VL1-emulator")
6031 (synopsis "Emulator of Casio VL-Tone VL1")
6032 (description "The VL1-Emulator is an emulator of Casio VL-Tone VL1,
6033 based on source code by PolyValens, offered as an LV2 plugin and a
6034 standalone JACK application.")
6036 (license (list license:expat license:cc0))))
6038 (define-public regrader
6040 (inherit vl1-emulator)
6047 (url "https://github.com/linuxmao-org/regrader")
6048 (commit (string-append "v" version))
6049 ;; bundles a specific commit of the DISTRHO plugin framework
6051 (file-name (git-file-name name version))
6054 "0gl4d5lf2afqknz22jz7hh7029sc9v1xrz6nbz9dlv42bwc0cvl0"))))
6055 (home-page "https://github.com/linuxmao-org/regrader")
6056 (synopsis "Delay effect plugin")
6058 "Regrader is a delay effect where the repeats degrade in resolution.
6059 This is an unofficial port of the Regrader plugin created by Igorski. It
6060 is available as an LV2 plugin and a standalone JACK application.")
6061 (license license:expat)))
6063 (define-public fogpad
6065 (inherit vl1-emulator)
6072 (url "https://github.com/linuxmao-org/fogpad")
6073 (commit (string-append "v" version))
6074 ;; bundles a specific commit of the DISTRHO plugin framework
6076 (file-name (git-file-name name version))
6079 "1j1hbya2dsqpf22zkpi4kwz3dram9g1ndxzmgfwpmf3i4jd3csgb"))))
6080 (home-page "https://github.com/linuxmao-org/fogpad")
6081 (synopsis "Reverb effect plugin")
6083 "Fogpad is a reverb effect in which the reflections can be frozen,
6084 filtered, pitch shifted and ultimately disintegrated. This is an unofficial
6085 port of the Regrader plugin created by Igorski. It is available as an LV2
6086 plugin and a standalone JACK application.")
6087 (license license:expat)))
6089 (define-public tap-lv2
6090 (let ((commit "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a")
6094 (version (git-version "0.0" revision commit))
6099 (url "https://github.com/moddevices/tap-lv2")
6101 (file-name (git-file-name name version))
6104 "0q480djfqd9g8mzrggc4vl7yclrhdjqx563ghs8mvi2qq8liycw3"))))
6105 (build-system gnu-build-system)
6107 `(#:tests? #f ; no check target
6111 (modify-phases %standard-phases
6112 (delete 'configure) ; no configure
6116 (string-append "INSTALL_PATH="
6117 (assoc-ref %outputs "out")
6123 `(("pkg-config" ,pkg-config)))
6124 (synopsis "Audio plugin collection")
6125 (description "TAP (Tom's Audio Processing) plugins is a collection of
6126 audio effect plugins originally released as LADSPA plugins. This package
6127 offers an LV2 version ported by moddevices.")
6128 (home-page "http://tap-plugins.sourceforge.net/")
6129 (license license:gpl2))))
6131 (define-public wolf-shaper
6133 (name "wolf-shaper")
6139 (url "https://github.com/pdesaulniers/wolf-shaper")
6140 (commit (string-append "v" version))
6141 ;; Bundles a specific commit of the DISTRHO plugin framework.
6143 (file-name (git-file-name name version))
6146 "1j9xmh1nkf45ay1c5dz2g165qvrwlanzcq6mvb3nfxar265drd9q"))))
6147 (build-system gnu-build-system)
6149 `(#:tests? #f ; no check target
6150 #:make-flags (list "CC=gcc")
6152 (modify-phases %standard-phases
6153 (delete 'configure) ;no configure target
6154 (replace 'install ;no install target
6155 (lambda* (#:key outputs #:allow-other-keys)
6156 (let* ((out (assoc-ref outputs "out"))
6157 (bin (string-append out "/bin"))
6158 (lv2 (string-append out "/lib/lv2")))
6162 (copy-recursively file
6163 (string-append lv2 "/" (basename file))))
6164 (find-files "bin" "\\.lv2$" #:directories? #t))
6165 ;; Install executables.
6168 (install-file file bin))
6172 (equal? (dirname name) "bin")
6173 (not (string-suffix? ".so" name))
6174 (not (string-suffix? ".lv2" name))))))
6177 `(("pkg-config" ,pkg-config)))
6182 (synopsis "Waveshaper plugin")
6183 (description "Wolf Shaper is a waveshaper plugin with a graph editor.
6184 It is provided as an LV2 plugin and as a standalone Jack application.")
6185 (home-page "https://pdesaulniers.github.io/wolf-shaper/")
6186 (license license:gpl3)))
6188 (define-public wolf-spectrum
6190 (inherit wolf-shaper)
6191 (name "wolf-spectrum")
6197 (url "https://github.com/pdesaulniers/wolf-spectrum")
6198 (commit (string-append "v" version))
6199 ;; Bundles a specific commit of the DISTRHO plugin framework.
6201 (file-name (git-file-name name version))
6204 "17db1jlj7vb1xyvkdhhrsvdbwb7jqw6i4168cdvlj3yvn2ra8gpm"))))
6205 (synopsis "2D spectrogram plugin")
6206 (description "Wolf Spectrum is a real-time 2D spectrogram plugin.
6207 It is provided as an LV2 plugin and as a standalone Jack application.")
6208 (home-page "https://github.com/pdesaulniers/wolf-spectrum")
6209 (license license:gpl3)))
6211 (define-public shiru-lv2
6212 (let ((commit "08853f99140012234649e67e5647906fda74f6cc")
6216 (version (git-version "0.0" revision commit))
6221 (url "https://github.com/linuxmao-org/shiru-plugins")
6223 ;; Bundles a specific commit of the DISTRHO plugin framework.
6225 (file-name (git-file-name name version))
6228 "00rf6im3rhg98h60sgl1r2s37za5vr5h14pybwi07h8zbc8mi6fm"))))
6229 (build-system gnu-build-system)
6231 `(#:tests? #f ; no check target
6232 #:make-flags (list "CC=gcc")
6234 (modify-phases %standard-phases
6235 (delete 'configure) ;no configure target
6236 (replace 'install ;no install target
6237 (lambda* (#:key outputs #:allow-other-keys)
6238 (let* ((out (assoc-ref outputs "out"))
6239 (bin (string-append out "/bin"))
6240 (lv2 (string-append out "/lib/lv2")))
6244 (copy-recursively file
6245 (string-append lv2 "/" (basename file))))
6246 (find-files "bin" "\\.lv2$" #:directories? #t))
6247 ;; Install executables.
6250 (install-file file bin))
6254 (equal? (dirname name) "bin")
6255 (not (string-suffix? ".so" name))
6256 (not (string-suffix? ".lv2" name))))))
6259 `(("pkg-config" ,pkg-config)))
6267 (synopsis "Audio plugin collection")
6268 (description "Shiru plugins is a collection of audio plugins created
6269 by Shiru, ported to LV2 by the Linux MAO project using the DISTRHO plugin
6271 (home-page "http://shiru.untergrund.net/software.shtml")
6272 (license license:wtfpl2))))