1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
3 ;;; Copyright © 2015, 2016, 2017, 2018 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 Efraim Flashner <efraim@flashner.co.il>
7 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
8 ;;; Copyright © 2016, 2017 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 ng0 <contact.ng0@cryptolab.net>
12 ;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org>
13 ;;; Copyright © 2017, 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
14 ;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
15 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
16 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
17 ;;; Copyright © 2018 nee <nee.git@hidamari.blue>
18 ;;; Copyright © 2018 Stefan Reichör <stefan@xsteve.at>
20 ;;; This file is part of GNU Guix.
22 ;;; GNU Guix is free software; you can redistribute it and/or modify it
23 ;;; under the terms of the GNU General Public License as published by
24 ;;; the Free Software Foundation; either version 3 of the License, or (at
25 ;;; your option) any later version.
27 ;;; GNU Guix is distributed in the hope that it will be useful, but
28 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 ;;; GNU General Public License for more details.
32 ;;; You should have received a copy of the GNU General Public License
33 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
35 (define-module (gnu packages music)
36 #:use-module (guix utils)
37 #:use-module (guix packages)
38 #:use-module (guix download)
39 #:use-module (guix git-download)
40 #:use-module ((guix licenses) #:prefix license:)
41 #:use-module (guix build-system gnu)
42 #:use-module (guix build-system ant)
43 #:use-module (guix build-system cmake)
44 #:use-module (guix build-system python)
45 #:use-module (guix build-system scons)
46 #:use-module (guix build-system glib-or-gtk)
47 #:use-module (guix build-system waf)
48 #:use-module (gnu packages)
49 #:use-module (gnu packages algebra)
50 #:use-module (gnu packages apr)
51 #:use-module (gnu packages audio)
52 #:use-module (gnu packages autotools)
53 #:use-module (gnu packages backup)
54 #:use-module (gnu packages base) ;libbdf
55 #:use-module (gnu packages bash)
56 #:use-module (gnu packages bison)
57 #:use-module (gnu packages boost)
58 #:use-module (gnu packages cdrom)
59 #:use-module (gnu packages code)
60 #:use-module (gnu packages check)
61 #:use-module (gnu packages cmake)
62 #:use-module (gnu packages compression)
63 #:use-module (gnu packages crypto)
64 #:use-module (gnu packages curl)
65 #:use-module (gnu packages cyrus-sasl)
66 #:use-module (gnu packages databases)
67 #:use-module (gnu packages datastructures)
68 #:use-module (gnu packages docbook)
69 #:use-module (gnu packages documentation)
70 #:use-module (gnu packages emacs)
71 #:use-module (gnu packages file)
72 #:use-module (gnu packages flex)
73 #:use-module (gnu packages fltk)
74 #:use-module (gnu packages fonts)
75 #:use-module (gnu packages fontutils)
76 #:use-module (gnu packages freedesktop)
77 #:use-module (gnu packages gcc)
78 #:use-module (gnu packages gnupg)
79 #:use-module (gnu packages gettext)
80 #:use-module (gnu packages ghostscript)
81 #:use-module (gnu packages gl)
82 #:use-module (gnu packages glib)
83 #:use-module (gnu packages gnome)
84 #:use-module (gnu packages graphics)
85 #:use-module (gnu packages gstreamer)
86 #:use-module (gnu packages gtk)
87 #:use-module (gnu packages guile)
88 #:use-module (gnu packages image)
89 #:use-module (gnu packages imagemagick)
90 #:use-module (gnu packages java)
91 #:use-module (gnu packages libffi)
92 #:use-module (gnu packages libusb)
93 #:use-module (gnu packages linux) ; for alsa-utils
94 #:use-module (gnu packages lirc)
95 #:use-module (gnu packages llvm)
96 #:use-module (gnu packages man)
97 #:use-module (gnu packages mp3)
98 #:use-module (gnu packages mpd)
99 #:use-module (gnu packages ncurses)
100 #:use-module (gnu packages netpbm)
101 #:use-module (gnu packages pcre)
102 #:use-module (gnu packages pdf)
103 #:use-module (gnu packages perl)
104 #:use-module (gnu packages pkg-config)
105 #:use-module (gnu packages protobuf)
106 #:use-module (gnu packages pulseaudio) ;libsndfile
107 #:use-module (gnu packages python)
108 #:use-module (gnu packages python-web)
109 #:use-module (gnu packages qt)
110 #:use-module (gnu packages rdf)
111 #:use-module (gnu packages readline)
112 #:use-module (gnu packages rsync)
113 #:use-module (gnu packages sdl)
114 #:use-module (gnu packages tcl)
115 #:use-module (gnu packages texinfo)
116 #:use-module (gnu packages tex)
117 #:use-module (gnu packages tls)
118 #:use-module (gnu packages version-control)
119 #:use-module (gnu packages video)
120 #:use-module (gnu packages web)
121 #:use-module (gnu packages wxwidgets)
122 #:use-module (gnu packages xml)
123 #:use-module (gnu packages xorg)
124 #:use-module (gnu packages xiph)
125 #:use-module ((srfi srfi-1) #:select (last)))
127 (define-public aria-maestosa
129 (name "aria-maestosa")
133 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
134 version "/AriaSrc-" version ".tar.bz2"))
137 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
138 (build-system scons-build-system)
140 `(#:tests? #f ;no tests
142 (list (string-append "prefix=" (assoc-ref %outputs "out")))
143 #:scons ,scons-python2
145 (modify-phases %standard-phases
147 (add-after 'unpack 'scons-propagate-environment
149 ;; By design, SCons does not, by default, propagate
150 ;; environment variables to subprocesses. See:
151 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
152 ;; Here, we modify the SConstruct file to arrange for
153 ;; environment variables to be propagated.
154 (substitute* "SConstruct"
155 (("env = Environment\\(\\)")
156 "env = Environment(ENV=os.environ)")
157 ;; Scons errors out when copying subdirectories from Resources,
158 ;; so we move them instead.
160 ;; We move the "score" and "Documentation" directories at once,
161 ;; so we have to ignore files contained therein.
162 (("if \".svn\" in file" line)
164 " or \"score/\" in file"
165 " or \"Documentation/\" in file")))
167 (add-after 'install 'fix-directory-permissions
168 (lambda* (#:key outputs #:allow-other-keys)
169 (let ((out (assoc-ref outputs "out")))
170 (chmod (string-append out "/share/Aria/Documentation") #o555)
171 (chmod (string-append out "/share/Aria/score") #o555)
174 `(("wxwidgets" ,wxwidgets)
176 ("alsa-lib" ,alsa-lib)))
178 `(("pkg-config" ,pkg-config)))
179 (home-page "http://ariamaestosa.sourceforge.net/")
180 (synopsis "MIDI sequencer and editor")
182 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
183 and play MIDI files with a few clicks in a user-friendly interface offering
184 score, keyboard, guitar, drum and controller views.")
185 (license license:gpl3+)))
187 ;; We don't use the latest release because it depends on Qt4. Instead we
188 ;; download the sources from the tip of the "qt5" branch.
189 (define-public clementine
190 (let ((commit "0a59257dc334b8df60a4d7d90b04f1766747efcf")
194 (version (string-append "1.3.1-" revision "." (string-take commit 7)))
198 (url "https://github.com/clementine-player/Clementine.git")
200 (file-name (string-append name "-" version "-checkout"))
203 "0cdcj7di7j9jgzc1ihjna1a5df64f9hnmx7b9kh8rlg76hc0l0hi"))
204 (modules '((guix build utils)))
208 (delete-file-recursively
209 (string-append "3rdparty/" dir)))
211 ;; TODO: The following dependencies are still bundled:
212 ;; - "qxt": Appears to be unmaintained upstream.
214 ;; - "qtsingleapplication"
216 ;; - "qtiocompressor"
217 ;; - "gmock": The tests crash when using our googletest
218 ;; package instead of the bundled gmock.
226 "sha2" ;; Replaced by openssl.
229 (patches (search-patches "clementine-use-openssl.patch"
230 "clementine-remove-crypto++-dependency.patch"))))
231 (build-system cmake-build-system)
233 '(#:test-target "clementine_test"
235 (list ;; Requires unpackaged "projectm"
236 "-DENABLE_VISUALISATIONS=OFF"
237 ;; Otherwise it may try to download a non-free library at run-time.
238 ;; TODO In an origin snippet, remove the code that performs the
240 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
241 "-DUSE_SYSTEM_SHA2=TRUE")
243 (modify-phases %standard-phases
244 (add-after 'install 'wrap-program
245 (lambda* (#:key inputs outputs #:allow-other-keys)
246 (let ((out (assoc-ref outputs "out"))
247 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
248 (wrap-program (string-append out "/bin/clementine")
249 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
252 `(("gettext" ,gettext-minimal)
253 ("pkg-config" ,pkg-config)
254 ("qtlinguist" ,qttools)))
257 ("chromaprint" ,chromaprint)
261 ("gstreamer" ,gstreamer)
262 ("gst-plugins-base" ,gst-plugins-base)
264 ("libmygpo-qt" ,libmygpo-qt)
265 ("libechonest" ,libechonest)
266 ;; TODO: Package libgpod.
270 ("protobuf" ,protobuf)
271 ("pulseaudio" ,pulseaudio)
273 ("qtx11extras" ,qtx11extras)
274 ("qtwebkit" ,qtwebkit)
275 ("sqlite" ,sqlite-with-fts3)
276 ("sparsehash" ,sparsehash)
278 (home-page "http://clementine-player.org")
279 (synopsis "Music player and library organizer")
280 (description "Clementine is a multiplatform music player. It is inspired
281 by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
282 playing your music.")
284 ;; clementine and qtiocompressor are under GPLv3.
286 ;; gmock is under BSD-3.
288 ;; qxt is under CPL1.0.
290 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
292 ;; qocoa is under MIT and CC by-sa for the icons.
293 license:cc-by-sa3.0)))))
302 "https://github.com/" name "/" name "/archive/v"
304 (file-name (string-append name "-" version ".tar.gz"))
307 "0raixgjavkm7hxppzsc5zqbfbh2bhjcmbiplhnsxsmyj8flafyc1"))))
308 (build-system gnu-build-system)
310 `(#:tests? #f ; cmus does not include tests
312 (modify-phases %standard-phases
315 (lambda* (#:key outputs #:allow-other-keys)
316 (let ((out (assoc-ref outputs "out")))
318 ;; It's an idiosyncratic configure script that doesn't
319 ;; understand --prefix=..; it wants prefix=.. instead.
321 (system* "./configure"
322 (string-append "prefix=" out)))))))))
323 ;; TODO: cmus optionally supports the following formats, which haven't yet
324 ;; been added to Guix:
328 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
329 ;; Guix. See <http://sourceforge.net/projects/discid/>
331 `(("pkg-config" ,pkg-config)))
333 `(("alsa-lib" ,alsa-lib)
339 ("libcdio-paranoia" ,libcdio-paranoia)
342 ("libmodplug" ,libmodplug)
343 ("libmpcdec" ,libmpcdec)
344 ("libsamplerate" ,libsamplerate)
345 ("libvorbis" ,libvorbis)
347 ("opusfile" ,opusfile)
348 ("pulseaudio" ,pulseaudio)
349 ("wavpack" ,wavpack)))
350 (home-page "https://cmus.github.io/")
351 (synopsis "Small console music player")
352 (description "Cmus is a small and fast console music player. It supports
353 many input formats and provides a customisable Vi-style user interface.")
354 (license license:gpl2+)))
356 (define-public denemo
362 (uri (string-append "mirror://gnu/denemo/denemo-"
366 "0hggf8c4xcrjcxd5m00r788r7jg7g8ff54w2idfaqpj5j2ix3299"))))
367 (build-system gnu-build-system)
370 (modify-phases %standard-phases
372 ;; Denemo's documentation says to use this command to run its
375 (zero? (system* "make" "-C" "tests" "check"))))
376 (add-before 'build 'set-lilypond
377 ;; This phase sets the default path for lilypond to its current
378 ;; location in the store.
379 (lambda* (#:key inputs #:allow-other-keys)
380 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
382 (substitute* "src/core/prefops.c"
383 (("g_string_new \\(\"lilypond\"\\);")
384 (string-append "g_string_new (\""
388 (add-after 'install 'correct-filename
389 ;; "graft-derivation/shallow" from the (guix grafts) module runs in
390 ;; the C locale, expecting file names to be ASCII encoded. This
391 ;; phase renames a filename with a Unicode character in it to meet
392 ;; the aforementioned condition.
393 (lambda* (#:key outputs #:allow-other-keys)
394 (let* ((out (assoc-ref outputs "out")))
395 (chdir (string-append
397 "/share/denemo/templates/instruments/woodwind"))
398 (rename-file "Clarinet in B♭.denemo"
399 "Clarinet in Bb.denemo"))
402 `(("glib:bin" ,glib "bin") ; for gtester
403 ("pkg-config" ,pkg-config)))
405 `(("alsa-lib" ,alsa-lib)
409 ("fluidsynth" ,fluidsynth)
413 ("gtksourceview" ,gtksourceview)
415 ("intltool" ,intltool)
417 ("libsndfile" ,libsndfile)
420 ("lilypond" ,lilypond)
421 ("portaudio" ,portaudio)
422 ("portmidi" ,portmidi)
423 ("rubberband" ,rubberband)))
424 (synopsis "Graphical music notation, front-end to GNU Lilypond")
426 "GNU Denemo is a music notation editor that provides a convenient
427 interface to the powerful music engraving program Lilypond. Music can be
428 typed in using the computer keyboard, played in using a MIDI keyboard, or
429 even input via a microphone connected to the sound card. The final product
430 is publication-quality music notation that is continuously generated in the
431 background while you work.")
432 (home-page "http://www.denemo.org")
433 (license license:gpl3+)))
435 (define-public hydrogen
442 "https://github.com/hydrogen-music/hydrogen/archive/"
444 (file-name (string-append name "-" version ".tar.gz"))
447 "1dy2jfkdw0nchars4xi4isrz66fqn53a9qk13bqza7lhmsg3s3qy"))))
448 (build-system cmake-build-system)
450 `(#:test-target "tests"))
452 `(("cppunit" ,cppunit)
453 ("pkg-config" ,pkg-config)))
455 `(("alsa-lib" ,alsa-lib)
457 ;; ("ladspa" ,ladspa) ; cannot find during configure
459 ("libarchive" ,libarchive)
460 ("libsndfile" ,libsndfile)
465 (home-page "http://www.hydrogen-music.org")
466 (synopsis "Drum machine")
468 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
469 enable professional yet simple and intuitive pattern-based drum programming.")
470 (license license:gpl2+)))
472 (define-public easytag
478 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
482 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
483 (build-system glib-or-gtk-build-system)
485 `(("desktop-file-utils" ,desktop-file-utils)
487 ("intltool" ,intltool)
489 ("pkg-config" ,pkg-config)
490 ("xmllint" ,libxml2)))
495 ("libid3tag" ,libid3tag)
496 ("libvorbis" ,libvorbis)
497 ("opusfile" ,opusfile)
504 (modify-phases %standard-phases
505 (add-before 'configure 'configure-libid3tag
506 (lambda* (#:key inputs #:allow-other-keys)
507 ;; libid3tag does not provide a .pc file and EasyTAG's configure
508 ;; script healivy relies on pkg-config. Providing a temporary
509 ;; local .pc file is easier than patching the configure script.
510 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
511 (mkdir-p "pkgconfig")
513 "pkgconfig/id3tag.pc"
517 libdir=${prefix}/lib~@
518 includedir=${prefix}/include~@
519 Libs: -L${libdir} -lid3tag -lz~@
520 Cflags: -I${includedir}~%"
522 (setenv "PKG_CONFIG_PATH"
523 (string-append (getenv "PKG_CONFIG_PATH")
524 ":" (getcwd) "/pkgconfig")))))
525 (add-after 'unpack 'patch-makefile
527 (substitute* "Makefile.in"
528 ;; The Makefile generates a test-desktop-file-validate.sh
529 ;; script with /bin/sh hard-coded.
530 (("/bin/sh") (which "sh"))
531 ;; Don't create 'icon-theme.cache'.
532 (("gtk-update-icon-cache") "true")))))))
533 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
534 (synopsis "Simple application for viewing and editing tags in audio files")
536 "EasyTAG is an application for viewing and editing tags in audio files.
537 It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
538 MusePack, Monkey's Audio, and WavPack files.")
539 (license license:gpl2+)))
541 (define-public extempore
548 "https://github.com/digego/extempore/archive/"
552 "1wap1mvsicrhlazikf7l8zxg37fir8bmnh9rin28m1rix730vcch"))
553 (file-name (string-append name "-" version ".tar.gz"))))
554 (build-system cmake-build-system)
556 `(;; The default target also includes ahead-of-time compilation of the
557 ;; standard libraries. However, during the "install" phase this would
558 ;; happen *again* for unknown reasons. Hence we only build the
559 ;; extempore executable during the build phase.
560 #:make-flags '("extempore")
561 #:configure-flags '("-DJACK=ON"
562 ;; We want to distribute.
564 ;; Don't download any dependencies.
566 #:modules ((ice-9 match)
567 (guix build cmake-build-system)
570 (modify-phases %standard-phases
571 (add-after 'unpack 'patch-directories
572 (lambda* (#:key outputs #:allow-other-keys)
573 ;; Rewrite default path to runtime directory
574 (substitute* "src/Extempore.cpp"
575 (("runtimedir \\+= \"runtime\"")
576 (string-append "runtimedir = \""
577 (assoc-ref outputs "out")
578 "/lib/extempore/runtime\"")))
579 (substitute* "extras/extempore.el"
580 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
581 (string-append "(runtime-directory \""
582 (assoc-ref outputs "out")
583 "/lib/extempore/runtime"
586 (add-after 'unpack 'link-with-additional-libs
588 ;; The executable must be linked with libffi and zlib.
589 (substitute* "CMakeLists.txt"
590 (("add_dependencies\\(aot_extended extended_deps\\)") "")
591 (("target_link_libraries\\(extempore PRIVATE dl" line)
592 (string-append line " ffi z")))
594 ;; FIXME: AOT compilation of the nanovg bindings fail with the error:
595 ;; "Compiler Error could not bind _nvgLinearGradient"
596 (add-after 'unpack 'disable-nanovg
598 (substitute* "CMakeLists.txt"
599 (("aotcompile_lib\\(libs/external/nanovg.xtm.*") ""))
601 ;; FIXME: All examples that are used as tests segfault for some
603 (add-after 'unpack 'disable-broken-tests
605 (substitute* "CMakeLists.txt"
606 (("extempore_add_example_as_test\\(.*") ""))
608 (add-after 'unpack 'hardcode-external-lib-paths
609 (lambda* (#:key inputs #:allow-other-keys)
610 (use-modules (ice-9 match))
613 ((file-name lib pkg-name)
614 (substitute* (string-append "libs/external/" file-name ".xtm")
615 ((lib) (string-append (assoc-ref inputs pkg-name)
617 '(("assimp" "libassimp.so" "assimp")
618 ("portmidi" "libportmidi.so" "portmidi")
619 ("sndfile" "libsndfile.so" "libsndfile")
620 ("fft" "libkiss_fft.so" "kiss-fft")
621 ("stb_image" "libstb_image.so" "stb-image")
622 ("nanovg" "libnanovg.so" "nanovg")
623 ("glext" "libGL.so" "mesa")
624 ("glfw3" "libglfw.so" "glfw")
625 ("gl/glcore-directbind" "libGL.so" "mesa")
626 ("gl/glcompat-directbind" "libGL.so" "mesa")))
628 (add-after 'unpack 'use-own-llvm
629 (lambda* (#:key inputs #:allow-other-keys)
630 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
631 ;; Our LLVM builds shared libraries, so Extempore should use
633 (substitute* "CMakeLists.txt"
634 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
636 (add-after 'unpack 'fix-aot-compilation
637 (lambda* (#:key outputs #:allow-other-keys)
638 (substitute* "CMakeLists.txt"
639 ;; EXT_SHARE_DIR does not exist before installation, so the
640 ;; working directory should be the source directory instead.
641 (("WORKING_DIRECTORY \\$\\{EXT_SHARE_DIR\\}")
642 "WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}")
643 ;; Extempore needs to be told where the runtime is to be found.
644 ;; While we're at it we disable automatic tuning for a specific
645 ;; CPU to make binary substitution possible.
646 (("COMMAND extempore" prefix)
647 (string-append prefix " --sharedir " (getcwd)
648 " --mcpu=generic --attr=none")))
651 `(("llvm" ,llvm-for-extempore)
654 ("libsndfile" ,libsndfile)
657 ("stb-image" ,stb-image-for-extempore)
658 ("kiss-fft" ,kiss-fft-for-extempore)
659 ("nanovg" ,nanovg-for-extempore)
660 ("portmidi" ,portmidi-for-extempore)
662 ("alsa-lib" ,alsa-lib)
663 ("portaudio" ,portaudio)
669 ("emacs" ,emacs-no-x)))
670 ;; Extempore refuses to build on architectures other than x86_64
671 (supported-systems '("x86_64-linux"))
672 (home-page "http://digego.github.io/extempore/")
673 (synopsis "Programming environment for live coding of multimedia")
675 "Extempore is a programming language and runtime environment designed
676 with live programming in mind. It supports interactive programming in a REPL
677 style, compiling and binding code just-in-time. Although Extempore has its
678 roots in 'live coding' of audiovisual media art, it is suitable for any task
679 domain where dynamic run-time modifiability and good numerical performance are
680 required. Extempore also has strong timing and concurrency semantics, which
681 are helpful when working in problem spaces where timing is important (such as
683 (license license:bsd-2)))
691 (uri (string-append "http://das.nasophon.de/download/klick-"
695 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
696 (build-system scons-build-system)
698 `(#:scons-flags (list (string-append "PREFIX=" %output))
699 #:tests? #f)) ;no "check" target
703 ("libsndfile" ,libsndfile)
704 ("libsamplerate" ,libsamplerate)
706 ("rubberband" ,rubberband)))
708 `(("pkg-config" ,pkg-config)))
709 (home-page "http://das.nasophon.de/klick/")
710 (synopsis "Metronome for JACK")
712 "klick is an advanced command-line based metronome for JACK. It allows
713 you to define complex tempo maps for entire songs or performances.")
714 (license license:gpl2+)))
716 (define-public gtklick
722 (uri (string-append "http://das.nasophon.de/download/gtklick-"
726 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
727 (build-system python-build-system)
729 `(#:tests? #f ; no tests
732 (modify-phases %standard-phases
733 (add-before 'build 'add-sitedirs
734 ;; .pth files are not automatically interpreted unless the
735 ;; directories containing them are added as "sites". The directories
736 ;; are then added to those in the PYTHONPATH. This is required for
737 ;; the operation of pygtk.
739 (substitute* "gtklick/gtklick.py"
741 "import pygtk, site, sys
742 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
743 (add-after 'unpack 'inject-store-path-to-klick
744 (lambda* (#:key inputs #:allow-other-keys)
745 (substitute* "gtklick/klick_backend.py"
746 (("KLICK_PATH = 'klick'")
747 (string-append "KLICK_PATH = '"
748 (assoc-ref inputs "klick")
753 ("python2-pyliblo" ,python2-pyliblo)
754 ("python2-pygtk" ,python2-pygtk)))
756 `(("gettext" ,gettext-minimal)))
757 (home-page "http://das.nasophon.de/gtklick/")
758 (synopsis "Simple metronome with an easy-to-use graphical interface")
760 "Gtklick is a simple metronome with an easy-to-use graphical user
761 interface. It is implemented as a frontend to @code{klick}.")
762 (license license:gpl2+)))
764 (define-public libgme
770 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
771 "downloads/game-music-emu-" version
775 "08fk7zddpn7v93d0fa7fcypx7hvgwx9b5psj9l6m8b87k2hbw4fw"))))
776 (build-system cmake-build-system)
778 '(#:tests? #f)) ; no check target
779 (home-page "https://bitbucket.org/mpyne/game-music-emu")
780 (synopsis "Video game music file playback library")
782 "Game-music-emu is a collection of video game music file emulators that
783 support the following formats and systems:
786 ZX Spectrum/Asmtrad CPC
790 Sega Genesis/Mega Drive
792 NEC TurboGrafx-16/PC Engine
794 MSX Home Computer/other Z80 systems (doesn't support FM sound)
796 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
798 Atari systems using POKEY sound chip
800 Super Nintendo/Super Famicom
802 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
804 (license (list license:lgpl2.1+
805 ;; demo and player directories are under the Expat license
808 (define-public lilypond
815 "http://download.linuxaudio.org/lilypond/sources/v"
816 (version-major+minor version) "/"
817 name "-" version ".tar.gz"))
820 "0lql4q946gna2pl1g409mmmsvn2qvnq2z5cihrkfhk7plcqdny9n"))))
821 (build-system gnu-build-system)
823 `(#:tests? #f ; out-test/collated-files.html fails
825 #:make-flags '("conf=www") ;to generate images for info manuals
827 (list "CONFIGURATION=www"
828 (string-append "--with-texgyre-dir="
829 (assoc-ref %build-inputs "font-tex-gyre")
830 "/share/fonts/opentype/"))
832 (modify-phases %standard-phases
833 (add-after 'unpack 'use-texlive-union
835 ;; FIXME: fonts are not found and have to be generated in HOME.
836 (setenv "HOME" "/tmp")
837 ;; The test for the "lh" package fails, even though it is among
839 (substitute* "configure"
840 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
842 (add-after 'unpack 'fix-path-references
844 (substitute* "scm/backend-library.scm"
845 (("\\(search-executable '\\(\"gs\"\\)\\)")
846 (string-append "\"" (which "gs") "\""))
848 (string-append "\"" (which "sh") "\"")))
850 (add-before 'configure 'prepare-configuration
852 (substitute* "configure"
853 (("SHELL=/bin/sh") "SHELL=sh")
854 ;; When checking the fontforge version do not consider the
855 ;; version string that's part of the directory.
856 (("head -n") "tail -n")
857 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
858 (("20110222") "19700101"))
860 (setenv "conf" "www")
862 (add-after 'install 'install-info
864 (zero? (system* "make"
865 "-j" (number->string (parallel-job-count))
866 "conf=www" "install-info")))))))
868 `(("guile" ,guile-1.8)
869 ("font-dejavu" ,font-dejavu)
870 ("font-tex-gyre" ,font-tex-gyre)
871 ("fontconfig" ,fontconfig)
872 ("freetype" ,freetype)
873 ("ghostscript" ,ghostscript)
875 ("python" ,python-2)))
880 ("fontforge" ,fontforge)
882 ("gettext" ,gettext-minimal)
883 ("imagemagick" ,imagemagick)
884 ("netpbm" ,netpbm) ;for pngtopnm
885 ("texlive" ,(texlive-union (list texlive-metapost
888 texlive-latex-cyrillic)))
890 ("texi2html" ,texi2html)
892 ("pkg-config" ,pkg-config)
894 (home-page "http://www.lilypond.org/")
895 (synopsis "Music typesetting")
897 "GNU LilyPond is a music typesetter, which produces high-quality sheet
898 music. Music is input in a text file containing control sequences which are
899 interpreted by LilyPond to produce the final document. It is extendable with
901 (license license:gpl3+)
903 ;; On armhf and mips64el, building the documentation sometimes leads to
904 ;; more than an hour of silence, so double the max silent time.
905 (properties `((max-silent-time . 7200)))))
907 (define-public non-sequencer
908 ;; The latest tagged release is three years old and uses a custom build
909 ;; system, so we take the last commit.
910 (let ((commit "10c31e57291b6e42be53371567a722b62b32d220")
913 (name "non-sequencer")
914 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
918 (url "git://git.tuxfamily.org/gitroot/non/non.git")
922 "080rha4ffp7qycyg1mqcf4vj0s7z8qfvz6bxm0w29xgg2kkmb3fx"))
923 (file-name (string-append name "-" version "-checkout"))))
924 (build-system waf-build-system)
926 `(#:tests? #f ;no "check" target
928 (list "--project=sequencer"
929 ;; Disable the use of SSE unless on x86_64.
930 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
935 (modify-phases %standard-phases
937 'configure 'set-flags
939 ;; Compile with C++11, required by libsigc++.
940 (setenv "CXXFLAGS" "-std=c++11")
945 ("libsigc++" ,libsigc++)
949 `(("pkg-config" ,pkg-config)))
950 (home-page "http://non.tuxfamily.org/wiki/Non%20Sequencer")
951 (synopsis "Pattern-based MIDI sequencer")
953 "The Non Sequencer is a powerful, lightweight, real-time,
954 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
955 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
956 Sequencer happens on-line, in real-time. Music can be composed live, while the
957 transport is rolling.")
958 (license license:gpl2+))))
960 (define-public non-session-manager
961 (package (inherit non-sequencer)
962 (name "non-session-manager")
964 (substitute-keyword-arguments (package-arguments non-sequencer)
965 ((#:configure-flags flags)
966 `(cons "--project=session-manager"
967 (delete "--project=sequencer" ,flags)))))
973 `(("pkg-config" ,pkg-config)))
974 (home-page "http://non.tuxfamily.org/nsm/")
975 (synopsis "Audio session management")
977 "The Non Session Manager is an API and an implementation for audio
978 session management. NSM clients use a well-specified OSC protocol to
979 communicate with the session management daemon.")
980 (license license:gpl2+)))
982 (define-public non-mixer
983 (package (inherit non-sequencer)
986 (substitute-keyword-arguments (package-arguments non-sequencer)
987 ((#:configure-flags flags)
988 `(cons "--project=mixer"
989 (delete "--project=sequencer" ,flags)))))
997 `(("pkg-config" ,pkg-config)))
998 (home-page "http://non.tuxfamily.org/wiki/Non%20Mixer")
999 (synopsis "Modular digital audio mixer")
1001 "The Non Mixer is a powerful, reliable and fast modular digital audio
1002 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1003 toolkit for a fast and lightweight user interface. Non Mixer can be used
1004 alone or in concert with Non Timeline and Non Sequencer to form a complete
1006 (license license:gpl2+)))
1008 (define-public non-timeline
1009 (package (inherit non-sequencer)
1010 (name "non-timeline")
1012 (substitute-keyword-arguments (package-arguments non-sequencer)
1013 ((#:configure-flags flags)
1014 `(cons "--project=timeline"
1015 (delete "--project=sequencer" ,flags)))))
1019 ("libsndfile" ,libsndfile)
1022 `(("pkg-config" ,pkg-config)))
1023 (home-page "http://non.tuxfamily.org/wiki/Non%20Timeline")
1024 (synopsis "Modular digital audio timeline arranger")
1026 "The Non Timeline is a powerful, reliable and fast modular digital audio
1027 timeline arranger. It utilizes JACK for inter-application audio I/O and the
1028 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1029 be used alone or in concert with Non Mixer and Non Sequencer to form a
1031 (license license:gpl2+)))
1033 (define-public solfege
1040 "mirror://gnu/solfege/solfege-"
1044 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1045 (build-system gnu-build-system)
1047 `(#:tests? #f ; xmllint attempts to download DTD
1048 #:test-target "test"
1050 (modify-phases %standard-phases
1051 (add-after 'unpack 'fix-configuration
1052 (lambda* (#:key inputs #:allow-other-keys)
1053 (substitute* "default.config"
1054 (("/usr/bin/aplay") "aplay")
1055 (("/usr/bin/timidity") "timidity")
1056 (("/usr/bin/mpg123") "mpg123")
1057 (("/usr/bin/ogg123") "ogg123"))
1059 (add-before 'build 'patch-python-shebangs
1061 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1063 (substitute* '("solfege/parsetree.py"
1064 "solfege/presetup.py")
1065 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1067 (add-before 'build 'add-sitedirs
1068 ;; .pth files are not automatically interpreted unless the
1069 ;; directories containing them are added as "sites". The directories
1070 ;; are then added to those in the PYTHONPATH. This is required for
1071 ;; the operation of pygtk and pygobject.
1073 (substitute* "run-solfege.py"
1076 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1078 (add-before 'build 'adjust-config-file-prefix
1079 (lambda* (#:key outputs #:allow-other-keys)
1080 (substitute* "run-solfege.py"
1081 (("prefix = os.path.*$")
1082 (string-append "prefix = " (assoc-ref outputs "out"))))
1084 (add-after 'install 'wrap-program
1085 (lambda* (#:key inputs outputs #:allow-other-keys)
1086 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1087 (let* ((out (assoc-ref outputs "out"))
1088 (path (getenv "PYTHONPATH")))
1089 (wrap-program (string-append out "/bin/solfege")
1090 `("PYTHONPATH" ":" prefix (,path))))
1093 `(("python" ,python-2)
1094 ("pygtk" ,python2-pygtk)
1095 ("gettext" ,gettext-minimal)
1097 ("lilypond" ,lilypond)))
1099 `(("pkg-config" ,pkg-config)
1100 ("txt2man" ,txt2man)
1101 ("libxml2" ,libxml2) ; for tests
1102 ("ghostscript" ,ghostscript)
1103 ("texinfo" ,texinfo)))
1104 (home-page "https://www.gnu.org/software/solfege/")
1105 (synopsis "Ear training")
1107 "GNU Solfege is a program for practicing musical ear-training. With it,
1108 you can practice your recognition of various musical intervals and chords. It
1109 features a statistics overview so you can monitor your progress across several
1110 sessions. Solfege is also designed to be extensible so you can easily write
1112 (license license:gpl3+)))
1114 (define-public powertabeditor
1116 (name "powertabeditor")
1117 (version "2.0.0-alpha10")
1121 "https://github.com/powertab/powertabeditor/archive/"
1123 (file-name (string-append name "-" version ".tar.gz"))
1126 "1fr14ql0yhlqvh6y08yaanszm2nvca5i50rqym396kfvga3ky18x"))
1127 (modules '((guix build utils)))
1130 ;; Remove bundled sources for external libraries
1131 (delete-file-recursively "external")
1132 ;; Use only system libraries
1133 (substitute* "CMakeLists.txt"
1134 (("include\\( PTE_ThirdParty \\)")
1136 include(third_party/Qt)
1137 include(third_party/boost)
1138 add_library( Catch INTERFACE IMPORTED )
1139 add_library( rapidjson INTERFACE IMPORTED )"))
1141 (build-system cmake-build-system)
1143 `(#:modules ((guix build cmake-build-system)
1147 ;; CMake appears to lose the RUNPATH for some reason, so it has to be
1148 ;; explicitly set with CMAKE_INSTALL_RPATH.
1149 (list "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
1150 (string-append "-DCMAKE_INSTALL_RPATH="
1151 (string-join (map (match-lambda
1153 (string-append directory "/lib")))
1154 %build-inputs) ";"))
1155 "-DPTE_DATA_DIR=share/powertabeditor")
1157 (modify-phases %standard-phases
1160 (zero? (system* "bin/pte_tests"
1161 ;; FIXME: these tests fail
1162 "exclude:Actions/EditStaff"
1163 "exclude:Formats/PowerTabOldImport/MergeMultiBarRests"
1164 "exclude:Score/ViewFilter/FilterRule"
1165 "exclude:Score/ViewFilter/ViewFilter"
1166 "exclude:Formats/PowerTabOldImport/Directions"
1168 ;; FIXME: This bug has been fixed upstream, but no release has been
1169 ;; made yet. See https://github.com/powertab/powertabeditor/issues/257
1170 (add-after 'unpack 'fix-boost-bug
1172 (substitute* "source/score/voiceutils.cpp"
1173 (("boost::rational<int> duration\\(4, pos.getDurationType\\(\\)\\);")
1174 "boost::rational<int> duration(4, static_cast<int>(pos.getDurationType()));"))
1176 (add-before 'configure 'remove-third-party-libs
1177 (lambda* (#:key inputs #:allow-other-keys)
1178 ;; Link with required static libraries, because we're not
1179 ;; using the bundled version of withershins.
1180 ;; Also add pthread for fixing a linker error.
1181 (substitute* "source/build/CMakeLists.txt"
1182 (("withershins" line)
1183 (string-append line "\n"
1184 (assoc-ref inputs "binutils")
1186 (assoc-ref inputs "libiberty")
1187 "/lib/libiberty.a\n"
1194 ("alsa-lib" ,alsa-lib)
1196 ("withershins" ,withershins)
1197 ("libiberty" ,libiberty) ;for withershins
1198 ("binutils" ,binutils) ;for -lbfd and -liberty (for withershins)
1199 ("timidity" ,timidity++)
1200 ("pugixml" ,pugixml)
1202 ("rapidjson" ,rapidjson)
1205 `(("catch" ,catch-framework)
1206 ("pkg-config" ,pkg-config)))
1207 (home-page "http://powertabs.net")
1208 (synopsis "Guitar tablature editor")
1210 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1211 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1212 (license license:gpl3+)))
1214 (define-public jalv-select
1216 (name "jalv-select")
1220 (uri (string-append "https://github.com/brummer10/jalv_select/"
1221 "archive/V" version ".tar.gz"))
1224 "0zraagwr681b5s3qifxf399c7q93jz23c8sr42gmff9zqnvxc75q"))))
1225 (build-system gnu-build-system)
1228 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1230 (modify-phases %standard-phases
1232 (add-after 'unpack 'ignore-PATH
1233 (lambda* (#:key inputs #:allow-other-keys)
1234 (substitute* "jalv.select.cpp"
1235 (("echo \\$PATH.*tr ':'.*xargs ls")
1236 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1237 (substitute* "jalv.select.h"
1238 (("gtkmm.h") "gtkmm-2.4/gtkmm.h"))
1244 ("gtkmm" ,gtkmm-2)))
1246 `(("pkg-config" ,pkg-config)))
1247 (home-page "https://github.com/brummer10/jalv_select")
1248 (synopsis "GUI to select LV2 plugins and run them with jalv")
1250 "The jalv.select package provides a graphical user interface allowing
1251 users to select LV2 plugins and run them with jalv.")
1252 (license license:public-domain)))
1254 (define-public synthv1
1261 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1262 "/synthv1-" version ".tar.gz"))
1265 "141ah1gnv5r2k846v5ay15q9q90h01p74240a56vlxqh20z43g92"))))
1266 (build-system gnu-build-system)
1268 `(#:tests? #f ; There are no tests.
1270 '("CXXFLAGS=-std=gnu++11")))
1274 ("alsa-lib" ,alsa-lib)
1275 ("non-session-manager" ,non-session-manager)
1278 ("qttools" ,qttools)))
1280 `(("pkg-config" ,pkg-config)))
1281 (home-page "http://synthv1.sourceforge.net")
1282 (synopsis "Polyphonic subtractive synthesizer")
1284 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1285 oscillators and stereo effects.")
1286 (license license:gpl2+)))
1288 (define-public drumkv1
1295 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
1296 "/drumkv1-" version ".tar.gz"))
1299 "0fwxrfyp15a4m77mzz4mwj36mhdrj646whlrkvcys33p2w75f8cq"))))
1300 (build-system gnu-build-system)
1302 `(#:tests? #f ; There are no tests.
1304 '("CXXFLAGS=-std=gnu++11")))
1308 ("libsndfile" ,libsndfile)
1309 ("alsa-lib" ,alsa-lib)
1310 ("non-session-manager" ,non-session-manager)
1312 ("qtbase" ,qtbase)))
1314 `(("pkg-config" ,pkg-config)
1315 ("qttools" ,qttools)))
1316 (home-page "http://drumkv1.sourceforge.net")
1317 (synopsis "Drum-kit sampler synthesizer with stereo effects")
1319 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
1321 (license license:gpl2+)))
1323 (define-public samplv1
1330 (string-append "mirror://sourceforge/samplv1/samplv1/" version
1331 "/samplv1-" version ".tar.gz"))
1334 "035bq7yfg1yirsqk63zwkzjw9dxl52lrzq9y0w7nga0vb11xdfij"))))
1335 (build-system gnu-build-system)
1337 `(#:tests? #f ; There are no tests.
1339 '("CXXFLAGS=-std=gnu++11")))
1343 ("libsndfile" ,libsndfile)
1344 ("alsa-lib" ,alsa-lib)
1345 ("non-session-manager" ,non-session-manager)
1347 ("qtbase" ,qtbase)))
1349 `(("pkg-config" ,pkg-config)
1350 ("qttools" ,qttools)))
1351 (home-page "http://samplv1.sourceforge.net")
1352 (synopsis "Polyphonic sampler synthesizer with stereo effects")
1354 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
1356 (license license:gpl2+)))
1358 (define-public padthv1
1365 (string-append "mirror://sourceforge/padthv1/padthv1/" version
1366 "/padthv1-" version ".tar.gz"))
1369 "1mikab2f9n5q1sfgnp3sbm1rf3v57k4085lsgh0a5gzga2h4hwxq"))))
1370 (build-system gnu-build-system)
1372 `(#:tests? #f ; There are no tests.
1374 '("CXXFLAGS=-std=gnu++11")))
1378 ("alsa-lib" ,alsa-lib)
1379 ("non-session-manager" ,non-session-manager)
1382 ("qtbase" ,qtbase)))
1384 `(("pkg-config" ,pkg-config)
1385 ("qttools" ,qttools)))
1386 (home-page "http://padthv1.sourceforge.net")
1387 (synopsis "Polyphonic additive synthesizer")
1389 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
1390 effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
1391 special variant of additive synthesis.")
1392 (license license:gpl2+)))
1394 (define-public amsynth
1401 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
1402 "download/release-" version
1403 "/amsynth-" version ".tar.bz2"))
1406 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
1407 (build-system gnu-build-system)
1410 (modify-phases %standard-phases
1411 (add-before 'configure 'set-flags
1413 ;; Compile with C++11, required by gtkmm.
1414 (setenv "CXXFLAGS" "-std=c++11")
1417 `(("alsa-lib" ,alsa-lib)
1421 ("libsndfile" ,libsndfile)
1423 ("gtkmm" ,gtkmm-2)))
1425 `(("pkg-config" ,pkg-config)
1426 ("intltool" ,intltool)))
1427 (home-page "http://amsynth.github.io")
1428 (synopsis "Analog modeling synthesizer")
1430 "amsynth is an easy-to-use software synthesizer with a classic
1431 subtractive synthesizer topology. Its features include: dual
1432 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
1433 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
1434 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
1435 which can modulate the oscillators, filter, and amplitude; distortion and
1437 (license license:gpl2+)))
1439 (define-public setbfree
1446 (string-append "https://github.com/pantherb/setBfree/archive/v"
1448 (file-name (string-append name "-" version ".tar.gz"))
1451 "0qfccny0hh9lq54272mzmxvfz2jmzcgigjkjwn6v9h6n00gi5bw4"))))
1452 (build-system gnu-build-system)
1454 `(#:tests? #f ; no "check" target
1456 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1457 (string-append "FONTFILE="
1458 (assoc-ref %build-inputs "font-bitstream-vera")
1459 "/share/fonts/truetype/VeraBd.ttf")
1460 ;; Disable unsupported optimization flags on non-x86
1461 ,@(let ((system (or (%current-target-system)
1462 (%current-system))))
1463 (if (or (string-prefix? "x86_64" system)
1464 (string-prefix? "i686" system))
1466 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
1468 (modify-phases %standard-phases
1469 (add-before 'build 'set-CC-variable
1470 (lambda _ (setenv "CC" "gcc") #t))
1471 (delete 'configure))))
1475 ("zita-convolver" ,zita-convolver)
1478 ("font-bitstream-vera" ,font-bitstream-vera)))
1480 `(("help2man" ,help2man)
1481 ("pkg-config" ,pkg-config)))
1482 (home-page "http://setbfree.org")
1483 (synopsis "Tonewheel organ")
1485 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
1486 the sound and properties of the electromechanical organs and sound
1487 modification devices that brought world-wide fame to the names and products of
1488 Laurens Hammond and Don Leslie.")
1489 (license license:gpl2+)))
1491 (define-public beast
1497 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
1501 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
1502 (build-system gnu-build-system)
1504 '(#:parallel-build? #f)) ; Race conditions cause build failures
1506 `(("rapicorn" ,rapicorn)
1507 ("guile" ,guile-1.8)
1508 ("python" ,python-2)
1509 ("libgnomecanvas" ,libgnomecanvas)
1513 ("alsa-lib" ,alsa-lib)
1514 ("libvorbis" ,libvorbis)
1515 ("gettext" ,gettext-minimal)))
1517 `(("pkg-config" ,pkg-config)
1518 ("glib:bin" ,glib "bin")
1519 ("cython" ,python2-cython)
1521 ("perl-xml-parser" ,perl-xml-parser)))
1522 (home-page "https://testbit.eu/wiki/Beast_Home")
1523 (synopsis "Music composition and modular synthesis environment")
1525 "Beast is a music composition and modular synthesis application. It
1526 supports a wide range of standards in the field, such as MIDI, various audio
1527 file formats and LADSPA modules. It allows for multitrack editing, real-time
1528 synthesis, 32bit audio rendering, precise timing down to sample granularity,
1529 on-demand and partial loading of wave files, on the fly decoding, stereo
1530 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
1531 (license license:gpl3+)))
1533 (define-public bristol
1539 (uri (string-append "mirror://sourceforge/bristol/bristol/"
1540 (version-major+minor version)
1541 "/bristol-" version ".tar.gz"))
1544 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
1545 (build-system gnu-build-system)
1548 (modify-phases %standard-phases
1549 (add-after 'unpack 'remove-sse-flags
1550 (lambda* (#:key system #:allow-other-keys)
1551 (when (not (or (string-prefix? "x86_64" system)
1552 (string-prefix? "i686" system)))
1553 (substitute* "bristol/Makefile.in"
1554 (("-msse -mfpmath=sse") "")))
1556 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
1557 ;; bristol actually doesn't use it.
1558 (add-after 'unpack 'do-not-use-alsa-iatomic
1560 (substitute* "libbristolaudio/audioEngineJack.c"
1561 (("#include <alsa/iatomic.h>") ""))
1563 ;; We know that Bristol has been linked with JACK and we don't have
1564 ;; ldd, so we can just skip this check.
1565 (add-after 'unpack 'do-not-grep-for-jack
1567 (substitute* "bin/startBristol.in"
1568 (("ldd `which bristol` | grep jack") "echo guix"))
1571 `(("alsa-lib" ,alsa-lib)
1574 ("libx11" ,libx11)))
1576 `(("pkg-config" ,pkg-config)))
1577 (home-page "http://bristol.sourceforge.net/")
1578 (synopsis "Synthesizer emulator")
1580 "Bristol is an emulation package for a number of different 'classic'
1581 synthesizers including additive and subtractive and a few organs. The
1582 application consists of the engine, which is called bristol, and its own GUI
1583 library called brighton that represents all the emulations. There are
1584 currently more than twenty different emulations; each does sound different
1585 although the author maintains that the quality and accuracy of each emulation
1587 (license license:gpl3+)))
1589 (define-public tuxguitar
1596 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
1597 version "/tuxguitar-" version "-src.tar.gz"))
1600 "041275vwfr82kass7wiq9g2y82w9qrbzfinzcvfij2f2q45njwmc"))
1601 (modules '((guix build utils)))
1604 ;; Delete pre-built classes
1605 (delete-file-recursively "TuxGuitar-android-gdrive/bin")
1606 (delete-file-recursively "TuxGuitar-android-gdrive-gdaa/bin")
1608 (build-system ant-build-system)
1610 `(#:build-target "build"
1612 #:tests? #f ; no tests
1614 (modify-phases %standard-phases
1615 (add-after 'unpack 'enter-dir
1616 (lambda _ (chdir "TuxGuitar-lib") #t))
1617 (add-after 'build 'build-libraries
1618 (lambda* (#:key inputs outputs #:allow-other-keys)
1619 (let* ((initial-classpath (getenv "CLASSPATH"))
1620 (build-dir (lambda (dir)
1623 (string-join (cons initial-classpath
1624 (find-files (getcwd) "\\.jar$"))
1627 (if (file-exists? "build.xml")
1628 ((assoc-ref %standard-phases 'build)
1629 #:build-target "build")
1631 ;; Generate default build.xml
1632 ((@@ (guix build ant-build-system) default-build.xml)
1633 (string-append (string-downcase dir) ".jar")
1634 (string-append (assoc-ref outputs "out")
1636 ((assoc-ref %standard-phases 'build)))))))
1637 (map build-dir '("TuxGuitar-editor-utils"
1638 "TuxGuitar-ui-toolkit"
1639 "TuxGuitar-ui-toolkit-swt"
1640 "TuxGuitar-awt-graphics")))))
1641 (add-after 'build-libraries 'build-application
1643 (chdir "../TuxGuitar")
1644 ((assoc-ref %standard-phases 'build)
1645 #:build-target "build")))
1647 (lambda* (#:key inputs outputs #:allow-other-keys)
1648 (let* ((out (assoc-ref outputs "out"))
1649 (bin (string-append out "/bin"))
1650 (share (string-append out "/share"))
1651 (lib (string-append share "/java"))
1652 (swt (assoc-ref inputs "java-swt")))
1655 (for-each (lambda (file)
1656 (install-file file lib))
1657 (find-files ".." "\\.jar$"))
1659 ;; install all resources
1660 (copy-recursively "share" share)
1663 (call-with-output-file (string-append bin "/tuxguitar")
1665 (let ((classpath (string-join (append (find-files lib "\\.jar$")
1666 (find-files swt "\\.jar$"))
1670 (string-append "#!/bin/sh\n"
1673 " -Dtuxguitar.home.path=" out
1674 " -Dtuxguitar.share.path=" out "/share"
1675 " -Dswt.library.path=" swt "/lib"
1676 " org.herac.tuxguitar.app.TGMainSingleton"
1677 " \"$1\" \"$2\"")))))
1678 (chmod (string-append bin "/tuxguitar") #o555)
1681 `(("java-swt" ,java-swt)))
1682 (home-page "http://tuxguitar.pw")
1683 (synopsis "Multitrack tablature editor and player")
1685 "TuxGuitar is a guitar tablature editor with player support through midi.
1686 It can display scores and multitrack tabs. TuxGuitar provides various
1687 additional features, including autoscrolling while playing, note duration
1688 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
1689 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
1691 (license license:lgpl2.1+)))
1700 (string-append "http://msp.ucsd.edu/Software/pd-"
1701 version ".src.tar.gz"))
1704 "0k5s949kqd7yw97h3m8z81bjz32bis9m4ih8df1z0ymipnafca67"))))
1705 (build-system gnu-build-system)
1707 `(#:tests? #f ; no "check" target
1709 (modify-phases %standard-phases
1710 (add-before 'configure 'fix-wish-path
1712 (substitute* "src/s_inter.c"
1713 ((" wish ") (string-append " " (which "wish8.6") " ")))
1714 (substitute* "tcl/pd-gui.tcl"
1715 (("exec wish ") (string-append "exec " (which "wish8.6") " ")))
1717 (add-after 'unpack 'autoconf
1718 (lambda _ (zero? (system* "bash" "./autogen.sh")))))))
1720 `(("autoconf" ,autoconf)
1721 ("automake" ,automake)
1722 ("libtool" ,libtool)
1723 ("gettext" ,gettext-minimal)
1724 ("pkg-config" ,pkg-config)))
1727 ("alsa-lib" ,alsa-lib)
1729 (home-page "http://puredata.info")
1730 (synopsis "Visual programming language for artistic performances")
1732 "Pure Data (aka Pd) is a visual programming language. Pd enables
1733 musicians, visual artists, performers, researchers, and developers to create
1734 software graphically, without writing lines of code. Pd is used to process
1735 and generate sound, video, 2D/3D graphics, and interface sensors, input
1736 devices, and MIDI. Pd can easily work over local and remote networks to
1737 integrate wearable technology, motor systems, lighting rigs, and other
1738 equipment. Pd is suitable for learning basic multimedia processing and visual
1739 programming methods as well as for realizing complex systems for large-scale
1741 (license license:bsd-3)))
1743 (define-public portmidi
1749 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
1750 version "/portmidi-src-" version ".zip"))
1753 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
1754 (patches (list (search-patch "portmidi-modular-build.patch")))))
1755 (build-system cmake-build-system)
1757 `(#:tests? #f ; tests cannot be linked
1759 (list "-DPORTMIDI_ENABLE_JAVA=Off"
1760 "-DCMAKE_BUILD_TYPE=Release" ; needed to have PMALSA set
1761 "-DPORTMIDI_ENABLE_TEST=Off"))) ; tests fail linking
1763 `(("alsa-lib" ,alsa-lib)))
1765 `(("unzip" ,unzip)))
1766 (home-page "http://portmedia.sourceforge.net/portmidi/")
1767 (synopsis "Library for MIDI I/O")
1769 "PortMidi is a library supporting real-time input and output of MIDI data
1770 using a system-independent interface.")
1771 (license license:expat)))
1773 (define-public portmidi-for-extempore
1774 (package (inherit portmidi)
1775 (name "portmidi-for-extempore")
1779 (uri (string-append "https://github.com/extemporelang/portmidi/"
1780 "archive/" version ".tar.gz"))
1781 (file-name (string-append name "-" version ".tar.gz"))
1784 "0gjikwciyr8kk4y3qiv1pcq58xpgw38ql1m2gs6g0qc1s8sx4235"))))
1785 (build-system cmake-build-system)
1786 (arguments `(#:tests? #f)) ; no tests
1788 ;; Extempore refuses to build on architectures other than x86_64
1789 (supported-systems '("x86_64-linux"))
1790 (home-page "https://github.com/extemporelang/portmidi/")))
1792 (define-public python-pyportmidi
1794 (name "python-pyportmidi")
1795 (version (package-version portmidi))
1796 (source (package-source portmidi))
1797 (build-system python-build-system)
1799 `(#:tests? #f ; no tests included
1801 (modify-phases %standard-phases
1802 (add-after 'unpack 'enter-dir
1803 (lambda _ (chdir "pm_python") #t))
1804 (add-after 'enter-dir 'fix-setup.py
1806 (substitute* "setup.py"
1807 ;; Use Python 3 syntax
1808 (("print (\".*\")" _ text)
1809 (string-append "print(" text ")\n"))
1810 ;; TODO.txt and CHANGES.txt don't exist
1811 (("CHANGES =.*") "CHANGES = \"\"\n")
1812 (("TODO =.*") "TODO = \"\"\n"))
1815 `(("portmidi" ,portmidi)
1816 ("alsa-lib" ,alsa-lib)))
1818 `(("python-cython" ,python-cython)
1820 (home-page "http://portmedia.sourceforge.net/portmidi/")
1821 (synopsis "Python bindings to PortMidi")
1823 "This package provides Python bindings to the PortMidi library.")
1824 (license license:expat)))
1826 (define-public frescobaldi
1828 (name "frescobaldi")
1833 "https://github.com/wbsoft/frescobaldi/releases/download/v"
1834 version "/frescobaldi-" version ".tar.gz"))
1837 "15cqhbjbjikr7ljgiq56bz2gxrr38j8p0f78p2vhyzydaviy9a2z"))))
1838 (build-system python-build-system)
1839 (arguments `(#:tests? #f)) ; no tests included
1841 `(("lilypond" ,lilypond)
1842 ("portmidi" ,portmidi)
1843 ("python-pyqt" ,python-pyqt)
1844 ("python-ly" ,python-ly)
1845 ("python-pyportmidi" ,python-pyportmidi)
1846 ("poppler" ,poppler)
1847 ("python-poppler-qt5" ,python-poppler-qt5)
1848 ("python-sip" ,python-sip)))
1849 (home-page "http://www.frescobaldi.org/")
1850 (synopsis "LilyPond sheet music text editor")
1852 "Frescobaldi is a LilyPond sheet music text editor with syntax
1853 highlighting and automatic completion. Among other things, it can render
1854 scores next to the source, can capture input from MIDI or read MusicXML and
1855 ABC files, has a MIDI player for proof-listening, and includes a documentation
1857 (license license:gpl2+)))
1859 (define-public drumstick
1865 (uri (string-append "mirror://sourceforge/drumstick/"
1866 version "/drumstick-" version ".tar.bz2"))
1869 "13pkfqrav30bbcddgf1imd7jk6lpqbxkz1qv31718pdl446jq7df"))))
1870 (build-system cmake-build-system)
1872 `(#:tests? #f ; no test target
1873 #:configure-flags '("-DLIB_SUFFIX=")
1875 (modify-phases %standard-phases
1876 (add-before 'configure 'fix-docbook
1877 (lambda* (#:key inputs #:allow-other-keys)
1878 (substitute* "cmake_admin/CreateManpages.cmake"
1879 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1880 (string-append (assoc-ref inputs "docbook-xsl")
1881 "/xml/xsl/docbook-xsl-"
1882 ,(package-version docbook-xsl)
1883 "/manpages/docbook.xsl")))
1886 `(("qtbase" ,qtbase)
1888 ("alsa-lib" ,alsa-lib)
1889 ("fluidsynth" ,fluidsynth)))
1891 `(("pkg-config" ,pkg-config)
1892 ("libxslt" ,libxslt) ;for xsltproc
1893 ("docbook-xsl" ,docbook-xsl)
1894 ("doxygen" ,doxygen)))
1895 (home-page "http://drumstick.sourceforge.net/")
1896 (synopsis "C++ MIDI library")
1898 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
1899 includes a C++ wrapper around the ALSA library sequencer interface. A
1900 complementary library provides classes for processing SMF (Standard MIDI
1901 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
1902 multiplatform realtime MIDI I/O library is also provided with various output
1903 backends, including ALSA, OSS, Network and FluidSynth.")
1904 (license license:gpl2+)))
1906 (define-public zynaddsubfx
1908 (name "zynaddsubfx")
1913 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
1914 version "/zynaddsubfx-" version ".tar.bz2"))
1917 "1hfpiqdm337gl4ynkmmp2qss2m5z8mzqzjrbiyg6w1v4js7l9phi"))))
1918 (build-system cmake-build-system)
1921 (modify-phases %standard-phases
1922 ;; Move SSE compiler optimization flags from generic target to
1923 ;; athlon64 and core2 targets, because otherwise the build would fail
1924 ;; on non-Intel machines.
1925 (add-after 'unpack 'remove-sse-flags-from-generic-target
1927 (substitute* "src/CMakeLists.txt"
1928 (("-msse -msse2 -mfpmath=sse") "")
1929 (("-march=(athlon64|core2)" flag)
1930 (string-append flag " -msse -msse2 -mfpmath=sse")))
1936 ("alsa-lib" ,alsa-lib)
1939 ("minixml" ,minixml)
1943 `(("pkg-config" ,pkg-config)))
1944 (home-page "http://zynaddsubfx.sf.net/")
1945 (synopsis "Software synthesizer")
1947 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
1948 three synthesizer engines, multitimbral and polyphonic synths, microtonal
1949 capabilities, custom envelopes, effects, etc.")
1950 (license license:gpl2)))
1952 (define-public yoshimi
1958 (uri (string-append "mirror://sourceforge/yoshimi/"
1959 (version-major+minor version)
1960 "/yoshimi-" version ".tar.bz2"))
1963 "0bjfhfslpa2hjrc9h38m7dlr62953w9n4cvkgvfy495cbym12dak"))))
1964 (build-system cmake-build-system)
1966 `(#:tests? #f ; there are no tests
1968 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
1969 (assoc-ref %outputs "out") "/share"))
1971 (modify-phases %standard-phases
1972 (add-before 'configure 'enter-dir
1973 (lambda _ (chdir "src") #t))
1974 ;; Move SSE compiler optimization flags from generic target to
1975 ;; athlon64 and core2 targets, because otherwise the build would fail
1976 ;; on non-Intel machines.
1977 (add-after 'unpack 'remove-sse-flags-from-generic-target
1979 (substitute* "src/CMakeLists.txt"
1980 (("-msse -msse2 -mfpmath=sse") "")
1981 (("-march=(athlon64|core2)" flag)
1982 (string-append flag " -msse -msse2 -mfpmath=sse")))
1987 ("alsa-lib" ,alsa-lib)
1989 ("fontconfig" ,fontconfig)
1990 ("minixml" ,minixml)
1994 ("readline" ,readline)
1995 ("ncurses" ,ncurses)
1999 `(("pkg-config" ,pkg-config)))
2000 (home-page "http://yoshimi.sourceforge.net/")
2001 (synopsis "Multi-paradigm software synthesizer")
2003 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
2004 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2005 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2006 improves on support for JACK features, such as JACK MIDI.")
2007 (license license:gpl2)))
2009 (define-public libgig
2015 (uri (string-append "http://download.linuxsampler.org/packages/"
2016 "libgig-" version ".tar.bz2"))
2019 "1wr8mwjmqpnyz6bx9757lspiii1zzn8zfbqsvn2ipzpgqkxv6kaz"))))
2020 (build-system gnu-build-system)
2022 `(("libuuid" ,util-linux)
2023 ("libsndfile" ,libsndfile)))
2025 `(("pkg-config" ,pkg-config)))
2026 (home-page "http://linuxsampler.org/libgig/")
2027 (synopsis "C++ library for working with Gigasampler (.gig) files")
2029 "Libgig is a C++ library for loading, modifying existing and creating new
2030 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2031 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2032 AKAI sampler data. The package includes a couple of command line tools based
2034 ;; The library and tools are released under the GPL, except the AKAI
2035 ;; classes which are released under the LGPL.
2036 (license (list license:gpl2+ license:lgpl2.1+))))
2038 (define-public jack-keyboard
2040 (name "jack-keyboard")
2045 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2046 version "/jack-keyboard-" version ".tar.gz"))
2049 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2050 (build-system gnu-build-system)
2056 `(("pkg-config" ,pkg-config)))
2057 (home-page "http://jack-keyboard.sourceforge.net/")
2058 (synopsis "Virtual MIDI keyboard")
2059 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2060 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2061 (license license:bsd-2)))
2063 (define-public jack-capture
2065 (name "jack-capture")
2070 (url "https://github.com/kmatheussen/jack_capture.git")
2072 (file-name (string-append name "-" version "-checkout"))
2075 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2076 (build-system gnu-build-system)
2079 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2080 #:tests? #f ; there are none
2082 (modify-phases %standard-phases
2083 (delete 'configure))))
2085 `(("pkg-config" ,pkg-config)
2093 ("libsndfile" ,libsndfile)))
2094 (home-page "https://github.com/kmatheussen/jack_capture")
2095 (synopsis "Program for recording sound files with JACK")
2096 (description "This is a program for recording sound files with JACK. It
2097 can connect to any JACK port and record the output into a stereo WAV file.")
2098 (license license:gpl2+)))
2100 (define-public cursynth
2107 (uri (string-append "mirror://gnu/cursynth/cursynth-"
2110 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
2111 (patches (search-patches "cursynth-wave-rand.patch"))))
2112 (build-system gnu-build-system)
2113 (native-inputs `(("pkg-config" ,pkg-config)))
2114 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
2115 ;; prevents us from using pulseaudio
2116 (inputs `(("ncurses" ,ncurses)
2117 ("alsa" ,alsa-lib)))
2118 (home-page "https://www.gnu.org/software/cursynth/")
2119 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
2120 (description "GNU cursynth is a polyphonic synthesizer that runs
2121 graphically in the terminal. It is built on a full-featured subtractive
2122 synthesis engine. Notes and parameter changes may be entered via MIDI or the
2123 computer's keyboard.")
2124 (license license:gpl3+)))
2126 (define-public aj-snapshot
2128 (name "aj-snapshot")
2132 (uri (string-append "mirror://sourceforge/aj-snapshot/"
2133 "aj-snapshot-" version ".tar.bz2"))
2136 "0yxccgp9qw2cyqv719wlbq8wfsr5ga8czvwa7bmb8dh5s11n3rn8"))))
2137 (build-system gnu-build-system)
2139 `(("minixml" ,minixml)
2141 ("alsa-lib" ,alsa-lib)))
2143 `(("pkg-config" ,pkg-config)))
2144 (home-page "http://aj-snapshot.sourceforge.net/")
2145 (synopsis "Snapshot connections between ALSA and JACK clients")
2146 (description "Aj-snapshot is a small program that can be used to make
2147 snapshots of the connections made between JACK and/or ALSA clients. Because
2148 JACK can provide both audio and MIDI support to programs, aj-snapshot can
2149 store both types of connections for JACK. ALSA, on the other hand, only
2150 provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
2151 from the command line.")
2152 (license license:gpl3+)))
2154 (define-public qtractor
2160 (uri (string-append "http://downloads.sourceforge.net/qtractor/"
2161 "qtractor-" version ".tar.gz"))
2164 "0qf75bccsyplx6fcaz48k6027yp06zhl8ixhhjdbr30xgpslnjm3"))))
2165 (build-system gnu-build-system)
2166 (arguments `(#:tests? #f)) ; no "check" target
2169 ("qtx11extras" ,qtx11extras)
2170 ("alsa-lib" ,alsa-lib)
2172 ("libsndfile" ,libsndfile)
2177 ("libsamplerate" ,libsamplerate)
2178 ("libvorbis" ,libvorbis)
2180 ("rubberband" ,rubberband)
2184 `(("pkg-config" ,pkg-config)
2185 ("qttools" ,qttools)))
2186 (home-page "http://qtractor.org/")
2187 (synopsis "Audio/MIDI multi-track sequencer")
2189 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
2190 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
2191 follows a traditional multi-track tape recorder control paradigm.")
2192 (license license:gpl2+)))
2194 (define-public ams-lv2
2201 (uri (string-append "https://github.com/blablack/ams-lv2/"
2202 "archive/" version ".tar.gz"))
2203 (file-name (string-append name "-" version ".tar.gz"))
2206 "1xacxyzqcj83g9c1gwfn36gg1c6yi15v7km4vidfidrjzb4x27fq"))))
2207 (build-system waf-build-system)
2210 (modify-phases %standard-phases
2211 (add-after 'unpack 'remove-sse-flags
2212 (lambda* (#:key system #:allow-other-keys)
2213 (when (not (or (string-prefix? "x86_64" system)
2214 (string-prefix? "i686" system)))
2215 (substitute* "wscript"
2216 (("'-msse', '-mfpmath=sse', ") ""))
2218 #:tests? #f)) ; no tests
2227 `(("pkg-config" ,pkg-config)))
2228 (home-page "https://objectivewave.wordpress.com/ams-lv2/")
2229 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
2230 (description "This set of LV2 plugins is a port of the internal modules
2231 found in Alsa Modular Synth. These plugins are used to create modular
2232 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
2234 (license license:gpl2)))
2236 (define-public gxtuner
2242 (uri (string-append "https://github.com/brummer10/gxtuner/"
2243 "archive/v" version ".tar.gz"))
2244 (file-name (string-append name "-" version ".tar.gz"))
2247 "1hn5qjac7qd00v0sp7ijhhc3sb26ks9bni06nngivva21h61xrjr"))))
2248 (build-system gnu-build-system)
2251 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2252 (string-append "INCLUDE_L_DIR="
2253 (assoc-ref %build-inputs "zita-resampler")
2256 (modify-phases %standard-phases
2257 (delete 'configure))))
2263 ("zita-resampler" ,zita-resampler)))
2265 `(("pkg-config" ,pkg-config)))
2266 (home-page "https://github.com/brummer10/gxtuner")
2267 (synopsis "Guitar tuner")
2268 (description "GXtuner is a simple guitar tuner for JACK with an
2269 analogue-like user interface.")
2270 (license license:gpl2+)))
2272 (define-public mod-host
2273 ;; The last release was in 2014 but since then more than 140 commits have
2275 (let ((commit "299a3977476e8eb0285837fbd7522cec506a11de")
2279 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
2283 (url "https://github.com/moddevices/mod-host")
2287 "128q7p5mph086v954rqnafalfbkyvhgwclaq6ks6swrhj45wnag6"))
2288 (file-name (string-append name "-" version "-checkout"))))
2289 (build-system gnu-build-system)
2291 `(#:tests? #f ; no tests included
2293 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2296 (modify-phases %standard-phases
2298 (add-after 'unpack 'fix-jack-installation-directory
2300 ;; Do not attempt to install files to output of "jack" package.
2301 (substitute* "Makefile"
2302 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
2311 ("readline" ,readline)))
2313 `(("pkg-config" ,pkg-config)
2314 ("python" ,python-2)))
2315 (home-page "https://github.com/moddevices/mod-host")
2316 (synopsis "LV2 host for Jack controllable via socket or command line")
2317 (description "mod-host is an LV2 plugin host for JACK, controllable via
2318 socket or command line.")
2319 (license license:gpl3+))))
2321 (define-public curseradio
2322 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
2326 (version (git-version "0" revision commit))
2330 (url "https://github.com/chronitis/curseradio.git")
2332 (file-name (git-file-name name version))
2335 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
2336 (build-system python-build-system)
2338 `(("python-lxml" ,python-lxml)
2339 ("python-requests" ,python-requests)
2340 ("python-pyxdg" ,python-pyxdg)
2342 (home-page "https://github.com/chronitis/curseradio")
2343 (synopsis "Command-line Internet radio player")
2344 (description "Curseradio is a Curses-based radio player that uses a
2345 tune-in sender list from @url{http://opml.radiotime.com}.")
2346 (license license:expat))))
2348 (define-public pianobar
2351 (version "2016.06.02")
2354 (uri (string-append "https://github.com/PromyLOPh/"
2355 name "/archive/" version ".tar.gz"))
2356 (file-name (string-append name "-" version ".tar.gz"))
2359 "1hi5rr6jcr0kwf4xfz007ndwkjkp287lhwlsgfz6iryqa5n6jzcp"))))
2360 (build-system gnu-build-system)
2362 `(#:tests? #f ; no tests
2363 #:make-flags (list "CC=gcc" "CFLAGS=-std=c99"
2364 (string-append "PREFIX=" %output))
2365 #:phases (modify-phases %standard-phases
2366 (delete 'configure))))
2370 ("libgcrypt" ,libgcrypt)
2372 ("ffmpeg" ,ffmpeg)))
2374 `(("pkg-config" ,pkg-config)))
2375 (home-page "http://6xq.net/projects/pianobar/")
2376 (synopsis "Console-based pandora.com player")
2377 (description "pianobar is a console-based music player for the
2378 personalized online radio pandora.com. It has configurable keys for playing
2379 and managing stations, can be controlled remotely via fifo, and can run
2380 event-based scripts for scrobbling, notifications, etc.")
2381 (license license:expat)))
2383 (define-public python-mutagen
2385 (name "python-mutagen")
2389 (uri (pypi-uri "mutagen" version))
2392 "0rl7sxn1rcjl48fwga3dqf9f6pzspsny4ngxyf6pp337mrq0z693"))))
2393 (build-system python-build-system)
2395 `(("python-pytest" ,python-pytest)))
2396 (home-page "https://bitbucket.org/lazka/mutagen")
2397 (synopsis "Read and write audio tags")
2398 (description "Mutagen is a Python module to handle audio metadata. It
2399 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
2400 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
2401 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
2402 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
2403 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
2404 streams on an individual packet/page level.")
2405 (license license:gpl2))) ; "later version" never mentioned
2407 (define-public python2-mutagen
2408 (package-with-python2 python-mutagen))
2410 (define-public python-musicbrainzngs
2412 (name "python-musicbrainzngs")
2416 (uri (pypi-uri "musicbrainzngs" version))
2419 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
2420 (build-system python-build-system)
2422 '(;; The tests fail suffer from race conditions:
2423 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
2425 (home-page "https://python-musicbrainzngs.readthedocs.org/")
2426 (synopsis "Python bindings for MusicBrainz NGS webservice")
2427 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
2428 web service. This library can be used to retrieve music metadata from the
2429 MusicBrainz database.")
2430 ;; 'musicbrainzngs/compat.py' is ISC licensed.
2431 (license (list license:bsd-2 license:isc))))
2433 (define-public python2-musicbrainzngs
2434 (package-with-python2 python-musicbrainzngs))
2436 (define-public python2-pyechonest
2438 (name "python2-pyechonest")
2442 (uri (pypi-uri "pyechonest" version))
2445 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
2446 (build-system python-build-system)
2448 `(;; Python 3 is not supported:
2449 ;; https://github.com/echonest/pyechonest/issues/42
2450 #:python ,python-2))
2451 (home-page "https://github.com/echonest/pyechonest")
2452 (synopsis "Python interface to The Echo Nest APIs")
2453 (description "Pyechonest is a Python library for the Echo Nest API. With
2454 Pyechonest you have Python access to the entire set of API methods including:
2457 @item artist - search for artists by name, description, or attribute, and get
2458 back detailed information about any artist including audio, similar artists,
2459 blogs, familiarity, hotttnesss, news, reviews, urls and video.
2460 @item song - search songs by artist, title, description, or attribute (tempo,
2461 duration, etc) and get detailed information back about each song, such as
2462 hotttnesss, audio_summary, or tracks.
2463 @item track - upload a track to the Echo Nest and receive summary information
2464 about the track including key, duration, mode, tempo, time signature along with
2465 detailed track info including timbre, pitch, rhythm and loudness information.
2467 (license license:bsd-3)))
2469 (define-public python-pylast
2471 (name "python-pylast")
2475 (uri (pypi-uri "pylast" version))
2478 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
2479 (build-system python-build-system)
2480 ;; Tests require network access. See
2481 ;; https://github.com/pylast/pylast/issues/105
2482 (arguments '(#:tests? #f))
2484 `(("python-coverage" ,python-coverage)
2485 ("python-pycodestyle" ,python-pycodestyle)
2486 ("python-mock" ,python-mock)
2487 ("python-pep8" ,python-pep8)
2488 ("python-pytest" ,python-pytest)
2489 ("python-flaky" ,python-flaky)
2490 ("python-pyflakes" ,python-pyflakes)
2491 ("python-pyyaml" ,python-pyyaml)))
2493 `(("python-six" ,python-six)))
2494 (home-page "https://github.com/pylast/pylast")
2495 (synopsis "Python interface to Last.fm and Libre.fm")
2496 (description "A Python interface to Last.fm and other API-compatible
2497 websites such as Libre.fm.")
2498 (license license:asl2.0)))
2500 (define-public python2-pylast
2501 (package-with-python2 python-pylast))
2503 (define-public instantmusic
2504 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
2507 (name "instantmusic")
2508 (version (git-version "1.0" revision commit))
2512 (url "https://github.com/yask123/Instant-Music-Downloader.git")
2514 (file-name (git-file-name name version))
2517 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
2518 (build-system python-build-system)
2520 `(("python-requests" ,python-requests)
2522 ("python-beautifulsoup4" ,python-beautifulsoup4)
2523 ("youtube-dl" ,youtube-dl)))
2525 '(#:modules ((guix build python-build-system)
2528 #:phases (modify-phases %standard-phases
2529 (add-before 'build 'change-directory
2531 (chdir "instantmusic-0.1") #t))
2532 (add-before 'check 'fix-file-permissions
2534 ;; Fix some read-only files that would cause a build failure
2535 (for-each (cut chmod <> #o644)
2536 (find-files "instantmusic.egg-info"
2537 "PKG-INFO|.*\\.txt"))
2539 (home-page "http://iyask.me/Instant-Music-Downloader/")
2540 (synopsis "Command-line program to download a song from YouTube")
2541 (description "InstantMusic downloads a song from YouTube in MP3 format.
2542 Songs can be searched by artist, name or even by a part of the song text.")
2543 (license license:expat))))
2545 (define-public beets
2551 (uri (pypi-uri "beets" version))
2554 "0l2vfrknwcsm6bn83m7476qrz45qwgxcb5k0h7kn96kr70irn1v2"))))
2555 (build-system python-build-system)
2558 (modify-phases %standard-phases
2559 (add-after 'unpack 'set-HOME
2560 (lambda _ (setenv "HOME" (string-append (getcwd) "/tmp"))))
2562 (lambda _ (zero? (system* "nosetests" "-v")))))))
2564 `(("python-beautifulsoup4" ,python-beautifulsoup4)
2565 ("python-flask" ,python-flask)
2566 ("python-mock" ,python-mock)
2567 ("python-mpd2" ,python-mpd2)
2568 ("python-nose" ,python-nose)
2569 ("python-pathlib" ,python-pathlib)
2570 ("python-pyxdg" ,python-pyxdg)
2571 ("python-pylast" ,python-pylast)
2572 ("python-rarfile" ,python-rarfile)
2573 ("python-responses" ,python-responses)))
2574 ;; TODO: Install optional plugins and dependencies.
2576 `(("python-discogs-client" ,python-discogs-client)
2577 ("python-jellyfish" ,python-jellyfish)
2578 ("python-munkres" ,python-munkres)
2579 ("python-musicbrainzngs" ,python-musicbrainzngs)
2580 ("python-mutagen" ,python-mutagen)
2581 ("python-pyyaml" ,python-pyyaml)
2582 ("python-unidecode" ,python-unidecode)))
2583 (home-page "http://beets.io")
2584 (synopsis "Music organizer")
2585 (description "The purpose of beets is to get your music collection right
2586 once and for all. It catalogs your collection, automatically improving its
2587 metadata as it goes using the MusicBrainz database. Then it provides a variety
2588 of tools for manipulating and accessing your music.")
2589 (license license:expat)))
2591 (define-public milkytracker
2593 (name "milkytracker")
2597 (uri (string-append "https://github.com/milkytracker/"
2598 "MilkyTracker/archive/v"
2600 (file-name (string-append name "-" version ".tar.gz"))
2603 "1dvnddsnn9c83lz4dlm0cfjpc0m524amfkbalxbswdy0qc8cj1wv"))
2604 (modules '((guix build utils)))
2605 ;; Remove non-FSDG compliant sample songs.
2608 (delete-file-recursively "resources/music")
2609 (substitute* "CMakeLists.txt"
2610 (("add_subdirectory\\(resources/music\\)") ""))))))
2611 (build-system cmake-build-system)
2613 '(#:tests? #f ; no check target
2614 ;; This flag ensures that MilkyTracker links with the JACK library.
2615 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
2617 `(("alsa-lib" ,alsa-lib)
2622 `(("pkg-config" ,pkg-config)))
2623 (synopsis "Music tracker for working with .MOD/.XM module files")
2624 (description "MilkyTracker is a music application for creating .MOD and .XM
2625 module files. It attempts to recreate the module replay and user experience of
2626 the popular DOS program Fasttracker II, with special playback modes available
2627 for improved Amiga ProTracker 2/3 compatibility.")
2628 (home-page "http://milkytracker.titandemo.org/")
2629 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
2630 (license (list license:bsd-3 license:gpl3+))))
2632 (define-public schismtracker
2634 (name "schismtracker")
2635 (version "20170910")
2639 "https://github.com/" name "/" name "/archive/"
2641 (file-name (string-append name "-" version ".tar.gz"))
2644 "01gfcjngbpv87y9w5jln8k313hycpkb1d617hdy2cdw2hxqzlclz"))
2645 (modules '((guix build utils)))
2647 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
2648 `(substitute* "schism/version.c"
2649 (("Schism Tracker built %s %s.*$")
2650 (string-append "Schism Tracker version " ,version "\");"))))))
2651 (build-system gnu-build-system)
2654 (modify-phases %standard-phases
2655 (add-after 'unpack 'autoconf
2656 (lambda _ (zero? (system* "autoreconf" "-vfi"))))
2657 (add-before 'configure 'link-libm
2658 (lambda _ (setenv "LIBS" "-lm") #t)))))
2660 `(("autoconf" ,autoconf)
2661 ("automake" ,automake)
2662 ("python" ,python)))
2664 `(("alsa-lib" ,alsa-lib) ; for asound dependency
2666 ("libxext" ,libxext)
2668 (home-page "http://schismtracker.org")
2669 (synopsis "Oldschool sample-based music composition tool")
2671 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
2672 create high quality music without the requirements of specialized, expensive
2673 equipment, and with a unique \"finger feel\" that is difficult to replicate in
2674 part. The player is based on a highly modified version of the ModPlug engine,
2675 with a number of bugfixes and changes to improve IT playback.")
2676 (license license:gpl2+)))
2678 (define-public sooperlooper
2680 (name "sooperlooper")
2684 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
2688 "0n2gdxw1fx8nxxnpzf4sj0kp6k6zi1yq59cbz6qqzcnsnpnvszbs"))
2689 (patches (search-patches "sooperlooper-build-with-wx-30.patch"))))
2690 (build-system gnu-build-system)
2692 `(#:make-flags (list "CXXFLAGS=-std=gnu++11")
2694 (modify-phases %standard-phases
2695 (add-after 'unpack 'add-sigc++-includes
2696 (lambda* (#:key inputs #:allow-other-keys)
2697 (let ((sig (assoc-ref inputs "libsigc++"))
2698 (xml (assoc-ref inputs "libxml2"))
2701 (string-append sig "/include/sigc++-2.0:"
2702 sig "/lib/sigc++-2.0/include:"
2703 xml "/include/libxml2/:"
2705 cwd "/libs/midi++")))
2706 (substitute* '("src/control_osc.hpp"
2707 "src/gui/app_frame.hpp"
2708 "src/gui/config_panel.hpp"
2709 "src/gui/keys_panel.hpp"
2710 "src/gui/latency_panel.hpp"
2711 "src/gui/main_panel.hpp"
2712 "src/gui/midi_bind_panel.hpp"
2713 "src/gui/prefs_dialog.hpp")
2714 (("sigc\\+\\+/object.h")
2716 (substitute* '("src/engine.cpp"
2717 "src/gui/latency_panel.cpp"
2718 "src/gui/looper_panel.cpp"
2719 "src/gui/main_panel.cpp")
2720 (("(\\(| )bind " _ pre)
2721 (string-append pre "sigc::bind ")))
2723 (add-after 'unpack 'fix-xpm-warnings
2725 (substitute* (find-files "." "\\.xpm$")
2726 (("static char") "static const char"))
2730 ("alsa-lib" ,alsa-lib)
2731 ("wxwidgets" ,wxwidgets-gtk2)
2732 ("libsndfile" ,libsndfile)
2733 ("libsamplerate" ,libsamplerate)
2735 ("rubberband" ,rubberband)
2736 ("libxml2" ,libxml2)
2737 ("libsigc++" ,libsigc++)
2738 ("ncurses" ,ncurses)))
2740 `(("pkg-config" ,pkg-config)))
2741 (home-page "http://essej.net/sooperlooper/")
2742 (synopsis "Live looping sampler")
2744 "SooperLooper is a live looping sampler capable of immediate loop
2745 recording, overdubbing, multiplying, reversing and more. It allows for
2746 multiple simultaneous multi-channel loops limited only by your computer's
2748 (license license:gpl2+)))
2756 (uri (string-append "http://ftp.daper.net/pub/soft/"
2758 name "-" version ".tar.bz2"))
2761 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))
2762 (modules '((guix build utils)))
2764 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
2765 '(substitute* "main.c"
2766 (("printf \\(\" Built : %s\", __DATE__\\);") "")
2767 (("printf \\(\" %s\", __TIME__\\);") "")))))
2768 (build-system gnu-build-system)
2770 `(("alsa-lib" ,alsa-lib)
2776 ("libid3tag" ,libid3tag)
2777 ("libltdl" ,libltdl)
2778 ("libmodplug" ,libmodplug)
2779 ("libmpcdec" ,libmpcdec)
2782 ("libvorbis" ,libvorbis)
2783 ("ncurses" ,ncurses)
2784 ("openssl" ,openssl)
2785 ("sasl" ,cyrus-sasl)
2788 ("wavpack" ,wavpack)
2791 `(("pkg-config" ,pkg-config)))
2792 (synopsis "Console audio player designed to be powerful and easy to use")
2794 "Music on Console is a console audio player that supports many file
2795 formats, including most audio formats recognized by FFMpeg.")
2796 (home-page "http://moc.daper.net")
2797 (license license:gpl2+)))
2799 (define-public midicsv
2805 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
2806 name "-" version ".tar.gz"))
2809 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
2810 (build-system gnu-build-system)
2812 `(#:phases (modify-phases %standard-phases (delete 'configure))
2813 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
2814 (synopsis "Convert MIDI files to and from CSV")
2816 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
2817 value file (CSV), which preserves all the information in the MIDI file. The
2818 ASCII CSV file may be loaded into a spreadsheet or database application, or
2819 processed by a program to transform the MIDI data (for example, to key
2820 transpose a composition or extract a track from a multi-track sequence). A
2821 CSV file in the format created by midicsv may be converted back into a
2822 standard MIDI file with the csvmidi program.")
2823 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
2824 (license license:public-domain)))
2826 (define-public gx-guvnor-lv2
2828 (name "gx-guvnor-lv2")
2833 (url "https://github.com/brummer10/GxGuvnor.lv2.git")
2834 (commit (string-append "v" version))))
2835 (file-name (string-append name "-" version "-checkout"))
2838 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
2839 (build-system gnu-build-system)
2841 `(;; The check target is used only to output a warning.
2844 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
2846 (modify-phases %standard-phases
2849 (substitute* "Makefile"
2850 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
2851 (("install : all") "install :"))
2855 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
2856 (synopsis "Overdrive/distortion pedal simulation")
2857 (description "This package provides the LV2 plugin \"GxGuvnor\", a
2858 simulation of an overdrive or distortion pedal for guitars.")
2859 ;; The LICENSE file says GPLv3 but the license headers in the files say
2860 ;; GPLv2 or later. The whole project is released under GPLv3 or later
2861 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
2862 (license license:gpl3+)))
2864 (define-public gx-vbass-preamp-lv2
2865 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
2867 (package (inherit gx-guvnor-lv2)
2868 (name "gx-vbass-preamp-lv2")
2869 (version (string-append "0-" revision "." (string-take commit 9)))
2873 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
2877 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
2878 (file-name (string-append name "-" version "-checkout"))))
2883 `(("pkg-config" ,pkg-config)))
2884 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
2885 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
2886 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
2887 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
2890 (define-public gx-overdriver-lv2
2891 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
2893 (package (inherit gx-guvnor-lv2)
2894 (name "gx-overdriver-lv2")
2895 (version (string-append "0-" revision "." (string-take commit 9)))
2899 (url "https://github.com/brummer10/GxOverDriver.lv2")
2903 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
2904 (file-name (string-append name "-" version "-checkout"))))
2905 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
2906 (synopsis "Overdrive effect with level and tone control")
2907 (description "This package provides the LV2 plugin \"GxOverDriver\", an
2908 overdrive effect."))))
2910 (define-public gx-tone-mender-lv2
2911 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
2913 (package (inherit gx-guvnor-lv2)
2914 (name "gx-tone-mender-lv2")
2915 (version (string-append "0-" revision "." (string-take commit 9)))
2919 (url "https://github.com/brummer10/GxToneMender.lv2")
2923 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
2924 (file-name (string-append name "-" version "-checkout"))))
2925 (home-page "https://github.com/brummer10/GxToneMender.lv2")
2926 (synopsis "Clean boost with a 3-knob tonestack")
2927 (description "This package provides the LV2 plugin \"GxToneMender\", a
2928 clean boost effect with a 3-knob tonestack."))))
2930 (define-public gx-push-pull-lv2
2931 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
2933 (package (inherit gx-guvnor-lv2)
2934 (name "gx-push-pull-lv2")
2935 (version (string-append "0-" revision "." (string-take commit 9)))
2939 (url "https://github.com/brummer10/GxPushPull.lv2")
2943 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
2944 (file-name (string-append name "-" version "-checkout"))))
2945 (home-page "https://github.com/brummer10/GxPushPull.lv2")
2946 (synopsis "Octave up push pull transistor fuzz simulation")
2947 (description "This package provides the LV2 plugin \"GxPushPull\", a
2948 simulation of a push pull transistor fuzz effect with added high octave."))))
2950 (define-public gx-suppa-tone-bender-lv2
2951 (package (inherit gx-guvnor-lv2)
2952 (name "gx-suppa-tone-bender-lv2")
2957 (url "https://github.com/brummer10/GxSuppaToneBender.lv2.git")
2958 (commit (string-append "v" version))))
2959 (file-name (string-append name "-" version "-checkout"))
2962 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
2963 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
2964 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
2965 (description "This package provides the LV2 plugin
2966 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
2969 (define-public gx-saturator-lv2
2970 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
2972 (package (inherit gx-vbass-preamp-lv2)
2973 (name "gx-saturator-lv2")
2974 (version (string-append "0-" revision "." (string-take commit 9)))
2978 (url "https://github.com/brummer10/GxSaturator.lv2")
2982 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
2983 (file-name (string-append name "-" version "-checkout"))))
2984 (home-page "https://github.com/brummer10/GxSaturator.lv2")
2985 (synopsis "Saturation effect")
2986 (description "This package provides the LV2 plugin \"GxSaturator\", a
2987 saturation effect."))))
2989 (define-public gx-hyperion-lv2
2990 (package (inherit gx-guvnor-lv2)
2991 (name "gx-hyperion-lv2")
2996 (url "https://github.com/brummer10/GxHyperion.lv2.git")
2997 (commit (string-append "v" version))))
2998 (file-name (string-append name "-" version "-checkout"))
3001 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
3002 (home-page "https://github.com/brummer10/GxHyperion.lv2")
3003 (synopsis "Simulation of the Hyperion Fuzz pedal")
3004 (description "This package provides the LV2 plugin \"GxHyperion\", a
3005 simulation of the Hyperion Fuzz pedal.")))
3007 (define-public gx-voodoo-fuzz-lv2
3008 (package (inherit gx-guvnor-lv2)
3009 (name "gx-voodoo-fuzz-lv2")
3014 (url "https://github.com/brummer10/GxVoodoFuzz.lv2.git")
3015 (commit (string-append "v" version))))
3016 (file-name (string-append name "-" version "-checkout"))
3019 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
3020 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
3021 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
3022 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
3023 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
3024 Bosstone circuit, followed by the tone control of the FoxToneMachine in
3025 parallel with a DarkBooster, followed by a volume control.")))
3027 (define-public gx-super-fuzz-lv2
3028 (package (inherit gx-guvnor-lv2)
3029 (name "gx-super-fuzz-lv2")
3034 (url "https://github.com/brummer10/GxSuperFuzz.lv2.git")
3035 (commit (string-append "v" version))))
3036 (file-name (string-append name "-" version "-checkout"))
3039 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
3040 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
3041 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
3042 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
3043 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
3044 pot, which is usually in the housing, is exposed as a control parameter. It
3045 adjusts the amount of harmonics.")))
3047 (define-public gx-vintage-fuzz-master-lv2
3048 (package (inherit gx-guvnor-lv2)
3049 (name "gx-vintage-fuzz-master-lv2")
3054 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2.git")
3055 (commit (string-append "v" version))))
3056 (file-name (string-append name "-" version "-checkout"))
3059 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
3060 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3061 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
3062 (description "This package provides the LV2 plugin
3063 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
3065 (define-public gx-slow-gear-lv2
3066 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
3068 (package (inherit gx-vbass-preamp-lv2)
3069 (name "gx-slow-gear-lv2")
3070 (version (string-append "0-" revision "." (string-take commit 9)))
3074 (url "https://github.com/brummer10/GxSlowGear.lv2")
3078 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
3079 (file-name (string-append name "-" version "-checkout"))))
3080 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
3081 (synopsis "Slow gear audio effect")
3082 (description "This package provides the LV2 plugin \"GxSlowGear\", a
3083 slow gear audio effect to produce volume swells."))))
3085 (define-public gx-switchless-wah-lv2
3086 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
3088 (package (inherit gx-guvnor-lv2)
3089 (name "gx-switchless-wah-lv2")
3090 (version (string-append "0-" revision "." (string-take commit 9)))
3094 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
3098 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
3099 (file-name (string-append name "-" version "-checkout"))))
3100 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
3101 (synopsis "Wah emulation with switchless activation")
3102 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
3103 a simulation of an analog Wah pedal with switchless activation."))))
3105 (define-public mod-utilities
3106 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
3109 (name "mod-utilities")
3110 (version (string-append "0-" revision "." (string-take commit 9)))
3114 (url "https://github.com/moddevices/mod-utilities.git")
3116 (file-name (string-append name "-" version "-checkout"))
3119 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
3120 (build-system gnu-build-system)
3122 `(#:tests? #f ; there are no tests
3124 (list (string-append "INSTALL_PATH="
3125 (assoc-ref %outputs "out")
3127 (string-append "PREFIX=" (assoc-ref %outputs "out"))
3130 (modify-phases %standard-phases
3131 (delete 'configure))))
3134 (home-page "https://github.com/moddevices/mod-utilities")
3135 (synopsis "LV2 utility plugins")
3136 (description "This package provides LV2 audio utility plugins, such as
3137 filters, crossovers, simple gain plugins without zipper noise, switch box
3138 plugins, a switch trigger, a toggle switch, and a peakmeter.")
3139 (license license:gpl2+))))
3141 (define-public ingen
3142 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
3146 (version (string-append "0.0.0-" revision "."
3147 (string-take commit 9)))
3152 (url "http://git.drobilla.net/ingen.git")
3154 (file-name (string-append name "-" version "-checkout"))
3157 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
3158 (build-system waf-build-system)
3160 `(#:tests? #f ; no "check" target
3161 #:configure-flags (list "--no-webkit")
3163 (modify-phases %standard-phases
3164 (add-after 'unpack 'patch-wscript
3165 (lambda* (#:key outputs #:allow-other-keys)
3166 (let ((out (assoc-ref outputs "out")))
3167 (substitute* "wscript"
3168 ;; FIXME: Our version of lv2specgen.py does not behave as
3169 ;; expected. Maybe this requires a development version of
3171 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
3172 ;; Add libraries to RUNPATH.
3173 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
3174 (string-append prefix
3175 "linkflags=[\"-Wl,-rpath="
3176 out "/lib" "\"]," line)))
3177 (substitute* '("src/wscript"
3178 "src/server/wscript")
3179 ;; Add libraries to RUNPATH.
3180 (("bld.env.PTHREAD_LINKFLAGS" line)
3182 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
3183 (substitute* "src/client/wscript"
3184 ;; Add libraries to RUNPATH.
3185 (("^(.+)target.*= 'ingen_client'," line prefix)
3186 (string-append prefix
3187 "linkflags=[\"-Wl,-rpath="
3188 out "/lib" "\"]," line)))
3189 (substitute* "src/gui/wscript"
3190 ;; Add libraries to RUNPATH.
3191 (("^(.+)target.* = 'ingen_gui.*" line prefix)
3192 (string-append prefix
3193 "linkflags=[\"-Wl,-rpath="
3194 out "/lib" "\"]," line))))
3198 ("python-rdflib" ,python-rdflib)
3203 ("raul" ,raul-devel)
3204 ("ganv" ,ganv-devel)
3209 ("gtkmm" ,gtkmm-2)))
3211 `(("pkg-config" ,pkg-config)
3212 ("python-pygments" ,python-pygments)))
3213 (home-page "http://drobilla.net/software/ingen")
3214 (synopsis "Modular audio processing system")
3215 (description "Ingen is a modular audio processing system for JACK and
3216 LV2 based systems. Ingen is built around LV2 technology and a strict
3217 separation of engine from user interface. The engine is controlled
3218 exclusively through a protocol, and can execute as a headless process, with an
3219 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
3220 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
3221 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
3222 plugin on any system where Ingen is installed. This allows users to visually
3223 develop custom plugins for use in other applications without programming.")
3224 (license license:agpl3+))))
3226 (define-public qmidiarp
3232 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
3233 version "/qmidiarp-" version ".tar.bz2"))
3236 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
3237 (build-system gnu-build-system)
3240 (list "--enable-qt5"
3241 "CXXFLAGS=-std=gnu++11")))
3243 `(("qtbase" ,qtbase)
3244 ("alsa-lib" ,alsa-lib)
3249 `(("pkg-config" ,pkg-config)
3250 ("qttools" ,qttools)))
3251 (home-page "http://qmidiarp.sourceforge.net/")
3252 (synopsis "MIDI arpeggiator")
3253 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
3254 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
3255 modules running in parallel.")
3256 (license license:gpl2+)))
3258 (define-public qmidiroute
3264 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
3265 version "/qmidiroute-" version ".tar.bz2"))
3268 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
3269 (build-system gnu-build-system)
3272 (list "--enable-qt5"
3273 "CXXFLAGS=-std=gnu++11")))
3275 `(("qtbase" ,qtbase)
3276 ("alsa-lib" ,alsa-lib)))
3278 `(("pkg-config" ,pkg-config)
3279 ("qttools" ,qttools)))
3280 (home-page "http://alsamodular.sourceforge.net/")
3281 (synopsis "MIDI event router and filter")
3282 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
3283 control change, program change and pitch bend events are logged, and can be
3284 filtered, redirected and transformed into other events according to MIDI maps
3285 defined as tabs in the main control surface.")
3286 (license license:gpl2+)))
3288 (define-public seq24
3294 (uri (string-append "https://launchpad.net/seq24/trunk/"
3295 version "/+download/seq24-"
3296 version ".tar.bz2"))
3299 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
3300 (patches (search-patches "seq24-rename-mutex.patch"))))
3301 (build-system gnu-build-system)
3304 (list "CXXFLAGS=-std=gnu++11")))
3306 `(("gtkmm" ,gtkmm-2)
3307 ("alsa-lib" ,alsa-lib)
3311 `(("pkg-config" ,pkg-config)))
3312 (home-page "https://edge.launchpad.net/seq24/")
3313 (synopsis "Real-time MIDI sequencer")
3314 (description "Seq24 is a real-time MIDI sequencer. It was created to
3315 provide a very simple interface for editing and playing MIDI loops.")
3316 (license license:gpl2+)))
3318 (define-public python-discogs-client
3320 (name "python-discogs-client")
3324 (uri (pypi-uri "discogs-client" version))
3327 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
3328 (build-system python-build-system)
3330 `(("python-oauthlib" ,python-oauthlib)
3331 ("python-requests" ,python-requests)))
3333 `(("python-six" ,python-six)))
3334 (home-page "https://github.com/discogs/discogs_client")
3335 (synopsis "Official Python client for the Discogs API")
3336 (description "This is the official Discogs API client for Python. It enables
3337 you to query the Discogs database for information on artists, releases, labels,
3338 users, Marketplace listings, and more. It also supports OAuth 1.0a
3339 authorization, which allows you to change user data such as profile information,
3340 collections and wantlists, inventory, and orders.")
3341 (license license:bsd-2)))
3343 (define-public python2-discogs-client
3344 (package-with-python2 python-discogs-client))
3346 (define-public libsmf
3353 ;; SF download page says development moved, but the link it points to
3354 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
3355 ;; it but made no release so far (https://github.com/stump/libsmf).
3356 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
3357 version "/libsmf-" version ".tar.gz"))
3360 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
3361 (build-system gnu-build-system)
3363 "static")) ; 88KiB of .a files
3366 (modify-phases %standard-phases
3367 (add-after 'install 'move-static-libraries
3368 (lambda* (#:key outputs #:allow-other-keys)
3369 ;; Move static libraries to the "static" output.
3370 (let* ((out (assoc-ref outputs "out"))
3371 (lib (string-append out "/lib"))
3372 (static (assoc-ref outputs "static"))
3373 (slib (string-append static "/lib")))
3375 (for-each (lambda (file)
3376 (install-file file slib)
3378 (find-files lib "\\.a$"))
3381 `(("readline" ,readline)
3384 `(("doxygen" ,doxygen)
3385 ("pkg-config" ,pkg-config)))
3386 (home-page "http://libsmf.sourceforge.net/")
3387 (synopsis "Standard MIDI File format library")
3389 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
3390 conversions between time and pulses, tempo map handling and more. The only dependencies
3391 are a C compiler and glib. Full API documentation and examples are included.")
3392 (license license:bsd-2)))
3401 (uri (string-append "https://github.com/LMMS/lmms/archive/v"
3403 (file-name (string-append name "-" version ".tar.gz"))
3406 "1g76z7ha3hd53vbqaq9n1qg6s3lw8zzaw51iny6y2bz0j1xqwcsr"))))
3407 (build-system cmake-build-system)
3409 `(#:tests? #f ; no tests
3411 (modify-phases %standard-phases
3412 (add-before 'configure 'set-ldflags
3413 (lambda* (#:key outputs #:allow-other-keys)
3417 (assoc-ref outputs "out") "/lib/lmms"
3419 (assoc-ref outputs "out") "/lib/lmms/ladspa"
3422 (add-before 'configure 'remove-Werror
3424 (substitute* "CMakeLists.txt"
3425 (("SET\\(WERROR_FLAGS \"\\$\\{WERROR_FLAGS\\} -Werror")
3426 "SET(WERROR_FLAGS \"${WERROR_FLAGS}"))
3428 (add-before 'reset-gzip-timestamps 'make-manpages-writable
3429 (lambda* (#:key outputs #:allow-other-keys)
3431 (make-file-writable file))
3432 (find-files (string-append (assoc-ref outputs "out")
3437 `(("pkg-config" ,pkg-config)))
3443 ("libsamplerate" ,libsamplerate)
3444 ("fluidsynth" ,fluidsynth)
3445 ("libvorbis" ,libvorbis)
3446 ("alsa-lib" ,alsa-lib)
3447 ("portaudio" ,portaudio)
3449 ("libsndfile1" ,libsndfile)
3451 ("freetype2" ,freetype)
3453 (home-page "https://lmms.io/")
3454 (synopsis "Music composition tool")
3455 (description "LMMS is a digital audio workstation. It includes tools for sequencing
3456 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
3457 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
3458 (license license:gpl2+)))
3460 (define-public musescore
3467 "https://github.com/musescore/MuseScore/archive/"
3468 "v" version ".tar.gz"))
3469 (file-name (string-append name "-" version ".tar.gz"))
3472 "0irwsq6ihfz3y3b943cwqy29g3si7gqbgxdscgw53vwv9vfvi085"))
3473 (modules '((guix build utils)))
3475 ;; Un-bundle OpenSSL and remove unused libraries.
3477 (substitute* "thirdparty/kQOAuth/CMakeLists.txt"
3478 (("-I \\$\\{PROJECT_SOURCE_DIR\\}/thirdparty/openssl/include ")
3480 (substitute* "thirdparty/kQOAuth/kqoauthutils.cpp"
3481 (("#include <openssl/.*") ""))
3482 (for-each delete-file-recursively
3483 '("thirdparty/freetype"
3484 "thirdparty/openssl"
3485 "thirdparty/portmidi"))
3487 (build-system gnu-build-system)
3490 `(,(string-append "PREFIX=" (assoc-ref %outputs "out")))
3491 ;; There are tests, but no simple target to run. The command
3492 ;; used to run them is:
3494 ;; make debug && sudo make installdebug && cd \
3495 ;; build.debug/mtest && make && ctest
3497 ;; Basically, it requires to start a whole new build process.
3498 ;; So we simply skip them.
3501 (modify-phases %standard-phases
3503 (add-after 'unpack 'use-system-freetype
3505 ;; XXX: For the time being, we grossly insert the CMake
3506 ;; option needed to ignore bundled freetype. However,
3507 ;; there's a pending PR to have it as a regular make
3508 ;; option, in a future release.
3509 (substitute* "Makefile"
3510 (("cmake -DCMAKE") "cmake -DUSE_SYSTEM_FREETYPE=ON -DCMAKE"))
3513 `(("alsa-lib" ,alsa-lib)
3514 ("freetype" ,freetype)
3515 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
3519 ("libsndfile" ,libsndfile)
3520 ("libvorbis" ,libvorbis)
3521 ("portaudio" ,portaudio)
3522 ("pulseaudio" ,pulseaudio)
3524 ("qtdeclarative" ,qtdeclarative)
3525 ("qtscript" ,qtscript)
3527 ("qtwebkit" ,qtwebkit)
3528 ("qtxmlpatterns" ,qtxmlpatterns)))
3531 ("pkg-config" ,pkg-config)
3532 ("qttools" ,qttools)))
3533 (synopsis "Music composition and notation software")
3534 (description "MuseScore is a music score typesetter. Its main purpose is
3535 the creation of high-quality engraved musical scores in a WYSIWYG environment.
3537 It supports unlimited staves, linked parts and part extraction, tablature,
3538 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
3539 lyrics (multiple verses), fretboard diagrams, and in general everything
3540 commonly used in sheet music. Style options and style sheets to change the
3541 appearance and layout are provided.
3543 MuseScore can also play back scores through the built-in sequencer and SoundFont
3545 (home-page "https://musescore.org")
3546 (license license:gpl2)))
3548 (define-public muse-sequencer
3550 (name "muse-sequencer")
3555 (url "https://github.com/muse-sequencer/muse.git")
3556 (commit (string-append "muse_"
3557 (string-map (lambda (c)
3559 #\_ c)) version)))))
3560 (file-name (string-append name "-" version "-checkout"))
3563 "1nninz8qyqlxxjdnrm79y3gr3056pga9l2fsqh674jd3cjvafya3"))))
3564 (build-system cmake-build-system)
3566 `(#:tests? #f ; there is no test target
3568 (list "-DENABLE_LV2_SUPPLIED=OFF"
3569 "-DENABLE_RTAUDIO=OFF" ; FIXME: not packaged
3570 "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
3571 "-DENABLE_VST_NATIVE=OFF")
3573 (modify-phases %standard-phases
3574 (add-after 'unpack 'chdir
3575 (lambda _ (chdir "muse3"))))))
3577 `(("alsa-lib" ,alsa-lib)
3586 ("libsndfile" ,libsndfile)
3587 ("libsamplerate" ,libsamplerate)
3588 ("fluidsynth" ,fluidsynth)
3593 `(("pkg-config" ,pkg-config)
3594 ("qttools" ,qttools)))
3595 (home-page "http://muse-sequencer.org")
3596 (synopsis "MIDI/Audio sequencer")
3597 (description "MusE is a MIDI/Audio sequencer with recording and editing
3598 capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
3599 plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
3600 list view, and a score editor. MusE aims to be a complete multitrack virtual
3602 (license license:gpl2+)))
3611 "mirror://sourceforge/dssi/dssi/" version
3612 "/dssi-" version ".tar.gz"))
3615 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
3616 (build-system gnu-build-system)
3618 `(("alsa-lib" ,alsa-lib)
3621 ("libsamplerate" ,libsamplerate)
3622 ("libsndfile" ,libsndfile)
3625 `(("pkg-config" ,pkg-config)))
3626 (synopsis "Audio plugin API for soft synths and effects")
3627 (description "DSSI is a plugin API for software instruments with user
3628 interfaces, permitting them to be hosted in-process by audio applications.
3629 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
3630 towards familiarity with MIDI. The DSSI distribution package contains
3631 a JACK/ALSA-sequencer reference host and some plugins as well as the
3632 specification and header.")
3633 (home-page "http://dssi.sourceforge.net/")
3634 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
3635 ;; The vast majority of examples are in the public domain.
3636 (license (list license:lgpl2.1+ license:gpl2+))))
3638 (define-public rosegarden
3645 "mirror://sourceforge/rosegarden/rosegarden/"
3646 version "/rosegarden-" version ".tar.bz2"))
3649 "1khfcj22asdhjh0jvhkqsz200wgmigkhsrcz09ffia5hqm0n32lq"))))
3650 (build-system cmake-build-system)
3652 `(#:configure-flags '("-DUSE_QT5=1") ; "-DCMAKE_BUILD_TYPE=Release"
3654 (modify-phases %standard-phases
3655 (add-after 'unpack 'patch-tests
3657 (substitute* "CMakeLists.txt"
3658 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
3660 ((" -fvisibility=hidden") ""))
3662 (add-after 'unpack 'fix-references
3663 (lambda* (#:key inputs #:allow-other-keys)
3664 (substitute* "src/gui/general/ProjectPackager.cpp"
3666 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
3668 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
3670 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
3672 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
3674 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
3675 (substitute* "src/gui/general/LilyPondProcessor.cpp"
3676 (("\"convert-ly\\>")
3677 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
3679 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
3681 (add-after 'unpack 'make-reproducible
3683 ;; Prevent Last-Modified from being written.
3684 ;; The "*.qm" files that are used in locale.qrc would have a new
3685 ;; mtime otherwise that is written into qrc_locale.cpp in the
3686 ;; end - except when we disable it.
3687 (substitute* "src/CMakeLists.txt"
3688 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
3689 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
3691 ;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
3692 ; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
3694 ;; Make hashtable traversal order predicable.
3695 (setenv "QT_RCC_TEST" "1") ; important
3697 (add-before 'check 'prepare-check
3699 (setenv "QT_QPA_PLATFORM" "offscreen")
3700 ;; Tests create files in $HOME/.local/share/rosegarden .
3701 (mkdir-p "/tmp/foo")
3702 (setenv "HOME" "/tmp/foo")
3705 `(("alsa-lib" ,alsa-lib)
3713 ("libsamplerate" ,libsamplerate)
3714 ("lilypond" ,lilypond)
3719 ("wavpack" ,wavpack)
3722 `(("pkg-config" ,pkg-config)
3723 ("qtlinguist" ,qttools)))
3724 (synopsis "Music composition and editing environment based around a MIDI
3726 (description "Rosegarden is a music composition and editing environment
3727 based around a MIDI sequencer that features a rich understanding of music
3728 notation and includes basic support for digital audio.")
3729 (home-page "http://www.rosegardenmusic.com/")
3730 (license license:gpl2)))
3732 (define-public patchmatrix
3734 (name "patchmatrix")
3739 (url "https://github.com/OpenMusicKontrollers/patchmatrix.git")
3741 (file-name (string-append "patchmatrix-" version "-checkout"))
3744 "19ivp7h5vq6r1qhmycjxzvrgg7fc4a3v5vb3n4c7afs4z3pj53zi"))))
3745 (build-system cmake-build-system)
3746 (arguments '(#:tests? #f)) ; no test target
3752 `(("pkg-config" ,pkg-config)))
3753 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
3754 (synopsis "Simple JACK patch bay")
3755 (description "PatchMatrix is a patch bay for the JACK audio connection
3756 kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
3758 (license license:artistic2.0)))
3760 (define-public sorcer
3766 (uri (string-append "https://github.com/openAVproductions/"
3767 "openAV-Sorcer/archive/release-"
3769 (file-name (string-append name "-" version ".tar.gz"))
3772 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
3773 (build-system cmake-build-system)
3775 `(#:tests? #f ; no tests included
3777 (modify-phases %standard-phases
3778 (add-after 'unpack 'remove-architecture-specific-flags
3780 (substitute* "CMakeLists.txt"
3781 (("-msse2 -mfpmath=sse") ""))
3783 (add-after 'unpack 'build-faust-sources
3784 (lambda* (#:key inputs #:allow-other-keys)
3785 (with-directory-excursion "faust"
3786 (delete-file "main.cpp")
3787 (zero? (system* "faust" "-i"
3789 "-o" "main.cpp" "main.dsp"))))))))
3796 ("pkg-config" ,pkg-config)))
3797 (home-page "http://openavproductions.com/sorcer/")
3798 (synopsis "Wavetable LV2 plugin synth")
3799 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
3800 the electronic or dubstep genre.")
3801 (license license:gpl3+)))
3803 (define-public libechonest
3805 (name "libechonest")
3810 (url "git://anongit.kde.org/libechonest.git")
3812 (file-name (string-append name "-" version "-checkout"))
3815 "0xbavf9f355dl1d3qv59x4ryypqrdanh9xdvw2d0q66l008crdkq"))))
3816 (build-system cmake-build-system)
3818 '(#:tests? #f ; Tests require Internet access
3819 #:configure-flags '("-DBUILD_WITH_QT4=OFF")))
3821 `(("qtbase" ,qtbase)
3823 (home-page "https://projects.kde.org/projects/playground/libs/libechonest")
3824 (synopsis "C++/Qt classes to interface with The Echo Nest API")
3825 (description "@code{libechonest} is a collection of C++/Qt classes
3826 designed to make a developer's life easy when trying to use the APIs provided
3828 (license license:gpl2+)))
3830 (define-public libmygpo-qt
3832 (name "libmygpo-qt")
3836 (uri (string-append "http://stefan.derkits.at/files/"
3837 "libmygpo-qt/libmygpo-qt." version ".tar.gz"))
3840 "1wsgh2vjnd52rkvpncj1ycpbp84sj9hh12ija46b42z9mmqf2jm4"))
3842 (search-patches "libmygpo-qt-fix-jsoncreatortest.patch"))))
3843 (build-system cmake-build-system)
3845 '(#:configure-flags '("-DBUILD_WITH_QT4=OFF")))
3847 `(("pkg-config" ,pkg-config)))
3850 (home-page "http://wiki.gpodder.org/wiki/Libmygpo-qt")
3851 (synopsis "Qt/C++ library wrapping the gpodder web service")
3852 (description "@code{libmygpo-qt} is a Qt/C++ library wrapping the
3853 @url{https://gpodder.net} APIs. It allows applications to discover, manage
3854 and track podcasts.")
3855 (license license:lgpl2.1+)))
3857 (define-public sonivox-eas
3859 (name "sonivox-eas")
3864 (url "https://github.com/pedrolcl/Linux-SonivoxEas.git")
3865 (commit (string-append "v" version))))
3866 (file-name (string-append name "-" version "-checkout"))
3869 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
3870 (build-system cmake-build-system)
3871 (arguments '(#:tests? #f)) ; there are no tests
3873 `(("alsa-lib" ,alsa-lib)
3874 ("drumstick" ,drumstick)
3875 ("pulseaudio" ,pulseaudio)
3876 ("qtbase" ,qtbase)))
3878 `(("pkg-config" ,pkg-config)))
3879 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
3880 (synopsis "MIDI synthesizer library")
3881 (description "This project is a real time General MIDI synthesizer based
3882 on the Sonivox EAS Synthesizer by Google. It does not need external
3883 soundfonts, using embedded samples instead.")
3884 ;; Sonivox is released under the ASL2.0; the rest of the code is under
3886 (license (list license:gpl2+ license:asl2.0))))
3888 (define-public whysynth
3891 (version "20170701")
3894 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
3895 version ".tar.bz2"))
3898 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
3899 (build-system gnu-build-system)
3906 ("alsa-lib" ,alsa-lib)))
3908 `(("pkg-config" ,pkg-config)))
3909 (home-page "http://smbolton.com/whysynth.html")
3910 (synopsis "DSSI software synthesizer")
3911 (description "WhySynth is a versatile softsynth which operates as a plugin
3912 for the DSSI Soft Synth Interface. A brief list of features:
3915 @item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
3916 @item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
3917 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
3919 @item 10 filter modes.
3920 @item flexible modulation and mixdown options, plus effects.
3923 (license license:gpl2+)))
3925 (define-public libdiscid
3933 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
3937 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
3938 (arguments `(#:test-target "check"))
3939 (build-system cmake-build-system)
3940 (home-page "https://musicbrainz.org/doc/libdiscid")
3941 (synopsis "Disc id reader library")
3942 (description "libdiscid is a C library for creating MusicBrainz and freedb
3943 disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
3944 an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
3945 it provides a submission URL for adding the disc ID to the database and gathers
3946 ISRCs and the MCN (=UPC/EAN) from disc.")
3947 (license license:lgpl2.1+)))
3949 (define-public libmusicbrainz
3951 (name "libmusicbrainz")
3957 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
3958 version "/libmusicbrainz-" version ".tar.gz"))
3961 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
3962 (build-system cmake-build-system)
3963 (arguments `(#:phases
3964 (modify-phases %standard-phases
3968 ;; requires network connections
3969 ;; (zero? (system* "tests/mbtest"))
3970 (zero? (system* "tests/ctest"))))))))
3971 (inputs `(("neon" ,neon)
3972 ("libxml2" ,libxml2)))
3973 (native-inputs `(("pkg-config" ,pkg-config)))
3974 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
3975 (synopsis "MusicBrainz client library")
3976 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
3977 mb_client, is a development library geared towards developers who wish to add
3978 MusicBrainz lookup capabilities to their applications.")
3979 (license license:lgpl2.1+)))