gnu: Add java-log4j-1.2-api.
[jackhill/guix/guix.git] / gnu / packages / music.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
3 ;;; Copyright © 2015, 2016, 2017 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 Nicolas Goaziou <mail@nicolasgoaziou.fr>
14 ;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
15 ;;;
16 ;;; This file is part of GNU Guix.
17 ;;;
18 ;;; GNU Guix is free software; you can redistribute it and/or modify it
19 ;;; under the terms of the GNU General Public License as published by
20 ;;; the Free Software Foundation; either version 3 of the License, or (at
21 ;;; your option) any later version.
22 ;;;
23 ;;; GNU Guix is distributed in the hope that it will be useful, but
24 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
25 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 ;;; GNU General Public License for more details.
27 ;;;
28 ;;; You should have received a copy of the GNU General Public License
29 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
30
31 (define-module (gnu packages music)
32 #:use-module (guix utils)
33 #:use-module (guix packages)
34 #:use-module (guix download)
35 #:use-module (guix git-download)
36 #:use-module ((guix licenses) #:prefix license:)
37 #:use-module (guix build-system gnu)
38 #:use-module (guix build-system ant)
39 #:use-module (guix build-system cmake)
40 #:use-module (guix build-system python)
41 #:use-module (guix build-system waf)
42 #:use-module (gnu packages)
43 #:use-module (gnu packages algebra)
44 #:use-module (gnu packages apr)
45 #:use-module (gnu packages audio)
46 #:use-module (gnu packages autotools)
47 #:use-module (gnu packages backup)
48 #:use-module (gnu packages base) ;libbdf
49 #:use-module (gnu packages bash)
50 #:use-module (gnu packages bison)
51 #:use-module (gnu packages boost)
52 #:use-module (gnu packages cdrom)
53 #:use-module (gnu packages code)
54 #:use-module (gnu packages check)
55 #:use-module (gnu packages cmake)
56 #:use-module (gnu packages compression)
57 #:use-module (gnu packages curl)
58 #:use-module (gnu packages cyrus-sasl)
59 #:use-module (gnu packages docbook)
60 #:use-module (gnu packages documentation)
61 #:use-module (gnu packages emacs)
62 #:use-module (gnu packages file)
63 #:use-module (gnu packages flex)
64 #:use-module (gnu packages fltk)
65 #:use-module (gnu packages fonts)
66 #:use-module (gnu packages fontutils)
67 #:use-module (gnu packages freedesktop)
68 #:use-module (gnu packages gcc)
69 #:use-module (gnu packages gnupg)
70 #:use-module (gnu packages gettext)
71 #:use-module (gnu packages ghostscript)
72 #:use-module (gnu packages gl)
73 #:use-module (gnu packages glib)
74 #:use-module (gnu packages gnome)
75 #:use-module (gnu packages graphics)
76 #:use-module (gnu packages gtk)
77 #:use-module (gnu packages guile)
78 #:use-module (gnu packages image)
79 #:use-module (gnu packages imagemagick)
80 #:use-module (gnu packages java)
81 #:use-module (gnu packages libffi)
82 #:use-module (gnu packages linux) ; for alsa-utils
83 #:use-module (gnu packages lirc)
84 #:use-module (gnu packages llvm)
85 #:use-module (gnu packages man)
86 #:use-module (gnu packages mp3)
87 #:use-module (gnu packages mpd)
88 #:use-module (gnu packages ncurses)
89 #:use-module (gnu packages netpbm)
90 #:use-module (gnu packages pcre)
91 #:use-module (gnu packages pdf)
92 #:use-module (gnu packages perl)
93 #:use-module (gnu packages pkg-config)
94 #:use-module (gnu packages pulseaudio) ;libsndfile
95 #:use-module (gnu packages python)
96 #:use-module (gnu packages python-web)
97 #:use-module (gnu packages qt)
98 #:use-module (gnu packages rdf)
99 #:use-module (gnu packages readline)
100 #:use-module (gnu packages rsync)
101 #:use-module (gnu packages sdl)
102 #:use-module (gnu packages tcl)
103 #:use-module (gnu packages texinfo)
104 #:use-module (gnu packages tex)
105 #:use-module (gnu packages tls)
106 #:use-module (gnu packages video)
107 #:use-module (gnu packages web)
108 #:use-module (gnu packages wxwidgets)
109 #:use-module (gnu packages xml)
110 #:use-module (gnu packages xorg)
111 #:use-module (gnu packages xiph)
112 #:use-module ((srfi srfi-1) #:select (last)))
113
114 (define-public aria-maestosa
115 (package
116 (name "aria-maestosa")
117 (version "1.4.13")
118 (source (origin
119 (method url-fetch)
120 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
121 version "/AriaSrc-" version ".tar.bz2"))
122 (sha256
123 (base32
124 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
125 (build-system gnu-build-system)
126 (arguments
127 `(#:tests? #f ;no tests
128 #:phases
129 ;; TODO: Add scons-build-system and use it here.
130 (modify-phases %standard-phases
131 (delete 'configure)
132 (add-after 'unpack 'scons-propagate-environment
133 (lambda _
134 ;; By design, SCons does not, by default, propagate
135 ;; environment variables to subprocesses. See:
136 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
137 ;; Here, we modify the SConstruct file to arrange for
138 ;; environment variables to be propagated.
139 (substitute* "SConstruct"
140 (("env = Environment\\(\\)")
141 "env = Environment(ENV=os.environ)")
142 ;; Scons errors out when copying subdirectories from Resources,
143 ;; so we move them instead.
144 (("Copy") "Move")
145 ;; We move the "score" and "Documentation" directories at once,
146 ;; so we have to ignore files contained therein.
147 (("if \".svn\" in file" line)
148 (string-append line
149 " or \"score/\" in file"
150 " or \"Documentation/\" in file")))
151 #t))
152 (replace 'build (lambda _ (zero? (system* "scons"))))
153 (replace 'install
154 (lambda* (#:key outputs #:allow-other-keys)
155 (let ((out (assoc-ref outputs "out")))
156 (and
157 (zero? (system* "scons"
158 (string-append "prefix=" out)
159 "install"))
160 ;; Fix directory permissions
161 (begin
162 (chmod (string-append out "/share/Aria/Documentation") #o555)
163 (chmod (string-append out "/share/Aria/score") #o555)
164 #t))))))))
165 (inputs
166 `(("wxwidgets" ,wxwidgets)
167 ("glib" ,glib)
168 ("alsa-lib" ,alsa-lib)))
169 (native-inputs
170 `(("scons" ,scons)
171 ("pkg-config" ,pkg-config)))
172 (home-page "http://ariamaestosa.sourceforge.net/")
173 (synopsis "MIDI sequencer and editor")
174 (description
175 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
176 and play MIDI files with a few clicks in a user-friendly interface offering
177 score, keyboard, guitar, drum and controller views.")
178 (license license:gpl3+)))
179
180 (define-public cmus
181 (package
182 (name "cmus")
183 (version "2.7.1")
184 (source (origin
185 (method url-fetch)
186 (uri (string-append
187 "https://github.com/" name "/" name "/archive/v"
188 version ".tar.gz"))
189 (file-name (string-append name "-" version ".tar.gz"))
190 (sha256
191 (base32
192 "0raixgjavkm7hxppzsc5zqbfbh2bhjcmbiplhnsxsmyj8flafyc1"))))
193 (build-system gnu-build-system)
194 (arguments
195 `(#:tests? #f ; cmus does not include tests
196 #:phases
197 (modify-phases %standard-phases
198 (replace
199 'configure
200 (lambda* (#:key outputs #:allow-other-keys)
201 (let ((out (assoc-ref outputs "out")))
202
203 ;; It's an idiosyncratic configure script that doesn't
204 ;; understand --prefix=..; it wants prefix=.. instead.
205 (zero?
206 (system* "./configure"
207 (string-append "prefix=" out)))))))))
208 ;; TODO: cmus optionally supports the following formats, which haven't yet
209 ;; been added to Guix:
210 ;;
211 ;; - Roar, libroar
212 ;;
213 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
214 ;; Guix. See <http://sourceforge.net/projects/discid/>
215 (native-inputs
216 `(("pkg-config" ,pkg-config)))
217 (inputs
218 `(("alsa-lib" ,alsa-lib)
219 ("ao" ,ao)
220 ("ffmpeg" ,ffmpeg)
221 ("flac" ,flac)
222 ("jack" ,jack-1)
223 ("libcddb" ,libcddb)
224 ("libcdio-paranoia" ,libcdio-paranoia)
225 ("libcue" ,libcue)
226 ("libmad" ,libmad)
227 ("libmodplug" ,libmodplug)
228 ("libmpcdec" ,libmpcdec)
229 ("libsamplerate" ,libsamplerate)
230 ("libvorbis" ,libvorbis)
231 ("ncurses" ,ncurses)
232 ("opusfile" ,opusfile)
233 ("pulseaudio" ,pulseaudio)
234 ("wavpack" ,wavpack)))
235 (home-page "https://cmus.github.io/")
236 (synopsis "Small console music player")
237 (description "Cmus is a small and fast console music player. It supports
238 many input formats and provides a customisable Vi-style user interface.")
239 (license license:gpl2+)))
240
241 (define-public denemo
242 (package
243 (name "denemo")
244 (version "2.1")
245 (source (origin
246 (method url-fetch)
247 (uri (string-append "mirror://gnu/denemo/denemo-"
248 version ".tar.gz"))
249 (sha256
250 (base32
251 "0hggf8c4xcrjcxd5m00r788r7jg7g8ff54w2idfaqpj5j2ix3299"))))
252 (build-system gnu-build-system)
253 (arguments
254 `(#:phases
255 (modify-phases %standard-phases
256 (replace 'check
257 ;; Denemo's documentation says to use this command to run its
258 ;; testsuite.
259 (lambda _
260 (zero? (system* "make" "-C" "tests" "check"))))
261 (add-before 'build 'set-lilypond
262 ;; This phase sets the default path for lilypond to its current
263 ;; location in the store.
264 (lambda* (#:key inputs #:allow-other-keys)
265 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
266 "/bin/lilypond")))
267 (substitute* "src/core/prefops.c"
268 (("g_string_new \\(\"lilypond\"\\);")
269 (string-append "g_string_new (\""
270 lilypond
271 "\");"))))
272 #t))
273 (add-after 'install 'correct-filename
274 ;; "graft-derivation/shallow" from the (guix grafts) module runs in
275 ;; the C locale, expecting file names to be ASCII encoded. This
276 ;; phase renames a filename with a Unicode character in it to meet
277 ;; the aforementioned condition.
278 (lambda* (#:key outputs #:allow-other-keys)
279 (let* ((out (assoc-ref outputs "out")))
280 (chdir (string-append
281 out
282 "/share/denemo/templates/instruments/woodwind"))
283 (rename-file "Clarinet in B♭.denemo"
284 "Clarinet in Bb.denemo"))
285 #t)))))
286 (native-inputs
287 `(("glib:bin", glib "bin") ; for gtester
288 ("pkg-config" ,pkg-config)))
289 (inputs
290 `(("alsa-lib" ,alsa-lib)
291 ("aubio" ,aubio)
292 ("evince" ,evince)
293 ("fftw" ,fftw)
294 ("fluidsynth" ,fluidsynth)
295 ("glib" ,glib)
296 ("gtk+" ,gtk+)
297 ("gtk-doc" ,gtk-doc)
298 ("gtksourceview" ,gtksourceview)
299 ("guile" ,guile-2.0)
300 ("intltool" ,intltool)
301 ("librsvg" ,librsvg)
302 ("libsndfile" ,libsndfile)
303 ("libtool" ,libtool)
304 ("libxml2" ,libxml2)
305 ("lilypond", lilypond)
306 ("portaudio" ,portaudio)
307 ("portmidi" ,portmidi)
308 ("rubberband" ,rubberband)))
309 (synopsis "Graphical music notation, front-end to GNU Lilypond")
310 (description
311 "GNU Denemo is a music notation editor that provides a convenient
312 interface to the powerful music engraving program Lilypond. Music can be
313 typed in using the computer keyboard, played in using a MIDI keyboard, or
314 even input via a microphone connected to the sound card. The final product
315 is publication-quality music notation that is continuously generated in the
316 background while you work.")
317 (home-page "http://www.denemo.org")
318 (license license:gpl3+)))
319
320 (define-public hydrogen
321 (package
322 (name "hydrogen")
323 (version "0.9.7")
324 (source (origin
325 (method url-fetch)
326 (uri (string-append
327 "https://github.com/hydrogen-music/hydrogen/archive/"
328 version ".tar.gz"))
329 (sha256
330 (base32
331 "1dy2jfkdw0nchars4xi4isrz66fqn53a9qk13bqza7lhmsg3s3qy"))))
332 (build-system cmake-build-system)
333 (arguments
334 `(#:test-target "tests"))
335 (native-inputs
336 `(("cppunit" ,cppunit)
337 ("pkg-config" ,pkg-config)))
338 (inputs
339 `(("alsa-lib" ,alsa-lib)
340 ("jack" ,jack-1)
341 ;; ("ladspa" ,ladspa) ; cannot find during configure
342 ("lash" ,lash)
343 ("libarchive" ,libarchive)
344 ("libsndfile" ,libsndfile)
345 ("libtar" ,libtar)
346 ("lrdf" ,lrdf)
347 ("qt" ,qt-4)
348 ("zlib" ,zlib)))
349 (home-page "http://www.hydrogen-music.org")
350 (synopsis "Drum machine")
351 (description
352 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
353 enable professional yet simple and intuitive pattern-based drum programming.")
354 (license license:gpl2+)))
355
356 (define-public extempore
357 (package
358 (name "extempore")
359 (version "0.7.0")
360 (source (origin
361 (method url-fetch)
362 (uri (string-append
363 "https://github.com/digego/extempore/archive/"
364 version ".tar.gz"))
365 (sha256
366 (base32
367 "1wap1mvsicrhlazikf7l8zxg37fir8bmnh9rin28m1rix730vcch"))
368 (file-name (string-append name "-" version ".tar.gz"))))
369 (build-system cmake-build-system)
370 (arguments
371 `(;; The default target also includes ahead-of-time compilation of the
372 ;; standard libraries. However, during the "install" phase this would
373 ;; happen *again* for unknown reasons. Hence we only build the
374 ;; extempore executable during the build phase.
375 #:make-flags '("extempore")
376 #:configure-flags '("-DJACK=ON"
377 ;; We want to distribute.
378 "-DIN_TREE=OFF"
379 ;; Don't download any dependencies.
380 "-DBUILD_DEPS=OFF")
381 #:modules ((ice-9 match)
382 (guix build cmake-build-system)
383 (guix build utils))
384 #:phases
385 (modify-phases %standard-phases
386 (add-after 'unpack 'patch-directories
387 (lambda* (#:key outputs #:allow-other-keys)
388 ;; Rewrite default path to runtime directory
389 (substitute* "src/Extempore.cpp"
390 (("runtimedir \\+= \"runtime\"")
391 (string-append "runtimedir = \""
392 (assoc-ref outputs "out")
393 "/lib/extempore/runtime\"")))
394 (substitute* "extras/extempore.el"
395 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
396 (string-append "(runtime-directory \""
397 (assoc-ref outputs "out")
398 "/lib/extempore/runtime"
399 "\")")))
400 #t))
401 (add-after 'unpack 'link-with-additional-libs
402 (lambda _
403 ;; The executable must be linked with libffi and zlib.
404 (substitute* "CMakeLists.txt"
405 (("add_dependencies\\(aot_extended extended_deps\\)") "")
406 (("target_link_libraries\\(extempore PRIVATE dl" line)
407 (string-append line " ffi z")))
408 #t))
409 ;; FIXME: AOT compilation of the nanovg bindings fail with the error:
410 ;; "Compiler Error could not bind _nvgLinearGradient"
411 (add-after 'unpack 'disable-nanovg
412 (lambda _
413 (substitute* "CMakeLists.txt"
414 (("aotcompile_lib\\(libs/external/nanovg.xtm.*") ""))
415 #t))
416 ;; FIXME: All examples that are used as tests segfault for some
417 ;; unknown reason.
418 (add-after 'unpack 'disable-broken-tests
419 (lambda _
420 (substitute* "CMakeLists.txt"
421 (("extempore_add_example_as_test\\(.*") ""))
422 #t))
423 (add-after 'unpack 'hardcode-external-lib-paths
424 (lambda* (#:key inputs #:allow-other-keys)
425 (use-modules (ice-9 match))
426 (for-each
427 (match-lambda
428 ((file-name lib pkg-name)
429 (substitute* (string-append "libs/external/" file-name ".xtm")
430 ((lib) (string-append (assoc-ref inputs pkg-name)
431 "/lib/" lib)))))
432 '(("assimp" "libassimp.so" "assimp")
433 ("portmidi" "libportmidi.so" "portmidi")
434 ("sndfile" "libsndfile.so" "libsndfile")
435 ("fft" "libkiss_fft.so" "kiss-fft")
436 ("stb_image" "libstb_image.so" "stb-image")
437 ("nanovg" "libnanovg.so" "nanovg")
438 ("glext" "libGL.so" "mesa")
439 ("glfw3" "libglfw.so" "glfw")
440 ("gl/glcore-directbind" "libGL.so" "mesa")
441 ("gl/glcompat-directbind" "libGL.so" "mesa")))
442 #t))
443 (add-after 'unpack 'use-own-llvm
444 (lambda* (#:key inputs #:allow-other-keys)
445 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
446 ;; Our LLVM builds shared libraries, so Extempore should use
447 ;; those.
448 (substitute* "CMakeLists.txt"
449 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
450 #t))
451 (add-after 'unpack 'fix-aot-compilation
452 (lambda* (#:key outputs #:allow-other-keys)
453 (substitute* "CMakeLists.txt"
454 ;; EXT_SHARE_DIR does not exist before installation, so the
455 ;; working directory should be the source directory instead.
456 (("WORKING_DIRECTORY \\$\\{EXT_SHARE_DIR\\}")
457 "WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}")
458 ;; Extempore needs to be told where the runtime is to be found.
459 ;; While we're at it we disable automatic tuning for a specific
460 ;; CPU to make binary substitution possible.
461 (("COMMAND extempore" prefix)
462 (string-append prefix " --sharedir " (getcwd)
463 " --mcpu=generic --attr=none")))
464 #t)))))
465 (inputs
466 `(("llvm" ,llvm-for-extempore)
467 ("libffi" ,libffi)
468 ("jack" ,jack-1)
469 ("libsndfile" ,libsndfile)
470 ("glfw" ,glfw)
471 ("apr" ,apr)
472 ("stb-image" ,stb-image-for-extempore)
473 ("kiss-fft" ,kiss-fft-for-extempore)
474 ("nanovg" ,nanovg-for-extempore)
475 ("portmidi" ,portmidi-for-extempore)
476 ("assimp" ,assimp)
477 ("alsa-lib" ,alsa-lib)
478 ("portaudio" ,portaudio)
479 ("mesa" ,mesa)
480 ("pcre" ,pcre)
481 ("zlib" ,zlib)))
482 (native-inputs
483 `(("perl" ,perl)
484 ("emacs" ,emacs-no-x)))
485 ;; Extempore refuses to build on architectures other than x86_64
486 (supported-systems '("x86_64-linux"))
487 (home-page "http://digego.github.io/extempore/")
488 (synopsis "Programming environment for live coding of multimedia")
489 (description
490 "Extempore is a programming language and runtime environment designed
491 with live programming in mind. It supports interactive programming in a REPL
492 style, compiling and binding code just-in-time. Although Extempore has its
493 roots in 'live coding' of audiovisual media art, it is suitable for any task
494 domain where dynamic run-time modifiability and good numerical performance are
495 required. Extempore also has strong timing and concurrency semantics, which
496 are helpful when working in problem spaces where timing is important (such as
497 audio and video).")
498 (license license:bsd-2)))
499
500 (define-public klick
501 (package
502 (name "klick")
503 (version "0.12.2")
504 (source (origin
505 (method url-fetch)
506 (uri (string-append "http://das.nasophon.de/download/klick-"
507 version ".tar.gz"))
508 (sha256
509 (base32
510 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
511 (build-system gnu-build-system)
512 (arguments
513 `(#:tests? #f ;no "check" target
514 #:phases
515 ;; TODO: Add scons-build-system and use it here.
516 (modify-phases %standard-phases
517 (delete 'configure)
518 (replace 'build
519 (lambda* (#:key inputs outputs #:allow-other-keys)
520 (let ((out (assoc-ref outputs "out")))
521 (mkdir-p out)
522 (zero? (system* "scons" (string-append "PREFIX=" out))))))
523 (replace 'install (lambda _ (zero? (system* "scons" "install")))))))
524 (inputs
525 `(("boost" ,boost)
526 ("jack" ,jack-1)
527 ("libsndfile" ,libsndfile)
528 ("libsamplerate" ,libsamplerate)
529 ("liblo" ,liblo)
530 ("rubberband" ,rubberband)))
531 (native-inputs
532 `(("scons" ,scons)
533 ("python" ,python-2)
534 ("pkg-config" ,pkg-config)))
535 (home-page "http://das.nasophon.de/klick/")
536 (synopsis "Metronome for JACK")
537 (description
538 "klick is an advanced command-line based metronome for JACK. It allows
539 you to define complex tempo maps for entire songs or performances.")
540 (license license:gpl2+)))
541
542 (define-public gtklick
543 (package
544 (name "gtklick")
545 (version "0.6.4")
546 (source (origin
547 (method url-fetch)
548 (uri (string-append "http://das.nasophon.de/download/gtklick-"
549 version ".tar.gz"))
550 (sha256
551 (base32
552 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
553 (build-system python-build-system)
554 (arguments
555 `(#:tests? #f ; no tests
556 #:python ,python-2
557 #:phases
558 (modify-phases %standard-phases
559 (add-before 'build 'add-sitedirs
560 ;; .pth files are not automatically interpreted unless the
561 ;; directories containing them are added as "sites". The directories
562 ;; are then added to those in the PYTHONPATH. This is required for
563 ;; the operation of pygtk.
564 (lambda _
565 (substitute* "gtklick/gtklick.py"
566 (("import pygtk")
567 "import pygtk, site, sys
568 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
569 (add-after 'unpack 'inject-store-path-to-klick
570 (lambda* (#:key inputs #:allow-other-keys)
571 (substitute* "gtklick/klick_backend.py"
572 (("KLICK_PATH = 'klick'")
573 (string-append "KLICK_PATH = '"
574 (assoc-ref inputs "klick")
575 "/bin/klick'")))
576 #t)))))
577 (inputs
578 `(("klick" ,klick)
579 ("python2-pyliblo" ,python2-pyliblo)
580 ("python2-pygtk" ,python2-pygtk)))
581 (native-inputs
582 `(("gettext" ,gettext-minimal)))
583 (home-page "http://das.nasophon.de/gtklick/")
584 (synopsis "Simple metronome with an easy-to-use graphical interface")
585 (description
586 "Gtklick is a simple metronome with an easy-to-use graphical user
587 interface. It is implemented as a frontend to @code{klick}.")
588 (license license:gpl2+)))
589
590 (define-public libgme
591 (package
592 (name "libgme")
593 (version "0.6.1")
594 (source (origin
595 (method url-fetch)
596 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
597 "downloads/game-music-emu-" version
598 ".tar.bz2"))
599 (sha256
600 (base32
601 "08fk7zddpn7v93d0fa7fcypx7hvgwx9b5psj9l6m8b87k2hbw4fw"))))
602 (build-system cmake-build-system)
603 (arguments
604 '(#:tests? #f)) ; no check target
605 (home-page "https://bitbucket.org/mpyne/game-music-emu")
606 (synopsis "Video game music file playback library")
607 (description
608 "Game-music-emu is a collection of video game music file emulators that
609 support the following formats and systems:
610 @table @code
611 @item AY
612 ZX Spectrum/Asmtrad CPC
613 @item GBS
614 Nintendo Game Boy
615 @item GYM
616 Sega Genesis/Mega Drive
617 @item HES
618 NEC TurboGrafx-16/PC Engine
619 @item KSS
620 MSX Home Computer/other Z80 systems (doesn't support FM sound)
621 @item NSF/NSFE
622 Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
623 @item SAP
624 Atari systems using POKEY sound chip
625 @item SPC
626 Super Nintendo/Super Famicom
627 @item VGM/VGZ
628 Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
629 @end table")
630 (license (list license:lgpl2.1+
631 ;; demo and player directories are under the Expat license
632 license:expat))))
633
634 (define-public lilypond
635 (package
636 (name "lilypond")
637 (version "2.19.63")
638 (source (origin
639 (method url-fetch)
640 (uri (string-append
641 "http://download.linuxaudio.org/lilypond/sources/v"
642 (version-major+minor version) "/"
643 name "-" version ".tar.gz"))
644 (sha256
645 (base32
646 "0hwv7m1lzyhjiyxqhqfdrrrpx475jhiwckrnxbjbv3ynhyzkngw0"))))
647 (build-system gnu-build-system)
648 (arguments
649 `(#:tests? #f ; out-test/collated-files.html fails
650 #:out-of-source? #t
651 #:make-flags '("conf=www") ;to generate images for info manuals
652 #:configure-flags
653 (list "CONFIGURATION=www"
654 (string-append "--with-texgyre-dir="
655 (assoc-ref %build-inputs "font-tex-gyre")
656 "/share/fonts/opentype/"))
657 #:phases
658 (modify-phases %standard-phases
659 (add-after 'unpack 'use-texlive-union
660 (lambda _
661 ;; FIXME: fonts are not found and have to be generated in HOME.
662 (setenv "HOME" "/tmp")
663 ;; The test for the "lh" package fails, even though it is among
664 ;; the inputs.
665 (substitute* "configure"
666 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
667 #t))
668 (add-after 'unpack 'fix-path-references
669 (lambda _
670 (substitute* "scm/backend-library.scm"
671 (("\\(search-executable '\\(\"gs\"\\)\\)")
672 (string-append "\"" (which "gs") "\""))
673 (("\"/bin/sh\"")
674 (string-append "\"" (which "sh") "\"")))
675 #t))
676 (add-before 'configure 'prepare-configuration
677 (lambda _
678 (substitute* "configure"
679 (("SHELL=/bin/sh") "SHELL=sh")
680 ;; When checking the fontforge version do not consider the
681 ;; version string that's part of the directory.
682 (("head -n") "tail -n")
683 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
684 (("20110222") "19700101"))
685 (setenv "out" "www")
686 (setenv "conf" "www")
687 #t))
688 (add-after 'install 'install-info
689 (lambda _
690 (zero? (system* "make"
691 "-j" (number->string (parallel-job-count))
692 "conf=www" "install-info")))))))
693 (inputs
694 `(("guile" ,guile-1.8)
695 ("font-dejavu" ,font-dejavu)
696 ("font-tex-gyre" ,font-tex-gyre)
697 ("fontconfig" ,fontconfig)
698 ("freetype" ,freetype)
699 ("ghostscript" ,ghostscript)
700 ("pango" ,pango)
701 ("python" ,python-2)))
702 (native-inputs
703 `(("bison" ,bison)
704 ("perl" ,perl)
705 ("flex" ,flex)
706 ("fontforge" ,fontforge)
707 ("dblatex" ,dblatex)
708 ("gettext" ,gettext-minimal)
709 ("imagemagick" ,imagemagick)
710 ("netpbm" ,netpbm) ;for pngtopnm
711 ("texlive" ,(texlive-union (list texlive-metapost
712 texlive-generic-epsf
713 texlive-latex-lh
714 texlive-latex-cyrillic)))
715 ("texinfo" ,texinfo)
716 ("texi2html" ,texi2html)
717 ("rsync" ,rsync)
718 ("pkg-config" ,pkg-config)
719 ("zip" ,zip)))
720 (home-page "http://www.lilypond.org/")
721 (synopsis "Music typesetting")
722 (description
723 "GNU LilyPond is a music typesetter, which produces high-quality sheet
724 music. Music is input in a text file containing control sequences which are
725 interpreted by LilyPond to produce the final document. It is extendable with
726 Guile.")
727 (license license:gpl3+)
728
729 ;; On armhf and mips64el, building the documentation sometimes leads to
730 ;; more than an hour of silence, so double the max silent time.
731 (properties `((max-silent-time . 7200)))))
732
733 (define-public non-sequencer
734 ;; The latest tagged release is three years old and uses a custom build
735 ;; system, so we take the last commit.
736 (let ((commit "10c31e57291b6e42be53371567a722b62b32d220")
737 (revision "3"))
738 (package
739 (name "non-sequencer")
740 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
741 (source (origin
742 (method git-fetch)
743 (uri (git-reference
744 (url "git://git.tuxfamily.org/gitroot/non/non.git")
745 (commit commit)))
746 (sha256
747 (base32
748 "080rha4ffp7qycyg1mqcf4vj0s7z8qfvz6bxm0w29xgg2kkmb3fx"))
749 (file-name (string-append name "-" version "-checkout"))))
750 (build-system waf-build-system)
751 (arguments
752 `(#:tests? #f ;no "check" target
753 #:configure-flags
754 (list "--project=sequencer"
755 ;; Disable the use of SSE unless on x86_64.
756 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
757 (%current-system))))
758 '("--disable-sse")
759 '()))
760 #:phases
761 (modify-phases %standard-phases
762 (add-before
763 'configure 'set-flags
764 (lambda _
765 ;; Compile with C++11, required by libsigc++.
766 (setenv "CXXFLAGS" "-std=c++11")
767 #t)))
768 #:python ,python-2))
769 (inputs
770 `(("jack" ,jack-1)
771 ("libsigc++" ,libsigc++)
772 ("liblo" ,liblo)
773 ("ntk" ,ntk)))
774 (native-inputs
775 `(("pkg-config" ,pkg-config)))
776 (home-page "http://non.tuxfamily.org/wiki/Non%20Sequencer")
777 (synopsis "Pattern-based MIDI sequencer")
778 (description
779 "The Non Sequencer is a powerful, lightweight, real-time,
780 pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
781 MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
782 Sequencer happens on-line, in real-time. Music can be composed live, while the
783 transport is rolling.")
784 (license license:gpl2+))))
785
786 (define-public non-session-manager
787 (package (inherit non-sequencer)
788 (name "non-session-manager")
789 (arguments
790 (substitute-keyword-arguments (package-arguments non-sequencer)
791 ((#:configure-flags flags)
792 `(cons "--project=session-manager"
793 (delete "--project=sequencer" ,flags)))))
794 (inputs
795 `(("jack" ,jack-1)
796 ("liblo" ,liblo)
797 ("ntk" ,ntk)))
798 (native-inputs
799 `(("pkg-config" ,pkg-config)))
800 (home-page "http://non.tuxfamily.org/nsm/")
801 (synopsis "Audio session management")
802 (description
803 "The Non Session Manager is an API and an implementation for audio
804 session management. NSM clients use a well-specified OSC protocol to
805 communicate with the session management daemon.")
806 (license license:gpl2+)))
807
808 (define-public non-mixer
809 (package (inherit non-sequencer)
810 (name "non-mixer")
811 (arguments
812 (substitute-keyword-arguments (package-arguments non-sequencer)
813 ((#:configure-flags flags)
814 `(cons "--project=mixer"
815 (delete "--project=sequencer" ,flags)))))
816 (inputs
817 `(("jack" ,jack-1)
818 ("liblo" ,liblo)
819 ("ladspa" ,ladspa)
820 ("lrdf" ,lrdf)
821 ("ntk" ,ntk)))
822 (native-inputs
823 `(("pkg-config" ,pkg-config)))
824 (home-page "http://non.tuxfamily.org/wiki/Non%20Mixer")
825 (synopsis "Modular digital audio mixer")
826 (description
827 "The Non Mixer is a powerful, reliable and fast modular digital audio
828 mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
829 toolkit for a fast and lightweight user interface. Non Mixer can be used
830 alone or in concert with Non Timeline and Non Sequencer to form a complete
831 studio.")
832 (license license:gpl2+)))
833
834 (define-public non-timeline
835 (package (inherit non-sequencer)
836 (name "non-timeline")
837 (arguments
838 (substitute-keyword-arguments (package-arguments non-sequencer)
839 ((#:configure-flags flags)
840 `(cons "--project=timeline"
841 (delete "--project=sequencer" ,flags)))))
842 (inputs
843 `(("jack" ,jack-1)
844 ("liblo" ,liblo)
845 ("libsndfile" ,libsndfile)
846 ("ntk" ,ntk)))
847 (native-inputs
848 `(("pkg-config" ,pkg-config)))
849 (home-page "http://non.tuxfamily.org/wiki/Non%20Timeline")
850 (synopsis "Modular digital audio timeline arranger")
851 (description
852 "The Non Timeline is a powerful, reliable and fast modular digital audio
853 timeline arranger. It utilizes JACK for inter-application audio I/O and the
854 NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
855 be used alone or in concert with Non Mixer and Non Sequencer to form a
856 complete studio.")
857 (license license:gpl2+)))
858
859 (define-public solfege
860 (package
861 (name "solfege")
862 (version "3.22.2")
863 (source (origin
864 (method url-fetch)
865 (uri (string-append
866 "mirror://gnu/solfege/solfege-"
867 version ".tar.xz"))
868 (sha256
869 (base32
870 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
871 (build-system gnu-build-system)
872 (arguments
873 `(#:tests? #f ; xmllint attempts to download DTD
874 #:test-target "test"
875 #:phases
876 (modify-phases %standard-phases
877 (add-after 'unpack 'fix-configuration
878 (lambda* (#:key inputs #:allow-other-keys)
879 (substitute* "default.config"
880 (("csound=csound")
881 (string-append "csound="
882 (assoc-ref inputs "csound")
883 "/bin/csound"))
884 (("/usr/bin/aplay")
885 (string-append (assoc-ref inputs "aplay")
886 "/bin/aplay"))
887 (("/usr/bin/timidity")
888 (string-append (assoc-ref inputs "timidity")
889 "/bin/timidity"))
890 (("/usr/bin/mpg123")
891 (string-append (assoc-ref inputs "mpg123")
892 "/bin/mpg123"))
893 (("/usr/bin/ogg123")
894 (string-append (assoc-ref inputs "ogg123")
895 "/bin/ogg123")))
896 #t))
897 (add-before 'build 'patch-python-shebangs
898 (lambda _
899 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
900 ;; has no effect.
901 (substitute* '("solfege/parsetree.py"
902 "solfege/presetup.py")
903 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
904 #t))
905 (add-before 'build 'add-sitedirs
906 ;; .pth files are not automatically interpreted unless the
907 ;; directories containing them are added as "sites". The directories
908 ;; are then added to those in the PYTHONPATH. This is required for
909 ;; the operation of pygtk and pygobject.
910 (lambda _
911 (substitute* "run-solfege.py"
912 (("import os")
913 "import os, site
914 for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
915 #t))
916 (add-before 'build 'adjust-config-file-prefix
917 (lambda* (#:key outputs #:allow-other-keys)
918 (substitute* "run-solfege.py"
919 (("prefix = os.path.*$")
920 (string-append "prefix = " (assoc-ref outputs "out"))))
921 #t))
922 (add-after 'install 'wrap-program
923 (lambda* (#:key inputs outputs #:allow-other-keys)
924 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
925 (let* ((out (assoc-ref outputs "out"))
926 (path (getenv "PYTHONPATH")))
927 (wrap-program (string-append out "/bin/solfege")
928 `("PYTHONPATH" ":" prefix (,path))))
929 #t)))))
930 (inputs
931 `(("python" ,python-2)
932 ("pygtk" ,python2-pygtk)
933 ("gettext" ,gettext-minimal)
934 ("gtk" ,gtk+)
935 ("lilypond" ,lilypond)
936 ;; players needed at runtime
937 ("aplay" ,alsa-utils)
938 ("csound" ,csound) ; optional, needed for some exercises
939 ("mpg123" ,mpg123)
940 ("ogg123" ,vorbis-tools)
941 ("timidity" ,timidity++)))
942 (native-inputs
943 `(("pkg-config" ,pkg-config)
944 ("txt2man" ,txt2man)
945 ("libxml2" ,libxml2) ; for tests
946 ("ghostscript" ,ghostscript)
947 ("texinfo" ,texinfo)))
948 (home-page "https://www.gnu.org/software/solfege/")
949 (synopsis "Ear training")
950 (description
951 "GNU Solfege is a program for practicing musical ear-training. With it,
952 you can practice your recognition of various musical intervals and chords. It
953 features a statistics overview so you can monitor your progress across several
954 sessions. Solfege is also designed to be extensible so you can easily write
955 your own lessons.")
956 (license license:gpl3+)))
957
958 (define-public powertabeditor
959 (package
960 (name "powertabeditor")
961 (version "2.0.0-alpha10")
962 (source (origin
963 (method url-fetch)
964 (uri (string-append
965 "https://github.com/powertab/powertabeditor/archive/"
966 version ".tar.gz"))
967 (file-name (string-append name "-" version ".tar.gz"))
968 (sha256
969 (base32
970 "1fr14ql0yhlqvh6y08yaanszm2nvca5i50rqym396kfvga3ky18x"))
971 (modules '((guix build utils)))
972 (snippet
973 '(begin
974 ;; Remove bundled sources for external libraries
975 (delete-file-recursively "external")
976 ;; Use only system libraries
977 (substitute* "CMakeLists.txt"
978 (("include\\( PTE_ThirdParty \\)")
979 "\
980 include(third_party/Qt)
981 include(third_party/boost)
982 add_library( Catch INTERFACE IMPORTED )
983 add_library( rapidjson INTERFACE IMPORTED )"))
984 #t))))
985 (build-system cmake-build-system)
986 (arguments
987 `(#:modules ((guix build cmake-build-system)
988 (guix build utils)
989 (ice-9 match))
990 #:configure-flags
991 ;; CMake appears to lose the RUNPATH for some reason, so it has to be
992 ;; explicitly set with CMAKE_INSTALL_RPATH.
993 (list "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
994 (string-append "-DCMAKE_INSTALL_RPATH="
995 (string-join (map (match-lambda
996 ((name . directory)
997 (string-append directory "/lib")))
998 %build-inputs) ";"))
999 "-DPTE_DATA_DIR=share/powertabeditor")
1000 #:phases
1001 (modify-phases %standard-phases
1002 (replace 'check
1003 (lambda _
1004 (zero? (system* "bin/pte_tests"
1005 ;; FIXME: these tests fail
1006 "exclude:Actions/EditStaff"
1007 "exclude:Formats/PowerTabOldImport/MergeMultiBarRests"
1008 "exclude:Score/ViewFilter/FilterRule"
1009 "exclude:Score/ViewFilter/ViewFilter"
1010 "exclude:Formats/PowerTabOldImport/Directions"
1011 ))))
1012 (add-before 'configure 'remove-third-party-libs
1013 (lambda* (#:key inputs #:allow-other-keys)
1014 ;; Link with required static libraries, because we're not
1015 ;; using the bundled version of withershins.
1016 ;; Also add pthread for fixing a linker error.
1017 (substitute* "source/build/CMakeLists.txt"
1018 (("withershins" line)
1019 (string-append line "\n"
1020 (assoc-ref inputs "binutils")
1021 "/lib/libbfd.a\n"
1022 (assoc-ref inputs "libiberty")
1023 "/lib/libiberty.a\n"
1024 "dl\n"
1025 "pthread\n"
1026 "z\n")))
1027 #t)))))
1028 (inputs
1029 `(("boost" ,boost)
1030 ("alsa-lib" ,alsa-lib)
1031 ("qtbase" ,qtbase)
1032 ("withershins" ,withershins)
1033 ("libiberty" ,libiberty) ;for withershins
1034 ("binutils" ,binutils) ;for -lbfd and -liberty (for withershins)
1035 ("timidity" ,timidity++)
1036 ("pugixml" ,pugixml)
1037 ("rtmidi" ,rtmidi)
1038 ("rapidjson" ,rapidjson)
1039 ("zlib" ,zlib)))
1040 (native-inputs
1041 `(("catch" ,catch-framework)
1042 ("pkg-config" ,pkg-config)))
1043 (home-page "http://powertabs.net")
1044 (synopsis "Guitar tablature editor")
1045 (description
1046 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1047 Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1048 (license license:gpl3+)))
1049
1050 (define-public jalv-select
1051 (package
1052 (name "jalv-select")
1053 (version "0.8")
1054 (source (origin
1055 (method url-fetch)
1056 (uri (string-append "https://github.com/brummer10/jalv_select/"
1057 "archive/V" version ".tar.gz"))
1058 (sha256
1059 (base32
1060 "0zraagwr681b5s3qifxf399c7q93jz23c8sr42gmff9zqnvxc75q"))))
1061 (build-system gnu-build-system)
1062 (arguments
1063 `(#:make-flags
1064 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1065 #:phases
1066 (modify-phases %standard-phases
1067 (delete 'configure)
1068 (add-after 'unpack 'ignore-PATH
1069 (lambda* (#:key inputs #:allow-other-keys)
1070 (substitute* "jalv.select.cpp"
1071 (("echo \\$PATH.*tr ':'.*xargs ls")
1072 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
1073 (substitute* "jalv.select.h"
1074 (("gtkmm.h") "gtkmm-2.4/gtkmm.h"))
1075 #t)))))
1076 (inputs
1077 `(("lilv" ,lilv)
1078 ("lv2" ,lv2)
1079 ("jalv" ,jalv)
1080 ("gtkmm" ,gtkmm-2)))
1081 (native-inputs
1082 `(("pkg-config" ,pkg-config)))
1083 (home-page "https://github.com/brummer10/jalv_select")
1084 (synopsis "GUI to select LV2 plugins and run them with jalv")
1085 (description
1086 "The jalv.select package provides a graphical user interface allowing
1087 users to select LV2 plugins and run them with jalv.")
1088 (license license:public-domain)))
1089
1090 (define-public synthv1
1091 (package
1092 (name "synthv1")
1093 (version "0.8.4")
1094 (source (origin
1095 (method url-fetch)
1096 (uri
1097 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1098 "/synthv1-" version ".tar.gz"))
1099 (sha256
1100 (base32
1101 "0awk2zx0xa6vl6ah24zz0k2mwsx50hh5g1rh32mp790fp4x7l5s8"))))
1102 (build-system gnu-build-system)
1103 (arguments
1104 `(#:tests? #f ; There are no tests.
1105 #:configure-flags
1106 '("CXXFLAGS=-std=gnu++11")))
1107 (inputs
1108 `(("jack" ,jack-1)
1109 ("lv2" ,lv2)
1110 ("alsa-lib" ,alsa-lib)
1111 ("non-session-manager" ,non-session-manager)
1112 ("liblo" ,liblo)
1113 ("qtbase" ,qtbase)
1114 ("qttools" ,qttools)))
1115 (native-inputs
1116 `(("pkg-config" ,pkg-config)))
1117 (home-page "http://synthv1.sourceforge.net")
1118 (synopsis "Polyphonic subtractive synthesizer")
1119 (description
1120 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1121 oscillators and stereo effects.")
1122 (license license:gpl2+)))
1123
1124 (define-public drumkv1
1125 (package
1126 (name "drumkv1")
1127 (version "0.8.4")
1128 (source (origin
1129 (method url-fetch)
1130 (uri
1131 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
1132 "/drumkv1-" version ".tar.gz"))
1133 (sha256
1134 (base32
1135 "0qqpklzy4wgw9jy0v2810j06712q90bwc69fp7da82536ba058a9"))))
1136 (build-system gnu-build-system)
1137 (arguments
1138 `(#:tests? #f ; There are no tests.
1139 #:configure-flags
1140 '("CXXFLAGS=-std=gnu++11")))
1141 (inputs
1142 `(("jack" ,jack-1)
1143 ("lv2" ,lv2)
1144 ("libsndfile" ,libsndfile)
1145 ("alsa-lib" ,alsa-lib)
1146 ("non-session-manager" ,non-session-manager)
1147 ("liblo" ,liblo)
1148 ("qtbase" ,qtbase)))
1149 (native-inputs
1150 `(("pkg-config" ,pkg-config)
1151 ("qttools" ,qttools)))
1152 (home-page "http://drumkv1.sourceforge.net")
1153 (synopsis "Drum-kit sampler synthesizer with stereo effects")
1154 (description
1155 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
1156 effects.")
1157 (license license:gpl2+)))
1158
1159 (define-public samplv1
1160 (package
1161 (name "samplv1")
1162 (version "0.8.4")
1163 (source (origin
1164 (method url-fetch)
1165 (uri
1166 (string-append "mirror://sourceforge/samplv1/samplv1/" version
1167 "/samplv1-" version ".tar.gz"))
1168 (sha256
1169 (base32
1170 "107p2xsj066q2bil0xcgqrrn7lawp02wzf7qmlajcbnd79jhsi6i"))))
1171 (build-system gnu-build-system)
1172 (arguments
1173 `(#:tests? #f ; There are no tests.
1174 #:configure-flags
1175 '("CXXFLAGS=-std=gnu++11")))
1176 (inputs
1177 `(("jack" ,jack-1)
1178 ("lv2" ,lv2)
1179 ("libsndfile" ,libsndfile)
1180 ("alsa-lib" ,alsa-lib)
1181 ("non-session-manager" ,non-session-manager)
1182 ("liblo" ,liblo)
1183 ("qtbase" ,qtbase)))
1184 (native-inputs
1185 `(("pkg-config" ,pkg-config)
1186 ("qttools" ,qttools)))
1187 (home-page "http://samplv1.sourceforge.net")
1188 (synopsis "Polyphonic sampler synthesizer with stereo effects")
1189 (description
1190 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
1191 effects.")
1192 (license license:gpl2+)))
1193
1194 (define-public amsynth
1195 (package
1196 (name "amsynth")
1197 (version "1.7.1")
1198 (source
1199 (origin
1200 (method url-fetch)
1201 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
1202 "download/release-" version
1203 "/amsynth-" version ".tar.bz2"))
1204 (sha256
1205 (base32
1206 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
1207 (build-system gnu-build-system)
1208 (arguments
1209 `(#:phases
1210 (modify-phases %standard-phases
1211 (add-before 'configure 'set-flags
1212 (lambda _
1213 ;; Compile with C++11, required by gtkmm.
1214 (setenv "CXXFLAGS" "-std=c++11")
1215 #t)))))
1216 (inputs
1217 `(("alsa-lib" ,alsa-lib)
1218 ("jack" ,jack-1)
1219 ("lv2" ,lv2)
1220 ("lash" ,lash)
1221 ("libsndfile" ,libsndfile)
1222 ("gtk+" ,gtk+-2)
1223 ("gtkmm" ,gtkmm-2)))
1224 (native-inputs
1225 `(("pkg-config" ,pkg-config)
1226 ("intltool" ,intltool)))
1227 (home-page "http://amsynth.github.io")
1228 (synopsis "Analog modeling synthesizer")
1229 (description
1230 "amsynth is an easy-to-use software synthesizer with a classic
1231 subtractive synthesizer topology. Its features include: dual
1232 oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
1233 resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
1234 keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
1235 which can modulate the oscillators, filter, and amplitude; distortion and
1236 reverb effects.")
1237 (license license:gpl2+)))
1238
1239 (define-public setbfree
1240 (package
1241 (name "setbfree")
1242 (version "0.8.4")
1243 (source (origin
1244 (method url-fetch)
1245 (uri
1246 (string-append "https://github.com/pantherb/setBfree/archive/v"
1247 version ".tar.gz"))
1248 (file-name (string-append name "-" version ".tar.gz"))
1249 (sha256
1250 (base32
1251 "1g4s1920kb2q5gpp82l2vxia29qa8g8zvdjgrca8ypynvxpzn65f"))))
1252 (build-system gnu-build-system)
1253 (arguments
1254 `(#:tests? #f ; no "check" target
1255 #:make-flags
1256 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1257 (string-append "FONTFILE="
1258 (assoc-ref %build-inputs "font-bitstream-vera")
1259 "/share/fonts/truetype/VeraBd.ttf")
1260 ;; Disable unsupported optimization flags on non-x86
1261 ,@(let ((system (or (%current-target-system)
1262 (%current-system))))
1263 (if (or (string-prefix? "x86_64" system)
1264 (string-prefix? "i686" system))
1265 '()
1266 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
1267 #:phases
1268 (modify-phases %standard-phases
1269 (add-before 'build 'set-CC-variable
1270 (lambda _ (setenv "CC" "gcc") #t))
1271 (delete 'configure))))
1272 (inputs
1273 `(("jack" ,jack-1)
1274 ("lv2" ,lv2)
1275 ("zita-convolver" ,zita-convolver)
1276 ("glu" ,glu)
1277 ("ftgl" ,ftgl)
1278 ("font-bitstream-vera" ,font-bitstream-vera)))
1279 (native-inputs
1280 `(("help2man" ,help2man)
1281 ("pkg-config" ,pkg-config)))
1282 (home-page "http://setbfree.org")
1283 (synopsis "Tonewheel organ")
1284 (description
1285 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
1286 the sound and properties of the electromechanical organs and sound
1287 modification devices that brought world-wide fame to the names and products of
1288 Laurens Hammond and Don Leslie.")
1289 (license license:gpl2+)))
1290
1291 (define-public beast
1292 (package
1293 (name "beast")
1294 (version "0.10.0")
1295 (source (origin
1296 (method url-fetch)
1297 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
1298 version ".tar.xz"))
1299 (sha256
1300 (base32
1301 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
1302 (build-system gnu-build-system)
1303 (arguments
1304 '(#:parallel-build? #f)) ; Race conditions cause build failures
1305 (inputs
1306 `(("rapicorn" ,rapicorn)
1307 ("guile" ,guile-1.8)
1308 ("python" ,python-2)
1309 ("libgnomecanvas" ,libgnomecanvas)
1310 ("libogg" ,libogg)
1311 ("libmad" ,libmad)
1312 ("flac" ,flac)
1313 ("alsa-lib" ,alsa-lib)
1314 ("libvorbis" ,libvorbis)
1315 ("gettext" ,gettext-minimal)))
1316 (native-inputs
1317 `(("pkg-config" ,pkg-config)
1318 ("glib:bin" ,glib "bin")
1319 ("cython" ,python2-cython)
1320 ("perl" ,perl)
1321 ("perl-xml-parser" ,perl-xml-parser)))
1322 (home-page "https://testbit.eu/wiki/Beast_Home")
1323 (synopsis "Music composition and modular synthesis environment")
1324 (description
1325 "Beast is a music composition and modular synthesis application. It
1326 supports a wide range of standards in the field, such as MIDI, various audio
1327 file formats and LADSPA modules. It allows for multitrack editing, real-time
1328 synthesis, 32bit audio rendering, precise timing down to sample granularity,
1329 on-demand and partial loading of wave files, on the fly decoding, stereo
1330 mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
1331 (license license:gpl3+)))
1332
1333 (define-public bristol
1334 (package
1335 (name "bristol")
1336 (version "0.60.11")
1337 (source (origin
1338 (method url-fetch)
1339 (uri (string-append "mirror://sourceforge/bristol/bristol/"
1340 (version-major+minor version)
1341 "/bristol-" version ".tar.gz"))
1342 (sha256
1343 (base32
1344 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
1345 (build-system gnu-build-system)
1346 (arguments
1347 `(#:phases
1348 (modify-phases %standard-phases
1349 (add-after 'unpack 'remove-sse-flags
1350 (lambda* (#:key system #:allow-other-keys)
1351 (when (not (or (string-prefix? "x86_64" system)
1352 (string-prefix? "i686" system)))
1353 (substitute* "bristol/Makefile.in"
1354 (("-msse -mfpmath=sse") "")))
1355 #t))
1356 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
1357 ;; bristol actually doesn't use it.
1358 (add-after 'unpack 'do-not-use-alsa-iatomic
1359 (lambda _
1360 (substitute* "libbristolaudio/audioEngineJack.c"
1361 (("#include <alsa/iatomic.h>") ""))
1362 #t))
1363 ;; We know that Bristol has been linked with JACK and we don't have
1364 ;; ldd, so we can just skip this check.
1365 (add-after 'unpack 'do-not-grep-for-jack
1366 (lambda _
1367 (substitute* "bin/startBristol.in"
1368 (("ldd `which bristol` | grep jack") "echo guix"))
1369 #t)))))
1370 (inputs
1371 `(("alsa-lib" ,alsa-lib)
1372 ("jack" ,jack-1)
1373 ("liblo" ,liblo)
1374 ("libx11" ,libx11)))
1375 (native-inputs
1376 `(("pkg-config" ,pkg-config)))
1377 (home-page "http://bristol.sourceforge.net/")
1378 (synopsis "Synthesizer emulator")
1379 (description
1380 "Bristol is an emulation package for a number of different 'classic'
1381 synthesizers including additive and subtractive and a few organs. The
1382 application consists of the engine, which is called bristol, and its own GUI
1383 library called brighton that represents all the emulations. There are
1384 currently more than twenty different emulations; each does sound different
1385 although the author maintains that the quality and accuracy of each emulation
1386 is subjective.")
1387 (license license:gpl3+)))
1388
1389 (define-public tuxguitar
1390 (package
1391 (name "tuxguitar")
1392 (version "1.4")
1393 (source (origin
1394 (method url-fetch)
1395 (uri (string-append
1396 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
1397 version "/tuxguitar-" version "-src.tar.gz"))
1398 (sha256
1399 (base32
1400 "041275vwfr82kass7wiq9g2y82w9qrbzfinzcvfij2f2q45njwmc"))
1401 (modules '((guix build utils)))
1402 (snippet
1403 '(begin
1404 ;; Delete pre-built classes
1405 (delete-file-recursively "TuxGuitar-android-gdrive/bin")
1406 (delete-file-recursively "TuxGuitar-android-gdrive-gdaa/bin")
1407 #t))))
1408 (build-system ant-build-system)
1409 (arguments
1410 `(#:build-target "build"
1411 #:jdk ,icedtea-8
1412 #:tests? #f ; no tests
1413 #:phases
1414 (modify-phases %standard-phases
1415 (add-after 'unpack 'enter-dir
1416 (lambda _ (chdir "TuxGuitar-lib") #t))
1417 (add-after 'build 'build-libraries
1418 (lambda* (#:key inputs outputs #:allow-other-keys)
1419 (let* ((initial-classpath (getenv "CLASSPATH"))
1420 (build-dir (lambda (dir)
1421 (chdir "..")
1422 (setenv "CLASSPATH"
1423 (string-join (cons initial-classpath
1424 (find-files (getcwd) "\\.jar$"))
1425 ":"))
1426 (chdir dir)
1427 (if (file-exists? "build.xml")
1428 ((assoc-ref %standard-phases 'build)
1429 #:build-target "build")
1430 (begin
1431 ;; Generate default build.xml
1432 ((@@ (guix build ant-build-system) default-build.xml)
1433 (string-append (string-downcase dir) ".jar")
1434 (string-append (assoc-ref outputs "out")
1435 "/share/java"))
1436 ((assoc-ref %standard-phases 'build)))))))
1437 (map build-dir '("TuxGuitar-editor-utils"
1438 "TuxGuitar-ui-toolkit"
1439 "TuxGuitar-ui-toolkit-swt"
1440 "TuxGuitar-awt-graphics")))))
1441 (add-after 'build-libraries 'build-application
1442 (lambda _
1443 (chdir "../TuxGuitar")
1444 ((assoc-ref %standard-phases 'build)
1445 #:build-target "build")))
1446 (replace 'install
1447 (lambda* (#:key inputs outputs #:allow-other-keys)
1448 (let* ((out (assoc-ref outputs "out"))
1449 (bin (string-append out "/bin"))
1450 (share (string-append out "/share"))
1451 (lib (string-append share "/java"))
1452 (swt (assoc-ref inputs "java-swt")))
1453 (mkdir-p bin)
1454 ;; install all jars
1455 (for-each (lambda (file)
1456 (install-file file lib))
1457 (find-files ".." "\\.jar$"))
1458
1459 ;; install all resources
1460 (copy-recursively "share" share)
1461
1462 ;; create wrapper
1463 (call-with-output-file (string-append bin "/tuxguitar")
1464 (lambda (port)
1465 (let ((classpath (string-join (append (find-files lib "\\.jar$")
1466 (find-files swt "\\.jar$"))
1467 ":")))
1468 (format
1469 port
1470 (string-append "#!/bin/sh\n"
1471 (which "java")
1472 " -cp " classpath
1473 " -Dtuxguitar.home.path=" out
1474 " -Dtuxguitar.share.path=" out "/share"
1475 " -Dswt.library.path=" swt "/lib"
1476 " org.herac.tuxguitar.app.TGMainSingleton"
1477 " \"$1\" \"$2\"")))))
1478 (chmod (string-append bin "/tuxguitar") #o555)
1479 #t))))))
1480 (inputs
1481 `(("java-swt" ,java-swt)))
1482 (home-page "http://tuxguitar.pw")
1483 (synopsis "Multitrack tablature editor and player")
1484 (description
1485 "TuxGuitar is a guitar tablature editor with player support through midi.
1486 It can display scores and multitrack tabs. TuxGuitar provides various
1487 additional features, including autoscrolling while playing, note duration
1488 management, bend/slide/vibrato/hammer-on/pull-off effects, support for
1489 tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
1490 export.")
1491 (license license:lgpl2.1+)))
1492
1493 (define-public pd
1494 (package
1495 (name "pd")
1496 (version "0.47-1")
1497 (source (origin
1498 (method url-fetch)
1499 (uri
1500 (string-append "http://msp.ucsd.edu/Software/pd-"
1501 version ".src.tar.gz"))
1502 (sha256
1503 (base32
1504 "0k5s949kqd7yw97h3m8z81bjz32bis9m4ih8df1z0ymipnafca67"))))
1505 (build-system gnu-build-system)
1506 (arguments
1507 `(#:tests? #f ; no "check" target
1508 #:phases
1509 (modify-phases %standard-phases
1510 (add-before 'configure 'fix-wish-path
1511 (lambda _
1512 (substitute* "src/s_inter.c"
1513 ((" wish ") (string-append " " (which "wish8.6") " ")))
1514 (substitute* "tcl/pd-gui.tcl"
1515 (("exec wish ") (string-append "exec " (which "wish8.6") " ")))
1516 #t))
1517 (add-after 'unpack 'autoconf
1518 (lambda _ (zero? (system* "bash" "./autogen.sh")))))))
1519 (native-inputs
1520 `(("autoconf" ,autoconf)
1521 ("automake" ,automake)
1522 ("libtool" ,libtool)
1523 ("gettext" ,gettext-minimal)
1524 ("pkg-config" ,pkg-config)))
1525 (inputs
1526 `(("tk" ,tk)
1527 ("alsa-lib" ,alsa-lib)
1528 ("jack" ,jack-1)))
1529 (home-page "http://puredata.info")
1530 (synopsis "Visual programming language for artistic performances")
1531 (description
1532 "Pure Data (aka Pd) is a visual programming language. Pd enables
1533 musicians, visual artists, performers, researchers, and developers to create
1534 software graphically, without writing lines of code. Pd is used to process
1535 and generate sound, video, 2D/3D graphics, and interface sensors, input
1536 devices, and MIDI. Pd can easily work over local and remote networks to
1537 integrate wearable technology, motor systems, lighting rigs, and other
1538 equipment. Pd is suitable for learning basic multimedia processing and visual
1539 programming methods as well as for realizing complex systems for large-scale
1540 projects.")
1541 (license license:bsd-3)))
1542
1543 (define-public portmidi
1544 (package
1545 (name "portmidi")
1546 (version "217")
1547 (source (origin
1548 (method url-fetch)
1549 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
1550 version "/portmidi-src-" version ".zip"))
1551 (sha256
1552 (base32
1553 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
1554 (patches (list (search-patch "portmidi-modular-build.patch")))))
1555 (build-system cmake-build-system)
1556 (arguments
1557 `(#:tests? #f ; tests cannot be linked
1558 #:configure-flags
1559 (list "-DPORTMIDI_ENABLE_JAVA=Off"
1560 "-DCMAKE_BUILD_TYPE=Release" ; needed to have PMALSA set
1561 "-DPORTMIDI_ENABLE_TEST=Off"))) ; tests fail linking
1562 (inputs
1563 `(("alsa-lib" ,alsa-lib)))
1564 (native-inputs
1565 `(("unzip" ,unzip)))
1566 (home-page "http://portmedia.sourceforge.net/portmidi/")
1567 (synopsis "Library for MIDI I/O")
1568 (description
1569 "PortMidi is a library supporting real-time input and output of MIDI data
1570 using a system-independent interface.")
1571 (license license:expat)))
1572
1573 (define-public portmidi-for-extempore
1574 (package (inherit portmidi)
1575 (name "portmidi-for-extempore")
1576 (version "217")
1577 (source (origin
1578 (method url-fetch)
1579 (uri (string-append "https://github.com/extemporelang/portmidi/"
1580 "archive/" version ".tar.gz"))
1581 (file-name (string-append name "-" version ".tar.gz"))
1582 (sha256
1583 (base32
1584 "0gjikwciyr8kk4y3qiv1pcq58xpgw38ql1m2gs6g0qc1s8sx4235"))))
1585 (build-system cmake-build-system)
1586 (arguments `(#:tests? #f)) ; no tests
1587 (native-inputs '())
1588 ;; Extempore refuses to build on architectures other than x86_64
1589 (supported-systems '("x86_64-linux"))
1590 (home-page "https://github.com/extemporelang/portmidi/")))
1591
1592 (define-public python-pyportmidi
1593 (package
1594 (name "python-pyportmidi")
1595 (version (package-version portmidi))
1596 (source (package-source portmidi))
1597 (build-system python-build-system)
1598 (arguments
1599 `(#:tests? #f ; no tests included
1600 #:phases
1601 (modify-phases %standard-phases
1602 (add-after 'unpack 'enter-dir
1603 (lambda _ (chdir "pm_python") #t))
1604 (add-after 'enter-dir 'fix-setup.py
1605 (lambda _
1606 (substitute* "setup.py"
1607 ;; Use Python 3 syntax
1608 (("print (\".*\")" _ text)
1609 (string-append "print(" text ")\n"))
1610 ;; TODO.txt and CHANGES.txt don't exist
1611 (("CHANGES =.*") "CHANGES = \"\"\n")
1612 (("TODO =.*") "TODO = \"\"\n"))
1613 #t)))))
1614 (inputs
1615 `(("portmidi" ,portmidi)
1616 ("alsa-lib" ,alsa-lib)))
1617 (native-inputs
1618 `(("python-cython" ,python-cython)
1619 ("unzip" ,unzip)))
1620 (home-page "http://portmedia.sourceforge.net/portmidi/")
1621 (synopsis "Python bindings to PortMidi")
1622 (description
1623 "This package provides Python bindings to the PortMidi library.")
1624 (license license:expat)))
1625
1626 (define-public frescobaldi
1627 (package
1628 (name "frescobaldi")
1629 (version "3.0.0")
1630 (source (origin
1631 (method url-fetch)
1632 (uri (string-append
1633 "https://github.com/wbsoft/frescobaldi/releases/download/v"
1634 version "/frescobaldi-" version ".tar.gz"))
1635 (sha256
1636 (base32
1637 "15cqhbjbjikr7ljgiq56bz2gxrr38j8p0f78p2vhyzydaviy9a2z"))))
1638 (build-system python-build-system)
1639 (arguments `(#:tests? #f)) ; no tests included
1640 (inputs
1641 `(("lilypond" ,lilypond)
1642 ("portmidi" ,portmidi)
1643 ("python-pyqt" ,python-pyqt)
1644 ("python-ly" ,python-ly)
1645 ("python-pyportmidi" ,python-pyportmidi)
1646 ("poppler" ,poppler)
1647 ("python-poppler-qt5" ,python-poppler-qt5)
1648 ("python-sip" ,python-sip)))
1649 (home-page "http://www.frescobaldi.org/")
1650 (synopsis "LilyPond sheet music text editor")
1651 (description
1652 "Frescobaldi is a LilyPond sheet music text editor with syntax
1653 highlighting and automatic completion. Among other things, it can render
1654 scores next to the source, can capture input from MIDI or read MusicXML and
1655 ABC files, has a MIDI player for proof-listening, and includes a documentation
1656 browser.")
1657 (license license:gpl2+)))
1658
1659 (define-public drumstick
1660 (package
1661 (name "drumstick")
1662 (version "1.1.0")
1663 (source (origin
1664 (method url-fetch)
1665 (uri (string-append "mirror://sourceforge/drumstick/"
1666 version "/drumstick-" version ".tar.bz2"))
1667 (sha256
1668 (base32
1669 "13pkfqrav30bbcddgf1imd7jk6lpqbxkz1qv31718pdl446jq7df"))))
1670 (build-system cmake-build-system)
1671 (arguments
1672 `(#:tests? #f ; no test target
1673 #:configure-flags '("-DLIB_SUFFIX=")
1674 #:phases
1675 (modify-phases %standard-phases
1676 (add-before 'configure 'fix-docbook
1677 (lambda* (#:key inputs #:allow-other-keys)
1678 (substitute* "cmake_admin/CreateManpages.cmake"
1679 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
1680 (string-append (assoc-ref inputs "docbook-xsl")
1681 "/xml/xsl/docbook-xsl-"
1682 ,(package-version docbook-xsl)
1683 "/manpages/docbook.xsl")))
1684 #t)))))
1685 (inputs
1686 `(("qtbase" ,qtbase)
1687 ("qtsvg" ,qtsvg)
1688 ("alsa-lib" ,alsa-lib)
1689 ("fluidsynth" ,fluidsynth)))
1690 (native-inputs
1691 `(("pkg-config" ,pkg-config)
1692 ("libxslt" ,libxslt) ;for xsltproc
1693 ("docbook-xsl" ,docbook-xsl)
1694 ("doxygen" ,doxygen)))
1695 (home-page "http://drumstick.sourceforge.net/")
1696 (synopsis "C++ MIDI library")
1697 (description
1698 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
1699 includes a C++ wrapper around the ALSA library sequencer interface. A
1700 complementary library provides classes for processing SMF (Standard MIDI
1701 files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
1702 multiplatform realtime MIDI I/O library is also provided with various output
1703 backends, including ALSA, OSS, Network and FluidSynth.")
1704 (license license:gpl2+)))
1705
1706 (define-public zynaddsubfx
1707 (package
1708 (name "zynaddsubfx")
1709 (version "3.0.2")
1710 (source (origin
1711 (method url-fetch)
1712 (uri (string-append
1713 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
1714 version "/zynaddsubfx-" version ".tar.bz2"))
1715 (sha256
1716 (base32
1717 "09mr23lqc51r7gskry5b7hk84pghdpgn1s4vnrzvx7xpa21gvplm"))))
1718 (build-system cmake-build-system)
1719 (arguments
1720 `(#:phases
1721 (modify-phases %standard-phases
1722 ;; Move SSE compiler optimization flags from generic target to
1723 ;; athlon64 and core2 targets, because otherwise the build would fail
1724 ;; on non-Intel machines.
1725 (add-after 'unpack 'remove-sse-flags-from-generic-target
1726 (lambda _
1727 (substitute* "src/CMakeLists.txt"
1728 (("-msse -msse2 -mfpmath=sse") "")
1729 (("-march=(athlon64|core2)" flag)
1730 (string-append flag " -msse -msse2 -mfpmath=sse")))
1731 #t)))))
1732 (inputs
1733 `(("liblo" ,liblo)
1734 ("ntk" ,ntk)
1735 ("mesa" ,mesa)
1736 ("alsa-lib" ,alsa-lib)
1737 ("jack" ,jack-1)
1738 ("fftw" ,fftw)
1739 ("minixml" ,minixml)
1740 ("libxpm" ,libxpm)
1741 ("zlib" ,zlib)))
1742 (native-inputs
1743 `(("pkg-config" ,pkg-config)))
1744 (home-page "http://zynaddsubfx.sf.net/")
1745 (synopsis "Software synthesizer")
1746 (description
1747 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
1748 three synthesizer engines, multitimbral and polyphonic synths, microtonal
1749 capabilities, custom envelopes, effects, etc.")
1750 (license license:gpl2)))
1751
1752 (define-public yoshimi
1753 (package
1754 (name "yoshimi")
1755 (version "1.5.3")
1756 (source (origin
1757 (method url-fetch)
1758 (uri (string-append "mirror://sourceforge/yoshimi/"
1759 (version-major+minor version)
1760 "/yoshimi-" version ".tar.bz2"))
1761 (sha256
1762 (base32
1763 "0sns35pyw2f74xrv1fxiyf9g9415kvh2rrbdjd60hsiv584nlari"))))
1764 (build-system cmake-build-system)
1765 (arguments
1766 `(#:tests? #f ; there are no tests
1767 #:configure-flags
1768 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
1769 (assoc-ref %outputs "out") "/share"))
1770 #:phases
1771 (modify-phases %standard-phases
1772 (add-before 'configure 'enter-dir
1773 (lambda _ (chdir "src") #t))
1774 ;; Move SSE compiler optimization flags from generic target to
1775 ;; athlon64 and core2 targets, because otherwise the build would fail
1776 ;; on non-Intel machines.
1777 (add-after 'unpack 'remove-sse-flags-from-generic-target
1778 (lambda _
1779 (substitute* "src/CMakeLists.txt"
1780 (("-msse -msse2 -mfpmath=sse") "")
1781 (("-march=(athlon64|core2)" flag)
1782 (string-append flag " -msse -msse2 -mfpmath=sse")))
1783 #t))
1784 ;; Yoshimi tries to find ncurses with pkg-config, but our ncurses
1785 ;; package does not install .pc files.
1786 (add-after 'unpack 'find-ncurses
1787 (lambda _
1788 (substitute* "src/CMakeLists.txt"
1789 (("LIBNCURSES REQUIRED") "LIBNCURSES")
1790 (("NCURSES REQUIRED") "NCURSES")
1791 (("FATAL_ERROR \"libncurses") "STATUS \"libncurses")
1792 (("\\$\\{NCURSES_LIBRARIES\\}") "ncurses"))
1793 #t)))))
1794 (inputs
1795 `(("boost" ,boost)
1796 ("fftwf" ,fftwf)
1797 ("alsa-lib" ,alsa-lib)
1798 ("jack" ,jack-1)
1799 ("fontconfig" ,fontconfig)
1800 ("minixml" ,minixml)
1801 ("mesa" ,mesa)
1802 ("fltk" ,fltk)
1803 ("lv2" ,lv2)
1804 ("readline" ,readline)
1805 ("ncurses" ,ncurses)
1806 ("cairo" ,cairo)
1807 ("zlib" ,zlib)))
1808 (native-inputs
1809 `(("pkg-config" ,pkg-config)))
1810 (home-page "http://yoshimi.sourceforge.net/")
1811 (synopsis "Multi-paradigm software synthesizer")
1812 (description
1813 "Yoshimi is a fork of ZynAddSubFX, a feature heavy realtime software
1814 synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
1815 synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
1816 improves on support for JACK features, such as JACK MIDI.")
1817 (license license:gpl2)))
1818
1819 (define-public libgig
1820 (package
1821 (name "libgig")
1822 (version "4.0.0")
1823 (source (origin
1824 (method url-fetch)
1825 (uri (string-append "http://download.linuxsampler.org/packages/"
1826 "libgig-" version ".tar.bz2"))
1827 (sha256
1828 (base32
1829 "1wr8mwjmqpnyz6bx9757lspiii1zzn8zfbqsvn2ipzpgqkxv6kaz"))))
1830 (build-system gnu-build-system)
1831 (inputs
1832 `(("libuuid" ,util-linux)
1833 ("libsndfile" ,libsndfile)))
1834 (native-inputs
1835 `(("pkg-config" ,pkg-config)))
1836 (home-page "http://linuxsampler.org/libgig/")
1837 (synopsis "C++ library for working with Gigasampler (.gig) files")
1838 (description
1839 "Libgig is a C++ library for loading, modifying existing and creating new
1840 Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
1841 sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
1842 AKAI sampler data. The package includes a couple of command line tools based
1843 on the library.")
1844 ;; The library and tools are released under the GPL, except the AKAI
1845 ;; classes which are released under the LGPL.
1846 (license (list license:gpl2+ license:lgpl2.1+))))
1847
1848 (define-public jack-keyboard
1849 (package
1850 (name "jack-keyboard")
1851 (version "2.5")
1852 (source
1853 (origin
1854 (method url-fetch)
1855 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
1856 version "/jack-keyboard-" version ".tar.gz"))
1857 (sha256
1858 (base32
1859 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
1860 (build-system gnu-build-system)
1861 (inputs
1862 `(("jack" ,jack-1)
1863 ("lash" ,lash)
1864 ("gtk+" ,gtk+-2)))
1865 (native-inputs
1866 `(("pkg-config" ,pkg-config)))
1867 (home-page "http://jack-keyboard.sourceforge.net/")
1868 (synopsis "Virtual MIDI keyboard")
1869 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
1870 allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
1871 (license license:bsd-2)))
1872
1873 (define-public cursynth
1874 (package
1875 (name "cursynth")
1876 (version "1.5")
1877 (source
1878 (origin
1879 (method url-fetch)
1880 (uri (string-append "mirror://gnu/cursynth/cursynth-"
1881 version ".tar.gz"))
1882 (sha256
1883 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
1884 (patches (search-patches "cursynth-wave-rand.patch"))))
1885 (build-system gnu-build-system)
1886 (native-inputs `(("pkg-config" ,pkg-config)))
1887 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
1888 ;; prevents us from using pulseaudio
1889 (inputs `(("ncurses" ,ncurses)
1890 ("alsa" ,alsa-lib)))
1891 (home-page "https://www.gnu.org/software/cursynth/")
1892 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
1893 (description "GNU cursynth is a polyphonic synthesizer that runs
1894 graphically in the terminal. It is built on a full-featured subtractive
1895 synthesis engine. Notes and parameter changes may be entered via MIDI or the
1896 computer's keyboard.")
1897 (license license:gpl3+)))
1898
1899 (define-public qtractor
1900 (package
1901 (name "qtractor")
1902 (version "0.8.4")
1903 (source (origin
1904 (method url-fetch)
1905 (uri (string-append "http://downloads.sourceforge.net/qtractor/"
1906 "qtractor-" version ".tar.gz"))
1907 (sha256
1908 (base32
1909 "17bbjfn94843g5q1h7xh23fwyazpfgg4fw6drrn5wgk2vx7qpkis"))))
1910 (build-system gnu-build-system)
1911 (arguments `(#:tests? #f)) ; no "check" target
1912 (inputs
1913 `(("qt" ,qtbase)
1914 ("qtx11extras" ,qtx11extras)
1915 ("alsa-lib" ,alsa-lib)
1916 ("jack" ,jack-1)
1917 ("libsndfile" ,libsndfile)
1918 ("ladspa" ,ladspa)
1919 ("lv2" ,lv2)
1920 ("lilv" ,lilv)
1921 ("suil" ,suil)
1922 ("libsamplerate" ,libsamplerate)
1923 ("libvorbis" ,libvorbis)
1924 ("libmad" ,libmad)
1925 ("rubberband" ,rubberband)
1926 ("liblo" ,liblo)
1927 ("zlib" ,zlib)))
1928 (native-inputs
1929 `(("pkg-config" ,pkg-config)
1930 ("qttools" ,qttools)))
1931 (home-page "http://qtractor.org/")
1932 (synopsis "Audio/MIDI multi-track sequencer")
1933 (description
1934 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
1935 JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
1936 follows a traditional multi-track tape recorder control paradigm.")
1937 (license license:gpl2+)))
1938
1939 (define-public ams-lv2
1940 (package
1941 (name "ams-lv2")
1942 (version "1.2.1")
1943 (source
1944 (origin
1945 (method url-fetch)
1946 (uri (string-append "https://github.com/blablack/ams-lv2/"
1947 "archive/" version ".tar.gz"))
1948 (file-name (string-append name "-" version ".tar.gz"))
1949 (sha256
1950 (base32
1951 "1xacxyzqcj83g9c1gwfn36gg1c6yi15v7km4vidfidrjzb4x27fq"))))
1952 (build-system waf-build-system)
1953 (arguments
1954 `(#:phases
1955 (modify-phases %standard-phases
1956 (add-after 'unpack 'remove-sse-flags
1957 (lambda* (#:key system #:allow-other-keys)
1958 (when (not (or (string-prefix? "x86_64" system)
1959 (string-prefix? "i686" system)))
1960 (substitute* "wscript"
1961 (("'-msse', '-mfpmath=sse', ") ""))
1962 #t))))
1963 #:tests? #f)) ; no tests
1964 (inputs
1965 `(("lv2" ,lv2)
1966 ("lvtk" ,lvtk)
1967 ("gtkmm" ,gtkmm-2)
1968 ("gtk" ,gtk+-2)
1969 ("cairo" ,cairo)
1970 ("fftw" ,fftw)))
1971 (native-inputs
1972 `(("pkg-config" ,pkg-config)))
1973 (home-page "https://objectivewave.wordpress.com/ams-lv2/")
1974 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
1975 (description "This set of LV2 plugins is a port of the internal modules
1976 found in Alsa Modular Synth. These plugins are used to create modular
1977 synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
1978 and hold, etc.")
1979 (license license:gpl2)))
1980
1981 (define-public gxtuner
1982 (package
1983 (name "gxtuner")
1984 (version "2.4")
1985 (source (origin
1986 (method url-fetch)
1987 (uri (string-append "https://github.com/brummer10/gxtuner/"
1988 "archive/v" version ".tar.gz"))
1989 (file-name (string-append name "-" version ".tar.gz"))
1990 (sha256
1991 (base32
1992 "1hn5qjac7qd00v0sp7ijhhc3sb26ks9bni06nngivva21h61xrjr"))))
1993 (build-system gnu-build-system)
1994 (arguments
1995 `(#:make-flags
1996 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1997 (string-append "INCLUDE_L_DIR="
1998 (assoc-ref %build-inputs "zita-resampler")
1999 "/include/"))
2000 #:phases
2001 (modify-phases %standard-phases
2002 (delete 'configure))))
2003 (inputs
2004 `(("gtk+" ,gtk+)
2005 ("jack" ,jack-1)
2006 ("fftwf" ,fftwf)
2007 ("cairo" ,cairo)
2008 ("zita-resampler" ,zita-resampler)))
2009 (native-inputs
2010 `(("pkg-config" ,pkg-config)))
2011 (home-page "https://github.com/brummer10/gxtuner")
2012 (synopsis "Guitar tuner")
2013 (description "GXtuner is a simple guitar tuner for JACK with an
2014 analogue-like user interface.")
2015 (license license:gpl2+)))
2016
2017 (define-public mod-host
2018 ;; The last release was in 2014 but since then more than 140 commits have
2019 ;; been made.
2020 (let ((commit "299a3977476e8eb0285837fbd7522cec506a11de")
2021 (revision "2"))
2022 (package
2023 (name "mod-host")
2024 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
2025 (source (origin
2026 (method git-fetch)
2027 (uri (git-reference
2028 (url "https://github.com/moddevices/mod-host")
2029 (commit commit)))
2030 (sha256
2031 (base32
2032 "128q7p5mph086v954rqnafalfbkyvhgwclaq6ks6swrhj45wnag6"))
2033 (file-name (string-append name "-" version "-checkout"))))
2034 (build-system gnu-build-system)
2035 (arguments
2036 `(#:tests? #f ; no tests included
2037 #:make-flags
2038 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2039 "CC=gcc")
2040 #:phases
2041 (modify-phases %standard-phases
2042 (delete 'configure)
2043 (add-after 'unpack 'fix-jack-installation-directory
2044 (lambda _
2045 ;; Do not attempt to install files to output of "jack" package.
2046 (substitute* "Makefile"
2047 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
2048 "lib"))
2049 #t)))))
2050 (inputs
2051 `(("lilv" ,lilv)
2052 ("fftw" ,fftw)
2053 ("fftwf" ,fftwf)
2054 ("lv2" ,lv2)
2055 ("jack" ,jack-1)
2056 ("readline" ,readline)))
2057 (native-inputs
2058 `(("pkg-config" ,pkg-config)
2059 ("python" ,python-2)))
2060 (home-page "https://github.com/moddevices/mod-host")
2061 (synopsis "LV2 host for Jack controllable via socket or command line")
2062 (description "mod-host is an LV2 plugin host for JACK, controllable via
2063 socket or command line.")
2064 (license license:gpl3+))))
2065
2066 (define-public pianobar
2067 (package
2068 (name "pianobar")
2069 (version "2016.06.02")
2070 (source (origin
2071 (method url-fetch)
2072 (uri (string-append "https://github.com/PromyLOPh/"
2073 name "/archive/" version ".tar.gz"))
2074 (file-name (string-append name "-" version ".tar.gz"))
2075 (sha256
2076 (base32
2077 "1hi5rr6jcr0kwf4xfz007ndwkjkp287lhwlsgfz6iryqa5n6jzcp"))))
2078 (build-system gnu-build-system)
2079 (arguments
2080 `(#:tests? #f ; no tests
2081 #:make-flags (list "CC=gcc" "CFLAGS=-std=c99"
2082 (string-append "PREFIX=" %output))
2083 #:phases (modify-phases %standard-phases
2084 (delete 'configure))))
2085 (inputs
2086 `(("ao" ,ao)
2087 ("curl" ,curl)
2088 ("libgcrypt" ,libgcrypt)
2089 ("json-c" ,json-c)
2090 ("ffmpeg" ,ffmpeg)))
2091 (native-inputs
2092 `(("pkg-config" ,pkg-config)))
2093 (home-page "http://6xq.net/projects/pianobar/")
2094 (synopsis "Console-based pandora.com player")
2095 (description "pianobar is a console-based music player for the
2096 personalized online radio pandora.com. It has configurable keys for playing
2097 and managing stations, can be controlled remotely via fifo, and can run
2098 event-based scripts for scrobbling, notifications, etc.")
2099 (license license:expat)))
2100
2101 (define-public python-mutagen
2102 (package
2103 (name "python-mutagen")
2104 (version "1.38")
2105 (source (origin
2106 (method url-fetch)
2107 (uri (pypi-uri "mutagen" version))
2108 (sha256
2109 (base32
2110 "0rl7sxn1rcjl48fwga3dqf9f6pzspsny4ngxyf6pp337mrq0z693"))))
2111 (build-system python-build-system)
2112 (native-inputs
2113 `(("python-pytest" ,python-pytest)))
2114 (home-page "https://bitbucket.org/lazka/mutagen")
2115 (synopsis "Read and write audio tags")
2116 (description "Mutagen is a Python module to handle audio metadata. It
2117 supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
2118 Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
2119 of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
2120 Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
2121 APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
2122 streams on an individual packet/page level.")
2123 (license license:gpl2))) ; "later version" never mentioned
2124
2125 (define-public python2-mutagen
2126 (package-with-python2 python-mutagen))
2127
2128 (define-public python-musicbrainzngs
2129 (package
2130 (name "python-musicbrainzngs")
2131 (version "0.6")
2132 (source (origin
2133 (method url-fetch)
2134 (uri (pypi-uri "musicbrainzngs" version))
2135 (sha256
2136 (base32
2137 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
2138 (build-system python-build-system)
2139 (arguments
2140 '(;; The tests fail suffer from race conditions:
2141 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
2142 #:tests? #f))
2143 (home-page "https://python-musicbrainzngs.readthedocs.org/")
2144 (synopsis "Python bindings for MusicBrainz NGS webservice")
2145 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
2146 web service. This library can be used to retrieve music metadata from the
2147 MusicBrainz database.")
2148 ;; 'musicbrainzngs/compat.py' is ISC licensed.
2149 (license (list license:bsd-2 license:isc))))
2150
2151 (define-public python2-musicbrainzngs
2152 (package-with-python2 python-musicbrainzngs))
2153
2154 (define-public python2-pyechonest
2155 (package
2156 (name "python2-pyechonest")
2157 (version "9.0.0")
2158 (source (origin
2159 (method url-fetch)
2160 (uri (pypi-uri "pyechonest" version))
2161 (sha256
2162 (base32
2163 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
2164 (build-system python-build-system)
2165 (arguments
2166 `(;; Python 3 is not supported:
2167 ;; https://github.com/echonest/pyechonest/issues/42
2168 #:python ,python-2))
2169 (home-page "https://github.com/echonest/pyechonest")
2170 (synopsis "Python interface to The Echo Nest APIs")
2171 (description "Pyechonest is a Python library for the Echo Nest API. With
2172 Pyechonest you have Python access to the entire set of API methods including:
2173
2174 @enumerate
2175 @item artist - search for artists by name, description, or attribute, and get
2176 back detailed information about any artist including audio, similar artists,
2177 blogs, familiarity, hotttnesss, news, reviews, urls and video.
2178 @item song - search songs by artist, title, description, or attribute (tempo,
2179 duration, etc) and get detailed information back about each song, such as
2180 hotttnesss, audio_summary, or tracks.
2181 @item track - upload a track to the Echo Nest and receive summary information
2182 about the track including key, duration, mode, tempo, time signature along with
2183 detailed track info including timbre, pitch, rhythm and loudness information.
2184 @end enumerate\n")
2185 (license license:bsd-3)))
2186
2187 (define-public python-pylast
2188 (package
2189 (name "python-pylast")
2190 (version "1.9.0")
2191 (source (origin
2192 (method url-fetch)
2193 (uri (pypi-uri "pylast" version))
2194 (sha256
2195 (base32
2196 "190c6sicc80v21wbbwbq771nqmxw4r6aqmxs22ndj177rc2l275f"))))
2197 (build-system python-build-system)
2198 (arguments
2199 '(#:tests? #f)) ; FIXME: Requires unpackaged python-flaky.
2200 (native-inputs
2201 `(("python-coverage" ,python-coverage)
2202 ("python-mock" ,python-mock)
2203 ("python-pep8" ,python-pep8)
2204 ("python-pytest" ,python-pytest)
2205 ("python-pyflakes" ,python-pyflakes)
2206 ("python-pyyaml" ,python-pyyaml)))
2207 (propagated-inputs
2208 `(("python-six" ,python-six)))
2209 (home-page "https://github.com/pylast/pylast")
2210 (synopsis "Python interface to Last.fm and Libre.fm")
2211 (description "A Python interface to Last.fm and other API-compatible
2212 websites such as Libre.fm.")
2213 (license license:asl2.0)))
2214
2215 (define-public python2-pylast
2216 (package-with-python2 python-pylast))
2217
2218 (define-public beets
2219 (package
2220 (name "beets")
2221 (version "1.4.5")
2222 (source (origin
2223 (method url-fetch)
2224 (uri (pypi-uri "beets" version))
2225 (sha256
2226 (base32
2227 "1z02j871gc8l9mnd344qy9z8akigikgmc22r15ns6driqb2qishv"))))
2228 (build-system python-build-system)
2229 (arguments
2230 `(#:phases
2231 (modify-phases %standard-phases
2232 (add-after 'unpack 'set-HOME
2233 (lambda _ (setenv "HOME" (string-append (getcwd) "/tmp"))))
2234 (replace 'check
2235 (lambda _ (zero? (system* "nosetests" "-v")))))))
2236 (native-inputs
2237 `(("python-beautifulsoup4" ,python-beautifulsoup4)
2238 ("python-flask" ,python-flask)
2239 ("python-mock" ,python-mock)
2240 ("python-mpd2" ,python-mpd2)
2241 ("python-nose" ,python-nose)
2242 ("python-pathlib" ,python-pathlib)
2243 ("python-pyxdg" ,python-pyxdg)
2244 ("python-pylast" ,python-pylast)
2245 ("python-rarfile" ,python-rarfile)
2246 ("python-responses" ,python-responses)))
2247 ;; TODO: Install optional plugins and dependencies.
2248 (inputs
2249 `(("python-discogs-client" ,python-discogs-client)
2250 ("python-jellyfish" ,python-jellyfish)
2251 ("python-munkres" ,python-munkres)
2252 ("python-musicbrainzngs" ,python-musicbrainzngs)
2253 ("python-mutagen" ,python-mutagen)
2254 ("python-pyyaml" ,python-pyyaml)
2255 ("python-unidecode" ,python-unidecode)))
2256 (home-page "http://beets.io")
2257 (synopsis "Music organizer")
2258 (description "The purpose of beets is to get your music collection right
2259 once and for all. It catalogs your collection, automatically improving its
2260 metadata as it goes using the MusicBrainz database. Then it provides a variety
2261 of tools for manipulating and accessing your music.")
2262 (license license:expat)))
2263
2264 (define-public milkytracker
2265 (package
2266 (name "milkytracker")
2267 (version "1.01.00")
2268 (source (origin
2269 (method url-fetch)
2270 (uri (string-append "https://github.com/milkytracker/"
2271 "MilkyTracker/archive/v"
2272 version ".tar.gz"))
2273 (file-name (string-append name "-" version ".tar.gz"))
2274 (sha256
2275 (base32
2276 "1dvnddsnn9c83lz4dlm0cfjpc0m524amfkbalxbswdy0qc8cj1wv"))
2277 (modules '((guix build utils)))
2278 ;; Remove non-FSDG compliant sample songs.
2279 (snippet
2280 '(begin
2281 (delete-file-recursively "resources/music")
2282 (substitute* "CMakeLists.txt"
2283 (("add_subdirectory\\(resources/music\\)") ""))))))
2284 (build-system cmake-build-system)
2285 (arguments
2286 '(#:tests? #f)) ; no check target
2287 (inputs
2288 `(("alsa-lib" ,alsa-lib)
2289 ("jack" ,jack-1)
2290 ("sdl" ,sdl2)
2291 ("zlib" ,zlib)))
2292 (native-inputs
2293 `(("pkg-config" ,pkg-config)))
2294 (synopsis "Music tracker for working with .MOD/.XM module files")
2295 (description "MilkyTracker is a music application for creating .MOD and .XM
2296 module files. It attempts to recreate the module replay and user experience of
2297 the popular DOS program Fasttracker II, with special playback modes available
2298 for improved Amiga ProTracker 2/3 compatibility.")
2299 (home-page "http://milkytracker.titandemo.org/")
2300 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
2301 (license (list license:bsd-3 license:gpl3+))))
2302
2303 (define-public schismtracker
2304 (package
2305 (name "schismtracker")
2306 (version "20170910")
2307 (source (origin
2308 (method url-fetch)
2309 (uri (string-append
2310 "https://github.com/" name "/" name "/archive/"
2311 version ".tar.gz"))
2312 (file-name (string-append name "-" version ".tar.gz"))
2313 (sha256
2314 (base32
2315 "01gfcjngbpv87y9w5jln8k313hycpkb1d617hdy2cdw2hxqzlclz"))
2316 (modules '((guix build utils)))
2317 (snippet
2318 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
2319 `(substitute* "schism/version.c"
2320 (("Schism Tracker built %s %s.*$")
2321 (string-append "Schism Tracker version " ,version "\");"))))))
2322 (build-system gnu-build-system)
2323 (arguments
2324 `(#:phases
2325 (modify-phases %standard-phases
2326 (add-after 'unpack 'autoconf
2327 (lambda _ (zero? (system* "autoreconf" "-vfi"))))
2328 (add-before 'configure 'link-libm
2329 (lambda _ (setenv "LIBS" "-lm") #t)))))
2330 (native-inputs
2331 `(("autoconf" ,autoconf)
2332 ("automake" ,automake)
2333 ("python" ,python)))
2334 (inputs
2335 `(("alsa-lib" ,alsa-lib) ; for asound dependency
2336 ("libx11" ,libx11)
2337 ("libxext" ,libxext)
2338 ("sdl" ,sdl)))
2339 (home-page "http://schismtracker.org")
2340 (synopsis "Oldschool sample-based music composition tool")
2341 (description
2342 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
2343 create high quality music without the requirements of specialized, expensive
2344 equipment, and with a unique \"finger feel\" that is difficult to replicate in
2345 part. The player is based on a highly modified version of the ModPlug engine,
2346 with a number of bugfixes and changes to improve IT playback.")
2347 (license license:gpl2+)))
2348
2349 (define-public sooperlooper
2350 (package
2351 (name "sooperlooper")
2352 (version "1.7.3")
2353 (source (origin
2354 (method url-fetch)
2355 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
2356 version ".tar.gz"))
2357 (sha256
2358 (base32
2359 "0n2gdxw1fx8nxxnpzf4sj0kp6k6zi1yq59cbz6qqzcnsnpnvszbs"))
2360 (patches (search-patches "sooperlooper-build-with-wx-30.patch"))))
2361 (build-system gnu-build-system)
2362 (arguments
2363 `(#:make-flags (list "CXXFLAGS=-std=gnu++11")
2364 #:phases
2365 (modify-phases %standard-phases
2366 (add-after 'unpack 'add-sigc++-includes
2367 (lambda* (#:key inputs #:allow-other-keys)
2368 (let ((sig (assoc-ref inputs "libsigc++"))
2369 (xml (assoc-ref inputs "libxml2"))
2370 (cwd (getcwd)))
2371 (setenv "CPATH"
2372 (string-append sig "/include/sigc++-2.0:"
2373 sig "/lib/sigc++-2.0/include:"
2374 xml "/include/libxml2/:"
2375 cwd "/libs/pbd:"
2376 cwd "/libs/midi++")))
2377 (substitute* '("src/control_osc.hpp"
2378 "src/gui/app_frame.hpp"
2379 "src/gui/config_panel.hpp"
2380 "src/gui/keys_panel.hpp"
2381 "src/gui/latency_panel.hpp"
2382 "src/gui/main_panel.hpp"
2383 "src/gui/midi_bind_panel.hpp"
2384 "src/gui/prefs_dialog.hpp")
2385 (("sigc\\+\\+/object.h")
2386 "sigc++/sigc++.h"))
2387 (substitute* '("src/engine.cpp"
2388 "src/gui/latency_panel.cpp"
2389 "src/gui/looper_panel.cpp"
2390 "src/gui/main_panel.cpp")
2391 (("(\\(| )bind " _ pre)
2392 (string-append pre "sigc::bind ")))
2393 #t))
2394 (add-after 'unpack 'fix-xpm-warnings
2395 (lambda _
2396 (substitute* (find-files "." "\\.xpm$")
2397 (("static char") "static const char"))
2398 #t)))))
2399 (inputs
2400 `(("jack" ,jack-1)
2401 ("alsa-lib" ,alsa-lib)
2402 ("wxwidgets" ,wxwidgets-gtk2)
2403 ("libsndfile" ,libsndfile)
2404 ("libsamplerate" ,libsamplerate)
2405 ("liblo" ,liblo)
2406 ("rubberband" ,rubberband)
2407 ("libxml2" ,libxml2)
2408 ("libsigc++" ,libsigc++)
2409 ("ncurses" ,ncurses)))
2410 (native-inputs
2411 `(("pkg-config" ,pkg-config)))
2412 (home-page "http://essej.net/sooperlooper/")
2413 (synopsis "Live looping sampler")
2414 (description
2415 "SooperLooper is a live looping sampler capable of immediate loop
2416 recording, overdubbing, multiplying, reversing and more. It allows for
2417 multiple simultaneous multi-channel loops limited only by your computer's
2418 available memory.")
2419 (license license:gpl2+)))
2420
2421 (define-public moc
2422 (package
2423 (name "moc")
2424 (version "2.5.2")
2425 (source (origin
2426 (method url-fetch)
2427 (uri (string-append "http://ftp.daper.net/pub/soft/"
2428 name "/stable/"
2429 name "-" version ".tar.bz2"))
2430 (sha256
2431 (base32
2432 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))
2433 (modules '((guix build utils)))
2434 (snippet
2435 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
2436 '(substitute* "main.c"
2437 (("printf \\(\" Built : %s\", __DATE__\\);") "")
2438 (("printf \\(\" %s\", __TIME__\\);") "")))))
2439 (build-system gnu-build-system)
2440 (inputs
2441 `(("alsa-lib" ,alsa-lib)
2442 ("curl" ,curl)
2443 ("faad2" ,faad2)
2444 ("ffmpeg" ,ffmpeg)
2445 ("file" ,file)
2446 ("jack" ,jack-1)
2447 ("libid3tag" ,libid3tag)
2448 ("libltdl" ,libltdl)
2449 ("libmodplug" ,libmodplug)
2450 ("libmpcdec" ,libmpcdec)
2451 ("libmad" ,libmad)
2452 ("libogg" ,libogg)
2453 ("libvorbis" ,libvorbis)
2454 ("ncurses" ,ncurses)
2455 ("openssl" ,openssl)
2456 ("sasl" ,cyrus-sasl)
2457 ("speex" ,speex)
2458 ("taglib" ,taglib)
2459 ("wavpack" ,wavpack)
2460 ("zlib" ,zlib)))
2461 (native-inputs
2462 `(("pkg-config" ,pkg-config)))
2463 (synopsis "Console audio player designed to be powerful and easy to use")
2464 (description
2465 "Music on Console is a console audio player that supports many file
2466 formats, including most audio formats recognized by FFMpeg.")
2467 (home-page "http://moc.daper.net")
2468 (license license:gpl2+)))
2469
2470 (define-public midicsv
2471 (package
2472 (name "midicsv")
2473 (version "1.1")
2474 (source (origin
2475 (method url-fetch)
2476 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
2477 name "-" version ".tar.gz"))
2478 (sha256
2479 (base32
2480 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
2481 (build-system gnu-build-system)
2482 (arguments
2483 `(#:phases (modify-phases %standard-phases (delete 'configure))
2484 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
2485 (synopsis "Convert MIDI files to and from CSV")
2486 (description
2487 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
2488 value file (CSV), which preserves all the information in the MIDI file. The
2489 ASCII CSV file may be loaded into a spreadsheet or database application, or
2490 processed by a program to transform the MIDI data (for example, to key
2491 transpose a composition or extract a track from a multi-track sequence). A
2492 CSV file in the format created by midicsv may be converted back into a
2493 standard MIDI file with the csvmidi program.")
2494 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
2495 (license license:public-domain)))
2496
2497 (define-public gx-guvnor-lv2
2498 (package
2499 (name "gx-guvnor-lv2")
2500 (version "0.1")
2501 (source (origin
2502 (method url-fetch)
2503 (uri (string-append "https://github.com/brummer10/GxGuvnor.lv2/"
2504 "archive/v" version ".tar.gz"))
2505 (file-name (string-append name "-" version ".tar.gz"))
2506 (sha256
2507 (base32
2508 "0rnfvrvs8qmmldyfmx4llyly33zp68448gx40ywdwj42x0mam92p"))))
2509 (build-system gnu-build-system)
2510 (arguments
2511 `(;; The check target is used only to output a warning.
2512 #:tests? #f
2513 #:make-flags
2514 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
2515 #:phases
2516 (modify-phases %standard-phases
2517 (replace 'configure
2518 (lambda _
2519 (substitute* "Makefile"
2520 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n"))
2521 #t)))))
2522 (inputs
2523 `(("lv2" ,lv2)))
2524 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
2525 (synopsis "Overdrive/distortion pedal simulation")
2526 (description "This package provides the LV2 plugin \"GxGuvnor\", a
2527 simulation of an overdrive or distortion pedal for guitars.")
2528 ;; The LICENSE file says GPLv3 but the license headers in the files say
2529 ;; GPLv2 or later.
2530 (license license:gpl2+)))
2531
2532 (define-public gx-vbass-preamp-lv2
2533 (let ((commit "0e599abab10c7669dd444e5d06f671c2fc1b9c6c")
2534 (revision "1"))
2535 (package (inherit gx-guvnor-lv2)
2536 (name "gx-vbass-preamp-lv2")
2537 (version (string-append "0-" revision "." (string-take commit 9)))
2538 (source (origin
2539 (method git-fetch)
2540 (uri (git-reference
2541 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
2542 (commit commit)))
2543 (sha256
2544 (base32
2545 "1dzksdfrva666gpi62fd2ni9rhf18sl917f1894qr0b17pbdh9k1"))
2546 (file-name (string-append name "-" version "-checkout"))))
2547 (arguments
2548 (substitute-keyword-arguments (package-arguments gx-guvnor-lv2)
2549 ((#:phases phases)
2550 `(modify-phases ,phases
2551 (replace 'configure
2552 (lambda _
2553 (substitute* "Makefile"
2554 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
2555 (("install : all") "install :"))
2556 #t))))))
2557 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
2558 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
2559 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
2560 pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
2561 Section."))))
2562
2563 (define-public gx-overdriver-lv2
2564 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
2565 (revision "1"))
2566 (package (inherit gx-vbass-preamp-lv2)
2567 (name "gx-overdriver-lv2")
2568 (version (string-append "0-" revision "." (string-take commit 9)))
2569 (source (origin
2570 (method git-fetch)
2571 (uri (git-reference
2572 (url "https://github.com/brummer10/GxOverDriver.lv2")
2573 (commit commit)))
2574 (sha256
2575 (base32
2576 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
2577 (file-name (string-append name "-" version "-checkout"))))
2578 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
2579 (synopsis "Overdrive effect with level and tone control")
2580 (description "This package provides the LV2 plugin \"GxOverDriver\", an
2581 overdrive effect."))))
2582
2583 (define-public gx-tone-mender-lv2
2584 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
2585 (revision "1"))
2586 (package (inherit gx-vbass-preamp-lv2)
2587 (name "gx-tone-mender-lv2")
2588 (version (string-append "0-" revision "." (string-take commit 9)))
2589 (source (origin
2590 (method git-fetch)
2591 (uri (git-reference
2592 (url "https://github.com/brummer10/GxToneMender.lv2")
2593 (commit commit)))
2594 (sha256
2595 (base32
2596 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
2597 (file-name (string-append name "-" version "-checkout"))))
2598 (home-page "https://github.com/brummer10/GxToneMender.lv2")
2599 (synopsis "Clean boost with a 3-knob tonestack")
2600 (description "This package provides the LV2 plugin \"GxToneMender\", a
2601 clean boost effect with a 3-knob tonestack."))))
2602
2603 (define-public gx-push-pull-lv2
2604 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
2605 (revision "1"))
2606 (package (inherit gx-vbass-preamp-lv2)
2607 (name "gx-push-pull-lv2")
2608 (version (string-append "0-" revision "." (string-take commit 9)))
2609 (source (origin
2610 (method git-fetch)
2611 (uri (git-reference
2612 (url "https://github.com/brummer10/GxPushPull.lv2")
2613 (commit commit)))
2614 (sha256
2615 (base32
2616 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
2617 (file-name (string-append name "-" version "-checkout"))))
2618 (home-page "https://github.com/brummer10/GxPushPull.lv2")
2619 (synopsis "Octave up push pull transistor fuzz simulation")
2620 (description "This package provides the LV2 plugin \"GxPushPull\", a
2621 simulation of a push pull transistor fuzz effect with added high octave."))))
2622
2623 (define-public gx-suppa-tone-bender-lv2
2624 (package (inherit gx-guvnor-lv2)
2625 (name "gx-suppa-tone-bender-lv2")
2626 (version "0.1")
2627 (source (origin
2628 (method url-fetch)
2629 (uri (string-append "https://github.com/brummer10/"
2630 "GxSuppaToneBender.lv2/archive/v"
2631 version ".tar.gz"))
2632 (sha256
2633 (base32
2634 "1j90fns87035sfr6bxs4cvqxbyy3pqjhihx1nis8xajn202nl1hx"))
2635 (file-name (string-append name "-" version ".tar.gz"))))
2636 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
2637 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
2638 (description "This package provides the LV2 plugin
2639 \"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
2640 pedal.")))
2641
2642 (define-public gx-saturator-lv2
2643 (let ((commit "0b581ac85c515325b9f16e51937cae6e1bf81a0a")
2644 (revision "2"))
2645 (package (inherit gx-vbass-preamp-lv2)
2646 (name "gx-saturator-lv2")
2647 (version (string-append "0-" revision "." (string-take commit 9)))
2648 (source (origin
2649 (method git-fetch)
2650 (uri (git-reference
2651 (url "https://github.com/brummer10/GxSaturator.lv2")
2652 (commit commit)))
2653 (sha256
2654 (base32
2655 "1cl785pzq8zk55m1rnhfd6qsabci6kpf4pf002gwr91vagyq246z"))
2656 (file-name (string-append name "-" version "-checkout"))))
2657 (home-page "https://github.com/brummer10/GxSaturator.lv2")
2658 (synopsis "Saturation effect")
2659 (description "This package provides the LV2 plugin \"GxSaturator\", a
2660 saturation effect."))))
2661
2662 (define-public gx-hyperion-lv2
2663 (package (inherit gx-guvnor-lv2)
2664 (name "gx-hyperion-lv2")
2665 (version "0.1")
2666 (source (origin
2667 (method url-fetch)
2668 (uri (string-append "https://github.com/brummer10/"
2669 "GxHyperion.lv2/archive/v"
2670 version ".tar.gz"))
2671 (sha256
2672 (base32
2673 "1pd7l33a14kq73wavgqq7csw4n3mwjz9d5rxaj0jgsyxd3llp3wh"))
2674 (file-name (string-append name "-" version ".tar.gz"))))
2675 (home-page "https://github.com/brummer10/GxHyperion.lv2")
2676 (synopsis "Simulation of the Hyperion Fuzz pedal")
2677 (description "This package provides the LV2 plugin \"GxHyperion\", a
2678 simulation of the Hyperion Fuzz pedal.")))
2679
2680 (define-public gx-voodoo-fuzz-lv2
2681 (package (inherit gx-guvnor-lv2)
2682 (name "gx-voodoo-fuzz-lv2")
2683 (version "0.1")
2684 (source (origin
2685 (method url-fetch)
2686 (uri (string-append "https://github.com/brummer10/"
2687 "GxVoodoFuzz.lv2/archive/v"
2688 version ".tar.gz"))
2689 (sha256
2690 (base32
2691 "0cc8sg7q493bs6pcq4ipqp6czpxv04nh9yvn8kq2x65ni2208n2f"))
2692 (file-name (string-append name "-" version ".tar.gz"))))
2693 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
2694 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
2695 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
2696 simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
2697 Bosstone circuit, followed by the tone control of the FoxToneMachine in
2698 parallel with a DarkBooster, followed by a volume control.")))
2699
2700 (define-public gx-super-fuzz-lv2
2701 (package (inherit gx-guvnor-lv2)
2702 (name "gx-super-fuzz-lv2")
2703 (version "0.1")
2704 (source (origin
2705 (method url-fetch)
2706 (uri (string-append "https://github.com/brummer10/"
2707 "GxSuperFuzz.lv2/archive/v"
2708 version ".tar.gz"))
2709 (sha256
2710 (base32
2711 "0pnivq05f1kji8c5jxsqdzhdfk3xn422v2d1x20x3jfsxnaf115x"))
2712 (file-name (string-append name "-" version ".tar.gz"))))
2713 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
2714 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
2715 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
2716 analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
2717 pot, which is usually in the housing, is exposed as a control parameter. It
2718 adjusts the amount of harmonics.")))
2719
2720 (define-public gx-vintage-fuzz-master-lv2
2721 (package (inherit gx-guvnor-lv2)
2722 (name "gx-vintage-fuzz-master-lv2")
2723 (version "0.1")
2724 (source (origin
2725 (method url-fetch)
2726 (uri (string-append "https://github.com/brummer10/"
2727 "GxVintageFuzzMaster.lv2/archive/v"
2728 version ".tar.gz"))
2729 (sha256
2730 (base32
2731 "0bdkfj6xi2g4izfw3pmr4i0nqzg8jnkdwc23x9ifxwc6p1kbayzk"))
2732 (file-name (string-append name "-" version ".tar.gz"))))
2733 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
2734 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
2735 (description "This package provides the LV2 plugin
2736 \"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
2737
2738 (define-public gx-slow-gear-lv2
2739 (let ((commit "cb852e0426f4e6fe077e7f1ede73a4da335cfc5e")
2740 (revision "2"))
2741 (package (inherit gx-vbass-preamp-lv2)
2742 (name "gx-slow-gear-lv2")
2743 (version (string-append "0-" revision "." (string-take commit 9)))
2744 (source (origin
2745 (method git-fetch)
2746 (uri (git-reference
2747 (url "https://github.com/brummer10/GxSlowGear.lv2")
2748 (commit commit)))
2749 (sha256
2750 (base32
2751 "0dp7afi1r3kzciiyn1hrkz6arsq47ys9sx5g4b7xa9k1dv92ishp"))
2752 (file-name (string-append name "-" version "-checkout"))))
2753 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
2754 (synopsis "Slow gear audio effect")
2755 (description "This package provides the LV2 plugin \"GxSlowGear\", a
2756 slow gear audio effect to produce volume swells."))))
2757
2758 (define-public gx-switchless-wah-lv2
2759 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
2760 (revision "2"))
2761 (package (inherit gx-vbass-preamp-lv2)
2762 (name "gx-switchless-wah-lv2")
2763 (version (string-append "0-" revision "." (string-take commit 9)))
2764 (source (origin
2765 (method git-fetch)
2766 (uri (git-reference
2767 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
2768 (commit commit)))
2769 (sha256
2770 (base32
2771 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
2772 (file-name (string-append name "-" version "-checkout"))))
2773 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
2774 (synopsis "Wah emulation with switchless activation")
2775 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
2776 a simulation of an analog Wah pedal with switchless activation."))))
2777
2778 (define-public mod-utilities
2779 (let ((commit "7cdeeac26ae682730740105ece121d4dddb8ba3f")
2780 (revision "1"))
2781 (package
2782 (name "mod-utilities")
2783 (version (string-append "0-" revision "." (string-take commit 9)))
2784 (source (origin
2785 (method git-fetch)
2786 (uri (git-reference
2787 (url "https://github.com/moddevices/mod-utilities.git")
2788 (commit commit)))
2789 (sha256
2790 (base32
2791 "1ilnkbrmwrszxvc21qlb86h29yz7cnc6rcp0jmna1y693ny2qhf4"))
2792 (file-name (string-append name "-" version "-checkout"))))
2793 (build-system gnu-build-system)
2794 (arguments
2795 `(#:tests? #f ; there are no tests
2796 #:make-flags
2797 (list (string-append "INSTALL_PATH="
2798 (assoc-ref %outputs "out")
2799 "/lib/lv2"))
2800 #:phases
2801 (modify-phases %standard-phases
2802 (delete 'configure))))
2803 (inputs
2804 `(("lv2" ,lv2)))
2805 (home-page "https://github.com/moddevices/mod-utilities")
2806 (synopsis "LV2 utility plugins")
2807 (description "This package provides LV2 audio utility plugins, such as
2808 filters, crossovers, simple gain plugins without zipper noise, switch box
2809 plugins, a switch trigger, a toggle switch, and a peakmeter.")
2810 (license license:gpl2+))))
2811
2812 (define-public ingen
2813 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
2814 (revision "2"))
2815 (package
2816 (name "ingen")
2817 (version (string-append "0.0.0-" revision "."
2818 (string-take commit 9)))
2819 (source
2820 (origin
2821 (method git-fetch)
2822 (uri (git-reference
2823 (url "http://git.drobilla.net/ingen.git")
2824 (commit commit)))
2825 (file-name (string-append name "-" version "-checkout"))
2826 (sha256
2827 (base32
2828 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
2829 (build-system waf-build-system)
2830 (arguments
2831 `(#:tests? #f ; no "check" target
2832 #:configure-flags (list "--no-webkit")
2833 #:phases
2834 (modify-phases %standard-phases
2835 (add-after 'unpack 'patch-wscript
2836 (lambda* (#:key outputs #:allow-other-keys)
2837 (let ((out (assoc-ref outputs "out")))
2838 (substitute* "wscript"
2839 ;; FIXME: Our version of lv2specgen.py does not behave as
2840 ;; expected. Maybe this requires a development version of
2841 ;; LV2.
2842 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
2843 ;; Add libraries to RUNPATH.
2844 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
2845 (string-append prefix
2846 "linkflags=[\"-Wl,-rpath="
2847 out "/lib" "\"]," line)))
2848 (substitute* '("src/wscript"
2849 "src/server/wscript")
2850 ;; Add libraries to RUNPATH.
2851 (("bld.env.PTHREAD_LINKFLAGS" line)
2852 (string-append line
2853 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
2854 (substitute* "src/client/wscript"
2855 ;; Add libraries to RUNPATH.
2856 (("^(.+)target.*= 'ingen_client'," line prefix)
2857 (string-append prefix
2858 "linkflags=[\"-Wl,-rpath="
2859 out "/lib" "\"]," line)))
2860 (substitute* "src/gui/wscript"
2861 ;; Add libraries to RUNPATH.
2862 (("^(.+)target.* = 'ingen_gui.*" line prefix)
2863 (string-append prefix
2864 "linkflags=[\"-Wl,-rpath="
2865 out "/lib" "\"]," line))))
2866 #t)))))
2867 (inputs
2868 `(("boost" ,boost)
2869 ("python-rdflib" ,python-rdflib)
2870 ("python" ,python)
2871 ("jack" ,jack-1)
2872 ("lv2" ,lv2-devel)
2873 ("lilv" ,lilv)
2874 ("raul" ,raul-devel)
2875 ("ganv" ,ganv-devel)
2876 ("suil" ,suil)
2877 ("serd" ,serd)
2878 ("sord" ,sord)
2879 ("sratom" ,sratom)
2880 ("gtkmm" ,gtkmm-2)))
2881 (native-inputs
2882 `(("pkg-config" ,pkg-config)
2883 ("python-pygments" ,python-pygments)))
2884 (home-page "http://drobilla.net/software/ingen")
2885 (synopsis "Modular audio processing system")
2886 (description "Ingen is a modular audio processing system for JACK and
2887 LV2 based systems. Ingen is built around LV2 technology and a strict
2888 separation of engine from user interface. The engine is controlled
2889 exclusively through a protocol, and can execute as a headless process, with an
2890 in-process GUI, or as an LV2 plugin. The GUI can run as a program which
2891 communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
2892 communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
2893 plugin on any system where Ingen is installed. This allows users to visually
2894 develop custom plugins for use in other applications without programming.")
2895 (license license:agpl3+))))
2896
2897 (define-public qmidiarp
2898 (package
2899 (name "qmidiarp")
2900 (version "0.6.4")
2901 (source (origin
2902 (method url-fetch)
2903 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
2904 version "/qmidiarp-" version ".tar.bz2"))
2905 (sha256
2906 (base32
2907 "1gkfv8ajgf86kbn6j5ilfc1zlz17gdi9yxzywqd6jwff4xlm75hx"))))
2908 (build-system gnu-build-system)
2909 (arguments
2910 `(#:configure-flags
2911 (list "--enable-qt5"
2912 "CXXFLAGS=-std=gnu++11")))
2913 (inputs
2914 `(("qtbase" ,qtbase)
2915 ("alsa-lib" ,alsa-lib)
2916 ("jack" ,jack-1)
2917 ("liblo" ,liblo)
2918 ("lv2" ,lv2)))
2919 (native-inputs
2920 `(("pkg-config" ,pkg-config)
2921 ("qttools" ,qttools)))
2922 (home-page "http://qmidiarp.sourceforge.net/")
2923 (synopsis "MIDI arpeggiator")
2924 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
2925 sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
2926 modules running in parallel.")
2927 (license license:gpl2+)))
2928
2929 (define-public qmidiroute
2930 (package
2931 (name "qmidiroute")
2932 (version "0.4.0")
2933 (source (origin
2934 (method url-fetch)
2935 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
2936 version "/qmidiroute-" version ".tar.bz2"))
2937 (sha256
2938 (base32
2939 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
2940 (build-system gnu-build-system)
2941 (arguments
2942 `(#:configure-flags
2943 (list "--enable-qt5"
2944 "CXXFLAGS=-std=gnu++11")))
2945 (inputs
2946 `(("qtbase" ,qtbase)
2947 ("alsa-lib" ,alsa-lib)))
2948 (native-inputs
2949 `(("pkg-config" ,pkg-config)
2950 ("qttools" ,qttools)))
2951 (home-page "http://alsamodular.sourceforge.net/")
2952 (synopsis "MIDI event router and filter")
2953 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
2954 control change, program change and pitch bend events are logged, and can be
2955 filtered, redirected and transformed into other events according to MIDI maps
2956 defined as tabs in the main control surface.")
2957 (license license:gpl2+)))
2958
2959 (define-public seq24
2960 (package
2961 (name "seq24")
2962 (version "0.9.3")
2963 (source (origin
2964 (method url-fetch)
2965 (uri (string-append "https://launchpad.net/seq24/trunk/"
2966 version "/+download/seq24-"
2967 version ".tar.bz2"))
2968 (sha256
2969 (base32
2970 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
2971 (patches (search-patches "seq24-rename-mutex.patch"))))
2972 (build-system gnu-build-system)
2973 (arguments
2974 `(#:configure-flags
2975 (list "CXXFLAGS=-std=gnu++11")))
2976 (inputs
2977 `(("gtkmm" ,gtkmm-2)
2978 ("alsa-lib" ,alsa-lib)
2979 ("jack" ,jack-1)
2980 ("lash" ,lash)))
2981 (native-inputs
2982 `(("pkg-config" ,pkg-config)))
2983 (home-page "https://edge.launchpad.net/seq24/")
2984 (synopsis "Real-time MIDI sequencer")
2985 (description "Seq24 is a real-time MIDI sequencer. It was created to
2986 provide a very simple interface for editing and playing MIDI loops.")
2987 (license license:gpl2+)))
2988
2989 (define-public python-discogs-client
2990 (package
2991 (name "python-discogs-client")
2992 (version "2.2.1")
2993 (source (origin
2994 (method url-fetch)
2995 (uri (pypi-uri "discogs-client" version))
2996 (sha256
2997 (base32
2998 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
2999 (build-system python-build-system)
3000 (propagated-inputs
3001 `(("python-oauthlib" ,python-oauthlib)
3002 ("python-requests" ,python-requests)))
3003 (native-inputs
3004 `(("python-six" ,python-six)))
3005 (home-page "https://github.com/discogs/discogs_client")
3006 (synopsis "Official Python client for the Discogs API")
3007 (description "This is the official Discogs API client for Python. It enables
3008 you to query the Discogs database for information on artists, releases, labels,
3009 users, Marketplace listings, and more. It also supports OAuth 1.0a
3010 authorization, which allows you to change user data such as profile information,
3011 collections and wantlists, inventory, and orders.")
3012 (license license:bsd-2)))
3013
3014 (define-public python2-discogs-client
3015 (package-with-python2 python-discogs-client))
3016
3017 (define-public libsmf
3018 (package
3019 (name "libsmf")
3020 (version "1.3")
3021 (source
3022 (origin
3023 (method url-fetch)
3024 ;; SF download page says development moved, but the link it points to
3025 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
3026 ;; it but made no release so far (https://github.com/stump/libsmf).
3027 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
3028 version "/libsmf-" version ".tar.gz"))
3029 (sha256
3030 (base32
3031 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
3032 (build-system gnu-build-system)
3033 (outputs '("out"
3034 "static")) ; 88KiB of .a files
3035 (arguments
3036 `(#:phases
3037 (modify-phases %standard-phases
3038 (add-after 'install 'move-static-libraries
3039 (lambda* (#:key outputs #:allow-other-keys)
3040 ;; Move static libraries to the "static" output.
3041 (let* ((out (assoc-ref outputs "out"))
3042 (lib (string-append out "/lib"))
3043 (static (assoc-ref outputs "static"))
3044 (slib (string-append static "/lib")))
3045 (mkdir-p slib)
3046 (for-each (lambda (file)
3047 (install-file file slib)
3048 (delete-file file))
3049 (find-files lib "\\.a$"))
3050 #t))))))
3051 (inputs
3052 `(("readline" ,readline)
3053 ("glib" ,glib)))
3054 (native-inputs
3055 `(("doxygen" ,doxygen)
3056 ("pkg-config" ,pkg-config)))
3057 (home-page "http://libsmf.sourceforge.net/")
3058 (synopsis "Standard MIDI File format library")
3059 (description
3060 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
3061 conversions between time and pulses, tempo map handling and more. The only dependencies
3062 are a C compiler and glib. Full API documentation and examples are included.")
3063 (license license:bsd-2)))
3064
3065 (define-public lmms
3066 (package
3067 (name "lmms")
3068 (version "1.1.3")
3069 (source
3070 (origin
3071 (method url-fetch)
3072 (uri (string-append "https://github.com/LMMS/lmms/archive/v"
3073 version ".tar.gz"))
3074 (file-name (string-append name "-" version ".tar.gz"))
3075 (sha256
3076 (base32
3077 "1g76z7ha3hd53vbqaq9n1qg6s3lw8zzaw51iny6y2bz0j1xqwcsr"))))
3078 (build-system cmake-build-system)
3079 (arguments
3080 `(#:tests? #f ; no tests
3081 #:phases
3082 (modify-phases %standard-phases
3083 (add-before
3084 'configure 'set-ldflags
3085 (lambda* (#:key outputs #:allow-other-keys)
3086 (setenv "LDFLAGS"
3087 (string-append
3088 "-Wl,-rpath=\""
3089 (assoc-ref outputs "out") "/lib/lmms"
3090 ":"
3091 (assoc-ref outputs "out") "/lib/lmms/ladspa"
3092 "\"")))))))
3093 (native-inputs
3094 `(("pkg-config" ,pkg-config)))
3095 (inputs
3096 `(("sdl" ,sdl)
3097 ("qt" ,qt-4)
3098 ("fltk" ,fltk)
3099 ("libogg" ,libogg)
3100 ("libsamplerate" ,libsamplerate)
3101 ("fluidsynth" ,fluidsynth)
3102 ("libvorbis" ,libvorbis)
3103 ("alsa-lib" ,alsa-lib)
3104 ("portaudio" ,portaudio)
3105 ("ladspa" ,ladspa)
3106 ("libsndfile1" ,libsndfile)
3107 ("libxft" ,libxft)
3108 ("freetype2" ,freetype)
3109 ("fftw3f" ,fftwf)))
3110 (home-page "https://lmms.io/")
3111 (synopsis "Music composition tool")
3112 (description "LMMS is a digital audio workstation. It includes tools for sequencing
3113 melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
3114 audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
3115 (license license:gpl2+)))
3116
3117 (define-public musescore
3118 (package
3119 (name "musescore")
3120 (version "2.1.0")
3121 (source (origin
3122 (method url-fetch)
3123 (uri (string-append
3124 "https://github.com/musescore/MuseScore/archive/"
3125 "v" version ".tar.gz"))
3126 (file-name (string-append name "-" version ".tar.gz"))
3127 (sha256
3128 (base32
3129 "0irwsq6ihfz3y3b943cwqy29g3si7gqbgxdscgw53vwv9vfvi085"))
3130 (modules '((guix build utils)))
3131 (snippet
3132 ;; Un-bundle OpenSSL and remove unused libraries.
3133 '(begin
3134 (substitute* "thirdparty/kQOAuth/CMakeLists.txt"
3135 (("-I \\$\\{PROJECT_SOURCE_DIR\\}/thirdparty/openssl/include ")
3136 ""))
3137 (substitute* "thirdparty/kQOAuth/kqoauthutils.cpp"
3138 (("#include <openssl/.*") ""))
3139 (for-each delete-file-recursively
3140 '("thirdparty/freetype"
3141 "thirdparty/openssl"
3142 "thirdparty/portmidi"))
3143 #t))))
3144 (build-system gnu-build-system)
3145 (arguments
3146 `(#:make-flags
3147 `(,(string-append "PREFIX=" (assoc-ref %outputs "out")))
3148 ;; There are tests, but no simple target to run. The command
3149 ;; used to run them is:
3150 ;;
3151 ;; make debug && sudo make installdebug && cd \
3152 ;; build.debug/mtest && make && ctest
3153 ;;
3154 ;; Basically, it requires to start a whole new build process.
3155 ;; So we simply skip them.
3156 #:tests? #f
3157 #:phases
3158 (modify-phases %standard-phases
3159 (delete 'configure)
3160 (add-after 'unpack 'use-system-freetype
3161 (lambda _
3162 ;; XXX: For the time being, we grossly insert the CMake
3163 ;; option needed to ignore bundled freetype. However,
3164 ;; there's a pending PR to have it as a regular make
3165 ;; option, in a future release.
3166 (substitute* "Makefile"
3167 (("cmake -DCMAKE") "cmake -DUSE_SYSTEM_FREETYPE=ON -DCMAKE"))
3168 #t)))))
3169 (inputs
3170 `(("alsa-lib" ,alsa-lib)
3171 ("freetype" ,freetype)
3172 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
3173 ("jack" ,jack-1)
3174 ("lame" ,lame)
3175 ("libogg" ,libogg)
3176 ("libsndfile" ,libsndfile)
3177 ("libvorbis" ,libvorbis)
3178 ("portaudio" ,portaudio)
3179 ("pulseaudio" ,pulseaudio)
3180 ("qtbase" ,qtbase)
3181 ("qtdeclarative" ,qtdeclarative)
3182 ("qtscript" ,qtscript)
3183 ("qtsvg" ,qtsvg)
3184 ("qtwebkit" ,qtwebkit)
3185 ("qtxmlpatterns" ,qtxmlpatterns)))
3186 (native-inputs
3187 `(("cmake" ,cmake)
3188 ("pkg-config" ,pkg-config)
3189 ("qttools" ,qttools)))
3190 (synopsis "Music composition and notation software")
3191 (description "MuseScore is a music score typesetter. Its main purpose is
3192 the creation of high-quality engraved musical scores in a WYSIWYG environment.
3193
3194 It supports unlimited staves, linked parts and part extraction, tablature,
3195 MIDI input, percussion notation, cross-staff beaming, automatic transposition,
3196 lyrics (multiple verses), fretboard diagrams, and in general everything
3197 commonly used in sheet music. Style options and style sheets to change the
3198 appearance and layout are provided.
3199
3200 MuseScore can also play back scores through the built-in sequencer and SoundFont
3201 sample library.")
3202 (home-page "https://musescore.org")
3203 (license license:gpl2)))
3204
3205 (define-public dssi
3206 (package
3207 (name "dssi")
3208 (version "1.1.1")
3209 (source (origin
3210 (method url-fetch)
3211 (uri (string-append
3212 "mirror://sourceforge/dssi/dssi/" version
3213 "/dssi-" version ".tar.gz"))
3214 (sha256
3215 (base32
3216 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
3217 (build-system gnu-build-system)
3218 (inputs
3219 `(("alsa-lib" ,alsa-lib)
3220 ("jack-2" ,jack-2)
3221 ("ladspa" ,ladspa)
3222 ("libsamplerate" ,libsamplerate)
3223 ("libsndfile" ,libsndfile)
3224 ("liblo" ,liblo)))
3225 (native-inputs
3226 `(("pkg-config" ,pkg-config)))
3227 (synopsis "Audio plugin API for soft synths and effects")
3228 (description "DSSI is a plugin API for software instruments with user
3229 interfaces, permitting them to be hosted in-process by audio applications.
3230 It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
3231 towards familiarity with MIDI. The DSSI distribution package contains
3232 a JACK/ALSA-sequencer reference host and some plugins as well as the
3233 specification and header.")
3234 (home-page "http://dssi.sourceforge.net/")
3235 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
3236 ;; The vast majority of examples are in the public domain.
3237 (license (list license:lgpl2.1+ license:gpl2+))))
3238
3239 (define-public rosegarden
3240 (package
3241 (name "rosegarden")
3242 (version "17.04")
3243 (source (origin
3244 (method url-fetch)
3245 (uri (string-append
3246 "mirror://sourceforge/rosegarden/rosegarden/"
3247 version "/rosegarden-" version ".tar.bz2"))
3248 (sha256
3249 (base32
3250 "1khfcj22asdhjh0jvhkqsz200wgmigkhsrcz09ffia5hqm0n32lq"))))
3251 (build-system cmake-build-system)
3252 (arguments
3253 `(#:configure-flags '("-DUSE_QT5=1") ; "-DCMAKE_BUILD_TYPE=Release"
3254 #:phases
3255 (modify-phases %standard-phases
3256 (add-after 'unpack 'patch-tests
3257 (lambda _
3258 (substitute* "CMakeLists.txt"
3259 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
3260 ;; Make tests work.
3261 ((" -fvisibility=hidden") ""))
3262 #t))
3263 (add-after 'unpack 'fix-references
3264 (lambda* (#:key inputs #:allow-other-keys)
3265 (substitute* "src/gui/general/ProjectPackager.cpp"
3266 (("\"flac\\>")
3267 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
3268 (("\"wavpack\\>")
3269 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
3270 (("\"wvunpack\\>")
3271 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
3272 (("\"bash\\>")
3273 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
3274 (("\"tar\\>")
3275 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
3276 (substitute* "src/gui/general/LilyPondProcessor.cpp"
3277 (("\"convert-ly\\>")
3278 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
3279 (("\"lilypond\\>")
3280 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
3281 #t))
3282 (add-after 'unpack 'make-reproducible
3283 (lambda _
3284 ;; Prevent Last-Modified from being written.
3285 ;; The "*.qm" files that are used in locale.qrc would have a new
3286 ;; mtime otherwise that is written into qrc_locale.cpp in the
3287 ;; end - except when we disable it.
3288 (substitute* "src/CMakeLists.txt"
3289 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
3290 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
3291 ;; Extraneous.
3292 ;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
3293 ; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
3294 )
3295 ;; Make hashtable traversal order predicable.
3296 (setenv "QT_RCC_TEST" "1") ; important
3297 #t))
3298 (add-before 'check 'prepare-check
3299 (lambda _
3300 (setenv "QT_QPA_PLATFORM" "offscreen")
3301 ;; Tests create files in $HOME/.local/share/rosegarden .
3302 (mkdir-p "/tmp/foo")
3303 (setenv "HOME" "/tmp/foo")
3304 #t)))))
3305 (inputs
3306 `(("alsa-lib" ,alsa-lib)
3307 ("bash" ,bash)
3308 ("dssi" ,dssi)
3309 ("flac" ,flac)
3310 ("fftwf" ,fftwf)
3311 ("jack-2" ,jack-2)
3312 ("ladspa" ,ladspa)
3313 ("liblo" ,liblo)
3314 ("libsamplerate" ,libsamplerate)
3315 ("lilypond" ,lilypond)
3316 ("lrdf" ,lrdf)
3317 ("qtbase" ,qtbase)
3318 ("tar" ,tar)
3319 ("lirc" ,lirc)
3320 ("wavpack" ,wavpack)
3321 ("zlib" ,zlib)))
3322 (native-inputs
3323 `(("pkg-config" ,pkg-config)
3324 ("qtlinguist" ,qttools)))
3325 (synopsis "Music composition and editing environment based around a MIDI
3326 sequencer")
3327 (description "Rosegarden is a music composition and editing environment
3328 based around a MIDI sequencer that features a rich understanding of music
3329 notation and includes basic support for digital audio.")
3330 (home-page "http://www.rosegardenmusic.com/")
3331 (license license:gpl2)))
3332
3333 (define-public sorcer
3334 (package
3335 (name "sorcer")
3336 (version "1.1.3")
3337 (source (origin
3338 (method url-fetch)
3339 (uri (string-append "https://github.com/openAVproductions/"
3340 "openAV-Sorcer/archive/release-"
3341 version ".tar.gz"))
3342 (file-name (string-append name "-" version ".tar.gz"))
3343 (sha256
3344 (base32
3345 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
3346 (build-system cmake-build-system)
3347 (arguments
3348 `(#:tests? #f ; no tests included
3349 #:phases
3350 (modify-phases %standard-phases
3351 (add-after 'unpack 'remove-architecture-specific-flags
3352 (lambda _
3353 (substitute* "CMakeLists.txt"
3354 (("-msse2 -mfpmath=sse") ""))
3355 #t))
3356 (add-after 'unpack 'build-faust-sources
3357 (lambda* (#:key inputs #:allow-other-keys)
3358 (with-directory-excursion "faust"
3359 (delete-file "main.cpp")
3360 (zero? (system* "faust" "-i"
3361 "-a" "lv2synth.cpp"
3362 "-o" "main.cpp" "main.dsp"))))))))
3363 (inputs
3364 `(("boost" ,boost)
3365 ("lv2" ,lv2)
3366 ("ntk" ,ntk)))
3367 (native-inputs
3368 `(("faust" ,faust)
3369 ("pkg-config" ,pkg-config)))
3370 (home-page "http://openavproductions.com/sorcer/")
3371 (synopsis "Wavetable LV2 plugin synth")
3372 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
3373 the electronic or dubstep genre.")
3374 (license license:gpl3+)))
3375
3376 (define-public libechonest
3377 (package
3378 (name "libechonest")
3379 (version "2.3.1")
3380 (source (origin
3381 (method git-fetch)
3382 (uri (git-reference
3383 (url "git://anongit.kde.org/libechonest.git")
3384 (commit version)))
3385 (file-name (string-append name "-" version "-checkout"))
3386 (sha256
3387 (base32
3388 "0xbavf9f355dl1d3qv59x4ryypqrdanh9xdvw2d0q66l008crdkq"))))
3389 (build-system cmake-build-system)
3390 (arguments
3391 '(#:tests? #f ; Tests require Internet access
3392 #:configure-flags '("-DBUILD_WITH_QT4=OFF")))
3393 (inputs
3394 `(("qtbase" ,qtbase)
3395 ("qjson" ,qjson)))
3396 (home-page "https://projects.kde.org/projects/playground/libs/libechonest")
3397 (synopsis "C++/Qt classes to interface with The Echo Nest API")
3398 (description "@code{libechonest} is a collection of C++/Qt classes
3399 designed to make a developer's life easy when trying to use the APIs provided
3400 by The Echo Nest.")
3401 (license license:gpl2+)))