gnu: Remove python2-flask-migrate.
[jackhill/guix/guix.git] / gnu / packages / music.scm
CommitLineData
1b6826d3 1;;; GNU Guix --- Functional package management for GNU
0163b900 2;;; Copyright © 2014, 2019 Eric Bavier <bavier@member.fsf.org>
0d4b4059 3;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
e8069d01 4;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
aa0edd3f 5;;; Copyright © 2016 Al McElrath <hello@yrns.org>
255bb7be 6;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
e42ba3da 7;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
72385c34 8;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
6d3ef286 9;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
23319ed6 10;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
47956fa0 11;;; Copyright © 2017 ng0 <ng0@n0.is>
a42619e5 12;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org>
3212b964 13;;; Copyright © 2017, 2018, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
55af6456 14;;; Copyright © 2017, 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
bc27eb3b 15;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
8cc1fdce 16;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
6b445c57 17;;; Copyright © 2018 nee <nee.git@hidamari.blue>
b0dea60c 18;;; Copyright © 2018 Stefan Reichör <stefan@xsteve.at>
4715f92e 19;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
4b577961 20;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
e029d90f 21;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
1331a6c0 22;;; Copyright © 2019 Gabriel Hondet <gabrielhondet@gmail.com>
455e6a31 23;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
e8134442 24;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
7fcc2f93 25;;; Copyright © 2019 raingloom <raingloom@protonmail.com>
1c463524 26;;; Copyright © 2019 David Wilson <david@daviwil.com>
93f4511e 27;;; Copyright © 2019, 2020 Alexandros Theodotou <alex@zrythm.org>
1b6826d3
RW
28;;;
29;;; This file is part of GNU Guix.
30;;;
31;;; GNU Guix is free software; you can redistribute it and/or modify it
32;;; under the terms of the GNU General Public License as published by
33;;; the Free Software Foundation; either version 3 of the License, or (at
34;;; your option) any later version.
35;;;
36;;; GNU Guix is distributed in the hope that it will be useful, but
37;;; WITHOUT ANY WARRANTY; without even the implied warranty of
38;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39;;; GNU General Public License for more details.
40;;;
41;;; You should have received a copy of the GNU General Public License
42;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
43
44(define-module (gnu packages music)
45 #:use-module (guix utils)
46 #:use-module (guix packages)
47 #:use-module (guix download)
8e80244a 48 #:use-module (guix git-download)
1b6826d3
RW
49 #:use-module ((guix licenses) #:prefix license:)
50 #:use-module (guix build-system gnu)
f467c352 51 #:use-module (guix build-system ant)
8b9ec354 52 #:use-module (guix build-system cmake)
2394afa4 53 #:use-module (guix build-system meson)
b0c2c5ab 54 #:use-module (guix build-system perl)
821664f1 55 #:use-module (guix build-system python)
bc27eb3b 56 #:use-module (guix build-system scons)
58301682 57 #:use-module (guix build-system glib-or-gtk)
8e80244a 58 #:use-module (guix build-system waf)
87d1b7b0 59 #:use-module (guix build-system trivial)
5703380b 60 #:use-module (guix build-system go)
1b6826d3 61 #:use-module (gnu packages)
7f559045 62 #:use-module (gnu packages admin)
ddfddb0c 63 #:use-module (gnu packages algebra)
91595624 64 #:use-module (gnu packages apr)
c267cc15 65 #:use-module (gnu packages audio)
2d0fd07b 66 #:use-module (gnu packages autotools)
b7367762 67 #:use-module (gnu packages backup)
8b9ec354 68 #:use-module (gnu packages base) ;libbdf
7bac8196 69 #:use-module (gnu packages bash)
1b6826d3 70 #:use-module (gnu packages bison)
b7367762 71 #:use-module (gnu packages boost)
e8069d01 72 #:use-module (gnu packages cdrom)
8b9ec354
RW
73 #:use-module (gnu packages code)
74 #:use-module (gnu packages check)
a7a7186c 75 #:use-module (gnu packages cmake)
8b9ec354 76 #:use-module (gnu packages compression)
d20b7384 77 #:use-module (gnu packages crypto)
aa0edd3f 78 #:use-module (gnu packages curl)
13416a10 79 #:use-module (gnu packages cyrus-sasl)
d20b7384 80 #:use-module (gnu packages datastructures)
1b6826d3 81 #:use-module (gnu packages docbook)
99828fa7 82 #:use-module (gnu packages documentation)
91595624 83 #:use-module (gnu packages emacs)
13416a10 84 #:use-module (gnu packages file)
1b6826d3 85 #:use-module (gnu packages flex)
8e80244a 86 #:use-module (gnu packages fltk)
1b6826d3
RW
87 #:use-module (gnu packages fonts)
88 #:use-module (gnu packages fontutils)
3bf429af 89 #:use-module (gnu packages freedesktop)
72385c34 90 #:use-module (gnu packages game-development)
6260d1a8 91 #:use-module (gnu packages gcc)
aa0edd3f 92 #:use-module (gnu packages gnupg)
1b6826d3
RW
93 #:use-module (gnu packages gettext)
94 #:use-module (gnu packages ghostscript)
ec8da0e2 95 #:use-module (gnu packages gl)
8e80244a 96 #:use-module (gnu packages glib)
c267cc15 97 #:use-module (gnu packages gnome)
a9f847ad 98 #:use-module (gnu packages gpodder)
770305f4 99 #:use-module (gnu packages graphics)
d20b7384 100 #:use-module (gnu packages gstreamer)
1b6826d3
RW
101 #:use-module (gnu packages gtk)
102 #:use-module (gnu packages guile)
7f559045 103 #:use-module (gnu packages haskell)
c267cc15 104 #:use-module (gnu packages image)
1b6826d3 105 #:use-module (gnu packages imagemagick)
6260d1a8 106 #:use-module (gnu packages java)
91595624 107 #:use-module (gnu packages libffi)
d20b7384 108 #:use-module (gnu packages libusb)
7bac8196
LF
109 #:use-module (gnu packages linux) ; for alsa-utils
110 #:use-module (gnu packages lirc)
91595624 111 #:use-module (gnu packages llvm)
c267cc15
RW
112 #:use-module (gnu packages man)
113 #:use-module (gnu packages mp3)
3bf429af 114 #:use-module (gnu packages mpd)
e8069d01 115 #:use-module (gnu packages ncurses)
1b6826d3 116 #:use-module (gnu packages netpbm)
91595624 117 #:use-module (gnu packages pcre)
821664f1 118 #:use-module (gnu packages pdf)
1b6826d3 119 #:use-module (gnu packages perl)
b2961dda 120 #:use-module (gnu packages perl-web)
1b6826d3 121 #:use-module (gnu packages pkg-config)
d20b7384 122 #:use-module (gnu packages protobuf)
d231bb35 123 #:use-module (gnu packages pulseaudio) ;libsndfile
1b6826d3 124 #:use-module (gnu packages python)
1b2f753d 125 #:use-module (gnu packages python-web)
44d10b1f 126 #:use-module (gnu packages python-xyz)
8b9ec354 127 #:use-module (gnu packages qt)
d231bb35 128 #:use-module (gnu packages rdf)
c493679f 129 #:use-module (gnu packages readline)
1b6826d3 130 #:use-module (gnu packages rsync)
21d18113 131 #:use-module (gnu packages sdl)
cd0322a3 132 #:use-module (gnu packages sqlite)
2d0fd07b 133 #:use-module (gnu packages tcl)
1b6826d3 134 #:use-module (gnu packages texinfo)
8f9ac901 135 #:use-module (gnu packages tex)
4ee2cce3 136 #:use-module (gnu packages time)
13416a10 137 #:use-module (gnu packages tls)
1ea29aa0 138 #:use-module (gnu packages version-control)
e8069d01 139 #:use-module (gnu packages video)
8b9ec354 140 #:use-module (gnu packages web)
c30a66de 141 #:use-module (gnu packages wxwidgets)
c267cc15 142 #:use-module (gnu packages xml)
ddfddb0c 143 #:use-module (gnu packages xorg)
c267cc15 144 #:use-module (gnu packages xiph)
5703380b
PN
145 #:use-module (gnu packages golang)
146 #:use-module (gnu packages lua)
2d0fd07b 147 #:use-module ((srfi srfi-1) #:select (last)))
1b6826d3 148
c30a66de
RW
149(define-public aria-maestosa
150 (package
151 (name "aria-maestosa")
0a151351 152 (version "1.4.13")
c30a66de
RW
153 (source (origin
154 (method url-fetch)
155 (uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
156 version "/AriaSrc-" version ".tar.bz2"))
157 (sha256
158 (base32
0a151351 159 "1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
30812446 160 (build-system scons-build-system)
c30a66de
RW
161 (arguments
162 `(#:tests? #f ;no tests
20e42d1e
DM
163 #:scons-flags
164 (list (string-append "prefix=" (assoc-ref %outputs "out")))
30812446 165 #:scons ,scons-python2
c30a66de 166 #:phases
c30a66de
RW
167 (modify-phases %standard-phases
168 (delete 'configure)
169 (add-after 'unpack 'scons-propagate-environment
170 (lambda _
171 ;; By design, SCons does not, by default, propagate
172 ;; environment variables to subprocesses. See:
173 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
174 ;; Here, we modify the SConstruct file to arrange for
175 ;; environment variables to be propagated.
176 (substitute* "SConstruct"
177 (("env = Environment\\(\\)")
178 "env = Environment(ENV=os.environ)")
179 ;; Scons errors out when copying subdirectories from Resources,
180 ;; so we move them instead.
181 (("Copy") "Move")
182 ;; We move the "score" and "Documentation" directories at once,
183 ;; so we have to ignore files contained therein.
184 (("if \".svn\" in file" line)
185 (string-append line
186 " or \"score/\" in file"
187 " or \"Documentation/\" in file")))
188 #t))
30812446 189 (add-after 'install 'fix-directory-permissions
c30a66de
RW
190 (lambda* (#:key outputs #:allow-other-keys)
191 (let ((out (assoc-ref outputs "out")))
30812446
DM
192 (chmod (string-append out "/share/Aria/Documentation") #o555)
193 (chmod (string-append out "/share/Aria/score") #o555)
194 #t))))))
c30a66de
RW
195 (inputs
196 `(("wxwidgets" ,wxwidgets)
197 ("glib" ,glib)
198 ("alsa-lib" ,alsa-lib)))
199 (native-inputs
30812446 200 `(("pkg-config" ,pkg-config)))
c30a66de
RW
201 (home-page "http://ariamaestosa.sourceforge.net/")
202 (synopsis "MIDI sequencer and editor")
203 (description
204 "Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
205and play MIDI files with a few clicks in a user-friendly interface offering
206score, keyboard, guitar, drum and controller views.")
207 (license license:gpl3+)))
208
d20b7384
PL
209;; We don't use the latest release because it depends on Qt4. Instead we
210;; download the sources from the tip of the "qt5" branch.
211(define-public clementine
8a6d16b8
PL
212 (let ((commit "4619a4c1ab3b17b13d4b2327ad477912917eaf36")
213 (revision "2"))
d20b7384
PL
214 (package
215 (name "clementine")
8a6d16b8 216 (version (git-version "1.3.1" revision commit))
d20b7384
PL
217 (source (origin
218 (method git-fetch)
219 (uri (git-reference
220 (url "https://github.com/clementine-player/Clementine.git")
221 (commit commit)))
8a6d16b8 222 (file-name (git-file-name name version))
d20b7384
PL
223 (sha256
224 (base32
8a6d16b8 225 "1hximk3q0p8nw8is5w7215xgkb7k4flnfyr0pdz9svfwvcm05w1i"))
d20b7384
PL
226 (modules '((guix build utils)))
227 (snippet
6cbee49d
MW
228 '(begin
229 (for-each
d20b7384
PL
230 (lambda (dir)
231 (delete-file-recursively
6cbee49d 232 (string-append "3rdparty/" dir)))
d20b7384 233 (list
6cbee49d
MW
234 ;; TODO: The following dependencies are still bundled:
235 ;; - "qxt": Appears to be unmaintained upstream.
236 ;; - "qsqlite"
237 ;; - "qtsingleapplication"
238 ;; - "qocoa"
239 ;; - "qtiocompressor"
240 ;; - "gmock": The tests crash when using our googletest
241 ;; package instead of the bundled gmock.
242 "SPMediaKeyTap"
243 "fancytabwidget"
244 "google-breakpad"
245 "libmygpo-qt"
246 "libmygpo-qt5"
247 "libprojectm"
248 "qtwin"
249 "sha2" ;; Replaced by openssl.
250 "taglib"
251 "tinysvcmdns"))
252 #t))
af414f34 253 (patches (search-patches "clementine-use-openssl.patch"
7bcc3405
PL
254 "clementine-remove-crypto++-dependency.patch"
255 "clementine-fix-sqlite.patch"))))
d20b7384
PL
256 (build-system cmake-build-system)
257 (arguments
258 '(#:test-target "clementine_test"
259 #:configure-flags
af414f34
PL
260 (list ;; Requires unpackaged "projectm"
261 "-DENABLE_VISUALISATIONS=OFF"
262 ;; Otherwise it may try to download a non-free library at run-time.
263 ;; TODO In an origin snippet, remove the code that performs the
264 ;; download.
265 "-DHAVE_SPOTIFY_DOWNLOADER=FALSE"
266 "-DUSE_SYSTEM_SHA2=TRUE")
d20b7384
PL
267 #:phases
268 (modify-phases %standard-phases
269 (add-after 'install 'wrap-program
270 (lambda* (#:key inputs outputs #:allow-other-keys)
271 (let ((out (assoc-ref outputs "out"))
272 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
273 (wrap-program (string-append out "/bin/clementine")
274 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
275 #t))))))
276 (native-inputs
277 `(("gettext" ,gettext-minimal)
278 ("pkg-config" ,pkg-config)
279 ("qtlinguist" ,qttools)))
280 (inputs
281 `(("boost" ,boost)
282 ("chromaprint" ,chromaprint)
d20b7384
PL
283 ("fftw" ,fftw)
284 ("glib" ,glib)
285 ("glu" ,glu)
286 ("gstreamer" ,gstreamer)
287 ("gst-plugins-base" ,gst-plugins-base)
8473f802
LF
288 ("gst-plugins-good" ,gst-plugins-good)
289 ("gst-libav" ,gst-libav)
d20b7384
PL
290 ("libcdio" ,libcdio)
291 ("libmygpo-qt" ,libmygpo-qt)
d20b7384
PL
292 ;; TODO: Package libgpod.
293 ("libmtp" ,libmtp)
294 ("libxml2" ,libxml2)
295 ("openssl" ,openssl)
296 ("protobuf" ,protobuf)
297 ("pulseaudio" ,pulseaudio)
298 ("qtbase" ,qtbase)
299 ("qtx11extras" ,qtx11extras)
f09e8abc 300 ("sqlite" ,sqlite-with-column-metadata)
d20b7384
PL
301 ("sparsehash" ,sparsehash)
302 ("taglib" ,taglib)))
88491097 303 (home-page "https://clementine-player.org")
d20b7384
PL
304 (synopsis "Music player and library organizer")
305 (description "Clementine is a multiplatform music player. It is inspired
306by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and
307playing your music.")
308 (license (list
309 ;; clementine and qtiocompressor are under GPLv3.
310 license:gpl3+
311 ;; gmock is under BSD-3.
312 license:bsd-3
313 ;; qxt is under CPL1.0.
314 license:cpl1.0
315 ;; qsqlite and qtsingleapplication are under LGPL2.1+.
316 license:lgpl2.1+
317 ;; qocoa is under MIT and CC by-sa for the icons.
318 license:cc-by-sa3.0)))))
319
e8069d01
PW
320(define-public cmus
321 (package
322 (name "cmus")
455e6a31 323 (version "2.8.0")
e8069d01 324 (source (origin
4e829468
RW
325 (method git-fetch)
326 (uri (git-reference
327 (url "https://github.com/cmus/cmus.git")
328 (commit (string-append "v" version))))
329 (file-name (git-file-name name version))
e8069d01
PW
330 (sha256
331 (base32
455e6a31 332 "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar"))))
e8069d01
PW
333 (build-system gnu-build-system)
334 (arguments
335 `(#:tests? #f ; cmus does not include tests
336 #:phases
337 (modify-phases %standard-phases
ec618c20
RW
338 (replace 'configure
339 (lambda* (#:key outputs #:allow-other-keys)
340 (let ((out (assoc-ref outputs "out")))
341 ;; It's an idiosyncratic configure script that doesn't
342 ;; understand --prefix=..; it wants prefix=.. instead.
343 (invoke "./configure"
344 (string-append "prefix=" out))
345 #t))))))
e8069d01
PW
346 ;; TODO: cmus optionally supports the following formats, which haven't yet
347 ;; been added to Guix:
348 ;;
349 ;; - Roar, libroar
350 ;;
351 ;; - DISCID_LIBS, apparently different from cd-discid which is included in
352 ;; Guix. See <http://sourceforge.net/projects/discid/>
353 (native-inputs
354 `(("pkg-config" ,pkg-config)))
355 (inputs
356 `(("alsa-lib" ,alsa-lib)
357 ("ao" ,ao)
9d34cc13 358 ("faad2" ,faad2)
e8069d01
PW
359 ("ffmpeg" ,ffmpeg)
360 ("flac" ,flac)
361 ("jack" ,jack-1)
362 ("libcddb" ,libcddb)
363 ("libcdio-paranoia" ,libcdio-paranoia)
364 ("libcue" ,libcue)
365 ("libmad" ,libmad)
366 ("libmodplug" ,libmodplug)
367 ("libmpcdec" ,libmpcdec)
368 ("libsamplerate" ,libsamplerate)
369 ("libvorbis" ,libvorbis)
370 ("ncurses" ,ncurses)
371 ("opusfile" ,opusfile)
372 ("pulseaudio" ,pulseaudio)
373 ("wavpack" ,wavpack)))
374 (home-page "https://cmus.github.io/")
375 (synopsis "Small console music player")
376 (description "Cmus is a small and fast console music player. It supports
377many input formats and provides a customisable Vi-style user interface.")
378 (license license:gpl2+)))
379
edd1652e
KK
380(define-public denemo
381 (package
382 (name "denemo")
6ff5e9ba 383 (version "2.1")
edd1652e
KK
384 (source (origin
385 (method url-fetch)
386 (uri (string-append "mirror://gnu/denemo/denemo-"
387 version ".tar.gz"))
388 (sha256
389 (base32
6ff5e9ba 390 "0hggf8c4xcrjcxd5m00r788r7jg7g8ff54w2idfaqpj5j2ix3299"))))
edd1652e
KK
391 (build-system gnu-build-system)
392 (arguments
393 `(#:phases
394 (modify-phases %standard-phases
395 (replace 'check
396 ;; Denemo's documentation says to use this command to run its
397 ;; testsuite.
398 (lambda _
f6181921 399 (invoke "make" "-C" "tests" "check")))
b43ec33b
KK
400 (add-before 'build 'set-lilypond
401 ;; This phase sets the default path for lilypond to its current
402 ;; location in the store.
403 (lambda* (#:key inputs #:allow-other-keys)
404 (let* ((lilypond (string-append (assoc-ref inputs "lilypond")
405 "/bin/lilypond")))
406 (substitute* "src/core/prefops.c"
407 (("g_string_new \\(\"lilypond\"\\);")
408 (string-append "g_string_new (\""
409 lilypond
410 "\");"))))
411 #t))
edd1652e
KK
412 (add-after 'install 'correct-filename
413 ;; "graft-derivation/shallow" from the (guix grafts) module runs in
414 ;; the C locale, expecting file names to be ASCII encoded. This
415 ;; phase renames a filename with a Unicode character in it to meet
416 ;; the aforementioned condition.
417 (lambda* (#:key outputs #:allow-other-keys)
418 (let* ((out (assoc-ref outputs "out")))
419 (chdir (string-append
420 out
421 "/share/denemo/templates/instruments/woodwind"))
422 (rename-file "Clarinet in B♭.denemo"
423 "Clarinet in Bb.denemo"))
424 #t)))))
425 (native-inputs
255bb7be
EF
426 `(("intltool" ,intltool)
427 ("glib:bin" ,glib "bin") ; for gtester
428 ("gtk-doc" ,gtk-doc)
429 ("libtool" ,libtool)
edd1652e
KK
430 ("pkg-config" ,pkg-config)))
431 (inputs
432 `(("alsa-lib" ,alsa-lib)
433 ("aubio" ,aubio)
434 ("evince" ,evince)
435 ("fftw" ,fftw)
436 ("fluidsynth" ,fluidsynth)
437 ("glib" ,glib)
438 ("gtk+" ,gtk+)
6bf79532 439 ("gtksourceview" ,gtksourceview-3)
edd1652e 440 ("guile" ,guile-2.0)
edd1652e
KK
441 ("librsvg" ,librsvg)
442 ("libsndfile" ,libsndfile)
edd1652e 443 ("libxml2" ,libxml2)
c695fb76 444 ("lilypond" ,lilypond)
edd1652e
KK
445 ("portaudio" ,portaudio)
446 ("portmidi" ,portmidi)
447 ("rubberband" ,rubberband)))
edd1652e
KK
448 (synopsis "Graphical music notation, front-end to GNU Lilypond")
449 (description
450 "GNU Denemo is a music notation editor that provides a convenient
451interface to the powerful music engraving program Lilypond. Music can be
452typed in using the computer keyboard, played in using a MIDI keyboard, or
453even input via a microphone connected to the sound card. The final product
454is publication-quality music notation that is continuously generated in the
455background while you work.")
456 (home-page "http://www.denemo.org")
457 (license license:gpl3+)))
458
72385c34
KK
459(define-public dumb
460 (package
461 (name "dumb")
462 (version "2.0.3")
463 (source
464 (origin
465 (method git-fetch)
466 (uri (git-reference
467 (url "https://github.com/kode54/dumb.git")
468 (commit version)))
469 (sha256
470 (base32 "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6"))
471 (file-name (git-file-name name version))))
472 (build-system cmake-build-system)
473 (arguments
474 '(#:tests? #f ; no check target
475 #:configure-flags
476 (list "-DBUILD_SHARED_LIBS=ON"
477 "-DBUILD_EXAMPLES=OFF")))
478 (home-page "https://github.com/kode54/dumb")
479 (synopsis "Module audio renderer library")
480 (description
481 "DUMB is a tracker library with support for IT, XM, S3M and MOD files. It
482targets maximum accuracy to the original formats, with low-pass resonant filters
483for the IT files, accurate timing and pitching, and three resampling quality
484settings (aliasing, linear interpolation and cubic interpolation).")
485 ;; The DUMB license is a bit peculiar.
486 ;; Clause 8 states that clauses 4, 5 and 6 are null and void, leaving only
487 ;; the first three clauses for genuine consideration.
488 ;; Clauses 1, 2 and 3 are analogous to clauses 1, 2 and 3 of the zlib
489 ;; license, a known free software license.
490 ;; Therefore, the DUMB license may be considered a free software license.
491 (license (license:fsf-free "file://LICENSE"))))
492
d61dcb1b
KK
493(define-public dumb-allegro4
494 (package
495 (inherit dumb)
496 (name "dumb-allegro4")
497 (arguments
498 (substitute-keyword-arguments (package-arguments dumb)
499 ((#:configure-flags flags)
500 `(cons "-DBUILD_ALLEGRO4=ON" ,flags))))
501 (inputs
502 `(("allegro" ,allegro-4)))))
503
d231bb35
RW
504(define-public hydrogen
505 (package
506 (name "hydrogen")
80808d67 507 (version "1.0.0-beta1")
d231bb35 508 (source (origin
80808d67
RW
509 (method git-fetch)
510 (uri (git-reference
511 (url "https://github.com/hydrogen-music/hydrogen.git")
512 (commit version)))
513 (file-name (string-append name "-" version "-checkout"))
d231bb35
RW
514 (sha256
515 (base32
80808d67 516 "0nv83l70j5bjz2wd6n3a8cq3bmgrvdvg6g2hjhc1g5h6xnbqsh9x"))))
b7367762 517 (build-system cmake-build-system)
d231bb35 518 (arguments
80808d67
RW
519 `(#:test-target "tests"
520 #:phases
521 (modify-phases %standard-phases
522 (add-after 'unpack 'fix-data-directory
523 (lambda* (#:key outputs #:allow-other-keys)
524 (substitute* "CMakeLists.txt"
525 (("/usr/share/pixmaps")
526 (string-append (assoc-ref outputs "out")
527 "/share/pixmaps")))
528 #t)))))
d231bb35 529 (native-inputs
b7367762 530 `(("cppunit" ,cppunit)
d231bb35
RW
531 ("pkg-config" ,pkg-config)))
532 (inputs
b7367762 533 `(("alsa-lib" ,alsa-lib)
d231bb35 534 ("jack" ,jack-1)
b7367762 535 ;; ("ladspa" ,ladspa) ; cannot find during configure
d231bb35 536 ("lash" ,lash)
b7367762
EF
537 ("libarchive" ,libarchive)
538 ("libsndfile" ,libsndfile)
539 ("libtar" ,libtar)
540 ("lrdf" ,lrdf)
80808d67
RW
541 ("qtbase" ,qtbase)
542 ("qtxmlpatterns" ,qtxmlpatterns)
b7367762 543 ("zlib" ,zlib)))
d231bb35
RW
544 (home-page "http://www.hydrogen-music.org")
545 (synopsis "Drum machine")
546 (description
547 "Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
548enable professional yet simple and intuitive pattern-based drum programming.")
549 (license license:gpl2+)))
550
58301682
PL
551(define-public easytag
552 (package
553 (name "easytag")
554 (version "2.4.3")
555 (source (origin
556 (method url-fetch)
557 (uri (string-append "mirror://gnome/sources/easytag/2.4/easytag-"
558 version ".tar.xz"))
559 (sha256
560 (base32
561 "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw"))))
562 (build-system glib-or-gtk-build-system)
563 (native-inputs
564 `(("desktop-file-utils" ,desktop-file-utils)
565 ("glib" ,glib "bin")
566 ("intltool" ,intltool)
567 ("itstool" ,itstool)
568 ("pkg-config" ,pkg-config)
569 ("xmllint" ,libxml2)))
570 (inputs
571 `(("flac" ,flac)
572 ("gtk+" ,gtk+)
573 ("id3lib" ,id3lib)
574 ("libid3tag" ,libid3tag)
575 ("libvorbis" ,libvorbis)
576 ("opusfile" ,opusfile)
577 ("speex" ,speex)
578 ("taglib" ,taglib)
579 ("wavpack" ,wavpack)
580 ("yelp" ,yelp)))
581 (arguments
582 '(#:phases
583 (modify-phases %standard-phases
584 (add-before 'configure 'configure-libid3tag
585 (lambda* (#:key inputs #:allow-other-keys)
586 ;; libid3tag does not provide a .pc file and EasyTAG's configure
587 ;; script healivy relies on pkg-config. Providing a temporary
588 ;; local .pc file is easier than patching the configure script.
589 (let* ((libid3tag (assoc-ref inputs "libid3tag")))
590 (mkdir-p "pkgconfig")
591 (with-output-to-file
592 "pkgconfig/id3tag.pc"
593 (lambda _
594 (format #t
595 "prefix=~@*~a~@
596 libdir=${prefix}/lib~@
597 includedir=${prefix}/include~@
55af6456
PL
598
599 Name: libid3tag~@
600 Description:~@
601 Version:~@
58301682
PL
602 Libs: -L${libdir} -lid3tag -lz~@
603 Cflags: -I${includedir}~%"
604 libid3tag)))
605 (setenv "PKG_CONFIG_PATH"
606 (string-append (getenv "PKG_CONFIG_PATH")
55af6456
PL
607 ":" (getcwd) "/pkgconfig"))
608 #t)))
58301682
PL
609 (add-after 'unpack 'patch-makefile
610 (lambda _
611 (substitute* "Makefile.in"
612 ;; The Makefile generates a test-desktop-file-validate.sh
613 ;; script with /bin/sh hard-coded.
614 (("/bin/sh") (which "sh"))
615 ;; Don't create 'icon-theme.cache'.
55af6456
PL
616 (("gtk-update-icon-cache") "true"))
617 #t)))))
58301682
PL
618 (home-page "https://wiki.gnome.org/Apps/EasyTAG")
619 (synopsis "Simple application for viewing and editing tags in audio files")
620 (description
621 "EasyTAG is an application for viewing and editing tags in audio files.
622It supports MP3, MP2, MP4/AAC, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis,
623MusePack, Monkey's Audio, and WavPack files.")
624 (license license:gpl2+)))
625
91595624
RW
626(define-public extempore
627 (package
628 (name "extempore")
629 (version "0.7.0")
630 (source (origin
8b0f6917
RW
631 (method git-fetch)
632 (uri (git-reference
633 (url "https://github.com/digego/extempore.git")
634 (commit version)))
91595624
RW
635 (sha256
636 (base32
8b0f6917
RW
637 "12fsp7zkfxb9kykwq46l88kcbbici9arczrrsl4qn87m6vm5349l"))
638 (file-name (string-append name "-" version "-checkout"))))
91595624
RW
639 (build-system cmake-build-system)
640 (arguments
641 `(;; The default target also includes ahead-of-time compilation of the
642 ;; standard libraries. However, during the "install" phase this would
643 ;; happen *again* for unknown reasons. Hence we only build the
644 ;; extempore executable during the build phase.
645 #:make-flags '("extempore")
646 #:configure-flags '("-DJACK=ON"
647 ;; We want to distribute.
648 "-DIN_TREE=OFF"
649 ;; Don't download any dependencies.
650 "-DBUILD_DEPS=OFF")
651 #:modules ((ice-9 match)
652 (guix build cmake-build-system)
653 (guix build utils))
654 #:phases
655 (modify-phases %standard-phases
656 (add-after 'unpack 'patch-directories
657 (lambda* (#:key outputs #:allow-other-keys)
658 ;; Rewrite default path to runtime directory
659 (substitute* "src/Extempore.cpp"
660 (("runtimedir \\+= \"runtime\"")
661 (string-append "runtimedir = \""
662 (assoc-ref outputs "out")
663 "/lib/extempore/runtime\"")))
664 (substitute* "extras/extempore.el"
665 (("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
666 (string-append "(runtime-directory \""
667 (assoc-ref outputs "out")
668 "/lib/extempore/runtime"
669 "\")")))
670 #t))
671 (add-after 'unpack 'link-with-additional-libs
672 (lambda _
673 ;; The executable must be linked with libffi and zlib.
674 (substitute* "CMakeLists.txt"
675 (("add_dependencies\\(aot_extended extended_deps\\)") "")
676 (("target_link_libraries\\(extempore PRIVATE dl" line)
677 (string-append line " ffi z")))
678 #t))
679 ;; FIXME: AOT compilation of the nanovg bindings fail with the error:
680 ;; "Compiler Error could not bind _nvgLinearGradient"
681 (add-after 'unpack 'disable-nanovg
682 (lambda _
683 (substitute* "CMakeLists.txt"
684 (("aotcompile_lib\\(libs/external/nanovg.xtm.*") ""))
685 #t))
686 ;; FIXME: All examples that are used as tests segfault for some
687 ;; unknown reason.
688 (add-after 'unpack 'disable-broken-tests
689 (lambda _
690 (substitute* "CMakeLists.txt"
691 (("extempore_add_example_as_test\\(.*") ""))
692 #t))
693 (add-after 'unpack 'hardcode-external-lib-paths
694 (lambda* (#:key inputs #:allow-other-keys)
695 (use-modules (ice-9 match))
696 (for-each
697 (match-lambda
698 ((file-name lib pkg-name)
699 (substitute* (string-append "libs/external/" file-name ".xtm")
700 ((lib) (string-append (assoc-ref inputs pkg-name)
701 "/lib/" lib)))))
702 '(("assimp" "libassimp.so" "assimp")
703 ("portmidi" "libportmidi.so" "portmidi")
704 ("sndfile" "libsndfile.so" "libsndfile")
705 ("fft" "libkiss_fft.so" "kiss-fft")
706 ("stb_image" "libstb_image.so" "stb-image")
707 ("nanovg" "libnanovg.so" "nanovg")
708 ("glext" "libGL.so" "mesa")
709 ("glfw3" "libglfw.so" "glfw")
710 ("gl/glcore-directbind" "libGL.so" "mesa")
711 ("gl/glcompat-directbind" "libGL.so" "mesa")))
712 #t))
713 (add-after 'unpack 'use-own-llvm
714 (lambda* (#:key inputs #:allow-other-keys)
715 (setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
716 ;; Our LLVM builds shared libraries, so Extempore should use
717 ;; those.
718 (substitute* "CMakeLists.txt"
719 (("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
720 #t))
721 (add-after 'unpack 'fix-aot-compilation
722 (lambda* (#:key outputs #:allow-other-keys)
723 (substitute* "CMakeLists.txt"
724 ;; EXT_SHARE_DIR does not exist before installation, so the
725 ;; working directory should be the source directory instead.
726 (("WORKING_DIRECTORY \\$\\{EXT_SHARE_DIR\\}")
727 "WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}")
728 ;; Extempore needs to be told where the runtime is to be found.
729 ;; While we're at it we disable automatic tuning for a specific
730 ;; CPU to make binary substitution possible.
731 (("COMMAND extempore" prefix)
732 (string-append prefix " --sharedir " (getcwd)
733 " --mcpu=generic --attr=none")))
734 #t)))))
735 (inputs
736 `(("llvm" ,llvm-for-extempore)
737 ("libffi" ,libffi)
738 ("jack" ,jack-1)
739 ("libsndfile" ,libsndfile)
740 ("glfw" ,glfw)
741 ("apr" ,apr)
742 ("stb-image" ,stb-image-for-extempore)
743 ("kiss-fft" ,kiss-fft-for-extempore)
744 ("nanovg" ,nanovg-for-extempore)
745 ("portmidi" ,portmidi-for-extempore)
746 ("assimp" ,assimp)
747 ("alsa-lib" ,alsa-lib)
748 ("portaudio" ,portaudio)
749 ("mesa" ,mesa)
750 ("pcre" ,pcre)
751 ("zlib" ,zlib)))
752 (native-inputs
753 `(("perl" ,perl)
754 ("emacs" ,emacs-no-x)))
39162ee4
RW
755 ;; Extempore refuses to build on architectures other than x86_64
756 (supported-systems '("x86_64-linux"))
95708ed8 757 (home-page "http://digego.github.io/extempore/")
91595624
RW
758 (synopsis "Programming environment for live coding of multimedia")
759 (description
760 "Extempore is a programming language and runtime environment designed
761with live programming in mind. It supports interactive programming in a REPL
762style, compiling and binding code just-in-time. Although Extempore has its
763roots in 'live coding' of audiovisual media art, it is suitable for any task
764domain where dynamic run-time modifiability and good numerical performance are
765required. Extempore also has strong timing and concurrency semantics, which
766are helpful when working in problem spaces where timing is important (such as
767audio and video).")
768 (license license:bsd-2)))
769
8c454dcd
RW
770(define-public klick
771 (package
772 (name "klick")
773 (version "0.12.2")
774 (source (origin
775 (method url-fetch)
776 (uri (string-append "http://das.nasophon.de/download/klick-"
777 version ".tar.gz"))
778 (sha256
779 (base32
780 "0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
bc27eb3b 781 (build-system scons-build-system)
8c454dcd 782 (arguments
bc27eb3b 783 `(#:scons-flags (list (string-append "PREFIX=" %output))
ecc604ba 784 #:scons ,scons-python2
f00067db
RW
785 #:tests? #f ; no "check" target
786 #:phases
787 (modify-phases %standard-phases
fb1d8d2b
RW
788 (add-after 'unpack 'be-permissive
789 (lambda _
790 (substitute* "SConstruct"
791 (("'-Wall'") "'-Wall', '-fpermissive'"))
792 #t))
f00067db
RW
793 (add-after 'unpack 'replace-removed-scons-syntax
794 (lambda _
795 (substitute* "SConstruct"
796 (("BoolOption") "BoolVariable")
797 (("PathOption") "PathVariable")
798 (("Options") "Variables"))
799 #t)))))
8c454dcd
RW
800 (inputs
801 `(("boost" ,boost)
802 ("jack" ,jack-1)
803 ("libsndfile" ,libsndfile)
804 ("libsamplerate" ,libsamplerate)
805 ("liblo" ,liblo)
806 ("rubberband" ,rubberband)))
807 (native-inputs
bc27eb3b 808 `(("pkg-config" ,pkg-config)))
8c454dcd
RW
809 (home-page "http://das.nasophon.de/klick/")
810 (synopsis "Metronome for JACK")
811 (description
812 "klick is an advanced command-line based metronome for JACK. It allows
813you to define complex tempo maps for entire songs or performances.")
814 (license license:gpl2+)))
815
048bfba1
RW
816(define-public gtklick
817 (package
818 (name "gtklick")
819 (version "0.6.4")
820 (source (origin
821 (method url-fetch)
822 (uri (string-append "http://das.nasophon.de/download/gtklick-"
823 version ".tar.gz"))
824 (sha256
825 (base32
826 "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
827 (build-system python-build-system)
828 (arguments
829 `(#:tests? #f ; no tests
830 #:python ,python-2
831 #:phases
832 (modify-phases %standard-phases
833 (add-before 'build 'add-sitedirs
834 ;; .pth files are not automatically interpreted unless the
835 ;; directories containing them are added as "sites". The directories
836 ;; are then added to those in the PYTHONPATH. This is required for
837 ;; the operation of pygtk.
838 (lambda _
839 (substitute* "gtklick/gtklick.py"
840 (("import pygtk")
841 "import pygtk, site, sys
842for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
843 (add-after 'unpack 'inject-store-path-to-klick
844 (lambda* (#:key inputs #:allow-other-keys)
845 (substitute* "gtklick/klick_backend.py"
846 (("KLICK_PATH = 'klick'")
847 (string-append "KLICK_PATH = '"
848 (assoc-ref inputs "klick")
849 "/bin/klick'")))
850 #t)))))
851 (inputs
852 `(("klick" ,klick)
853 ("python2-pyliblo" ,python2-pyliblo)
854 ("python2-pygtk" ,python2-pygtk)))
855 (native-inputs
b94a6ca0 856 `(("gettext" ,gettext-minimal)))
048bfba1
RW
857 (home-page "http://das.nasophon.de/gtklick/")
858 (synopsis "Simple metronome with an easy-to-use graphical interface")
859 (description
860 "Gtklick is a simple metronome with an easy-to-use graphical user
861interface. It is implemented as a frontend to @code{klick}.")
862 (license license:gpl2+)))
863
a3b10217
KK
864(define-public libgme
865 (package
866 (name "libgme")
dd42a2f3 867 (version "0.6.3")
a3b10217
KK
868 (source (origin
869 (method url-fetch)
870 (uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
871 "downloads/game-music-emu-" version
21f5f351 872 ".tar.xz"))
a3b10217
KK
873 (sha256
874 (base32
dd42a2f3 875 "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
a3b10217
KK
876 (build-system cmake-build-system)
877 (arguments
dd42a2f3 878 '(#:tests? #f)) ; no check target
a3b10217
KK
879 (home-page "https://bitbucket.org/mpyne/game-music-emu")
880 (synopsis "Video game music file playback library")
881 (description
882 "Game-music-emu is a collection of video game music file emulators that
883support the following formats and systems:
884@table @code
885@item AY
886ZX Spectrum/Asmtrad CPC
887@item GBS
888Nintendo Game Boy
889@item GYM
890Sega Genesis/Mega Drive
891@item HES
892NEC TurboGrafx-16/PC Engine
893@item KSS
894MSX Home Computer/other Z80 systems (doesn't support FM sound)
895@item NSF/NSFE
896Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
897@item SAP
898Atari systems using POKEY sound chip
899@item SPC
900Super Nintendo/Super Famicom
901@item VGM/VGZ
902Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro
903@end table")
904 (license (list license:lgpl2.1+
905 ;; demo and player directories are under the Expat license
906 license:expat))))
907
1b6826d3
RW
908(define-public lilypond
909 (package
910 (name "lilypond")
85f075a0 911 (version "2.19.80")
1b6826d3
RW
912 (source (origin
913 (method url-fetch)
914 (uri (string-append
915 "http://download.linuxaudio.org/lilypond/sources/v"
916 (version-major+minor version) "/"
917 name "-" version ".tar.gz"))
918 (sha256
919 (base32
85f075a0 920 "0lql4q946gna2pl1g409mmmsvn2qvnq2z5cihrkfhk7plcqdny9n"))))
1b6826d3
RW
921 (build-system gnu-build-system)
922 (arguments
127b04d7 923 `(#:tests? #f ; out-test/collated-files.html fails
1b6826d3 924 #:out-of-source? #t
409be57b 925 #:make-flags '("conf=www") ;to generate images for info manuals
127b04d7 926 #:configure-flags
409be57b
RW
927 (list "CONFIGURATION=www"
928 (string-append "--with-texgyre-dir="
127b04d7
RW
929 (assoc-ref %build-inputs "font-tex-gyre")
930 "/share/fonts/opentype/"))
1b6826d3 931 #:phases
a8bc747a 932 (modify-phases %standard-phases
9cc823f5
RW
933 (add-after 'unpack 'use-texlive-union
934 (lambda _
935 ;; FIXME: fonts are not found and have to be generated in HOME.
936 (setenv "HOME" "/tmp")
937 ;; The test for the "lh" package fails, even though it is among
938 ;; the inputs.
939 (substitute* "configure"
940 (("TEX_FIKPARM=.*") "TEX_FIKPARM=found\n"))
941 #t))
409be57b
RW
942 (add-after 'unpack 'fix-path-references
943 (lambda _
a8bc747a
RW
944 (substitute* "scm/backend-library.scm"
945 (("\\(search-executable '\\(\"gs\"\\)\\)")
409be57b
RW
946 (string-append "\"" (which "gs") "\""))
947 (("\"/bin/sh\"")
948 (string-append "\"" (which "sh") "\"")))
a8bc747a
RW
949 #t))
950 (add-before 'configure 'prepare-configuration
951 (lambda _
952 (substitute* "configure"
7affb2c1
RW
953 (("SHELL=/bin/sh") "SHELL=sh")
954 ;; When checking the fontforge version do not consider the
955 ;; version string that's part of the directory.
31ec5228
EF
956 (("head -n") "tail -n")
957 ;; Also allow for SOURCE_DATE_EPOCH = 0 in fontforge.
958 (("20110222") "19700101"))
409be57b
RW
959 (setenv "out" "www")
960 (setenv "conf" "www")
961 #t))
962 (add-after 'install 'install-info
963 (lambda _
88659738
RW
964 (invoke "make"
965 "-j" (number->string (parallel-job-count))
966 "conf=www" "install-info")
967 #t)))))
1b6826d3
RW
968 (inputs
969 `(("guile" ,guile-1.8)
970 ("font-dejavu" ,font-dejavu)
127b04d7 971 ("font-tex-gyre" ,font-tex-gyre)
1b6826d3
RW
972 ("fontconfig" ,fontconfig)
973 ("freetype" ,freetype)
fb0b9ff1 974 ("ghostscript" ,ghostscript)
1b6826d3
RW
975 ("pango" ,pango)
976 ("python" ,python-2)))
977 (native-inputs
978 `(("bison" ,bison)
979 ("perl" ,perl)
980 ("flex" ,flex)
981 ("fontforge" ,fontforge)
982 ("dblatex" ,dblatex)
b94a6ca0 983 ("gettext" ,gettext-minimal)
1b6826d3
RW
984 ("imagemagick" ,imagemagick)
985 ("netpbm" ,netpbm) ;for pngtopnm
9cc823f5
RW
986 ("texlive" ,(texlive-union (list texlive-metapost
987 texlive-generic-epsf
988 texlive-latex-lh
989 texlive-latex-cyrillic)))
1b6826d3
RW
990 ("texinfo" ,texinfo)
991 ("texi2html" ,texi2html)
992 ("rsync" ,rsync)
993 ("pkg-config" ,pkg-config)
994 ("zip" ,zip)))
995 (home-page "http://www.lilypond.org/")
996 (synopsis "Music typesetting")
997 (description
998 "GNU LilyPond is a music typesetter, which produces high-quality sheet
999music. Music is input in a text file containing control sequences which are
1000interpreted by LilyPond to produce the final document. It is extendable with
1001Guile.")
55ca5e80
LC
1002 (license license:gpl3+)
1003
1004 ;; On armhf and mips64el, building the documentation sometimes leads to
1005 ;; more than an hour of silence, so double the max silent time.
1006 (properties `((max-silent-time . 7200)))))
c267cc15 1007
8e80244a
RW
1008(define-public non-sequencer
1009 ;; The latest tagged release is three years old and uses a custom build
1bbe7959 1010 ;; system, so we take the last commit.
a6b5e1fb
RW
1011 (let ((commit "5ae43bb27c42387052a73e5ffc5d33efb9d946a9")
1012 (revision "4"))
8e80244a
RW
1013 (package
1014 (name "non-sequencer")
1bbe7959 1015 (version (string-append "1.9.5-" revision "." (string-take commit 7)))
8e80244a
RW
1016 (source (origin
1017 (method git-fetch)
1018 (uri (git-reference
1019 (url "git://git.tuxfamily.org/gitroot/non/non.git")
1020 (commit commit)))
1021 (sha256
1022 (base32
a6b5e1fb 1023 "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx"))
8e80244a
RW
1024 (file-name (string-append name "-" version "-checkout"))))
1025 (build-system waf-build-system)
1026 (arguments
1027 `(#:tests? #f ;no "check" target
e591a4d6
RW
1028 #:configure-flags
1029 (list "--project=sequencer"
1030 ;; Disable the use of SSE unless on x86_64.
1031 ,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
1032 (%current-system))))
1033 '("--disable-sse")
1034 '()))
8e80244a
RW
1035 #:python ,python-2))
1036 (inputs
1037 `(("jack" ,jack-1)
1038 ("libsigc++" ,libsigc++)
1039 ("liblo" ,liblo)
1040 ("ntk" ,ntk)))
1041 (native-inputs
1042 `(("pkg-config" ,pkg-config)))
1043 (home-page "http://non.tuxfamily.org/wiki/Non%20Sequencer")
1044 (synopsis "Pattern-based MIDI sequencer")
1045 (description
1046 "The Non Sequencer is a powerful, lightweight, real-time,
1047pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
1048MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
1049Sequencer happens on-line, in real-time. Music can be composed live, while the
1050transport is rolling.")
1051 (license license:gpl2+))))
1052
ded69d6f
RW
1053(define-public non-session-manager
1054 (package (inherit non-sequencer)
1055 (name "non-session-manager")
1056 (arguments
1057 (substitute-keyword-arguments (package-arguments non-sequencer)
1058 ((#:configure-flags flags)
1059 `(cons "--project=session-manager"
1060 (delete "--project=sequencer" ,flags)))))
1061 (inputs
1062 `(("jack" ,jack-1)
1063 ("liblo" ,liblo)
1064 ("ntk" ,ntk)))
1065 (native-inputs
1066 `(("pkg-config" ,pkg-config)))
1067 (home-page "http://non.tuxfamily.org/nsm/")
1068 (synopsis "Audio session management")
1069 (description
1070 "The Non Session Manager is an API and an implementation for audio
1071session management. NSM clients use a well-specified OSC protocol to
1072communicate with the session management daemon.")
1073 (license license:gpl2+)))
1074
46bb58b8
RW
1075(define-public non-mixer
1076 (package (inherit non-sequencer)
1077 (name "non-mixer")
1078 (arguments
1079 (substitute-keyword-arguments (package-arguments non-sequencer)
1080 ((#:configure-flags flags)
1081 `(cons "--project=mixer"
1082 (delete "--project=sequencer" ,flags)))))
1083 (inputs
1084 `(("jack" ,jack-1)
1085 ("liblo" ,liblo)
1086 ("ladspa" ,ladspa)
1087 ("lrdf" ,lrdf)
1088 ("ntk" ,ntk)))
1089 (native-inputs
1090 `(("pkg-config" ,pkg-config)))
1091 (home-page "http://non.tuxfamily.org/wiki/Non%20Mixer")
1092 (synopsis "Modular digital audio mixer")
1093 (description
1094 "The Non Mixer is a powerful, reliable and fast modular digital audio
1095mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
1096toolkit for a fast and lightweight user interface. Non Mixer can be used
1097alone or in concert with Non Timeline and Non Sequencer to form a complete
1098studio.")
1099 (license license:gpl2+)))
1100
4511e0db
RW
1101(define-public non-timeline
1102 (package (inherit non-sequencer)
1103 (name "non-timeline")
1104 (arguments
1105 (substitute-keyword-arguments (package-arguments non-sequencer)
1106 ((#:configure-flags flags)
1107 `(cons "--project=timeline"
1108 (delete "--project=sequencer" ,flags)))))
1109 (inputs
1110 `(("jack" ,jack-1)
1111 ("liblo" ,liblo)
1112 ("libsndfile" ,libsndfile)
1113 ("ntk" ,ntk)))
1114 (native-inputs
1115 `(("pkg-config" ,pkg-config)))
1116 (home-page "http://non.tuxfamily.org/wiki/Non%20Timeline")
1117 (synopsis "Modular digital audio timeline arranger")
1118 (description
1119 "The Non Timeline is a powerful, reliable and fast modular digital audio
1120timeline arranger. It utilizes JACK for inter-application audio I/O and the
1121NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
1122be used alone or in concert with Non Mixer and Non Sequencer to form a
1123complete studio.")
1124 (license license:gpl2+)))
1125
ea2884c1
RW
1126(define-public bsequencer
1127 (package
1128 (name "bsequencer")
1129 (version "1.2.0")
1130 (source (origin
1131 (method git-fetch)
1132 (uri (git-reference
1133 (url "https://github.com/sjaehn/BSEQuencer.git")
1134 (commit version)))
1135 (file-name (git-file-name name version))
1136 (sha256
1137 (base32
1138 "08xwz5v8wrar0rx7qdr9pkpjz2k9sw6bn5glhpn6sp6453fabf8q"))))
1139 (build-system gnu-build-system)
1140 (arguments
1141 `(#:make-flags
1142 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1143 #:tests? #f ; there are none
1144 #:phases
1145 (modify-phases %standard-phases
1146 (delete 'configure))))
1147 (inputs
1148 `(("cairo" ,cairo)
1149 ("lv2" ,lv2)
1150 ("libx11" ,libx11)))
1151 (native-inputs
1152 `(("pkg-config" ,pkg-config)))
1153 (home-page "https://github.com/sjaehn/BSEQuencer")
1154 (synopsis "Multi-channel MIDI step sequencer LV2 plugin")
1155 (description
1156 "This package provides a multi-channel MIDI step sequencer LV2 plugin
1157with a selectable pattern matrix size.")
1158 (license license:gpl3+)))
1159
c267cc15
RW
1160(define-public solfege
1161 (package
1162 (name "solfege")
1163 (version "3.22.2")
1164 (source (origin
1165 (method url-fetch)
1166 (uri (string-append
1167 "mirror://gnu/solfege/solfege-"
1168 version ".tar.xz"))
1169 (sha256
1170 (base32
1171 "1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
1172 (build-system gnu-build-system)
1173 (arguments
1174 `(#:tests? #f ; xmllint attempts to download DTD
1175 #:test-target "test"
1176 #:phases
dc1d3cde
KK
1177 (modify-phases %standard-phases
1178 (add-after 'unpack 'fix-configuration
1179 (lambda* (#:key inputs #:allow-other-keys)
1180 (substitute* "default.config"
20c65aa1 1181 (("/usr/bin/aplay") "aplay")
95e545a4
NG
1182 (("/usr/bin/timidity") "timidity")
1183 (("/usr/bin/mpg123") "mpg123")
1184 (("/usr/bin/ogg123") "ogg123"))
dc1d3cde
KK
1185 #t))
1186 (add-before 'build 'patch-python-shebangs
1187 (lambda _
1188 ;; Two python scripts begin with a Unicode BOM, so patch-shebang
1189 ;; has no effect.
1190 (substitute* '("solfege/parsetree.py"
1191 "solfege/presetup.py")
1192 (("#!/usr/bin/python") (string-append "#!" (which "python"))))
1193 #t))
1194 (add-before 'build 'add-sitedirs
1195 ;; .pth files are not automatically interpreted unless the
1196 ;; directories containing them are added as "sites". The directories
1197 ;; are then added to those in the PYTHONPATH. This is required for
1198 ;; the operation of pygtk and pygobject.
1199 (lambda _
1200 (substitute* "run-solfege.py"
1201 (("import os")
1202 "import os, site
1203for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))
1204 #t))
1205 (add-before 'build 'adjust-config-file-prefix
c267cc15
RW
1206 (lambda* (#:key outputs #:allow-other-keys)
1207 (substitute* "run-solfege.py"
1208 (("prefix = os.path.*$")
dc1d3cde
KK
1209 (string-append "prefix = " (assoc-ref outputs "out"))))
1210 #t))
1211 (add-after 'install 'wrap-program
1212 (lambda* (#:key inputs outputs #:allow-other-keys)
1213 ;; Make sure 'solfege' runs with the correct PYTHONPATH.
1214 (let* ((out (assoc-ref outputs "out"))
1215 (path (getenv "PYTHONPATH")))
1216 (wrap-program (string-append out "/bin/solfege")
1217 `("PYTHONPATH" ":" prefix (,path))))
1218 #t)))))
c267cc15
RW
1219 (inputs
1220 `(("python" ,python-2)
1221 ("pygtk" ,python2-pygtk)
b94a6ca0 1222 ("gettext" ,gettext-minimal)
c267cc15 1223 ("gtk" ,gtk+)
95e545a4 1224 ("lilypond" ,lilypond)))
c267cc15
RW
1225 (native-inputs
1226 `(("pkg-config" ,pkg-config)
1227 ("txt2man" ,txt2man)
1228 ("libxml2" ,libxml2) ; for tests
1229 ("ghostscript" ,ghostscript)
c267cc15
RW
1230 ("texinfo" ,texinfo)))
1231 (home-page "https://www.gnu.org/software/solfege/")
1232 (synopsis "Ear training")
1233 (description
1234 "GNU Solfege is a program for practicing musical ear-training. With it,
1235you can practice your recognition of various musical intervals and chords. It
1236features a statistics overview so you can monitor your progress across several
1237sessions. Solfege is also designed to be extensible so you can easily write
1238your own lessons.")
1239 (license license:gpl3+)))
6260d1a8 1240
8b9ec354
RW
1241(define-public powertabeditor
1242 (package
1243 (name "powertabeditor")
92a1cb92 1244 (version "2.0.0-alpha10")
8b9ec354 1245 (source (origin
1b12b572
RW
1246 (method git-fetch)
1247 (uri (git-reference
1248 (url "https://github.com/powertab/powertabeditor.git")
1249 (commit version)))
1250 (file-name (git-file-name name version))
8b9ec354
RW
1251 (sha256
1252 (base32
1b12b572 1253 "1z4fhdp71ck9synr12rg1p6365xnypd8ih40c5icj4si36khvksk"))
8b9ec354
RW
1254 (modules '((guix build utils)))
1255 (snippet
1256 '(begin
1257 ;; Remove bundled sources for external libraries
1258 (delete-file-recursively "external")
40effef7 1259 ;; Use only system libraries
8b9ec354 1260 (substitute* "CMakeLists.txt"
40effef7
RW
1261 (("include\\( PTE_ThirdParty \\)")
1262 "\
1263include(third_party/Qt)
1264include(third_party/boost)
1265add_library( Catch INTERFACE IMPORTED )
1266add_library( rapidjson INTERFACE IMPORTED )"))
8b9ec354
RW
1267 #t))))
1268 (build-system cmake-build-system)
1269 (arguments
7e11d113 1270 `(#:modules ((guix build cmake-build-system)
8b9ec354
RW
1271 (guix build utils)
1272 (ice-9 match))
1273 #:configure-flags
1274 ;; CMake appears to lose the RUNPATH for some reason, so it has to be
1275 ;; explicitly set with CMAKE_INSTALL_RPATH.
7e11d113 1276 (list "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
7e11d113 1277 (string-append "-DCMAKE_INSTALL_RPATH="
8b9ec354
RW
1278 (string-join (map (match-lambda
1279 ((name . directory)
1280 (string-append directory "/lib")))
40effef7
RW
1281 %build-inputs) ";"))
1282 "-DPTE_DATA_DIR=share/powertabeditor")
8b9ec354
RW
1283 #:phases
1284 (modify-phases %standard-phases
40effef7
RW
1285 (replace 'check
1286 (lambda _
b1b82aed
RW
1287 (invoke "bin/pte_tests"
1288 ;; FIXME: these tests fail
1289 "exclude:Actions/EditStaff"
1290 "exclude:Formats/PowerTabOldImport/MergeMultiBarRests"
1291 "exclude:Score/ViewFilter/FilterRule"
1292 "exclude:Score/ViewFilter/ViewFilter"
1293 "exclude:Formats/PowerTabOldImport/Directions")
1294 #t))
04ba7a9d
RW
1295 ;; FIXME: This bug has been fixed upstream, but no release has been
1296 ;; made yet. See https://github.com/powertab/powertabeditor/issues/257
1297 (add-after 'unpack 'fix-boost-bug
1298 (lambda _
1299 (substitute* "source/score/voiceutils.cpp"
1300 (("boost::rational<int> duration\\(4, pos.getDurationType\\(\\)\\);")
1301 "boost::rational<int> duration(4, static_cast<int>(pos.getDurationType()));"))
1302 #t))
1e341fa5
RW
1303 ;; Fix build with Qt 5.11.
1304 (add-after 'unpack 'add-missing-headers
1305 (lambda _
1306 (substitute* (find-files "source/dialogs/" "\\.h$")
1307 (("#include <QDialog>" m)
1308 (string-append m "\n#include <QButtonGroup>")))
1309 (substitute* "source/widgets/mixer/mixeritem.h"
1310 (("#include <QWidget>" m)
1311 (string-append m "\n#include <QStyle>")))
1312 (substitute* "source/widgets/playback/playbackwidget.h"
1313 (("#include <QWidget>" m)
1314 (string-append m "\n#include <QButtonGroup>\n#include <QAction>")))
1315 #t))
bcdf11d6
PL
1316 ;; FIXME: Finding RtMidi was fixed upstream so we should be able to
1317 ;; remove this hack when a release is made.
1318 ;; See https://github.com/powertab/powertabeditor/issues/255
1319 (add-after 'unpack 'fix-rtmidi-header
1320 (lambda _
1321 (substitute* "source/audio/midioutputdevice.cpp"
1322 (("#include <RtMidi.h>") "#include <rtmidi/RtMidi.h>"))
1323 #t))
40effef7
RW
1324 (add-before 'configure 'remove-third-party-libs
1325 (lambda* (#:key inputs #:allow-other-keys)
1326 ;; Link with required static libraries, because we're not
1327 ;; using the bundled version of withershins.
c3913fac 1328 ;; Also add pthread for fixing a linker error.
40effef7
RW
1329 (substitute* "source/build/CMakeLists.txt"
1330 (("withershins" line)
1331 (string-append line "\n"
1332 (assoc-ref inputs "binutils")
1333 "/lib/libbfd.a\n"
1334 (assoc-ref inputs "libiberty")
1335 "/lib/libiberty.a\n"
1336 "dl\n"
c3913fac 1337 "pthread\n"
40effef7
RW
1338 "z\n")))
1339 #t)))))
8b9ec354
RW
1340 (inputs
1341 `(("boost" ,boost)
1342 ("alsa-lib" ,alsa-lib)
0a0bfd68 1343 ("qtbase" ,qtbase)
8b9ec354 1344 ("withershins" ,withershins)
d6902798 1345 ("libiberty" ,libiberty) ;for withershins
8b9ec354
RW
1346 ("binutils" ,binutils) ;for -lbfd and -liberty (for withershins)
1347 ("timidity" ,timidity++)
1348 ("pugixml" ,pugixml)
1349 ("rtmidi" ,rtmidi)
1350 ("rapidjson" ,rapidjson)
1351 ("zlib" ,zlib)))
1352 (native-inputs
1353 `(("catch" ,catch-framework)
1354 ("pkg-config" ,pkg-config)))
1355 (home-page "http://powertabs.net")
1356 (synopsis "Guitar tablature editor")
1357 (description
1358 "Power Tab Editor 2.0 is the successor to the famous original Power Tab
1359Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
1360 (license license:gpl3+)))
1361
3d4b1bb9
RW
1362(define-public jalv-select
1363 (package
1364 (name "jalv-select")
fc1ff7fc 1365 (version "1.3")
3d4b1bb9 1366 (source (origin
ca364e7a
RW
1367 (method git-fetch)
1368 (uri (git-reference
1369 (url "https://github.com/brummer10/jalv_select.git")
fc1ff7fc 1370 (commit (string-append "v" version))))
ca364e7a 1371 (file-name (git-file-name name version))
3d4b1bb9
RW
1372 (sha256
1373 (base32
fc1ff7fc 1374 "15yanq1wra0hyh6x72ji7pk562iddg476g3vksj495x91zhnl6vm"))))
3d4b1bb9
RW
1375 (build-system gnu-build-system)
1376 (arguments
1377 `(#:make-flags
1378 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1379 #:phases
1380 (modify-phases %standard-phases
1381 (delete 'configure)
1382 (add-after 'unpack 'ignore-PATH
1383 (lambda* (#:key inputs #:allow-other-keys)
1384 (substitute* "jalv.select.cpp"
ad7f6e5f 1385 (("echo \\$PATH.*tr ':'.*xargs ls")
3d4b1bb9 1386 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
ca364e7a
RW
1387 #t))
1388 (add-before 'reset-gzip-timestamps 'make-manpages-writable
1389 (lambda* (#:key outputs #:allow-other-keys)
1390 (for-each make-file-writable
1391 (find-files (string-append (assoc-ref outputs "out")
1392 "/share/man")
1393 ".*\\.gz$"))
3d4b1bb9
RW
1394 #t)))))
1395 (inputs
1396 `(("lilv" ,lilv)
1397 ("lv2" ,lv2)
1398 ("jalv" ,jalv)
1399 ("gtkmm" ,gtkmm-2)))
1400 (native-inputs
1401 `(("pkg-config" ,pkg-config)))
1402 (home-page "https://github.com/brummer10/jalv_select")
1403 (synopsis "GUI to select LV2 plugins and run them with jalv")
1404 (description
1405 "The jalv.select package provides a graphical user interface allowing
1406users to select LV2 plugins and run them with jalv.")
1407 (license license:public-domain)))
1408
b095e762
RW
1409(define-public synthv1
1410 (package
1411 (name "synthv1")
f6c5e987 1412 (version "0.9.12")
b095e762
RW
1413 (source (origin
1414 (method url-fetch)
1415 (uri
de67e922
LF
1416 (string-append "mirror://sourceforge/synthv1/synthv1/" version
1417 "/synthv1-" version ".tar.gz"))
b095e762
RW
1418 (sha256
1419 (base32
f6c5e987 1420 "1amxrl1cqwgncw5437r572frgf6xhss3cfpbgh178i8phlq1q731"))))
b095e762 1421 (build-system gnu-build-system)
69008d73 1422 (arguments
8c7c7687 1423 `(#:tests? #f)) ; there are no tests
b095e762
RW
1424 (inputs
1425 `(("jack" ,jack-1)
1426 ("lv2" ,lv2)
1427 ("alsa-lib" ,alsa-lib)
b45aa39b 1428 ("non-session-manager" ,non-session-manager)
b095e762 1429 ("liblo" ,liblo)
e5f2afdb
EF
1430 ("qtbase" ,qtbase)
1431 ("qttools" ,qttools)))
b45aa39b
RW
1432 (native-inputs
1433 `(("pkg-config" ,pkg-config)))
9459216a 1434 (home-page "https://synthv1.sourceforge.io")
b095e762
RW
1435 (synopsis "Polyphonic subtractive synthesizer")
1436 (description
1437 "Synthv1 is an old-school subtractive polyphonic synthesizer with four
1438oscillators and stereo effects.")
1439 (license license:gpl2+)))
2bb00612 1440
cf9af706
RW
1441(define-public drumkv1
1442 (package
1443 (name "drumkv1")
2e90d822 1444 (version "0.9.12")
cf9af706
RW
1445 (source (origin
1446 (method url-fetch)
1447 (uri
1448 (string-append "mirror://sourceforge/drumkv1/drumkv1/" version
1449 "/drumkv1-" version ".tar.gz"))
1450 (sha256
1451 (base32
2e90d822 1452 "0hmnmk9vvi43wl6say0dg7j088h7mmwmfdwjhsq89c7i7cpg78da"))))
cf9af706
RW
1453 (build-system gnu-build-system)
1454 (arguments
8b78ba2b 1455 `(#:tests? #f)) ; there are no tests
cf9af706
RW
1456 (inputs
1457 `(("jack" ,jack-1)
1458 ("lv2" ,lv2)
1459 ("libsndfile" ,libsndfile)
1460 ("alsa-lib" ,alsa-lib)
41e2a731 1461 ("non-session-manager" ,non-session-manager)
cf9af706
RW
1462 ("liblo" ,liblo)
1463 ("qtbase" ,qtbase)))
1464 (native-inputs
1465 `(("pkg-config" ,pkg-config)
1466 ("qttools" ,qttools)))
9459216a 1467 (home-page "https://drumkv1.sourceforge.io")
cf9af706
RW
1468 (synopsis "Drum-kit sampler synthesizer with stereo effects")
1469 (description
1470 "Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
1471effects.")
1472 (license license:gpl2+)))
1473
18675264
RW
1474(define-public samplv1
1475 (package
1476 (name "samplv1")
e0a4cc97 1477 (version "0.9.12")
18675264
RW
1478 (source (origin
1479 (method url-fetch)
1480 (uri
1481 (string-append "mirror://sourceforge/samplv1/samplv1/" version
1482 "/samplv1-" version ".tar.gz"))
1483 (sha256
1484 (base32
e0a4cc97 1485 "0xzjxiqzcf1ygabrjsy0iachhnpy85rp9519fmj2f568r6ml6hzg"))))
18675264
RW
1486 (build-system gnu-build-system)
1487 (arguments
d32f2aa3 1488 `(#:tests? #f)) ; there are no tests
18675264
RW
1489 (inputs
1490 `(("jack" ,jack-1)
1491 ("lv2" ,lv2)
1492 ("libsndfile" ,libsndfile)
1493 ("alsa-lib" ,alsa-lib)
92b70c6f 1494 ("non-session-manager" ,non-session-manager)
18675264
RW
1495 ("liblo" ,liblo)
1496 ("qtbase" ,qtbase)))
1497 (native-inputs
1498 `(("pkg-config" ,pkg-config)
1499 ("qttools" ,qttools)))
9459216a 1500 (home-page "https://samplv1.sourceforge.io")
18675264
RW
1501 (synopsis "Polyphonic sampler synthesizer with stereo effects")
1502 (description
1503 "Samplv1 is an old-school polyphonic sampler synthesizer with stereo
1504effects.")
1505 (license license:gpl2+)))
1506
2702e12e
RW
1507(define-public padthv1
1508 (package
1509 (name "padthv1")
b483ccd4 1510 (version "0.9.12")
2702e12e
RW
1511 (source (origin
1512 (method url-fetch)
1513 (uri
1514 (string-append "mirror://sourceforge/padthv1/padthv1/" version
1515 "/padthv1-" version ".tar.gz"))
1516 (sha256
1517 (base32
b483ccd4 1518 "1zz3rz990k819q0rlzllqdwvag0x9k63443lb0mp8lwlczxnza6l"))))
2702e12e
RW
1519 (build-system gnu-build-system)
1520 (arguments
0246bfc0 1521 `(#:tests? #f)) ; there are no tests
2702e12e
RW
1522 (inputs
1523 `(("jack" ,jack-1)
1524 ("lv2" ,lv2)
1525 ("alsa-lib" ,alsa-lib)
1526 ("non-session-manager" ,non-session-manager)
1527 ("liblo" ,liblo)
1528 ("fftw" ,fftw)
1529 ("qtbase" ,qtbase)))
1530 (native-inputs
1531 `(("pkg-config" ,pkg-config)
1532 ("qttools" ,qttools)))
9459216a 1533 (home-page "https://padthv1.sourceforge.io")
2702e12e
RW
1534 (synopsis "Polyphonic additive synthesizer")
1535 (description
1536 "Padthv1 is an old-school polyphonic additive synthesizer with stereo
1537effects. Padthv1 is based on the PADsynth algorithm by Paul Nasca, as a
1538special variant of additive synthesis.")
1539 (license license:gpl2+)))
1540
2bb00612
RW
1541(define-public amsynth
1542 (package
1543 (name "amsynth")
7e0befd4 1544 (version "1.7.1")
2bb00612
RW
1545 (source
1546 (origin
1547 (method url-fetch)
1548 (uri (string-append "https://github.com/amsynth/amsynth/releases/"
1549 "download/release-" version
1550 "/amsynth-" version ".tar.bz2"))
1551 (sha256
1552 (base32
7e0befd4 1553 "1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
2bb00612 1554 (build-system gnu-build-system)
2bb00612
RW
1555 (inputs
1556 `(("alsa-lib" ,alsa-lib)
1557 ("jack" ,jack-1)
1558 ("lv2" ,lv2)
7175f4c2 1559 ("lash" ,lash)
2bb00612
RW
1560 ("libsndfile" ,libsndfile)
1561 ("gtk+" ,gtk+-2)
1562 ("gtkmm" ,gtkmm-2)))
1563 (native-inputs
7e0befd4
RW
1564 `(("pkg-config" ,pkg-config)
1565 ("intltool" ,intltool)))
c99f0e57 1566 (home-page "https://amsynth.github.io")
2bb00612
RW
1567 (synopsis "Analog modeling synthesizer")
1568 (description
1569 "amsynth is an easy-to-use software synthesizer with a classic
1570subtractive synthesizer topology. Its features include: dual
1571oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
1572resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
1573keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
1574which can modulate the oscillators, filter, and amplitude; distortion and
1575reverb effects.")
1576 (license license:gpl2+)))
b095e762 1577
ec8da0e2
RW
1578(define-public setbfree
1579 (package
1580 (name "setbfree")
be99ceef 1581 (version "0.8.11")
ec8da0e2 1582 (source (origin
e0674840
TGR
1583 (method git-fetch)
1584 (uri (git-reference
1585 (url "https://github.com/pantherb/setBfree")
1586 (commit (string-append "v" version))))
1587 (file-name (git-file-name name version))
ec8da0e2
RW
1588 (sha256
1589 (base32
be99ceef 1590 "1s3ps3cjwlm63ml4izb7mizy8ci5pl9a19lvz62xf0br089h3afc"))))
ec8da0e2
RW
1591 (build-system gnu-build-system)
1592 (arguments
d7caf8b8 1593 `(#:tests? #f ; no "check" target
ec8da0e2
RW
1594 #:make-flags
1595 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1596 (string-append "FONTFILE="
1597 (assoc-ref %build-inputs "font-bitstream-vera")
b42d4508
RW
1598 "/share/fonts/truetype/VeraBd.ttf")
1599 ;; Disable unsupported optimization flags on non-x86
1600 ,@(let ((system (or (%current-target-system)
1601 (%current-system))))
1602 (if (or (string-prefix? "x86_64" system)
1603 (string-prefix? "i686" system))
1604 '()
1605 '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
ec8da0e2
RW
1606 #:phases
1607 (modify-phases %standard-phases
1608 (add-before 'build 'set-CC-variable
d7caf8b8 1609 (lambda _ (setenv "CC" "gcc") #t))
ec8da0e2
RW
1610 (delete 'configure))))
1611 (inputs
1612 `(("jack" ,jack-1)
1613 ("lv2" ,lv2)
1614 ("zita-convolver" ,zita-convolver)
1615 ("glu" ,glu)
1616 ("ftgl" ,ftgl)
1617 ("font-bitstream-vera" ,font-bitstream-vera)))
1618 (native-inputs
1619 `(("help2man" ,help2man)
1620 ("pkg-config" ,pkg-config)))
1621 (home-page "http://setbfree.org")
1622 (synopsis "Tonewheel organ")
1623 (description
1624 "setBfree is a MIDI-controlled, software synthesizer designed to imitate
1625the sound and properties of the electromechanical organs and sound
1626modification devices that brought world-wide fame to the names and products of
1627Laurens Hammond and Don Leslie.")
1628 (license license:gpl2+)))
1629
770305f4
RW
1630(define-public beast
1631 (package
1632 (name "beast")
1633 (version "0.10.0")
1634 (source (origin
1635 (method url-fetch)
1636 (uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
1637 version ".tar.xz"))
1638 (sha256
1639 (base32
1640 "1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
1641 (build-system gnu-build-system)
844f4f6e
EF
1642 (arguments
1643 '(#:parallel-build? #f)) ; Race conditions cause build failures
770305f4
RW
1644 (inputs
1645 `(("rapicorn" ,rapicorn)
1646 ("guile" ,guile-1.8)
1647 ("python" ,python-2)
770305f4
RW
1648 ("libgnomecanvas" ,libgnomecanvas)
1649 ("libogg" ,libogg)
1650 ("libmad" ,libmad)
1651 ("flac" ,flac)
1652 ("alsa-lib" ,alsa-lib)
1653 ("libvorbis" ,libvorbis)
b94a6ca0 1654 ("gettext" ,gettext-minimal)))
770305f4
RW
1655 (native-inputs
1656 `(("pkg-config" ,pkg-config)
1657 ("glib:bin" ,glib "bin")
f2516de2 1658 ("cython" ,python2-cython)
770305f4
RW
1659 ("perl" ,perl)
1660 ("perl-xml-parser" ,perl-xml-parser)))
1661 (home-page "https://testbit.eu/wiki/Beast_Home")
1662 (synopsis "Music composition and modular synthesis environment")
1663 (description
1664 "Beast is a music composition and modular synthesis application. It
1665supports a wide range of standards in the field, such as MIDI, various audio
1666file formats and LADSPA modules. It allows for multitrack editing, real-time
1667synthesis, 32bit audio rendering, precise timing down to sample granularity,
1668on-demand and partial loading of wave files, on the fly decoding, stereo
1669mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
1670 (license license:gpl3+)))
1671
96250294
RW
1672(define-public bristol
1673 (package
1674 (name "bristol")
1675 (version "0.60.11")
1676 (source (origin
1677 (method url-fetch)
1678 (uri (string-append "mirror://sourceforge/bristol/bristol/"
1679 (version-major+minor version)
1680 "/bristol-" version ".tar.gz"))
1681 (sha256
1682 (base32
1683 "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
1684 (build-system gnu-build-system)
18ef998b
RW
1685 (arguments
1686 `(#:phases
1687 (modify-phases %standard-phases
1688 (add-after 'unpack 'remove-sse-flags
1689 (lambda* (#:key system #:allow-other-keys)
1690 (when (not (or (string-prefix? "x86_64" system)
1691 (string-prefix? "i686" system)))
1692 (substitute* "bristol/Makefile.in"
1693 (("-msse -mfpmath=sse") "")))
73124d34 1694 #t))
bd0c6231
RW
1695 ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
1696 ;; bristol actually doesn't use it.
1697 (add-after 'unpack 'do-not-use-alsa-iatomic
1698 (lambda _
1699 (substitute* "libbristolaudio/audioEngineJack.c"
1700 (("#include <alsa/iatomic.h>") ""))
1701 #t))
73124d34
RW
1702 ;; We know that Bristol has been linked with JACK and we don't have
1703 ;; ldd, so we can just skip this check.
1704 (add-after 'unpack 'do-not-grep-for-jack
1705 (lambda _
1706 (substitute* "bin/startBristol.in"
1707 (("ldd `which bristol` | grep jack") "echo guix"))
18ef998b 1708 #t)))))
96250294
RW
1709 (inputs
1710 `(("alsa-lib" ,alsa-lib)
1711 ("jack" ,jack-1)
1712 ("liblo" ,liblo)
1713 ("libx11" ,libx11)))
1714 (native-inputs
1715 `(("pkg-config" ,pkg-config)))
1716 (home-page "http://bristol.sourceforge.net/")
1717 (synopsis "Synthesizer emulator")
1718 (description
36a4366d 1719 "Bristol is an emulation package for a number of different @code{classic}
96250294
RW
1720synthesizers including additive and subtractive and a few organs. The
1721application consists of the engine, which is called bristol, and its own GUI
1722library called brighton that represents all the emulations. There are
1723currently more than twenty different emulations; each does sound different
1724although the author maintains that the quality and accuracy of each emulation
1725is subjective.")
1726 (license license:gpl3+)))
1727
6260d1a8
RW
1728(define-public tuxguitar
1729 (package
1730 (name "tuxguitar")
07cb1dfc 1731 (version "1.5.3")
6260d1a8
RW
1732 (source (origin
1733 (method url-fetch)
1734 (uri (string-append
1735 "mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
f467c352 1736 version "/tuxguitar-" version "-src.tar.gz"))
6260d1a8
RW
1737 (sha256
1738 (base32
07cb1dfc 1739 "1qy5kjcsl3c86kdlyvsf6dsfmfl1mv8zg0ln6g3qg3i8f35vlpp6"))))
f467c352 1740 (build-system ant-build-system)
6260d1a8 1741 (arguments
f467c352 1742 `(#:build-target "build"
40f372af 1743 #:jdk ,icedtea-8
a0a7e425 1744 #:tests? #f ; no tests
6260d1a8 1745 #:phases
5f1c9498 1746 (modify-phases %standard-phases
44e70dee 1747 (replace 'build
f467c352 1748 (lambda* (#:key inputs outputs #:allow-other-keys)
750e54ec
RW
1749 (let* ((initial-classpath (getenv "CLASSPATH"))
1750 (build-dir (lambda (dir)
44e70dee
MR
1751 (setenv
1752 "CLASSPATH"
1753 (string-join (cons initial-classpath
1754 (find-files (getcwd) "\\.jar$"))
1755 ":"))
1756 (with-directory-excursion dir
1757 (if (file-exists? "build.xml")
1758 ((assoc-ref %standard-phases 'build)
1759 #:build-target "build")
1760 (begin
1761 ;; Generate default build.xml.
1762 ((@@ (guix build ant-build-system)
1763 default-build.xml)
1764 (string-append (string-downcase dir) ".jar")
1765 (string-append (assoc-ref outputs "out")
1766 "/share/java"))
1767 ((assoc-ref %standard-phases 'build))))))))
1768 (map build-dir '("TuxGuitar-lib"
1769 "TuxGuitar-editor-utils"
750e54ec
RW
1770 "TuxGuitar-ui-toolkit"
1771 "TuxGuitar-ui-toolkit-swt"
44e70dee
MR
1772 "TuxGuitar-viewer"
1773 "TuxGuitar"
1774 "TuxGuitar-gm-utils"
1775 "TuxGuitar-alsa"
1776 "TuxGuitar-midi"
1777 "TuxGuitar-midi-ui"))
1778 #t)))
1779 (add-after 'build 'build-jni
f467c352 1780 (lambda _
44e70dee
MR
1781 (setenv "CC" "gcc")
1782 (setenv "CFLAGS" (string-append
1783 "-fpic -I"
1784 (getcwd)
1785 "/build-scripts/native-modules/common-include"))
1786 (invoke "make" "-C" "./TuxGuitar-alsa/jni" "-f" "GNUmakefile")))
f467c352
RW
1787 (replace 'install
1788 (lambda* (#:key inputs outputs #:allow-other-keys)
1789 (let* ((out (assoc-ref outputs "out"))
1790 (bin (string-append out "/bin"))
1791 (share (string-append out "/share"))
44e70dee 1792 (jni-lib (string-append out "/lib"))
f467c352 1793 (lib (string-append share "/java"))
44e70dee
MR
1794 (swt (assoc-ref inputs "java-swt"))
1795 (mime (string-append share "/mime/packages"))
1796 (app (string-append share "/applications"))
1797 (man (string-append share "/man/man1")))
1798
f467c352 1799 (mkdir-p bin)
a0a7e425 1800 ;; Install all jars.
f467c352
RW
1801 (for-each (lambda (file)
1802 (install-file file lib))
44e70dee
MR
1803 (find-files "." "\\.jar$"))
1804
1805 ;; Install jni libraries
1806 (for-each (lambda (file)
1807 (install-file file jni-lib))
1808 (find-files "." "\\-jni.so$"))
750e54ec 1809
a0a7e425 1810 ;; Install all resources.
44e70dee
MR
1811 (copy-recursively "./TuxGuitar/share" share)
1812
1813 ;; Install desktop and mime files
1814 (install-file "./misc/tuxguitar.xml" mime)
1815 (install-file "./misc/tuxguitar.desktop" app)
1816
1817 ;; Install manaual
1818 (install-file "./misc/tuxguitar.1" man)
750e54ec 1819
a0a7e425 1820 ;; Create wrapper.
f467c352
RW
1821 (call-with-output-file (string-append bin "/tuxguitar")
1822 (lambda (port)
44e70dee
MR
1823 (let ((classpath (string-join (append (find-files lib "\\.jar$")
1824 (find-files swt "\\.jar$"))
f467c352
RW
1825 ":")))
1826 (format
1827 port
1828 (string-append "#!/bin/sh\n"
1829 (which "java")
1830 " -cp " classpath
1831 " -Dtuxguitar.home.path=" out
1832 " -Dtuxguitar.share.path=" out "/share"
1833 " -Dswt.library.path=" swt "/lib"
44e70dee 1834 " -Djava.library.path=" out "/lib"
f467c352
RW
1835 " org.herac.tuxguitar.app.TGMainSingleton"
1836 " \"$1\" \"$2\"")))))
1837 (chmod (string-append bin "/tuxguitar") #o555)
1838 #t))))))
6260d1a8 1839 (inputs
44e70dee
MR
1840 `(("alsa-lib" ,alsa-lib)
1841 ("java-swt" ,java-swt)))
d4eae3f7 1842 (home-page "http://tuxguitar.com.ar/")
6260d1a8
RW
1843 (synopsis "Multitrack tablature editor and player")
1844 (description
1845 "TuxGuitar is a guitar tablature editor with player support through midi.
1846It can display scores and multitrack tabs. TuxGuitar provides various
1847additional features, including autoscrolling while playing, note duration
1848management, bend/slide/vibrato/hammer-on/pull-off effects, support for
1849tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
1850export.")
1851 (license license:lgpl2.1+)))
2d0fd07b
RW
1852
1853(define-public pd
1854 (package
1855 (name "pd")
4fe7adcb 1856 (version "0.50-2")
2d0fd07b
RW
1857 (source (origin
1858 (method url-fetch)
1859 (uri
037bf4f4
RW
1860 (string-append "http://msp.ucsd.edu/Software/pd-"
1861 version ".src.tar.gz"))
2d0fd07b
RW
1862 (sha256
1863 (base32
4fe7adcb 1864 "0dz6r6jy0zfs1xy1xspnrxxks8kddi9c7pxz4vpg2ygwv83ghpg5"))))
2d0fd07b
RW
1865 (build-system gnu-build-system)
1866 (arguments
4bad41e0 1867 `(#:tests? #f ; no "check" target
96808b39
SB
1868 #:configure-flags
1869 (list
1870 "--enable-jack"
1871 (string-append "--with-wish=" (string-append
1872 (assoc-ref %build-inputs "tk")
1873 "/bin/wish8.6")))
2d0fd07b
RW
1874 #:phases
1875 (modify-phases %standard-phases
96808b39 1876 (add-before 'configure 'fix-with-path
4712cbb0 1877 (lambda _
4712cbb0
RW
1878 (substitute* "tcl/pd-gui.tcl"
1879 (("exec wish ") (string-append "exec " (which "wish8.6") " ")))
9ab90ead 1880 #t)))))
2d0fd07b
RW
1881 (native-inputs
1882 `(("autoconf" ,autoconf)
1883 ("automake" ,automake)
1884 ("libtool" ,libtool)
b94a6ca0 1885 ("gettext" ,gettext-minimal)
2d0fd07b
RW
1886 ("pkg-config" ,pkg-config)))
1887 (inputs
1888 `(("tk" ,tk)
1889 ("alsa-lib" ,alsa-lib)
1890 ("jack" ,jack-1)))
1891 (home-page "http://puredata.info")
1892 (synopsis "Visual programming language for artistic performances")
1893 (description
1894 "Pure Data (aka Pd) is a visual programming language. Pd enables
1895musicians, visual artists, performers, researchers, and developers to create
1896software graphically, without writing lines of code. Pd is used to process
1897and generate sound, video, 2D/3D graphics, and interface sensors, input
1898devices, and MIDI. Pd can easily work over local and remote networks to
1899integrate wearable technology, motor systems, lighting rigs, and other
1900equipment. Pd is suitable for learning basic multimedia processing and visual
1901programming methods as well as for realizing complex systems for large-scale
1902projects.")
1903 (license license:bsd-3)))
821664f1 1904
6826f1e1
SB
1905(define-public libpd
1906 (package
1907 (name "libpd")
1908 (version "0.11.0")
1909 (source (origin
1910 (method git-fetch)
1911 (uri (git-reference
1912 (url "https://github.com/libpd/libpd.git")
1913 (commit version)
1914 (recursive? #t))) ; for the 'pure-data' submodule
1915 (file-name (string-append name "-" version "-checkout"))
1916 (sha256
1917 (base32
1918 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
1919 (build-system gnu-build-system)
1920 (arguments
1921 '(#:tests? #f ; no tests
1922 #:make-flags '("CC=gcc")
1923 #:phases
1924 (modify-phases %standard-phases
1925 (delete 'configure) ; no configure script
1926 (replace 'install
1927 (lambda* (#:key outputs #:allow-other-keys)
1928 (let ((out (assoc-ref outputs "out")))
1929 (invoke "make" "install"
1930 (string-append "prefix=" out)
1931 ;; XXX: Fix the last 2 lines of 'install' target.
1932 "LIBPD_IMPLIB=NO"
1933 "LIBPD_DEF=NO")))))))
1934 (home-page "http://libpd.cc/")
1935 (synopsis "Pure Data as an embeddable audio synthesis library")
1936 (description
1937 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
1938main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
1939 (license license:bsd-3)))
1940
aacb52fb
RW
1941(define-public portmidi
1942 (package
1943 (name "portmidi")
1944 (version "217")
1945 (source (origin
1946 (method url-fetch)
1947 (uri (string-append "mirror://sourceforge/portmedia/portmidi/"
1948 version "/portmidi-src-" version ".zip"))
1949 (sha256
1950 (base32
1951 "03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
1952 (patches (list (search-patch "portmidi-modular-build.patch")))))
1953 (build-system cmake-build-system)
1954 (arguments
3def739d
TGR
1955 `(#:tests? #f ; tests cannot be linked
1956 #:build-type "Release" ; needed to have PMALSA set
aacb52fb
RW
1957 #:configure-flags
1958 (list "-DPORTMIDI_ENABLE_JAVA=Off"
a374d9c9
NG
1959 "-DPORTMIDI_ENABLE_TEST=Off") ; tests fail linking
1960 #:phases
1961 (modify-phases %standard-phases
1962 ;; Some packages, e.g., MuseScore, expect "libporttime.so" instead of
1963 ;; "libportmidi.so". Distributions get away with it by creating an
1964 ;; appropriate symlink.
1965 (add-after 'install 'add-porttime
1966 (lambda* (#:key outputs #:allow-other-keys)
1967 (let* ((out (assoc-ref outputs "out"))
1968 (lib (string-append out "/lib")))
1969 (with-directory-excursion lib
1970 (symlink "libportmidi.so" "libporttime.so")))
1971 #t)))))
aacb52fb
RW
1972 (inputs
1973 `(("alsa-lib" ,alsa-lib)))
1974 (native-inputs
1975 `(("unzip" ,unzip)))
1976 (home-page "http://portmedia.sourceforge.net/portmidi/")
1977 (synopsis "Library for MIDI I/O")
1978 (description
1979 "PortMidi is a library supporting real-time input and output of MIDI data
1980using a system-independent interface.")
1981 (license license:expat)))
f65d59fc 1982
38098bf7
RW
1983(define-public portmidi-for-extempore
1984 (package (inherit portmidi)
1985 (name "portmidi-for-extempore")
1986 (version "217")
1987 (source (origin
57906fad
RW
1988 (method git-fetch)
1989 (uri (git-reference
1990 (url "https://github.com/extemporelang/portmidi.git")
1991 (commit version)))
1992 (file-name (git-file-name name version))
38098bf7
RW
1993 (sha256
1994 (base32
57906fad 1995 "1inriyrjf7xx2b7r54x0vmf9ngyqgr7g5060c22bwkbsgg53apzv"))))
38098bf7
RW
1996 (build-system cmake-build-system)
1997 (arguments `(#:tests? #f)) ; no tests
1998 (native-inputs '())
39162ee4
RW
1999 ;; Extempore refuses to build on architectures other than x86_64
2000 (supported-systems '("x86_64-linux"))
38098bf7
RW
2001 (home-page "https://github.com/extemporelang/portmidi/")))
2002
f65d59fc
RW
2003(define-public python-pyportmidi
2004 (package
2005 (name "python-pyportmidi")
2006 (version (package-version portmidi))
2007 (source (package-source portmidi))
2008 (build-system python-build-system)
2009 (arguments
2010 `(#:tests? #f ; no tests included
2011 #:phases
2012 (modify-phases %standard-phases
2013 (add-after 'unpack 'enter-dir
2014 (lambda _ (chdir "pm_python") #t))
2015 (add-after 'enter-dir 'fix-setup.py
2016 (lambda _
2017 (substitute* "setup.py"
2018 ;; Use Python 3 syntax
2019 (("print (\".*\")" _ text)
2020 (string-append "print(" text ")\n"))
2021 ;; TODO.txt and CHANGES.txt don't exist
2022 (("CHANGES =.*") "CHANGES = \"\"\n")
2023 (("TODO =.*") "TODO = \"\"\n"))
2024 #t)))))
2025 (inputs
2026 `(("portmidi" ,portmidi)
f2516de2 2027 ("alsa-lib" ,alsa-lib)))
f65d59fc 2028 (native-inputs
f2516de2
HG
2029 `(("python-cython" ,python-cython)
2030 ("unzip" ,unzip)))
f65d59fc
RW
2031 (home-page "http://portmedia.sourceforge.net/portmidi/")
2032 (synopsis "Python bindings to PortMidi")
2033 (description
2034 "This package provides Python bindings to the PortMidi library.")
2035 (license license:expat)))
aacb52fb 2036
821664f1
RW
2037(define-public frescobaldi
2038 (package
2039 (name "frescobaldi")
e40335b2 2040 (version "3.0.0")
821664f1
RW
2041 (source (origin
2042 (method url-fetch)
2043 (uri (string-append
2044 "https://github.com/wbsoft/frescobaldi/releases/download/v"
2045 version "/frescobaldi-" version ".tar.gz"))
2046 (sha256
2047 (base32
e40335b2 2048 "15cqhbjbjikr7ljgiq56bz2gxrr38j8p0f78p2vhyzydaviy9a2z"))))
821664f1 2049 (build-system python-build-system)
a19a6d3a 2050 (arguments `(#:tests? #f)) ; no tests included
821664f1
RW
2051 (inputs
2052 `(("lilypond" ,lilypond)
6855b347 2053 ("portmidi" ,portmidi)
e40335b2 2054 ("python-pyqt" ,python-pyqt)
821664f1 2055 ("python-ly" ,python-ly)
6855b347 2056 ("python-pyportmidi" ,python-pyportmidi)
821664f1 2057 ("poppler" ,poppler)
e40335b2 2058 ("python-poppler-qt5" ,python-poppler-qt5)
821664f1
RW
2059 ("python-sip" ,python-sip)))
2060 (home-page "http://www.frescobaldi.org/")
2061 (synopsis "LilyPond sheet music text editor")
2062 (description
2063 "Frescobaldi is a LilyPond sheet music text editor with syntax
2064highlighting and automatic completion. Among other things, it can render
2065scores next to the source, can capture input from MIDI or read MusicXML and
2066ABC files, has a MIDI player for proof-listening, and includes a documentation
2067browser.")
2068 (license license:gpl2+)))
ddfddb0c 2069
bf76d780
RW
2070(define-public drumstick
2071 (package
2072 (name "drumstick")
6fd7e0cc 2073 (version "1.1.3")
bf76d780
RW
2074 (source (origin
2075 (method url-fetch)
2076 (uri (string-append "mirror://sourceforge/drumstick/"
2077 version "/drumstick-" version ".tar.bz2"))
2078 (sha256
2079 (base32
6fd7e0cc 2080 "1n9wvg79yvkygrkc8xd8pgrd3d7hqmr7gh24dccf0px23lla9b3m"))))
bf76d780
RW
2081 (build-system cmake-build-system)
2082 (arguments
7adaf5b5 2083 `(#:tests? #f ; no test target
bf76d780
RW
2084 #:configure-flags '("-DLIB_SUFFIX=")
2085 #:phases
2086 (modify-phases %standard-phases
2087 (add-before 'configure 'fix-docbook
2088 (lambda* (#:key inputs #:allow-other-keys)
2089 (substitute* "cmake_admin/CreateManpages.cmake"
2090 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2091 (string-append (assoc-ref inputs "docbook-xsl")
2092 "/xml/xsl/docbook-xsl-"
2093 ,(package-version docbook-xsl)
2094 "/manpages/docbook.xsl")))
2095 #t)))))
2096 (inputs
ca1cab82
EF
2097 `(("qtbase" ,qtbase)
2098 ("qtsvg" ,qtsvg)
7adaf5b5 2099 ("alsa-lib" ,alsa-lib)))
bf76d780
RW
2100 (native-inputs
2101 `(("pkg-config" ,pkg-config)
7adaf5b5 2102 ("libxslt" ,libxslt) ; for xsltproc
bf76d780
RW
2103 ("docbook-xsl" ,docbook-xsl)
2104 ("doxygen" ,doxygen)))
2105 (home-page "http://drumstick.sourceforge.net/")
2106 (synopsis "C++ MIDI library")
2107 (description
2108 "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
2109includes a C++ wrapper around the ALSA library sequencer interface. A
2110complementary library provides classes for processing SMF (Standard MIDI
2111files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
2112multiplatform realtime MIDI I/O library is also provided with various output
2113backends, including ALSA, OSS, Network and FluidSynth.")
2114 (license license:gpl2+)))
2115
14b9203d
RW
2116(define-public vmpk
2117 (package
2118 (name "vmpk")
2119 (version "0.7.2")
2120 (source (origin
2121 (method url-fetch)
2122 (uri (string-append "mirror://sourceforge/vmpk/vmpk/"
2123 version "/vmpk-" version ".tar.bz2"))
2124 (sha256
2125 (base32
2126 "1i3hnvdgz46n4k5v0q4jhgh7nkh0s390ix4nqr69z0q3026yp0p6"))))
2127 (build-system cmake-build-system)
2128 (arguments
2129 `(#:tests? #f ; no test target
2130 #:phases
2131 (modify-phases %standard-phases
2132 (add-before 'configure 'fix-docbook
2133 (lambda* (#:key inputs #:allow-other-keys)
2134 (substitute* "cmake_admin/CreateManpages.cmake"
2135 (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
2136 (string-append (assoc-ref inputs "docbook-xsl")
2137 "/xml/xsl/docbook-xsl-"
2138 ,(package-version docbook-xsl)
2139 "/manpages/docbook.xsl")))
2140 #t)))))
2141 (inputs
2142 `(("drumstick" ,drumstick)
2143 ("qtbase" ,qtbase)
2144 ("qtsvg" ,qtsvg)
2145 ("qttools" ,qttools)
2146 ("qtx11extras" ,qtx11extras)))
2147 (native-inputs
2148 `(("libxslt" ,libxslt) ;for xsltproc
2149 ("docbook-xsl" ,docbook-xsl)
2150 ("pkg-config" ,pkg-config)))
2151 (home-page "http://vmpk.sourceforge.net")
2152 (synopsis "Virtual MIDI piano keyboard")
2153 (description
2154 "Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It
2155doesn't produce any sound by itself, but can be used to drive a MIDI
2156synthesizer (either hardware or software, internal or external). You can use
2157the computer's keyboard to play MIDI notes, and also the mouse. You can use
2158the Virtual MIDI Piano Keyboard to display the played MIDI notes from another
2159instrument or MIDI file player.")
2160 (license license:gpl3+)))
2161
ddfddb0c
RW
2162(define-public zynaddsubfx
2163 (package
2164 (name "zynaddsubfx")
5f88d81f 2165 (version "3.0.5")
ddfddb0c
RW
2166 (source (origin
2167 (method url-fetch)
2168 (uri (string-append
2169 "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
138e7697 2170 version "/zynaddsubfx-" version ".tar.bz2"))
ddfddb0c
RW
2171 (sha256
2172 (base32
5f88d81f 2173 "0qwzg14h043rmyf9jqdylxhyfy4sl0vsr0gjql51wjhid0i34ivl"))))
ddfddb0c 2174 (build-system cmake-build-system)
00dfc97c
RW
2175 (arguments
2176 `(#:phases
2177 (modify-phases %standard-phases
2178 ;; Move SSE compiler optimization flags from generic target to
2179 ;; athlon64 and core2 targets, because otherwise the build would fail
2180 ;; on non-Intel machines.
2181 (add-after 'unpack 'remove-sse-flags-from-generic-target
2182 (lambda _
2183 (substitute* "src/CMakeLists.txt"
2184 (("-msse -msse2 -mfpmath=sse") "")
2185 (("-march=(athlon64|core2)" flag)
2186 (string-append flag " -msse -msse2 -mfpmath=sse")))
2187 #t)))))
ddfddb0c
RW
2188 (inputs
2189 `(("liblo" ,liblo)
2190 ("ntk" ,ntk)
1ea7969f 2191 ("mesa" ,mesa)
ddfddb0c
RW
2192 ("alsa-lib" ,alsa-lib)
2193 ("jack" ,jack-1)
2194 ("fftw" ,fftw)
2195 ("minixml" ,minixml)
2196 ("libxpm" ,libxpm)
2197 ("zlib" ,zlib)))
2198 (native-inputs
2199 `(("pkg-config" ,pkg-config)))
2200 (home-page "http://zynaddsubfx.sf.net/")
2201 (synopsis "Software synthesizer")
2202 (description
2203 "ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
2204three synthesizer engines, multitimbral and polyphonic synths, microtonal
2205capabilities, custom envelopes, effects, etc.")
2206 (license license:gpl2)))
c493679f
RW
2207
2208(define-public yoshimi
2209 (package
2210 (name "yoshimi")
0d4b4059 2211 (version "1.7.0.1")
c493679f
RW
2212 (source (origin
2213 (method url-fetch)
2214 (uri (string-append "mirror://sourceforge/yoshimi/"
2215 (version-major+minor version)
2216 "/yoshimi-" version ".tar.bz2"))
2217 (sha256
2218 (base32
0d4b4059 2219 "1pkqrrr51vlxh96vy0c0rf5ijjvymys4brsw9rv1bdp1bb8izw6c"))))
c493679f
RW
2220 (build-system cmake-build-system)
2221 (arguments
886534b4 2222 `(#:tests? #f ; there are no tests
c493679f
RW
2223 #:configure-flags
2224 (list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
2225 (assoc-ref %outputs "out") "/share"))
2226 #:phases
2227 (modify-phases %standard-phases
2228 (add-before 'configure 'enter-dir
2229 (lambda _ (chdir "src") #t))
2230 ;; Move SSE compiler optimization flags from generic target to
2231 ;; athlon64 and core2 targets, because otherwise the build would fail
2232 ;; on non-Intel machines.
2233 (add-after 'unpack 'remove-sse-flags-from-generic-target
2234 (lambda _
2235 (substitute* "src/CMakeLists.txt"
2236 (("-msse -msse2 -mfpmath=sse") "")
2237 (("-march=(athlon64|core2)" flag)
2238 (string-append flag " -msse -msse2 -mfpmath=sse")))
5edc8682 2239 #t)))))
c493679f
RW
2240 (inputs
2241 `(("boost" ,boost)
2242 ("fftwf" ,fftwf)
2243 ("alsa-lib" ,alsa-lib)
2244 ("jack" ,jack-1)
2245 ("fontconfig" ,fontconfig)
2246 ("minixml" ,minixml)
2247 ("mesa" ,mesa)
2248 ("fltk" ,fltk)
2249 ("lv2" ,lv2)
2250 ("readline" ,readline)
2251 ("ncurses" ,ncurses)
2252 ("cairo" ,cairo)
2253 ("zlib" ,zlib)))
2254 (native-inputs
2255 `(("pkg-config" ,pkg-config)))
2256 (home-page "http://yoshimi.sourceforge.net/")
2257 (synopsis "Multi-paradigm software synthesizer")
2258 (description
edfa2eee 2259 "Yoshimi is a fork of ZynAddSubFX, a feature-heavy real-time software
c493679f
RW
2260synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
2261synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
2262improves on support for JACK features, such as JACK MIDI.")
2263 (license license:gpl2)))
658212eb 2264
e87cb754
RW
2265(define-public libgig
2266 (package
2267 (name "libgig")
ce63a3b9 2268 (version "4.2.0")
e87cb754
RW
2269 (source (origin
2270 (method url-fetch)
2271 (uri (string-append "http://download.linuxsampler.org/packages/"
2272 "libgig-" version ".tar.bz2"))
2273 (sha256
2274 (base32
ce63a3b9 2275 "1zs5yy124bymfyapsnljr6rv2lnn5inwchm0xnwiw44b2d39l8hn"))))
e87cb754
RW
2276 (build-system gnu-build-system)
2277 (inputs
2278 `(("libuuid" ,util-linux)
2279 ("libsndfile" ,libsndfile)))
2280 (native-inputs
2281 `(("pkg-config" ,pkg-config)))
2c051312 2282 (home-page "https://linuxsampler.org/libgig/")
e87cb754
RW
2283 (synopsis "C++ library for working with Gigasampler (.gig) files")
2284 (description
2285 "Libgig is a C++ library for loading, modifying existing and creating new
2286Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
2287sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
2288AKAI sampler data. The package includes a couple of command line tools based
2289on the library.")
2290 ;; The library and tools are released under the GPL, except the AKAI
2291 ;; classes which are released under the LGPL.
2292 (license (list license:gpl2+ license:lgpl2.1+))))
2293
a9f55bf2
RW
2294(define-public jack-keyboard
2295 (package
2296 (name "jack-keyboard")
2297 (version "2.5")
2298 (source
2299 (origin
2300 (method url-fetch)
2301 (uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
2302 version "/jack-keyboard-" version ".tar.gz"))
2303 (sha256
2304 (base32
2305 "0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
2306 (build-system gnu-build-system)
2307 (inputs
2308 `(("jack" ,jack-1)
2309 ("lash" ,lash)
2310 ("gtk+" ,gtk+-2)))
2311 (native-inputs
2312 `(("pkg-config" ,pkg-config)))
2313 (home-page "http://jack-keyboard.sourceforge.net/")
2314 (synopsis "Virtual MIDI keyboard")
2315 (description "Jack-keyboard is a virtual MIDI keyboard, a program that
2316allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
2317 (license license:bsd-2)))
2318
39b33584
RW
2319(define-public jack-capture
2320 (package
2321 (name "jack-capture")
2322 (version "0.9.73")
2323 (source (origin
2324 (method git-fetch)
2325 (uri (git-reference
2326 (url "https://github.com/kmatheussen/jack_capture.git")
2327 (commit version)))
2328 (file-name (string-append name "-" version "-checkout"))
2329 (sha256
2330 (base32
2331 "0jcqky96q8xgya6wqv1p8pj9fkf2wh7ynl67ah7x5bn3basgfclf"))))
2332 (build-system gnu-build-system)
2333 (arguments
2334 `(#:make-flags
2335 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2336 #:tests? #f ; there are none
2337 #:phases
2338 (modify-phases %standard-phases
2339 (delete 'configure))))
2340 (native-inputs
2341 `(("pkg-config" ,pkg-config)
2342 ("which" ,which)))
2343 (inputs
2344 `(("gtk+" ,gtk+-2)
2345 ("jack" ,jack-1)
2346 ("libogg" ,libogg)
2347 ("liblo" ,liblo)
2348 ("lame" ,lame)
2349 ("libsndfile" ,libsndfile)))
2350 (home-page "https://github.com/kmatheussen/jack_capture")
2351 (synopsis "Program for recording sound files with JACK")
2352 (description "This is a program for recording sound files with JACK. It
2353can connect to any JACK port and record the output into a stereo WAV file.")
2354 (license license:gpl2+)))
2355
3f68f76e
RW
2356(define-public jack-select
2357 (package
2358 (name "jack-select")
2359 (version "1.5.0")
2360 (source (origin
2361 (method url-fetch)
2362 (uri (pypi-uri "jack-select" version))
2363 (sha256
2364 (base32
2365 "1zijk9ly2fczxsnnrqr8s0ajmlyx1j1vd8gk0rm5dj5zyhhmia7f"))))
2366 (build-system gnu-build-system)
2367 (arguments
2368 `(#:modules ((guix build gnu-build-system)
2369 ((guix build python-build-system) #:prefix python:)
2370 (guix build utils))
2371 #:imported-modules (,@%gnu-build-system-modules
2372 (guix build python-build-system))
2373 #:make-flags
2374 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2375 #:tests? #f ; there are none
2376 #:phases
2377 (modify-phases %standard-phases
2378 (replace 'configure
2379 (lambda* (#:key inputs #:allow-other-keys)
2380 ;; python-dbus cannot be found but it's really there. See
2381 ;; https://github.com/SpotlightKid/jack-select/issues/2
2382 (substitute* "setup.py"
2383 (("'dbus-python',") ""))
2384 ;; Fix reference to dlopened libraries.
2385 (substitute* "jackselect/alsainfo.py"
2386 (("libasound.so.2")
2387 (string-append (assoc-ref inputs "alsa-lib")
2388 "/lib/libasound.so.2")))
2389 #t))
2390 (replace 'build
2391 (assoc-ref python:%standard-phases 'build))
2392 (add-after 'install 'wrap
2393 (assoc-ref python:%standard-phases 'wrap)))))
2394 (native-inputs
2395 `(("pkg-config" ,pkg-config)))
2396 (inputs
2397 `(("alsa-lib" ,alsa-lib)
2398 ("python" ,python-wrapper)
2399 ("python-pyudev" ,python-pyudev)
2400 ("python-pyxdg" ,python-pyxdg)
2401 ("python-dbus" ,python-dbus)
2402 ("python-pygobject" ,python-pygobject)))
2403 (home-page "https://github.com/SpotlightKid/jack-select")
2404 (synopsis "Systray application to quickly change the JACK-DBus configuration")
2405 (description "This application displays an icon in the system tray (also
2406known as notification area) of your desktop, which shows the status of the
2407JACK audio server and when you click on it, a menu pops up, which lets you
2408quickly select from the JACK configuration presets you created with QjackCtl.
2409When you select a preset, its JACK engine and driver configuration settings
2410are loaded via DBus into JACK and then the server is restarted. This allows
2411you to switch between different audio setups with just two mouse clicks.")
2412 (license license:expat)))
2413
658212eb
LF
2414(define-public cursynth
2415 (package
2416 (name "cursynth")
2417 (version "1.5")
2418 (source
2419 (origin
2420 (method url-fetch)
2421 (uri (string-append "mirror://gnu/cursynth/cursynth-"
2422 version ".tar.gz"))
2423 (sha256
2424 (base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
fc1adab1 2425 (patches (search-patches "cursynth-wave-rand.patch"))))
658212eb
LF
2426 (build-system gnu-build-system)
2427 (native-inputs `(("pkg-config" ,pkg-config)))
2428 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
2429 ;; prevents us from using pulseaudio
2430 (inputs `(("ncurses" ,ncurses)
2431 ("alsa" ,alsa-lib)))
6fd52309 2432 (home-page "https://www.gnu.org/software/cursynth/")
658212eb
LF
2433 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
2434 (description "GNU cursynth is a polyphonic synthesizer that runs
2435graphically in the terminal. It is built on a full-featured subtractive
2436synthesis engine. Notes and parameter changes may be entered via MIDI or the
2437computer's keyboard.")
2438 (license license:gpl3+)))
a763ce7d 2439
13edf1b9
RW
2440(define-public aj-snapshot
2441 (package
2442 (name "aj-snapshot")
bc03fe69 2443 (version "0.9.9")
13edf1b9
RW
2444 (source (origin
2445 (method url-fetch)
2446 (uri (string-append "mirror://sourceforge/aj-snapshot/"
2447 "aj-snapshot-" version ".tar.bz2"))
2448 (sha256
2449 (base32
bc03fe69 2450 "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"))))
13edf1b9
RW
2451 (build-system gnu-build-system)
2452 (inputs
2453 `(("minixml" ,minixml)
2454 ("jack" ,jack-1)
2455 ("alsa-lib" ,alsa-lib)))
2456 (native-inputs
2457 `(("pkg-config" ,pkg-config)))
2458 (home-page "http://aj-snapshot.sourceforge.net/")
2459 (synopsis "Snapshot connections between ALSA and JACK clients")
2460 (description "Aj-snapshot is a small program that can be used to make
2461snapshots of the connections made between JACK and/or ALSA clients. Because
2462JACK can provide both audio and MIDI support to programs, aj-snapshot can
2463store both types of connections for JACK. ALSA, on the other hand, only
2464provides routing facilities for MIDI clients. Aj-snapshot is meant to be used
2465from the command line.")
2466 (license license:gpl3+)))
2467
a763ce7d
RW
2468(define-public qtractor
2469 (package
2470 (name "qtractor")
2de36648 2471 (version "0.9.12")
a763ce7d
RW
2472 (source (origin
2473 (method url-fetch)
2474 (uri (string-append "http://downloads.sourceforge.net/qtractor/"
2475 "qtractor-" version ".tar.gz"))
2476 (sha256
2477 (base32
2de36648 2478 "06493sf4hr178jkvric3rmc2phh1ph2jlyh8kl9z248amq3zfnhy"))))
a763ce7d 2479 (build-system gnu-build-system)
42639cc9 2480 (arguments
d56eee86 2481 `(#:tests? #f)) ; no "check" target
a763ce7d 2482 (inputs
523544d3
RW
2483 `(("qt" ,qtbase)
2484 ("qtx11extras" ,qtx11extras)
a763ce7d
RW
2485 ("alsa-lib" ,alsa-lib)
2486 ("jack" ,jack-1)
2487 ("libsndfile" ,libsndfile)
2488 ("ladspa" ,ladspa)
2489 ("lv2" ,lv2)
2490 ("lilv" ,lilv)
2491 ("suil" ,suil)
2492 ("libsamplerate" ,libsamplerate)
2493 ("libvorbis" ,libvorbis)
2494 ("libmad" ,libmad)
2495 ("rubberband" ,rubberband)
2496 ("liblo" ,liblo)
2497 ("zlib" ,zlib)))
2498 (native-inputs
523544d3
RW
2499 `(("pkg-config" ,pkg-config)
2500 ("qttools" ,qttools)))
8071bbbc 2501 (home-page "http://qtractor.org/")
a763ce7d
RW
2502 (synopsis "Audio/MIDI multi-track sequencer")
2503 (description
2504 "Qtractor is an Audio/MIDI multi-track sequencer application. It uses
2505JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
2506follows a traditional multi-track tape recorder control paradigm.")
2507 (license license:gpl2+)))
aa0edd3f 2508
849c3d03 2509(define-public ams-lv2
c10f6c5a
TGR
2510 (package
2511 (name "ams-lv2")
2512 (version "1.2.2")
2513 (source
2514 (origin
2515 (method git-fetch)
2516 (uri (git-reference
2517 (url "https://github.com/blablack/ams-lv2.git")
2518 (commit (string-append "v" version))))
2519 (file-name (git-file-name name version))
2520 (sha256
2521 (base32 "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk"))))
2522 (build-system waf-build-system)
2523 (arguments
2524 `(#:phases
2525 (modify-phases %standard-phases
2526 (add-after 'unpack 'remove-sse-flags
2527 (lambda* (#:key system #:allow-other-keys)
2528 (unless (or (string-prefix? "x86_64" system)
2529 (string-prefix? "i686" system))
2530 (substitute* "wscript"
2531 (("'-msse', '-mfpmath=sse', ") "")))
2532 #t)))
2533 #:tests? #f)) ; no tests
2534 (inputs
2535 `(("cairo" ,cairo)
2536 ("fftw" ,fftw)
2537 ("gtk" ,gtk+-2)
2538 ("gtkmm" ,gtkmm-2)
2539 ("lv2" ,lv2)
2540 ("lvtk" ,lvtk)))
2541 (native-inputs
2542 `(("pkg-config" ,pkg-config)))
2543 (home-page "https://github.com/blablack/ams-lv2")
2544 (synopsis "Port of Alsa Modular Synth internal modules into LV2")
2545 (description "This set of LV2 plugins is a port of the internal modules
849c3d03
RW
2546found in Alsa Modular Synth. These plugins are used to create modular
2547synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
2548and hold, etc.")
c10f6c5a 2549 (license license:gpl2)))
849c3d03 2550
aed023ff
RW
2551(define-public gxtuner
2552 (package
2553 (name "gxtuner")
f5e0ff0f 2554 (version "2.4")
aed023ff 2555 (source (origin
bed4eb37
RW
2556 (method git-fetch)
2557 (uri (git-reference
2558 (url "https://github.com/brummer10/gxtuner.git")
2559 (commit (string-append "v" version))))
2560 (file-name (git-file-name name version))
aed023ff
RW
2561 (sha256
2562 (base32
bed4eb37 2563 "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96"))))
aed023ff
RW
2564 (build-system gnu-build-system)
2565 (arguments
2566 `(#:make-flags
2567 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2568 (string-append "INCLUDE_L_DIR="
2569 (assoc-ref %build-inputs "zita-resampler")
2570 "/include/"))
2571 #:phases
2572 (modify-phases %standard-phases
2573 (delete 'configure))))
2574 (inputs
f5e0ff0f 2575 `(("gtk+" ,gtk+)
aed023ff
RW
2576 ("jack" ,jack-1)
2577 ("fftwf" ,fftwf)
2578 ("cairo" ,cairo)
2579 ("zita-resampler" ,zita-resampler)))
2580 (native-inputs
2581 `(("pkg-config" ,pkg-config)))
2582 (home-page "https://github.com/brummer10/gxtuner")
2583 (synopsis "Guitar tuner")
2584 (description "GXtuner is a simple guitar tuner for JACK with an
2585analogue-like user interface.")
2586 (license license:gpl2+)))
2587
c2c9e748 2588(define-public mod-host
9f1ac4fa 2589 ;; The last release was in 2014 but since then hundreds of commits have
c2c9e748 2590 ;; been made.
9f1ac4fa
RW
2591 (let ((commit "1726ad06b11323da7e1aaed690ff8aef91f702b5")
2592 (revision "3"))
c2c9e748
RW
2593 (package
2594 (name "mod-host")
2595 (version (string-append "0.10.6-" revision "." (string-take commit 9)))
2596 (source (origin
2597 (method git-fetch)
2598 (uri (git-reference
2599 (url "https://github.com/moddevices/mod-host")
2600 (commit commit)))
2601 (sha256
2602 (base32
9f1ac4fa 2603 "1nrd37c35w6z6ldczgrwmmd9hx1n3zyvcjcgb3mi4cygqdanvspv"))
c2c9e748
RW
2604 (file-name (string-append name "-" version "-checkout"))))
2605 (build-system gnu-build-system)
2606 (arguments
2607 `(#:tests? #f ; no tests included
2608 #:make-flags
2609 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
2610 "CC=gcc")
2611 #:phases
2612 (modify-phases %standard-phases
2613 (delete 'configure)
2614 (add-after 'unpack 'fix-jack-installation-directory
2615 (lambda _
2616 ;; Do not attempt to install files to output of "jack" package.
2617 (substitute* "Makefile"
2618 (("\\$\\(shell pkg-config --variable=libdir jack\\)")
2619 "lib"))
2620 #t)))))
2621 (inputs
2622 `(("lilv" ,lilv)
c96cb01a
DC
2623 ("fftw" ,fftw)
2624 ("fftwf" ,fftwf)
c2c9e748
RW
2625 ("lv2" ,lv2)
2626 ("jack" ,jack-1)
2627 ("readline" ,readline)))
2628 (native-inputs
2629 `(("pkg-config" ,pkg-config)
2630 ("python" ,python-2)))
2631 (home-page "https://github.com/moddevices/mod-host")
2632 (synopsis "LV2 host for Jack controllable via socket or command line")
2633 (description "mod-host is an LV2 plugin host for JACK, controllable via
2634socket or command line.")
2635 (license license:gpl3+))))
2636
19d93ef5
SR
2637(define-public curseradio
2638 (let ((commit "1bd4bd0faeec675e0647bac9a100b526cba19f8d")
2639 (revision "1"))
2640 (package
2641 (name "curseradio")
2642 (version (git-version "0" revision commit))
2643 (source (origin
2644 (method git-fetch)
2645 (uri (git-reference
2646 (url "https://github.com/chronitis/curseradio.git")
2647 (commit commit)))
2648 (file-name (git-file-name name version))
2649 (sha256
2650 (base32
2651 "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
2652 (build-system python-build-system)
e79a07bc
EF
2653 (arguments
2654 `(#:phases
2655 (modify-phases %standard-phases
2656 (add-after 'unpack 'link-to-mpv
2657 (lambda* (#:key inputs #:allow-other-keys)
2658 (substitute* "curseradio/curseradio.py"
2659 (("/usr/bin/mpv")
2660 (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
2661 #t)))))
19d93ef5
SR
2662 (propagated-inputs
2663 `(("python-lxml" ,python-lxml)
2664 ("python-requests" ,python-requests)
e79a07bc
EF
2665 ("python-pyxdg" ,python-pyxdg)))
2666 (inputs
2667 `(("mpv" ,mpv)))
19d93ef5
SR
2668 (home-page "https://github.com/chronitis/curseradio")
2669 (synopsis "Command-line Internet radio player")
2670 (description "Curseradio is a Curses-based radio player that uses a
2671tune-in sender list from @url{http://opml.radiotime.com}.")
2672 (license license:expat))))
2673
aa0edd3f
AM
2674(define-public pianobar
2675 (package
2676 (name "pianobar")
8cc1fdce 2677 (version "2019.02.14")
aa0edd3f 2678 (source (origin
1410e178
RW
2679 (method git-fetch)
2680 (uri (git-reference
2681 (url "https://github.com/PromyLOPh/pianobar.git")
2682 (commit version)))
2683 (file-name (git-file-name name version))
aa0edd3f
AM
2684 (sha256
2685 (base32
8cc1fdce 2686 "1bfabkj3m9kmhxl64w4azmi0xf7w52fmqfbw2ag28hbb5yy01k1m"))))
aa0edd3f
AM
2687 (build-system gnu-build-system)
2688 (arguments
8cc1fdce 2689 `(#:tests? #f ; no tests
aa0edd3f
AM
2690 #:make-flags (list "CC=gcc" "CFLAGS=-std=c99"
2691 (string-append "PREFIX=" %output))
2692 #:phases (modify-phases %standard-phases
2693 (delete 'configure))))
2694 (inputs
2695 `(("ao" ,ao)
2696 ("curl" ,curl)
2697 ("libgcrypt" ,libgcrypt)
2698 ("json-c" ,json-c)
8cc1fdce 2699 ("ffmpeg" ,ffmpeg)))
aa0edd3f
AM
2700 (native-inputs
2701 `(("pkg-config" ,pkg-config)))
3e97cf47 2702 (home-page "https://6xq.net/pianobar/")
aa0edd3f
AM
2703 (synopsis "Console-based pandora.com player")
2704 (description "pianobar is a console-based music player for the
2705personalized online radio pandora.com. It has configurable keys for playing
2706and managing stations, can be controlled remotely via fifo, and can run
2707event-based scripts for scrobbling, notifications, etc.")
2708 (license license:expat)))
3f7a182d 2709
1deab8cb
CB
2710(define-public picard
2711 (package
2712 (name "picard")
b421e915 2713 (version "2.1.3")
1deab8cb
CB
2714 (source (origin
2715 (method url-fetch)
2716 (uri (string-append
2717 "https://musicbrainz.osuosl.org/pub/musicbrainz/"
2718 "picard/picard-" version ".tar.gz"))
2719 (sha256
2720 (base32
b421e915 2721 "19w5k3bf4886gdycxjds9nkjvir0gwy2r5cqkz0lbls4ikk4y14f"))))
1deab8cb
CB
2722 (build-system python-build-system)
2723 (arguments
251448f7
TGR
2724 '(#:use-setuptools? #f
2725 #:configure-flags
e28b0798
TGR
2726 (list "--root=/"
2727 ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
2728 "--disable-autoupdate")
251448f7 2729 #:phases
1deab8cb
CB
2730 (modify-phases %standard-phases
2731 (add-after 'unpack 'patch-source
2732 (lambda* (#:key inputs #:allow-other-keys)
2733 (substitute* "picard/const/__init__.py"
2734 (("pyfpcalc")
2735 (string-append
2736 "pyfpcalc', '"
e247244e
TGR
2737 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))
2738 #t)))))
1deab8cb
CB
2739 (native-inputs
2740 `(("gettext" ,gettext-minimal)))
2741 (inputs
2742 `(("chromaprint" ,chromaprint)
7d9fa5f3 2743 ("python-discid" ,python-discid)
1deab8cb
CB
2744 ("python-pyqt" ,python-pyqt)
2745 ("python-mutagen" ,python-mutagen)))
2746 (home-page "https://picard.musicbrainz.org/")
2747 (synopsis "Graphical music tagging application")
2748 (description
2749 "MusicBrainz Picard is a music tagging application, supporting multiple
2750formats, looking up tracks through metadata and audio fingerprints.")
2751 (license license:gpl2+)))
2752
3f7a182d
LF
2753(define-public python-mutagen
2754 (package
2755 (name "python-mutagen")
e39aae4f 2756 (version "1.38")
3f7a182d
LF
2757 (source (origin
2758 (method url-fetch)
2759 (uri (pypi-uri "mutagen" version))
2760 (sha256
2761 (base32
e39aae4f 2762 "0rl7sxn1rcjl48fwga3dqf9f6pzspsny4ngxyf6pp337mrq0z693"))))
3f7a182d 2763 (build-system python-build-system)
4228a79e
LF
2764 (native-inputs
2765 `(("python-pytest" ,python-pytest)))
3f7a182d
LF
2766 (home-page "https://bitbucket.org/lazka/mutagen")
2767 (synopsis "Read and write audio tags")
2768 (description "Mutagen is a Python module to handle audio metadata. It
2769supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
2770Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
2771of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
2772Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
2773APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
2774streams on an individual packet/page level.")
2775 (license license:gpl2))) ; "later version" never mentioned
2776
2777(define-public python2-mutagen
2778 (package-with-python2 python-mutagen))
8975de88
LF
2779
2780(define-public python-musicbrainzngs
2781 (package
2782 (name "python-musicbrainzngs")
daedf34d 2783 (version "0.6")
8975de88
LF
2784 (source (origin
2785 (method url-fetch)
2786 (uri (pypi-uri "musicbrainzngs" version))
2787 (sha256
2788 (base32
daedf34d 2789 "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
8975de88 2790 (build-system python-build-system)
daedf34d
LF
2791 (arguments
2792 '(;; The tests fail suffer from race conditions:
2793 ;; https://github.com/alastair/python-musicbrainzngs/issues/211
2794 #:tests? #f))
8975de88
LF
2795 (home-page "https://python-musicbrainzngs.readthedocs.org/")
2796 (synopsis "Python bindings for MusicBrainz NGS webservice")
2797 (description "Musicbrainzngs implements Python bindings of the MusicBrainz
2798web service. This library can be used to retrieve music metadata from the
2799MusicBrainz database.")
2800 ;; 'musicbrainzngs/compat.py' is ISC licensed.
2801 (license (list license:bsd-2 license:isc))))
2802
2803(define-public python2-musicbrainzngs
2804 (package-with-python2 python-musicbrainzngs))
e8fee648 2805
07c82daa
GH
2806(define-public python-isrcsubmit
2807 (package
2808 (name "python-isrcsubmit")
2809 (version "2.0.1")
2810 (source
2811 (origin
2812 (method url-fetch)
2813 (uri (pypi-uri "isrcsubmit" version))
2814 (sha256
2815 (base32
2816 "0jh4cni8qhri6dh83cmp0i0m0384vv0vznlygv49wj9xzh1d99qv"))))
2817 (build-system python-build-system)
2818 (propagated-inputs
2819 `(("python-discid" ,python-discid)
2820 ("python-musicbrainzngs" ,python-musicbrainzngs)))
2821 (home-page "https://github.com/JonnyJD/musicbrainz-isrcsubmit")
2822 (synopsis "Submit ISRCs from CDs to MusicBrainz")
2823 (description "@code{isrcsubmit} is a tool to extract @dfn{International
2824Standard Recording Code} (ISRCs) from audio CDs and submit them to
2825@url{https://musicbrainz.org/, MusicBrainz}.")
2826 (license license:gpl3+)))
2827
a2eab422 2828(define-public python2-pyechonest
e8fee648 2829 (package
a2eab422 2830 (name "python2-pyechonest")
e8fee648
LF
2831 (version "9.0.0")
2832 (source (origin
2833 (method url-fetch)
2834 (uri (pypi-uri "pyechonest" version))
2835 (sha256
2836 (base32
2837 "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
2838 (build-system python-build-system)
a2eab422
LF
2839 (arguments
2840 `(;; Python 3 is not supported:
2841 ;; https://github.com/echonest/pyechonest/issues/42
2842 #:python ,python-2))
e8fee648
LF
2843 (home-page "https://github.com/echonest/pyechonest")
2844 (synopsis "Python interface to The Echo Nest APIs")
d3e3468f
LF
2845 (description "Pyechonest is a Python library for the Echo Nest API. With
2846Pyechonest you have Python access to the entire set of API methods including:
e8fee648
LF
2847
2848@enumerate
2849@item artist - search for artists by name, description, or attribute, and get
2850back detailed information about any artist including audio, similar artists,
2851blogs, familiarity, hotttnesss, news, reviews, urls and video.
2852@item song - search songs by artist, title, description, or attribute (tempo,
2853duration, etc) and get detailed information back about each song, such as
2854hotttnesss, audio_summary, or tracks.
2855@item track - upload a track to the Echo Nest and receive summary information
2856about the track including key, duration, mode, tempo, time signature along with
2857detailed track info including timbre, pitch, rhythm and loudness information.
2858@end enumerate\n")
a2eab422 2859 (license license:bsd-3)))
acd7351f
LF
2860
2861(define-public python-pylast
2862 (package
2863 (name "python-pylast")
653f2b92 2864 (version "2.0.0")
acd7351f
LF
2865 (source (origin
2866 (method url-fetch)
2867 (uri (pypi-uri "pylast" version))
2868 (sha256
2869 (base32
653f2b92 2870 "0r9h7g8i8l2mgqjwkda3v6prfbkb2im5kap1az9ppmhjm9i4jkcf"))))
acd7351f 2871 (build-system python-build-system)
653f2b92
RW
2872 ;; Tests require network access. See
2873 ;; https://github.com/pylast/pylast/issues/105
2874 (arguments '(#:tests? #f))
acd7351f
LF
2875 (native-inputs
2876 `(("python-coverage" ,python-coverage)
653f2b92 2877 ("python-pycodestyle" ,python-pycodestyle)
acd7351f
LF
2878 ("python-mock" ,python-mock)
2879 ("python-pep8" ,python-pep8)
2880 ("python-pytest" ,python-pytest)
653f2b92 2881 ("python-flaky" ,python-flaky)
acd7351f
LF
2882 ("python-pyflakes" ,python-pyflakes)
2883 ("python-pyyaml" ,python-pyyaml)))
2884 (propagated-inputs
2885 `(("python-six" ,python-six)))
2886 (home-page "https://github.com/pylast/pylast")
2887 (synopsis "Python interface to Last.fm and Libre.fm")
2888 (description "A Python interface to Last.fm and other API-compatible
2889websites such as Libre.fm.")
5c31f4aa 2890 (license license:asl2.0)))
acd7351f
LF
2891
2892(define-public python2-pylast
5c31f4aa 2893 (package-with-python2 python-pylast))
3bf429af 2894
b0dea60c
SR
2895(define-public instantmusic
2896 (let ((commit "300891d09c703525215fa5a116b9294af1c923c8")
2897 (revision "1"))
2898 (package
2899 (name "instantmusic")
2900 (version (git-version "1.0" revision commit))
2901 (source (origin
2902 (method git-fetch)
2903 (uri (git-reference
2904 (url "https://github.com/yask123/Instant-Music-Downloader.git")
2905 (commit commit)))
2906 (file-name (git-file-name name version))
2907 (sha256
2908 (base32
2909 "0j7qivaa04bpdz3anmgci5833dgiyfqqwq9fdrpl9m68b34gl773"))))
2910 (build-system python-build-system)
2911 (propagated-inputs
2912 `(("python-requests" ,python-requests)
c695fb76 2913 ("eyed3" ,eyed3)
b0dea60c
SR
2914 ("python-beautifulsoup4" ,python-beautifulsoup4)
2915 ("youtube-dl" ,youtube-dl)))
2916 (arguments
2917 '(#:modules ((guix build python-build-system)
2918 (guix build utils)
2919 (srfi srfi-26))
2920 #:phases (modify-phases %standard-phases
2921 (add-before 'build 'change-directory
2922 (lambda _
2923 (chdir "instantmusic-0.1") #t))
4b577961 2924 (add-before 'install 'fix-file-permissions
b0dea60c
SR
2925 (lambda _
2926 ;; Fix some read-only files that would cause a build failure
2927 (for-each (cut chmod <> #o644)
2928 (find-files "instantmusic.egg-info"
2929 "PKG-INFO|.*\\.txt"))
2930 #t)))))
f23365fa 2931 (home-page "https://github.com/yask123/Instant-Music-Downloader")
b0dea60c
SR
2932 (synopsis "Command-line program to download a song from YouTube")
2933 (description "InstantMusic downloads a song from YouTube in MP3 format.
2934Songs can be searched by artist, name or even by a part of the song text.")
2935 (license license:expat))))
2936
3bf429af
LF
2937(define-public beets
2938 (package
2939 (name "beets")
3f3d712c 2940 (version "1.4.9")
3bf429af
LF
2941 (source (origin
2942 (method url-fetch)
23319ed6 2943 (uri (pypi-uri "beets" version))
3bf429af
LF
2944 (sha256
2945 (base32
3f3d712c 2946 "0m40rjimvfgy1dv04p8f8d5dvi2855v4ix99a9xr900cmcn476yj"))))
3bf429af
LF
2947 (build-system python-build-system)
2948 (arguments
0d48ff81 2949 `(#:phases
3bf429af
LF
2950 (modify-phases %standard-phases
2951 (add-after 'unpack 'set-HOME
46fce968
TGR
2952 (lambda _
2953 (setenv "HOME" (string-append (getcwd) "/tmp"))
2954 #t))
36c2c8c8 2955 (replace 'check
46fce968
TGR
2956 (lambda _
2957 (invoke "nosetests" "-v"))))))
3bf429af 2958 (native-inputs
0d48ff81
LF
2959 `(("python-beautifulsoup4" ,python-beautifulsoup4)
2960 ("python-flask" ,python-flask)
2961 ("python-mock" ,python-mock)
2962 ("python-mpd2" ,python-mpd2)
2963 ("python-nose" ,python-nose)
2964 ("python-pathlib" ,python-pathlib)
2965 ("python-pyxdg" ,python-pyxdg)
2966 ("python-pylast" ,python-pylast)
2967 ("python-rarfile" ,python-rarfile)
2968 ("python-responses" ,python-responses)))
3bf429af 2969 ;; TODO: Install optional plugins and dependencies.
b3470031 2970 (inputs
0d48ff81 2971 `(("python-discogs-client" ,python-discogs-client)
0d48ff81
LF
2972 ("python-jellyfish" ,python-jellyfish)
2973 ("python-munkres" ,python-munkres)
2974 ("python-musicbrainzngs" ,python-musicbrainzngs)
2975 ("python-mutagen" ,python-mutagen)
04a51d0c 2976 ("python-pyacoustid" ,python-pyacoustid)
0d48ff81
LF
2977 ("python-pyyaml" ,python-pyyaml)
2978 ("python-unidecode" ,python-unidecode)))
d94ec407 2979 (home-page "https://beets.io")
3bf429af
LF
2980 (synopsis "Music organizer")
2981 (description "The purpose of beets is to get your music collection right
2982once and for all. It catalogs your collection, automatically improving its
2983metadata as it goes using the MusicBrainz database. Then it provides a variety
2984of tools for manipulating and accessing your music.")
2985 (license license:expat)))
21d18113 2986
4ee2cce3
JK
2987(define-public beets-bandcamp
2988 (package
2989 (name "beets-bandcamp")
2990 (version "0.1.3")
2991 (source (origin
2992 (method url-fetch)
2993 (uri (pypi-uri "beets-bandcamp" version))
2994 (sha256
2995 (base32
2996 "04awg0zdhhg5h510fc1p3qkvr2l1qm6nf85hlr9z8im8a7xlka0i"))))
2997 (build-system python-build-system)
2998 (arguments '(#:tests? #f)) ; there are no tests
2999 (propagated-inputs
3000 `(("beets" ,beets)
3001 ("python-isodate" ,python-isodate)))
3002 (inputs
3003 `(("python-beautifulsoup4" ,python-beautifulsoup4)
3004 ("python-requests" ,python-requests)
3005 ("python-six" ,python-six)))
3006 (home-page "https://github.com/unrblt/beets-bandcamp")
3007 (synopsis "Bandcamp plugin for beets")
3008 (description
3009 "This plugin for beets automatically obtains tag data from @uref{Bandcamp,
3010https://bandcamp.com/}. It's also capable of getting song lyrics and album art
3011using the beets FetchArt plugin.")
3012 (license license:gpl2)))
3013
21d18113
KY
3014(define-public milkytracker
3015 (package
3016 (name "milkytracker")
b7e2fcf0 3017 (version "1.02.00")
21d18113 3018 (source (origin
caa39e56
RW
3019 (method git-fetch)
3020 (uri (git-reference
3021 (url "https://github.com/milkytracker/MilkyTracker.git")
3022 (commit (string-append "v" version))))
3023 (file-name (git-file-name name version))
21d18113
KY
3024 (sha256
3025 (base32
caa39e56 3026 "05a6d7l98k9i82dwrgi855dnccm3f2lkb144gi244vhk1156n0ca"))
e3b2e943
KK
3027 (modules '((guix build utils)))
3028 ;; Remove non-FSDG compliant sample songs.
3029 (snippet
3030 '(begin
3031 (delete-file-recursively "resources/music")
3032 (substitute* "CMakeLists.txt"
6cbee49d
MW
3033 (("add_subdirectory\\(resources/music\\)") ""))
3034 #t))))
e3b2e943 3035 (build-system cmake-build-system)
21d18113 3036 (arguments
7f2f8345
KK
3037 '(#:tests? #f ; no check target
3038 ;; This flag ensures that MilkyTracker links with the JACK library.
3039 #:configure-flags '("-DCMAKE_CXX_FLAGS=-ljack")))
21d18113
KY
3040 (inputs
3041 `(("alsa-lib" ,alsa-lib)
ba259bad 3042 ("lhasa" ,lhasa)
21d18113 3043 ("jack" ,jack-1)
f1618a0f 3044 ("rtmidi" ,rtmidi)
e3b2e943 3045 ("sdl" ,sdl2)
f1618a0f
KK
3046 ("zlib" ,zlib)
3047 ("zziplib" ,zziplib)))
21d18113
KY
3048 (native-inputs
3049 `(("pkg-config" ,pkg-config)))
3050 (synopsis "Music tracker for working with .MOD/.XM module files")
3051 (description "MilkyTracker is a music application for creating .MOD and .XM
3052module files. It attempts to recreate the module replay and user experience of
3053the popular DOS program Fasttracker II, with special playback modes available
3054for improved Amiga ProTracker 2/3 compatibility.")
b3ee0c64 3055 (home-page "https://milkytracker.titandemo.org/")
21d18113
KY
3056 ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
3057 (license (list license:bsd-3 license:gpl3+))))
13416a10 3058
89bcf3fc
KK
3059(define-public schismtracker
3060 (package
3061 (name "schismtracker")
72aee8a8 3062 (version "20190805")
89bcf3fc 3063 (source (origin
3b9e9415
RW
3064 (method git-fetch)
3065 (uri (git-reference
3066 (url "https://github.com/schismtracker/schismtracker.git")
3067 (commit version)))
3068 (file-name (git-file-name name version))
89bcf3fc
KK
3069 (sha256
3070 (base32
72aee8a8 3071 "0qqps20vvn3rgpg8174bjrrm38gqcci2z5z4c1r1vhbccclahgsd"))
89bcf3fc
KK
3072 (modules '((guix build utils)))
3073 (snippet
3074 ;; Remove use of __DATE__ and __TIME__ for reproducibility.
6cbee49d
MW
3075 `(begin
3076 (substitute* "schism/version.c"
3077 (("Schism Tracker built %s %s.*$")
3078 (string-append "Schism Tracker version " ,version "\");")))
3079 #t))))
89bcf3fc
KK
3080 (build-system gnu-build-system)
3081 (arguments
3082 `(#:phases
3083 (modify-phases %standard-phases
89bcf3fc
KK
3084 (add-before 'configure 'link-libm
3085 (lambda _ (setenv "LIBS" "-lm") #t)))))
3086 (native-inputs
3087 `(("autoconf" ,autoconf)
3088 ("automake" ,automake)
3089 ("python" ,python)))
3090 (inputs
e526db51 3091 `(("alsa-lib" ,alsa-lib) ; for asound dependency
89bcf3fc
KK
3092 ("libx11" ,libx11)
3093 ("libxext" ,libxext)
3094 ("sdl" ,sdl)))
3095 (home-page "http://schismtracker.org")
3096 (synopsis "Oldschool sample-based music composition tool")
3097 (description
3098 "Schism Tracker is a reimplementation of Impulse Tracker, a program used to
3099create high quality music without the requirements of specialized, expensive
3100equipment, and with a unique \"finger feel\" that is difficult to replicate in
3101part. The player is based on a highly modified version of the ModPlug engine,
3102with a number of bugfixes and changes to improve IT playback.")
3103 (license license:gpl2+)))
3104
5beecc32
RW
3105(define-public sooperlooper
3106 (package
3107 (name "sooperlooper")
3108 (version "1.7.3")
3109 (source (origin
3110 (method url-fetch)
3111 (uri (string-append "http://essej.net/sooperlooper/sooperlooper-"
3112 version ".tar.gz"))
3113 (sha256
3114 (base32
3115 "0n2gdxw1fx8nxxnpzf4sj0kp6k6zi1yq59cbz6qqzcnsnpnvszbs"))
3116 (patches (search-patches "sooperlooper-build-with-wx-30.patch"))))
3117 (build-system gnu-build-system)
3118 (arguments
e6e09dc9 3119 `(#:phases
5beecc32
RW
3120 (modify-phases %standard-phases
3121 (add-after 'unpack 'add-sigc++-includes
3122 (lambda* (#:key inputs #:allow-other-keys)
3123 (let ((sig (assoc-ref inputs "libsigc++"))
3124 (xml (assoc-ref inputs "libxml2"))
3125 (cwd (getcwd)))
3126 (setenv "CPATH"
3127 (string-append sig "/include/sigc++-2.0:"
3128 sig "/lib/sigc++-2.0/include:"
3129 xml "/include/libxml2/:"
3130 cwd "/libs/pbd:"
e6e09dc9
MB
3131 cwd "/libs/midi++:"
3132 (or (getenv "CPATH") ""))))
5beecc32
RW
3133 (substitute* '("src/control_osc.hpp"
3134 "src/gui/app_frame.hpp"
3135 "src/gui/config_panel.hpp"
3136 "src/gui/keys_panel.hpp"
3137 "src/gui/latency_panel.hpp"
3138 "src/gui/main_panel.hpp"
3139 "src/gui/midi_bind_panel.hpp"
3140 "src/gui/prefs_dialog.hpp")
3141 (("sigc\\+\\+/object.h")
3142 "sigc++/sigc++.h"))
3143 (substitute* '("src/engine.cpp"
3144 "src/gui/latency_panel.cpp"
3145 "src/gui/looper_panel.cpp"
3146 "src/gui/main_panel.cpp")
3147 (("(\\(| )bind " _ pre)
3148 (string-append pre "sigc::bind ")))
3149 #t))
3150 (add-after 'unpack 'fix-xpm-warnings
3151 (lambda _
3152 (substitute* (find-files "." "\\.xpm$")
3153 (("static char") "static const char"))
3154 #t)))))
3155 (inputs
3156 `(("jack" ,jack-1)
3157 ("alsa-lib" ,alsa-lib)
3158 ("wxwidgets" ,wxwidgets-gtk2)
3159 ("libsndfile" ,libsndfile)
3160 ("libsamplerate" ,libsamplerate)
3161 ("liblo" ,liblo)
3162 ("rubberband" ,rubberband)
3163 ("libxml2" ,libxml2)
3164 ("libsigc++" ,libsigc++)
3165 ("ncurses" ,ncurses)))
3166 (native-inputs
3167 `(("pkg-config" ,pkg-config)))
3168 (home-page "http://essej.net/sooperlooper/")
3169 (synopsis "Live looping sampler")
3170 (description
3171 "SooperLooper is a live looping sampler capable of immediate loop
3172recording, overdubbing, multiplying, reversing and more. It allows for
3173multiple simultaneous multi-channel loops limited only by your computer's
3174available memory.")
3175 (license license:gpl2+)))
3176
13416a10
KY
3177(define-public moc
3178 (package
3179 (name "moc")
2fbc004f 3180 (version "2.5.2")
13416a10
KY
3181 (source (origin
3182 (method url-fetch)
3183 (uri (string-append "http://ftp.daper.net/pub/soft/"
3184 name "/stable/"
3185 name "-" version ".tar.bz2"))
3186 (sha256
3187 (base32
2784b35f 3188 "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))))
13416a10
KY
3189 (build-system gnu-build-system)
3190 (inputs
3191 `(("alsa-lib" ,alsa-lib)
3192 ("curl" ,curl)
3193 ("faad2" ,faad2)
bb5c508c 3194 ("ffmpeg" ,ffmpeg-3.4)
13416a10
KY
3195 ("file" ,file)
3196 ("jack" ,jack-1)
3197 ("libid3tag" ,libid3tag)
3198 ("libltdl" ,libltdl)
3199 ("libmodplug" ,libmodplug)
3200 ("libmpcdec" ,libmpcdec)
3201 ("libmad" ,libmad)
6beaa5a0
MM
3202 ("libogg" ,libogg)
3203 ("libvorbis" ,libvorbis)
13416a10
KY
3204 ("ncurses" ,ncurses)
3205 ("openssl" ,openssl)
3206 ("sasl" ,cyrus-sasl)
3207 ("speex" ,speex)
3208 ("taglib" ,taglib)
3209 ("wavpack" ,wavpack)
3210 ("zlib" ,zlib)))
3211 (native-inputs
3212 `(("pkg-config" ,pkg-config)))
3213 (synopsis "Console audio player designed to be powerful and easy to use")
3214 (description
3215 "Music on Console is a console audio player that supports many file
3216formats, including most audio formats recognized by FFMpeg.")
3217 (home-page "http://moc.daper.net")
3218 (license license:gpl2+)))
6d3ef286
JF
3219
3220(define-public midicsv
3221 (package
3222 (name "midicsv")
3223 (version "1.1")
3224 (source (origin
3225 (method url-fetch)
3226 (uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
3227 name "-" version ".tar.gz"))
3228 (sha256
3229 (base32
3230 "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
3231 (build-system gnu-build-system)
3232 (arguments
3233 `(#:phases (modify-phases %standard-phases (delete 'configure))
3234 #:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
3235 (synopsis "Convert MIDI files to and from CSV")
3236 (description
3237 "Midicsv reads a standard MIDI file and decodes it into a comma-separated
3238value file (CSV), which preserves all the information in the MIDI file. The
3239ASCII CSV file may be loaded into a spreadsheet or database application, or
3240processed by a program to transform the MIDI data (for example, to key
3241transpose a composition or extract a track from a multi-track sequence). A
3242CSV file in the format created by midicsv may be converted back into a
3243standard MIDI file with the csvmidi program.")
3244 (home-page "http://www.fourmilab.ch/webtools/midicsv/")
3245 (license license:public-domain)))
49604680
RW
3246
3247(define-public gx-guvnor-lv2
35f909d4
RW
3248 (package
3249 (name "gx-guvnor-lv2")
3250 (version "0.1")
3251 (source (origin
6ac8c78c
RW
3252 (method git-fetch)
3253 (uri (git-reference
3254 (url "https://github.com/brummer10/GxGuvnor.lv2.git")
3255 (commit (string-append "v" version))))
3256 (file-name (string-append name "-" version "-checkout"))
35f909d4
RW
3257 (sha256
3258 (base32
6ac8c78c 3259 "1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
35f909d4
RW
3260 (build-system gnu-build-system)
3261 (arguments
3262 `(;; The check target is used only to output a warning.
3263 #:tests? #f
3264 #:make-flags
3265 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
3266 #:phases
3267 (modify-phases %standard-phases
3268 (replace 'configure
3269 (lambda _
3270 (substitute* "Makefile"
6ac8c78c
RW
3271 (("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
3272 (("install : all") "install :"))
35f909d4
RW
3273 #t)))))
3274 (inputs
3275 `(("lv2" ,lv2)))
3276 (home-page "https://github.com/brummer10/GxGuvnor.lv2")
3277 (synopsis "Overdrive/distortion pedal simulation")
3278 (description "This package provides the LV2 plugin \"GxGuvnor\", a
49604680 3279simulation of an overdrive or distortion pedal for guitars.")
35f909d4 3280 ;; The LICENSE file says GPLv3 but the license headers in the files say
4b359532
RW
3281 ;; GPLv2 or later. The whole project is released under GPLv3 or later
3282 ;; according to https://github.com/brummer10/GxGuvnor.lv2/issues/1
3283 (license license:gpl3+)))
85ae347e
RW
3284
3285(define-public gx-vbass-preamp-lv2
1b74b126
RW
3286 (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
3287 (revision "2"))
85ae347e
RW
3288 (package (inherit gx-guvnor-lv2)
3289 (name "gx-vbass-preamp-lv2")
3290 (version (string-append "0-" revision "." (string-take commit 9)))
3291 (source (origin
3292 (method git-fetch)
3293 (uri (git-reference
3294 (url "https://github.com/brummer10/GxVBassPreAmp.lv2")
3295 (commit commit)))
3296 (sha256
3297 (base32
1b74b126 3298 "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
85ae347e 3299 (file-name (string-append name "-" version "-checkout"))))
1b74b126
RW
3300 (inputs
3301 `(("lv2" ,lv2)
3302 ("gtk+" ,gtk+-2)))
3303 (native-inputs
3304 `(("pkg-config" ,pkg-config)))
85ae347e
RW
3305 (home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
3306 (synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
3307 (description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
3308pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
3309Section."))))
cdc7a021
RW
3310
3311(define-public gx-overdriver-lv2
3312 (let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
3313 (revision "1"))
1b74b126 3314 (package (inherit gx-guvnor-lv2)
cdc7a021
RW
3315 (name "gx-overdriver-lv2")
3316 (version (string-append "0-" revision "." (string-take commit 9)))
3317 (source (origin
3318 (method git-fetch)
3319 (uri (git-reference
3320 (url "https://github.com/brummer10/GxOverDriver.lv2")
3321 (commit commit)))
3322 (sha256
3323 (base32
3324 "13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
3325 (file-name (string-append name "-" version "-checkout"))))
3326 (home-page "https://github.com/brummer10/GxOverDriver.lv2")
3327 (synopsis "Overdrive effect with level and tone control")
3328 (description "This package provides the LV2 plugin \"GxOverDriver\", an
3329overdrive effect."))))
4d95cd30
RW
3330
3331(define-public gx-tone-mender-lv2
3332 (let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
3333 (revision "1"))
1b74b126 3334 (package (inherit gx-guvnor-lv2)
4d95cd30
RW
3335 (name "gx-tone-mender-lv2")
3336 (version (string-append "0-" revision "." (string-take commit 9)))
3337 (source (origin
3338 (method git-fetch)
3339 (uri (git-reference
3340 (url "https://github.com/brummer10/GxToneMender.lv2")
3341 (commit commit)))
3342 (sha256
3343 (base32
3344 "07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
3345 (file-name (string-append name "-" version "-checkout"))))
3346 (home-page "https://github.com/brummer10/GxToneMender.lv2")
3347 (synopsis "Clean boost with a 3-knob tonestack")
3348 (description "This package provides the LV2 plugin \"GxToneMender\", a
3349clean boost effect with a 3-knob tonestack."))))
4d4bfdc2
RW
3350
3351(define-public gx-push-pull-lv2
3352 (let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
3353 (revision "1"))
1b74b126 3354 (package (inherit gx-guvnor-lv2)
4d4bfdc2
RW
3355 (name "gx-push-pull-lv2")
3356 (version (string-append "0-" revision "." (string-take commit 9)))
3357 (source (origin
3358 (method git-fetch)
3359 (uri (git-reference
3360 (url "https://github.com/brummer10/GxPushPull.lv2")
3361 (commit commit)))
3362 (sha256
3363 (base32
3364 "12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
3365 (file-name (string-append name "-" version "-checkout"))))
3366 (home-page "https://github.com/brummer10/GxPushPull.lv2")
3367 (synopsis "Octave up push pull transistor fuzz simulation")
3368 (description "This package provides the LV2 plugin \"GxPushPull\", a
3369simulation of a push pull transistor fuzz effect with added high octave."))))
3eb1a964
RW
3370
3371(define-public gx-suppa-tone-bender-lv2
f959991d
RW
3372 (package (inherit gx-guvnor-lv2)
3373 (name "gx-suppa-tone-bender-lv2")
3374 (version "0.1")
3375 (source (origin
48b95a19
RW
3376 (method git-fetch)
3377 (uri (git-reference
3378 (url "https://github.com/brummer10/GxSuppaToneBender.lv2.git")
3379 (commit (string-append "v" version))))
3380 (file-name (string-append name "-" version "-checkout"))
f959991d
RW
3381 (sha256
3382 (base32
48b95a19 3383 "01x6bjmllkmvxfzc5xwdix7w021j26js71awv728cxsmkxgqw0zy"))))
f959991d
RW
3384 (home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
3385 (synopsis "Simulation of the Vox Suppa Tone Bender pedal")
3386 (description "This package provides the LV2 plugin
3eb1a964 3387\"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
f959991d 3388pedal.")))
664f677f
RW
3389
3390(define-public gx-saturator-lv2
d9f65bd3
RW
3391 (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
3392 (revision "3"))
ad67ca3d 3393 (package (inherit gx-vbass-preamp-lv2)
664f677f
RW
3394 (name "gx-saturator-lv2")
3395 (version (string-append "0-" revision "." (string-take commit 9)))
3396 (source (origin
3397 (method git-fetch)
3398 (uri (git-reference
3399 (url "https://github.com/brummer10/GxSaturator.lv2")
3400 (commit commit)))
3401 (sha256
3402 (base32
d9f65bd3 3403 "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
664f677f
RW
3404 (file-name (string-append name "-" version "-checkout"))))
3405 (home-page "https://github.com/brummer10/GxSaturator.lv2")
3406 (synopsis "Saturation effect")
3407 (description "This package provides the LV2 plugin \"GxSaturator\", a
3408saturation effect."))))
89412238
RW
3409
3410(define-public gx-hyperion-lv2
4396e9b5
RW
3411 (package (inherit gx-guvnor-lv2)
3412 (name "gx-hyperion-lv2")
3413 (version "0.1")
3414 (source (origin
37519239
RW
3415 (method git-fetch)
3416 (uri (git-reference
3417 (url "https://github.com/brummer10/GxHyperion.lv2.git")
3418 (commit (string-append "v" version))))
3419 (file-name (string-append name "-" version "-checkout"))
4396e9b5
RW
3420 (sha256
3421 (base32
37519239 3422 "1vx79s6s9if117y2g0ppdja2sv2wcny6xcfl3j1z4cipahnildxf"))))
4396e9b5
RW
3423 (home-page "https://github.com/brummer10/GxHyperion.lv2")
3424 (synopsis "Simulation of the Hyperion Fuzz pedal")
3425 (description "This package provides the LV2 plugin \"GxHyperion\", a
3426simulation of the Hyperion Fuzz pedal.")))
32536f00
RW
3427
3428(define-public gx-voodoo-fuzz-lv2
cf44ebeb
RW
3429 (package (inherit gx-guvnor-lv2)
3430 (name "gx-voodoo-fuzz-lv2")
3431 (version "0.1")
3432 (source (origin
d42c6613
RW
3433 (method git-fetch)
3434 (uri (git-reference
3435 (url "https://github.com/brummer10/GxVoodoFuzz.lv2.git")
3436 (commit (string-append "v" version))))
3437 (file-name (string-append name "-" version "-checkout"))
cf44ebeb
RW
3438 (sha256
3439 (base32
d42c6613 3440 "1v0scphivri1fk4hl20j13f92i48mnx1zsil4hgnadsmm4nsfw43"))))
cf44ebeb
RW
3441 (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
3442 (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
3443 (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
32536f00
RW
3444simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
3445Bosstone circuit, followed by the tone control of the FoxToneMachine in
cf44ebeb 3446parallel with a DarkBooster, followed by a volume control.")))
29f63222
RW
3447
3448(define-public gx-super-fuzz-lv2
34a3ecfe
RW
3449 (package (inherit gx-guvnor-lv2)
3450 (name "gx-super-fuzz-lv2")
3451 (version "0.1")
3452 (source (origin
5057535f
RW
3453 (method git-fetch)
3454 (uri (git-reference
3455 (url "https://github.com/brummer10/GxSuperFuzz.lv2.git")
3456 (commit (string-append "v" version))))
3457 (file-name (string-append name "-" version "-checkout"))
34a3ecfe
RW
3458 (sha256
3459 (base32
5057535f 3460 "1jlljd9hlgfflbiizq47lv1xbbgjyx3v835mf24zmh1q5zsw4np4"))))
34a3ecfe
RW
3461 (home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
3462 (synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
a6f39d7c 3463 (description "This package provides the LV2 plugin \"GxSuperFuzz\", an
29f63222 3464analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
d1e4ad1b 3465pot, which is usually in the housing, is exposed as a control parameter. It
34a3ecfe 3466adjusts the amount of harmonics.")))
40bffdfa
RW
3467
3468(define-public gx-vintage-fuzz-master-lv2
38050923
RW
3469 (package (inherit gx-guvnor-lv2)
3470 (name "gx-vintage-fuzz-master-lv2")
3471 (version "0.1")
3472 (source (origin
0febd673
RW
3473 (method git-fetch)
3474 (uri (git-reference
3475 (url "https://github.com/brummer10/GxVintageFuzzMaster.lv2.git")
3476 (commit (string-append "v" version))))
3477 (file-name (string-append name "-" version "-checkout"))
38050923
RW
3478 (sha256
3479 (base32
0febd673 3480 "02jb211z8rw2qr5r1z5mdxlqgiw6cbc319xpqplvn6k21c59mskv"))))
38050923
RW
3481 (home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
3482 (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
3483 (description "This package provides the LV2 plugin
3484\"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
631f8175
RW
3485
3486(define-public gx-slow-gear-lv2
d921a1f4
RW
3487 (let ((commit "5d37e775b0feef1d82feee94e2a7a2d7e57efe2d")
3488 (revision "3"))
ad67ca3d 3489 (package (inherit gx-vbass-preamp-lv2)
631f8175
RW
3490 (name "gx-slow-gear-lv2")
3491 (version (string-append "0-" revision "." (string-take commit 9)))
3492 (source (origin
3493 (method git-fetch)
3494 (uri (git-reference
3495 (url "https://github.com/brummer10/GxSlowGear.lv2")
3496 (commit commit)))
3497 (sha256
3498 (base32
d921a1f4 3499 "141mz69zkhk3lm54bb6wgpnghb92zm1ig7fv07240cmhydqji1q1"))
631f8175
RW
3500 (file-name (string-append name "-" version "-checkout"))))
3501 (home-page "https://github.com/brummer10/GxSlowGear.lv2")
3502 (synopsis "Slow gear audio effect")
3503 (description "This package provides the LV2 plugin \"GxSlowGear\", a
3504slow gear audio effect to produce volume swells."))))
d75e8f5a
RW
3505
3506(define-public gx-switchless-wah-lv2
cfcef2c2
RW
3507 (let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
3508 (revision "2"))
1b74b126 3509 (package (inherit gx-guvnor-lv2)
d75e8f5a
RW
3510 (name "gx-switchless-wah-lv2")
3511 (version (string-append "0-" revision "." (string-take commit 9)))
3512 (source (origin
3513 (method git-fetch)
3514 (uri (git-reference
3515 (url "https://github.com/brummer10/GxSwitchlessWah.lv2")
3516 (commit commit)))
3517 (sha256
3518 (base32
cfcef2c2 3519 "04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
d75e8f5a
RW
3520 (file-name (string-append name "-" version "-checkout"))))
3521 (home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
3522 (synopsis "Wah emulation with switchless activation")
3523 (description "This package provides the LV2 plugin \"GxSwitchlessWah\",
3524a simulation of an analog Wah pedal with switchless activation."))))
84d53724 3525
a734da86 3526(define-public rkrlv2
b2dcfaf2
RW
3527 ;; This commit corresponds to the beta_3 tag
3528 (let ((commit "7edcb4e29a358623bfd57fa2c27e5da60adfcec3")
3529 (revision "2"))
a734da86
RW
3530 (package
3531 (name "rkrlv2")
3532 (version (git-version "0" revision commit))
3533 (source (origin
3534 (method git-fetch)
3535 (uri (git-reference
3536 (url "https://github.com/ssj71/rkrlv2.git")
3537 (commit commit)))
3538 (sha256
3539 (base32
b2dcfaf2 3540 "16i4ajrib7kb0abdcn4901g8a4lkwkp2fyqyms38dhqq84slyfjs"))
a734da86
RW
3541 (file-name (git-file-name name version))))
3542 (build-system cmake-build-system)
3543 (arguments '(#:tests? #f)) ; there are no tests
3544 (inputs
3545 `(("fftw" ,fftw)
3546 ("libsamplerate" ,libsamplerate)
3547 ("lv2" ,lv2)))
3548 (native-inputs
3549 `(("pkg-config" ,pkg-config)))
3550 (home-page "https://github.com/ssj71/rkrlv2")
3551 (synopsis "Rakarrack effects ported to LV2 plugins")
3552 (description "This package provides the Rakarrack effects as LV2
3553plugins. The ports are done such that hopefully when Rakarrack gets an active
3554maintainer these will get merged into the original project.")
3555 (license license:gpl2))))
3556
84d53724 3557(define-public mod-utilities
fe049d21
RW
3558 (let ((commit "80ea3ea9f52fab7f191671f4810bf90fc955a046")
3559 (revision "2"))
84d53724
RW
3560 (package
3561 (name "mod-utilities")
3562 (version (string-append "0-" revision "." (string-take commit 9)))
3563 (source (origin
3564 (method git-fetch)
3565 (uri (git-reference
3566 (url "https://github.com/moddevices/mod-utilities.git")
3567 (commit commit)))
fe049d21 3568 (file-name (string-append name "-" version "-checkout"))
84d53724
RW
3569 (sha256
3570 (base32
fe049d21 3571 "1v55zmzmlg0ka7341x5lsvb44amy17vk27s669ps1basd1bk5s5v"))))
84d53724
RW
3572 (build-system gnu-build-system)
3573 (arguments
3574 `(#:tests? #f ; there are no tests
3575 #:make-flags
3576 (list (string-append "INSTALL_PATH="
3577 (assoc-ref %outputs "out")
fe049d21
RW
3578 "/lib/lv2")
3579 (string-append "PREFIX=" (assoc-ref %outputs "out"))
3580 "CC=gcc")
84d53724
RW
3581 #:phases
3582 (modify-phases %standard-phases
3583 (delete 'configure))))
3584 (inputs
3585 `(("lv2" ,lv2)))
3586 (home-page "https://github.com/moddevices/mod-utilities")
3587 (synopsis "LV2 utility plugins")
3588 (description "This package provides LV2 audio utility plugins, such as
3589filters, crossovers, simple gain plugins without zipper noise, switch box
3590plugins, a switch trigger, a toggle switch, and a peakmeter.")
3591 (license license:gpl2+))))
d3db5efb 3592
951581a2 3593(define-public ingen
19748414
RW
3594 (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
3595 (revision "2"))
951581a2
RW
3596 (package
3597 (name "ingen")
3598 (version (string-append "0.0.0-" revision "."
3599 (string-take commit 9)))
3600 (source
3601 (origin
3602 (method git-fetch)
3603 (uri (git-reference
0d0252e4 3604 (url "https://git.drobilla.net/ingen.git")
951581a2
RW
3605 (commit commit)))
3606 (file-name (string-append name "-" version "-checkout"))
3607 (sha256
3608 (base32
19748414 3609 "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
951581a2
RW
3610 (build-system waf-build-system)
3611 (arguments
f9dcf79f
RW
3612 `(#:python ,python-2
3613 #:tests? #f ; no "check" target
951581a2
RW
3614 #:configure-flags (list "--no-webkit")
3615 #:phases
3616 (modify-phases %standard-phases
3617 (add-after 'unpack 'patch-wscript
3618 (lambda* (#:key outputs #:allow-other-keys)
3619 (let ((out (assoc-ref outputs "out")))
3620 (substitute* "wscript"
3621 ;; FIXME: Our version of lv2specgen.py does not behave as
3622 ;; expected. Maybe this requires a development version of
3623 ;; LV2.
3624 (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
3625 ;; Add libraries to RUNPATH.
3626 (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
3627 (string-append prefix
3628 "linkflags=[\"-Wl,-rpath="
3629 out "/lib" "\"]," line)))
3630 (substitute* '("src/wscript"
3631 "src/server/wscript")
3632 ;; Add libraries to RUNPATH.
3633 (("bld.env.PTHREAD_LINKFLAGS" line)
3634 (string-append line
3635 " + [\"-Wl,-rpath=" out "/lib" "\"]")))
3636 (substitute* "src/client/wscript"
3637 ;; Add libraries to RUNPATH.
3638 (("^(.+)target.*= 'ingen_client'," line prefix)
3639 (string-append prefix
3640 "linkflags=[\"-Wl,-rpath="
3641 out "/lib" "\"]," line)))
3642 (substitute* "src/gui/wscript"
3643 ;; Add libraries to RUNPATH.
3644 (("^(.+)target.* = 'ingen_gui.*" line prefix)
3645 (string-append prefix
3646 "linkflags=[\"-Wl,-rpath="
3647 out "/lib" "\"]," line))))
3648 #t)))))
3649 (inputs
3650 `(("boost" ,boost)
3651 ("python-rdflib" ,python-rdflib)
3652 ("python" ,python)
3653 ("jack" ,jack-1)
a2467954 3654 ("lv2" ,lv2)
951581a2
RW
3655 ("lilv" ,lilv)
3656 ("raul" ,raul-devel)
3657 ("ganv" ,ganv-devel)
3658 ("suil" ,suil)
3659 ("serd" ,serd)
3660 ("sord" ,sord)
3661 ("sratom" ,sratom)
3662 ("gtkmm" ,gtkmm-2)))
3663 (native-inputs
3664 `(("pkg-config" ,pkg-config)
3665 ("python-pygments" ,python-pygments)))
0d0252e4 3666 (home-page "https://drobilla.net/software/ingen")
951581a2
RW
3667 (synopsis "Modular audio processing system")
3668 (description "Ingen is a modular audio processing system for JACK and
3669LV2 based systems. Ingen is built around LV2 technology and a strict
3670separation of engine from user interface. The engine is controlled
3671exclusively through a protocol, and can execute as a headless process, with an
3672in-process GUI, or as an LV2 plugin. The GUI can run as a program which
3673communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
3674communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
3675plugin on any system where Ingen is installed. This allows users to visually
3676develop custom plugins for use in other applications without programming.")
3677 (license license:agpl3+))))
3678
b3410b44
RW
3679(define-public qmidiarp
3680 (package
3681 (name "qmidiarp")
b6313997 3682 (version "0.6.5")
b3410b44
RW
3683 (source (origin
3684 (method url-fetch)
3685 (uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
3686 version "/qmidiarp-" version ".tar.bz2"))
3687 (sha256
3688 (base32
b6313997 3689 "043yh1p0rrbj1v840y27529m9260g55gvh1km8az4jxy7mns58r2"))))
b3410b44
RW
3690 (build-system gnu-build-system)
3691 (arguments
3692 `(#:configure-flags
0fe041bd 3693 (list "--enable-qt5")))
b3410b44
RW
3694 (inputs
3695 `(("qtbase" ,qtbase)
3696 ("alsa-lib" ,alsa-lib)
3697 ("jack" ,jack-1)
3698 ("liblo" ,liblo)
3699 ("lv2" ,lv2)))
3700 (native-inputs
3701 `(("pkg-config" ,pkg-config)
3702 ("qttools" ,qttools)))
3703 (home-page "http://qmidiarp.sourceforge.net/")
3704 (synopsis "MIDI arpeggiator")
3705 (description "QMidiArp is an advanced MIDI arpeggiator, programmable step
3706sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
3707modules running in parallel.")
3708 (license license:gpl2+)))
3709
ff49437d
RW
3710(define-public qmidiroute
3711 (package
3712 (name "qmidiroute")
3713 (version "0.4.0")
3714 (source (origin
3715 (method url-fetch)
3716 (uri (string-append "mirror://sourceforge/alsamodular/QMidiRoute/"
3717 version "/qmidiroute-" version ".tar.bz2"))
3718 (sha256
3719 (base32
3720 "19v1ppbglgl3z9v7xdqc0k33w71cqq8a7d6ihvfs7iz77dygrih9"))))
3721 (build-system gnu-build-system)
3722 (arguments
3723 `(#:configure-flags
0fe041bd 3724 (list "--enable-qt5")))
ff49437d
RW
3725 (inputs
3726 `(("qtbase" ,qtbase)
3727 ("alsa-lib" ,alsa-lib)))
3728 (native-inputs
3729 `(("pkg-config" ,pkg-config)
3730 ("qttools" ,qttools)))
3731 (home-page "http://alsamodular.sourceforge.net/")
3732 (synopsis "MIDI event router and filter")
3733 (description "QMidiRoute is a MIDI event router and filter. MIDI note,
3734control change, program change and pitch bend events are logged, and can be
3735filtered, redirected and transformed into other events according to MIDI maps
3736defined as tabs in the main control surface.")
3737 (license license:gpl2+)))
3738
5a66e25c
RW
3739(define-public seq24
3740 (package
3741 (name "seq24")
3742 (version "0.9.3")
3743 (source (origin
3744 (method url-fetch)
3745 (uri (string-append "https://launchpad.net/seq24/trunk/"
3746 version "/+download/seq24-"
3747 version ".tar.bz2"))
3748 (sha256
3749 (base32
3750 "12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
3751 (patches (search-patches "seq24-rename-mutex.patch"))))
3752 (build-system gnu-build-system)
5a66e25c
RW
3753 (inputs
3754 `(("gtkmm" ,gtkmm-2)
3755 ("alsa-lib" ,alsa-lib)
3756 ("jack" ,jack-1)
3757 ("lash" ,lash)))
3758 (native-inputs
3759 `(("pkg-config" ,pkg-config)))
3760 (home-page "https://edge.launchpad.net/seq24/")
3761 (synopsis "Real-time MIDI sequencer")
3762 (description "Seq24 is a real-time MIDI sequencer. It was created to
3763provide a very simple interface for editing and playing MIDI loops.")
3764 (license license:gpl2+)))
3765
d3db5efb
LF
3766(define-public python-discogs-client
3767 (package
3768 (name "python-discogs-client")
3769 (version "2.2.1")
3770 (source (origin
3771 (method url-fetch)
3772 (uri (pypi-uri "discogs-client" version))
3773 (sha256
3774 (base32
3775 "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
3776 (build-system python-build-system)
3777 (propagated-inputs
3778 `(("python-oauthlib" ,python-oauthlib)
3779 ("python-requests" ,python-requests)))
3780 (native-inputs
3781 `(("python-six" ,python-six)))
3782 (home-page "https://github.com/discogs/discogs_client")
3783 (synopsis "Official Python client for the Discogs API")
3784 (description "This is the official Discogs API client for Python. It enables
3785you to query the Discogs database for information on artists, releases, labels,
3786users, Marketplace listings, and more. It also supports OAuth 1.0a
3787authorization, which allows you to change user data such as profile information,
3788collections and wantlists, inventory, and orders.")
80983df3 3789 (license license:bsd-2)))
d3db5efb
LF
3790
3791(define-public python2-discogs-client
80983df3 3792 (package-with-python2 python-discogs-client))
a4f05b46 3793
3794(define-public libsmf
3795 (package
3796 (name "libsmf")
3797 (version "1.3")
3798 (source
3799 (origin
3800 (method url-fetch)
3801 ;; SF download page says development moved, but the link it points to
3802 ;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
3803 ;; it but made no release so far (https://github.com/stump/libsmf).
3804 (uri (string-append "mirror://sourceforge/libsmf/libsmf/"
3805 version "/libsmf-" version ".tar.gz"))
3806 (sha256
3807 (base32
3808 "16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
3809 (build-system gnu-build-system)
3810 (outputs '("out"
3811 "static")) ; 88KiB of .a files
3812 (arguments
3813 `(#:phases
3814 (modify-phases %standard-phases
3815 (add-after 'install 'move-static-libraries
3816 (lambda* (#:key outputs #:allow-other-keys)
3817 ;; Move static libraries to the "static" output.
3818 (let* ((out (assoc-ref outputs "out"))
3819 (lib (string-append out "/lib"))
3820 (static (assoc-ref outputs "static"))
3821 (slib (string-append static "/lib")))
3822 (mkdir-p slib)
3823 (for-each (lambda (file)
3824 (install-file file slib)
3825 (delete-file file))
3826 (find-files lib "\\.a$"))
3827 #t))))))
3828 (inputs
3829 `(("readline" ,readline)
3830 ("glib" ,glib)))
3831 (native-inputs
3832 `(("doxygen" ,doxygen)
3833 ("pkg-config" ,pkg-config)))
3834 (home-page "http://libsmf.sourceforge.net/")
3835 (synopsis "Standard MIDI File format library")
3836 (description
3837 "LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
3838conversions between time and pulses, tempo map handling and more. The only dependencies
3839are a C compiler and glib. Full API documentation and examples are included.")
3840 (license license:bsd-2)))
a42619e5
RF
3841
3842(define-public lmms
3843 (package
3844 (name "lmms")
e5c44790 3845 (version "1.2.1")
a42619e5
RF
3846 (source
3847 (origin
3a0592ae
RW
3848 (method git-fetch)
3849 (uri (git-reference
3850 (url "https://github.com/LMMS/lmms.git")
3851 (commit (string-append "v" version))))
3852 (file-name (git-file-name name version))
a42619e5
RF
3853 (sha256
3854 (base32
e5c44790 3855 "1gx730z361xx30iqbsm99aam1k2c8yf561gcay6sryyjksb4w1wy"))))
a42619e5
RF
3856 (build-system cmake-build-system)
3857 (arguments
3858 `(#:tests? #f ; no tests
e5c44790
KK
3859 ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
3860 ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
3861 ;; Also, explicitly disabling VST support gets rid of the in-tree
3862 ;; dependency on qt5-x11embed.
3863 #:configure-flags '("-DWANT_QT5=ON"
3864 "-DWANT_VST=OFF")
a42619e5
RF
3865 #:phases
3866 (modify-phases %standard-phases
e5c44790
KK
3867 (add-after 'unpack 'unpack-rpmalloc
3868 (lambda* (#:key inputs #:allow-other-keys)
3869 (copy-recursively (assoc-ref inputs "rpmalloc")
3870 "src/3rdparty/rpmalloc/rpmalloc")
3871 #t))
ab2ccf4c
KK
3872 (add-before 'configure 'set-ldflags
3873 (lambda* (#:key outputs #:allow-other-keys)
3874 (setenv "LDFLAGS"
3875 (string-append
3876 "-Wl,-rpath=\""
3877 (assoc-ref outputs "out") "/lib/lmms"
3878 ":"
3879 (assoc-ref outputs "out") "/lib/lmms/ladspa"
3880 "\""))
3881 #t))
ab2ccf4c
KK
3882 (add-before 'reset-gzip-timestamps 'make-manpages-writable
3883 (lambda* (#:key outputs #:allow-other-keys)
3884 (map (lambda (file)
3885 (make-file-writable file))
3886 (find-files (string-append (assoc-ref outputs "out")
3887 "/share/man")
3888 ".*\\.gz$"))
3889 #t)))))
a42619e5 3890 (native-inputs
e5c44790
KK
3891 `(("pkg-config" ,pkg-config)
3892 ("qttools" ,qttools)
3893 ;; rpmalloc is a public domain memory allocator. This version specified
3894 ;; below is the version required by LMMS.
3895 ;; To get the new commit of rpmalloc to use here, run
3896 ;; `git submodule--helper list | grep rpmalloc | cut -f2 -d' '`
3897 ;; in the cloned LMMS repository.
3898 ("rpmalloc"
3899 ,(origin
3900 (method git-fetch)
3901 (uri (git-reference
3902 (url "https://github.com/mjansson/rpmalloc.git")
3903 (commit "b5bdc18051bb74a22f0bde4bcc90b01cf590b496")))
3904 (sha256
3905 (base32
3906 "0g9pls46iggg7rdm65vzfj8nyr3v2n5xkp54c4qbh9hhalpsw4ay"))))))
a42619e5
RF
3907 (inputs
3908 `(("sdl" ,sdl)
e5c44790
KK
3909 ("qtbase" ,qtbase)
3910 ("qtx11extras" ,qtx11extras)
a42619e5
RF
3911 ("fltk" ,fltk)
3912 ("libogg" ,libogg)
3913 ("libsamplerate" ,libsamplerate)
e5c44790 3914 ("fluidsynth" ,fluidsynth)
a42619e5
RF
3915 ("libvorbis" ,libvorbis)
3916 ("alsa-lib" ,alsa-lib)
3917 ("portaudio" ,portaudio)
3918 ("ladspa" ,ladspa)
3919 ("libsndfile1" ,libsndfile)
3920 ("libxft" ,libxft)
3921 ("freetype2" ,freetype)
4bfc925a
P
3922 ("fftw3f" ,fftwf)
3923 ("jack" ,jack-1)))
a42619e5
RF
3924 (home-page "https://lmms.io/")
3925 (synopsis "Music composition tool")
3926 (description "LMMS is a digital audio workstation. It includes tools for sequencing
3927melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
3928audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
3929 (license license:gpl2+)))
a7a7186c
NG
3930
3931(define-public musescore
3932 (package
3933 (name "musescore")
436dd1de 3934 (version "3.4.2")
3212b964
NG
3935 (source
3936 (origin
3937 (method git-fetch)
3938 (uri (git-reference
3939 (url "https://github.com/musescore/MuseScore.git")
3940 (commit (string-append "v" version))))
3941 (file-name (git-file-name name version))
3942 (sha256
436dd1de 3943 (base32 "14a9sg87nx7xca1qfbkplnpbx9pyg9k9vy87dq0g401ag6g6bi66"))
3212b964
NG
3944 (modules '((guix build utils)))
3945 (snippet
3946 ;; Un-bundle OpenSSL and remove unused libraries.
3947 '(begin
3948 (for-each delete-file-recursively
3949 '("thirdparty/freetype"
3950 "thirdparty/openssl"
3951 "thirdparty/portmidi"))
3952 #t))))
11d44d0b 3953 (build-system cmake-build-system)
a7a7186c 3954 (arguments
11d44d0b 3955 `(#:configure-flags
3212b964
NG
3956 `("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
3957 "-DBUILD_WEBENGINE=OFF"
8d611ef0
NG
3958 "-DDOWNLOAD_SOUNDFONT=OFF"
3959 "-DUSE_SYSTEM_FREETYPE=ON")
11d44d0b
NG
3960 ;; There are tests, but no simple target to run. The command used to
3961 ;; run them is:
a7a7186c
NG
3962 ;;
3963 ;; make debug && sudo make installdebug && cd \
3964 ;; build.debug/mtest && make && ctest
3965 ;;
3966 ;; Basically, it requires to start a whole new build process.
3967 ;; So we simply skip them.
11d44d0b 3968 #:tests? #f))
a7a7186c
NG
3969 (inputs
3970 `(("alsa-lib" ,alsa-lib)
3971 ("freetype" ,freetype)
3972 ("gtk+-bin" ,gtk+ "bin") ;for gtk-update-icon-cache
3973 ("jack" ,jack-1)
3974 ("lame" ,lame)
3975 ("libogg" ,libogg)
3976 ("libsndfile" ,libsndfile)
3977 ("libvorbis" ,libvorbis)
3978 ("portaudio" ,portaudio)
b3891a25 3979 ("portmidi" ,portmidi)
a7a7186c
NG
3980 ("pulseaudio" ,pulseaudio)
3981 ("qtbase" ,qtbase)
3982 ("qtdeclarative" ,qtdeclarative)
436dd1de 3983 ("qtquickcontrols2" ,qtquickcontrols2)
a7a7186c
NG
3984 ("qtscript" ,qtscript)
3985 ("qtsvg" ,qtsvg)
a7a7186c
NG
3986 ("qtxmlpatterns" ,qtxmlpatterns)))
3987 (native-inputs
11d44d0b 3988 `(("pkg-config" ,pkg-config)
a7a7186c
NG
3989 ("qttools" ,qttools)))
3990 (synopsis "Music composition and notation software")
3991 (description "MuseScore is a music score typesetter. Its main purpose is
3992the creation of high-quality engraved musical scores in a WYSIWYG environment.
3993
3994It supports unlimited staves, linked parts and part extraction, tablature,
3995MIDI input, percussion notation, cross-staff beaming, automatic transposition,
3996lyrics (multiple verses), fretboard diagrams, and in general everything
3997commonly used in sheet music. Style options and style sheets to change the
3998appearance and layout are provided.
3999
4000MuseScore can also play back scores through the built-in sequencer and SoundFont
4001sample library.")
4002 (home-page "https://musescore.org")
4003 (license license:gpl2)))
2434f5ce 4004
43188faf
RW
4005(define-public muse-sequencer
4006 (package
4007 (name "muse-sequencer")
4008 (version "3.0.0")
4009 (source (origin
4010 (method git-fetch)
4011 (uri (git-reference
4012 (url "https://github.com/muse-sequencer/muse.git")
4013 (commit (string-append "muse_"
4014 (string-map (lambda (c)
4015 (if (char=? c #\.)
4016 #\_ c)) version)))))
78fee44e 4017 (file-name (git-file-name name version))
43188faf
RW
4018 (sha256
4019 (base32
4020 "1nninz8qyqlxxjdnrm79y3gr3056pga9l2fsqh674jd3cjvafya3"))))
4021 (build-system cmake-build-system)
4022 (arguments
4023 `(#:tests? #f ; there is no test target
4024 #:configure-flags
4025 (list "-DENABLE_LV2_SUPPLIED=OFF"
4026 "-DENABLE_RTAUDIO=OFF" ; FIXME: not packaged
4027 "-DENABLE_INSTPATCH=OFF" ; FIXME: not packaged
4028 "-DENABLE_VST_NATIVE=OFF")
4029 #:phases
4030 (modify-phases %standard-phases
4031 (add-after 'unpack 'chdir
4032 (lambda _ (chdir "muse3"))))))
4033 (inputs
4034 `(("alsa-lib" ,alsa-lib)
4035 ("lash" ,lash)
4036 ("jack" ,jack-1)
4037 ("liblo" ,liblo)
4038 ("dssi" ,dssi)
4039 ("ladspa" ,ladspa)
4040 ("lv2" ,lv2)
4041 ("lilv" ,lilv)
4042 ("sord" ,sord)
4043 ("libsndfile" ,libsndfile)
4044 ("libsamplerate" ,libsamplerate)
4045 ("fluidsynth" ,fluidsynth)
4046 ("pcre" ,pcre)
4047 ("qtbase" ,qtbase)
4048 ("qtsvg" ,qtsvg)))
4049 (native-inputs
4050 `(("pkg-config" ,pkg-config)
4051 ("qttools" ,qttools)))
9bbb4920 4052 (home-page "https://muse-sequencer.github.io/")
43188faf
RW
4053 (synopsis "MIDI/Audio sequencer")
4054 (description "MusE is a MIDI/Audio sequencer with recording and editing
4055capabilities. Its audio sequencer supports the LADSPA, DSSI, and LV2 audio
4056plugin formats; the MIDI sequencer provides a piano roll, a drum editor, a
4057list view, and a score editor. MusE aims to be a complete multitrack virtual
4058studio.")
4059 (license license:gpl2+)))
4060
2434f5ce
DM
4061(define-public dssi
4062 (package
4063 (name "dssi")
4064 (version "1.1.1")
4065 (source (origin
4066 (method url-fetch)
4067 (uri (string-append
4068 "mirror://sourceforge/dssi/dssi/" version
4069 "/dssi-" version ".tar.gz"))
4070 (sha256
4071 (base32
4072 "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"))))
4073 (build-system gnu-build-system)
4074 (inputs
4075 `(("alsa-lib" ,alsa-lib)
0e78801a 4076 ("jack" ,jack-1)
2434f5ce
DM
4077 ("ladspa" ,ladspa)
4078 ("libsamplerate" ,libsamplerate)
4079 ("libsndfile" ,libsndfile)
4080 ("liblo" ,liblo)))
4081 (native-inputs
4082 `(("pkg-config" ,pkg-config)))
4083 (synopsis "Audio plugin API for soft synths and effects")
4084 (description "DSSI is a plugin API for software instruments with user
4085interfaces, permitting them to be hosted in-process by audio applications.
4086It is intended to be simple, GUI-toolkit-agnostic, and slightly biased
4087towards familiarity with MIDI. The DSSI distribution package contains
4088a JACK/ALSA-sequencer reference host and some plugins as well as the
4089specification and header.")
4090 (home-page "http://dssi.sourceforge.net/")
4091 ;; The DSSI interface is LGPL2.1+, some tests and examples are GPL2+.
4092 ;; The vast majority of examples are in the public domain.
4093 (license (list license:lgpl2.1+ license:gpl2+))))
9bc38f28
DM
4094
4095(define-public rosegarden
4096 (package
4097 (name "rosegarden")
0d5101c3 4098 (version "18.12")
9bc38f28
DM
4099 (source (origin
4100 (method url-fetch)
4101 (uri (string-append
4102 "mirror://sourceforge/rosegarden/rosegarden/"
4103 version "/rosegarden-" version ".tar.bz2"))
4104 (sha256
4105 (base32
0d5101c3 4106 "15i9fm0vkn3wsgahaxqi1j5zs0wc0j3wdwml0x49084gk2p328vb"))))
9bc38f28
DM
4107 (build-system cmake-build-system)
4108 (arguments
0d5101c3 4109 `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
9bc38f28
DM
4110 #:phases
4111 (modify-phases %standard-phases
4112 (add-after 'unpack 'patch-tests
4113 (lambda _
4114 (substitute* "CMakeLists.txt"
4115 (("BUILD_TESTING OFF") "BUILD_TESTING ON")
4116 ;; Make tests work.
4117 ((" -fvisibility=hidden") ""))
4118 #t))
4119 (add-after 'unpack 'fix-references
4120 (lambda* (#:key inputs #:allow-other-keys)
4121 (substitute* "src/gui/general/ProjectPackager.cpp"
4122 (("\"flac\\>")
4123 (string-append "\"" (assoc-ref inputs "flac") "/bin/flac"))
4124 (("\"wavpack\\>")
4125 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wavpack"))
4126 (("\"wvunpack\\>")
4127 (string-append "\"" (assoc-ref inputs "wavpack") "/bin/wvunpack"))
4128 (("\"bash\\>")
4129 (string-append "\"" (assoc-ref inputs "bash") "/bin/bash"))
4130 (("\"tar\\>")
4131 (string-append "\"" (assoc-ref inputs "tar") "/bin/tar")))
4132 (substitute* "src/gui/general/LilyPondProcessor.cpp"
4133 (("\"convert-ly\\>")
4134 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
4135 (("\"lilypond\\>")
4136 (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))
4137 #t))
4138 (add-after 'unpack 'make-reproducible
4139 (lambda _
4140 ;; Prevent Last-Modified from being written.
4141 ;; The "*.qm" files that are used in locale.qrc would have a new
4142 ;; mtime otherwise that is written into qrc_locale.cpp in the
4143 ;; end - except when we disable it.
4144 (substitute* "src/CMakeLists.txt"
4145 (("COMMAND [$][{]QT_RCC_EXECUTABLE[}]")
4146 "COMMAND ${QT_RCC_EXECUTABLE} --format-version 1")
4147 ;; Extraneous.
4148 ;(("qt5_add_resources[(]rg_SOURCES ../data/data.qrc[)]")
4149 ; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
4150 )
4151 ;; Make hashtable traversal order predicable.
4152 (setenv "QT_RCC_TEST" "1") ; important
4153 #t))
4154 (add-before 'check 'prepare-check
4155 (lambda _
4156 (setenv "QT_QPA_PLATFORM" "offscreen")
4157 ;; Tests create files in $HOME/.local/share/rosegarden .
4158 (mkdir-p "/tmp/foo")
4159 (setenv "HOME" "/tmp/foo")
9bf98520 4160 (setenv "XDG_RUNTIME_DIR" "/tmp/foo")
9bc38f28
DM
4161 #t)))))
4162 (inputs
4163 `(("alsa-lib" ,alsa-lib)
4164 ("bash" ,bash)
4165 ("dssi" ,dssi)
4166 ("flac" ,flac)
4167 ("fftwf" ,fftwf)
b94f250e 4168 ("jack" ,jack-1)
9bc38f28
DM
4169 ("ladspa" ,ladspa)
4170 ("liblo" ,liblo)
4171 ("libsamplerate" ,libsamplerate)
4172 ("lilypond" ,lilypond)
4173 ("lrdf" ,lrdf)
4174 ("qtbase" ,qtbase)
4175 ("tar" ,tar)
4176 ("lirc" ,lirc)
4177 ("wavpack" ,wavpack)
4178 ("zlib" ,zlib)))
4179 (native-inputs
4180 `(("pkg-config" ,pkg-config)
4181 ("qtlinguist" ,qttools)))
4182 (synopsis "Music composition and editing environment based around a MIDI
4183sequencer")
4184 (description "Rosegarden is a music composition and editing environment
4185based around a MIDI sequencer that features a rich understanding of music
4186notation and includes basic support for digital audio.")
9bf98520 4187 (home-page "https://www.rosegardenmusic.com/")
9bc38f28 4188 (license license:gpl2)))
30655652 4189
643817e4 4190(define-public patchmatrix
559e06b6
RW
4191 (package
4192 (name "patchmatrix")
4193 (version "0.16.0")
4194 (source (origin
4195 (method git-fetch)
4196 (uri (git-reference
4197 (url "https://github.com/OpenMusicKontrollers/patchmatrix.git")
4198 (commit version)))
4199 (file-name (git-file-name "patchmatrix" version))
4200 (sha256
4201 (base32
4202 "020vp7zzxxzzjfic57vkpg68dm8hi98ilr1bj88xjsv6i47xmjbn"))))
4203 (build-system meson-build-system)
4204 (arguments '(#:tests? #f)) ; no test target
4205 (inputs
4206 `(("jack" ,jack-1)
4207 ("lv2" ,lv2)
4208 ("mesa" ,mesa)))
4209 (native-inputs
4210 `(("pkg-config" ,pkg-config)))
4211 (home-page "https://github.com/OpenMusicKontrollers/patchmatrix")
4212 (synopsis "Simple JACK patch bay")
4213 (description "PatchMatrix is a patch bay for the JACK audio connection
643817e4
RW
4214kit. It provides a patch bay in flow matrix style for audio, MIDI, CV, and
4215OSC connections.")
559e06b6 4216 (license license:artistic2.0)))
643817e4 4217
30655652
RW
4218(define-public sorcer
4219 (package
4220 (name "sorcer")
4221 (version "1.1.3")
4222 (source (origin
4223 (method url-fetch)
4224 (uri (string-append "https://github.com/openAVproductions/"
4225 "openAV-Sorcer/archive/release-"
4226 version ".tar.gz"))
4227 (file-name (string-append name "-" version ".tar.gz"))
4228 (sha256
4229 (base32
4230 "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0"))))
4231 (build-system cmake-build-system)
4232 (arguments
4233 `(#:tests? #f ; no tests included
4234 #:phases
4235 (modify-phases %standard-phases
e5af1f4a
EF
4236 (add-after 'unpack 'remove-architecture-specific-flags
4237 (lambda _
4238 (substitute* "CMakeLists.txt"
4239 (("-msse2 -mfpmath=sse") ""))
4240 #t))
30655652
RW
4241 (add-after 'unpack 'build-faust-sources
4242 (lambda* (#:key inputs #:allow-other-keys)
4243 (with-directory-excursion "faust"
4244 (delete-file "main.cpp")
d7e24652
RW
4245 (invoke "faust" "-i"
4246 "-a" "lv2synth.cpp"
4247 "-o" "main.cpp" "main.dsp")))))))
30655652
RW
4248 (inputs
4249 `(("boost" ,boost)
4250 ("lv2" ,lv2)
4251 ("ntk" ,ntk)))
4252 (native-inputs
4253 `(("faust" ,faust)
4254 ("pkg-config" ,pkg-config)))
4255 (home-page "http://openavproductions.com/sorcer/")
4256 (synopsis "Wavetable LV2 plugin synth")
4257 (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
4258the electronic or dubstep genre.")
4259 (license license:gpl3+)))
60b7ed9c 4260
f7ce2134
RW
4261(define-public sonivox-eas
4262 (package
4263 (name "sonivox-eas")
4264 (version "1.1.0")
4265 (source (origin
4266 (method git-fetch)
4267 (uri (git-reference
4268 (url "https://github.com/pedrolcl/Linux-SonivoxEas.git")
4269 (commit (string-append "v" version))))
4270 (file-name (string-append name "-" version "-checkout"))
4271 (sha256
4272 (base32
4273 "0l9gs00p5g4k4qy6i7nv1mfi2n2wnsycwjrgrh9hxzam4irf2mw2"))))
4274 (build-system cmake-build-system)
4275 (arguments '(#:tests? #f)) ; there are no tests
4276 (inputs
4277 `(("alsa-lib" ,alsa-lib)
4278 ("drumstick" ,drumstick)
4279 ("pulseaudio" ,pulseaudio)
4280 ("qtbase" ,qtbase)))
4281 (native-inputs
4282 `(("pkg-config" ,pkg-config)))
4283 (home-page "https://github.com/pedrolcl/Linux-SonivoxEas")
4284 (synopsis "MIDI synthesizer library")
4285 (description "This project is a real time General MIDI synthesizer based
4286on the Sonivox EAS Synthesizer by Google. It does not need external
4287soundfonts, using embedded samples instead.")
4288 ;; Sonivox is released under the ASL2.0; the rest of the code is under
4289 ;; GPLv2+.
4290 (license (list license:gpl2+ license:asl2.0))))
92b36e3a
RW
4291
4292(define-public whysynth
4293 (package
4294 (name "whysynth")
4295 (version "20170701")
4296 (source (origin
4297 (method url-fetch)
4298 (uri (string-append "http://smbolton.com/whysynth/whysynth-"
4299 version ".tar.bz2"))
4300 (sha256
4301 (base32
4302 "02qbn0hbvn1iym4zxv35b201blg31yjpgh71h8db0j5zls2xc0m6"))))
4303 (build-system gnu-build-system)
4304 (inputs
4305 `(("dssi" ,dssi)
4306 ("liblo" ,liblo)
4307 ("fftwf" ,fftwf)
4308 ("gtk+" ,gtk+-2)
4309 ("ladspa" ,ladspa)
4310 ("alsa-lib" ,alsa-lib)))
4311 (native-inputs
4312 `(("pkg-config" ,pkg-config)))
4313 (home-page "http://smbolton.com/whysynth.html")
4314 (synopsis "DSSI software synthesizer")
4315 (description "WhySynth is a versatile softsynth which operates as a plugin
4316for the DSSI Soft Synth Interface. A brief list of features:
4317
4318@enumerate
4319@item 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice.
4320@item 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle,
4321 asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase
4322 distortion.
4323@item 10 filter modes.
4324@item flexible modulation and mixdown options, plus effects.
4325@end enumerate
4326")
4327 (license license:gpl2+)))
6b445c57 4328
4329(define-public libdiscid
4330 (package
4331 (name "libdiscid")
4332 (version "0.6.2")
4333 (source
4334 (origin
4335 (method url-fetch)
4336 (uri (string-append
4337 "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-"
4338 version ".tar.gz"))
4339 (sha256
4340 (base32
4341 "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r"))))
4342 (arguments `(#:test-target "check"))
4343 (build-system cmake-build-system)
4344 (home-page "https://musicbrainz.org/doc/libdiscid")
4345 (synopsis "Disc id reader library")
4346 (description "libdiscid is a C library for creating MusicBrainz and freedb
4347disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates
4348an identifier which can be used to lookup the CD at MusicBrainz. Additionally,
4349it provides a submission URL for adding the disc ID to the database and gathers
4350ISRCs and the MCN (=UPC/EAN) from disc.")
4351 (license license:lgpl2.1+)))
1ea29aa0 4352
1331a6c0
GH
4353(define-public python-discid
4354 (package
4355 (name "python-discid")
4356 (version "1.1.1")
4357 (source
4358 (origin
4359 (method url-fetch)
4360 (uri (pypi-uri "discid" version))
4361 (sha256
4362 (base32
4363 "1fgp67nhqlbvhhwrcxq5avil7alpzw4s4579hlyvxzbphdnbz8vq"))))
4364 (build-system python-build-system)
4365 (inputs
4366 `(("libdiscid" ,libdiscid)))
4367 (arguments
4368 `(#:phases
4369 (modify-phases %standard-phases
4370 (add-before 'build 'set-libdiscid
4371 ;; Set path of libdiscid
4372 (lambda* (#:key inputs #:allow-other-keys)
4373 (let ((discid (assoc-ref inputs "libdiscid")))
4374 (substitute* "discid/libdiscid.py"
4375 (("lib_name = (.*)$" all name)
4376 (string-append "lib_name = \"" discid
4377 "/lib/libdiscid.so.0\"\n")))
4378 #t))))))
4379 (home-page "https://python-discid.readthedocs.io/")
4380 (synopsis "Python bindings for Libdiscid")
4381 (description
4382 "This package provides Python bindings for the Libdiscid library. The
4383main purpose is the calculation of @url{https://musicbrainz.org/doc/Disc%20ID,
4384Disc IDs} for use with the MusicBrainz database. Additionally the disc
4385@dfn{Media Catalog Number} (MCN) and track @dfn{International Standard
4386Recording Code} (ISRC) can be extracted.}")
4387 (license license:lgpl3+)))
4388
1ea29aa0 4389(define-public libmusicbrainz
4390 (package
4391 (name "libmusicbrainz")
4392 (version "5.1.0")
4393 (source
4394 (origin
4395 (method url-fetch)
4396 (uri (string-append
4397 "https://github.com/metabrainz/libmusicbrainz/releases/download/release-"
4398 version "/libmusicbrainz-" version ".tar.gz"))
4399 (sha256
4400 (base32
8c71a52c 4401 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7"))))
1ea29aa0 4402 (build-system cmake-build-system)
69cb939e
RW
4403 (arguments
4404 `(#:phases
4405 (modify-phases %standard-phases
4406 (replace 'check
4407 (lambda _
4408 ;; requires network connections
4409 ;; (invoke "tests/mbtest")
4410 (invoke "tests/ctest")
4411 #t)))))
1ea29aa0 4412 (inputs `(("neon" ,neon)
4413 ("libxml2" ,libxml2)))
4414 (native-inputs `(("pkg-config" ,pkg-config)))
4415 (home-page "https://musicbrainz.org/doc/libmusicbrainz")
4416 (synopsis "MusicBrainz client library")
4417 (description "The MusicBrainz Client Library (libmusicbrainz), also known as
4418mb_client, is a development library geared towards developers who wish to add
4419MusicBrainz lookup capabilities to their applications.")
4420 (license license:lgpl2.1+)))
87d1b7b0 4421
b0c2c5ab
LC
4422(define-public perl-musicbrainz-discid
4423 (package
4424 (name "perl-musicbrainz-discid")
4425 (version "0.04")
4426 (source (origin
4427 (method url-fetch)
4428 (uri (string-append
4429 "mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-"
4430 version ".tar.gz"))
4431 (sha256
4432 (base32
4433 "1i4qk1qfcmxdibqkyfjrrjdq2zk42vjcz590qgiyc47fi9p6xx1j"))))
4434 (build-system perl-build-system)
4435 (native-inputs `(("pkg-config" ,pkg-config)
4436 ("which" ,which)))
4437 (inputs `(("libdiscid" ,libdiscid)))
4438 (home-page "https://metacpan.org/release/MusicBrainz-DiscID")
4439 (synopsis "Perl interface to the MusicBrainz libdiscid library")
4440 (description
4441 "The @code{MusicBrainz::DiscID} module is a Perl interface to the
4442MusicBrainz libdiscid library, allowing you to manipulate digital audio
4443compact disc (CDDA) identifiers.")
4444 (license license:gpl2)))
4445
b2961dda
LC
4446(define-public perl-webservice-musicbrainz
4447 (package
4448 (name "perl-webservice-musicbrainz")
b0842a8e 4449 (version "1.0.5")
b2961dda
LC
4450 (source (origin
4451 (method url-fetch)
4452 (uri (string-append
4453 "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-"
4454 version ".tar.gz"))
4455 (sha256
4456 (base32
b0842a8e 4457 "16chs1l58cf000d5kalkyph3p31ci73p1rlyx98mfv10d2cq6fsj"))))
b2961dda
LC
4458 (build-system perl-build-system)
4459 (arguments
4460 ;; Tests try to connect to http://musicbrainz.org.
4461 '(#:tests? #f))
4462 (native-inputs
4463 `(("perl-module-build" ,perl-module-build)))
4464 (propagated-inputs
4465 `(("perl-mojolicious" ,perl-mojolicious)))
4466 (home-page "https://metacpan.org/release/WebService-MusicBrainz")
4467 (synopsis "Web service API to the MusicBrainz database")
4468 (description
4469 "This module searches the MusicBrainz database through their web service
4470at @code{musicbrainz.org}.")
4471 (license license:perl-license)))
4472
87d1b7b0
PN
4473(define-public clyrics
4474 (package
4475 (name "clyrics")
9aec93be 4476 (version "0.12")
87d1b7b0
PN
4477 (source
4478 (origin
234a1825
RW
4479 (method git-fetch)
4480 (uri (git-reference
4481 (url "https://github.com/trizen/clyrics.git")
4482 (commit version)))
4483 (file-name (git-file-name name version))
87d1b7b0 4484 (sha256
9aec93be 4485 (base32 "1l9iqz6vxrrxapv7s110g360bqxksir4dcqd8w0l4lhmnfmz3vnk"))))
87d1b7b0 4486 (build-system trivial-build-system)
87d1b7b0 4487 (inputs
7f56f107 4488 `(("bash" ,bash) ; for the wrapped program
87d1b7b0
PN
4489 ("perl" ,perl)
4490 ("perl-www-mechanize" ,perl-www-mechanize)
4491 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
4492 ;; Required or else LWP will fail with "GET https://www.google.com/ ==>
4493 ;; 500 Can't verify SSL peers without knowing which Certificate
4494 ;; Authorities to trust".
4495 ("perl-mozilla-ca" ,perl-mozilla-ca)))
4496 (arguments
4497 `(#:modules ((guix build utils))
4498 #:builder (begin
4499 (use-modules (guix build utils)
4500 (ice-9 match)
4501 (srfi srfi-26))
4502 (let* ((source (assoc-ref %build-inputs "source"))
87d1b7b0
PN
4503 (output (assoc-ref %outputs "out")))
4504 (setenv "PATH"
4505 (string-append
87d1b7b0
PN
4506 (assoc-ref %build-inputs "bash") "/bin" ":"
4507 (assoc-ref %build-inputs "perl") "/bin" ":"))
234a1825 4508 (copy-recursively source (getcwd))
87d1b7b0
PN
4509 (patch-shebang "clyrics")
4510 (substitute* "clyrics"
4511 (("/usr/share") output))
4512 (install-file "clyrics" (string-append output "/bin"))
4513 (wrap-program (string-append output "/bin/clyrics")
4514 `("PERL5LIB" ":" =
4515 ,(delete
4516 ""
4517 (map (match-lambda
7f56f107
TGR
4518 (((? (cut string-prefix? "perl-" <>) name) . dir)
4519 (string-append dir "/lib/perl5/site_perl"))
4520 (_ ""))
87d1b7b0
PN
4521 %build-inputs))))
4522 (copy-recursively "plugins" (string-append output "/clyrics"))
4523 #t))))
4524 (home-page "https://github.com/trizen/clyrics")
4525 (synopsis "Extensible lyrics fetcher")
4526 (description
4527 "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
4528It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
4529console music players.")
4530 (license license:gpl3+)))
5703380b
PN
4531
4532(define-public demlo
4533 (let ((commit "fe9ec4c8ac2fa995ec18e6ac86d50d46df06ec01")
4534 (revision "0"))
4535 (package
4536 (name "demlo")
4537 (version (git-version "3.8" revision commit))
4538 (source
4539 (origin
4540 (method git-fetch)
4541 (uri (git-reference
4542 (url
4543 "https://gitlab.com/ambrevar/demlo")
4544 (commit commit)))
4545 (file-name (git-file-name name version))
4546 (sha256
4547 (base32
4548 "1afkbqhzn6da7zaf5ab7dvyqj1izqhzprwfb4hw448fllda9bdvk"))))
4549 (build-system go-build-system)
4550 (native-inputs
4551 `(("lua" ,lua)
4552 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
4553 ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
4554 ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)
4555 ("go-gitlab-com-ambrevar-damerau" ,go-gitlab-com-ambrevar-damerau)
4556 ("go-gitlab-com-ambrevar-golua-unicode" ,go-gitlab-com-ambrevar-golua-unicode)
4557 ("go-github-com-mgutz-ansi" ,go-github-com-mgutz-ansi)
4558 ("go-github-com-michiwend-gomusicbrainz" ,go-github-com-michiwend-gomusicbrainz)
4559 ("go-github-com-stevedonovan-luar" ,go-github-com-stevedonovan-luar)
4560 ("go-github-com-wtolson-go-taglib" ,go-github-com-wtolson-go-taglib)
4561 ("go-github-com-yookoala-realpath" ,go-github-com-yookoala-realpath)))
4562 (inputs
4563 `(("chromaprint" ,chromaprint)
4564 ("ffmpeg" ,ffmpeg)))
4565 (arguments
4566 `(#:import-path "gitlab.com/ambrevar/demlo"
4567 #:phases
4568 (modify-phases %standard-phases
4569 (add-after 'install 'wrap-program
4570 (lambda* (#:key inputs outputs #:allow-other-keys)
4571 (let ((out (assoc-ref outputs "out"))
4572 (ffmpeg (assoc-ref inputs "ffmpeg"))
4573 (chromaprint (assoc-ref inputs "chromaprint")))
4574 (wrap-program (string-append out "/bin/demlo")
4575 `("XDG_DATA_DIRS" ":" prefix (,out))
4576 `("PATH" ":" prefix
4577 ,(map (lambda (dir)
4578 (string-append dir "/bin:"
4579 dir "/sbin"))
4580 (list ffmpeg chromaprint))))
4581 #t)))
e3900a4d 4582 (add-after 'install 'install-scripts
5703380b
PN
4583 (lambda* (#:key outputs #:allow-other-keys)
4584 (let* ((out (assoc-ref outputs "out"))
4585 (root (string-append out "/src/gitlab.com/ambrevar/demlo"))
4586 (xdg-data-dirs (string-append out "/demlo")))
4587 (copy-recursively (string-append root "/actions")
4588 (string-append xdg-data-dirs "/actions"))
4589 (copy-recursively (string-append root "/scripts")
4590 (string-append xdg-data-dirs "/scripts"))
4591 (install-file (string-append root "/config.lua") xdg-data-dirs)
4592 ;; TODO: Test fish completion.
4593 (install-file (string-append root "/completion/demlo.fish")
4594 (string-append out "/share/fish/vendor_completions.d"))
4595 #t))))))
4596 (home-page "https://gitlab.com/ambrevar/demlo")
4597 (synopsis "Dynamic and extensible music library organizer")
4598 (description "Demlo is a music library organizer. It can encode, fix
4599case, change folder hierarchy according to tags or file properties, tag from
4600an online database, copy covers while ignoring duplicates or those below a
4601quality threshold, and much more. It makes it possible to manage your
4602libraries uniformly and dynamically. You can write your own rules to fit your
4603needs best.
4604
4605Demlo can address any of these recurring music library issues (and much more):
4606
4607@itemize
4608@item Fix the lack of folder structure.
4609@item Normalize tags, fix their case, chose which tags to keep and which to
4610discard.
4611@item Handle lossy and lossless audio differently.
4612@item Handle mp3 id3tags hell...
4613@item Handle multiple covers, whether embedded and/or external, resize covers,
4614discard bad quality ones.
4615@end itemize\n")
4616 (license license:expat))))
e42ba3da 4617
7fcc2f93 4618(define-public fmit
4619 (package
4620 (name "fmit")
0ed0e3bf 4621 (version "1.2.13")
7fcc2f93 4622 (source (origin
4623 (method git-fetch)
4624 (uri (git-reference
4625 (url "https://github.com/gillesdegottex/fmit/")
4626 (commit (string-append "v" version))))
4627 (file-name (git-file-name name version))
4628 (sha256
4629 (base32
0ed0e3bf 4630 "1qyskam053pvlap1av80rgp12pzhr92rs88vqs6s0ia3ypnixcc6"))))
7fcc2f93 4631 (build-system gnu-build-system)
4632 (arguments
4633 '(#:phases
4634 (modify-phases %standard-phases
4635 (delete 'configure)
4636 (add-before 'build 'qmake
4637 (lambda _
4638 (let ((out (assoc-ref %outputs "out")))
4639 (invoke "qmake"
4640 "fmit.pro"
4641 (string-append "PREFIX=" out)
4642 (string-append "PREFIXSHORTCUT=" out)
4643 "CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
4644 (add-after 'install 'wrap-executable
4645 (lambda* (#:key inputs outputs #:allow-other-keys)
4646 (let ((out (assoc-ref outputs "out")))
4647 (wrap-program (string-append out "/bin/fmit")
4648 `("QT_PLUGIN_PATH" ":" prefix
4649 ,(map (lambda (label)
4650 (string-append (assoc-ref inputs label)
4651 "/lib/qt5/plugins"))
4652 '("qtbase" "qtmultimedia" "qtsvg")))
4653 `("QML2_IMPORT_PATH" ":" prefix
4654 ,(map (lambda (label)
4655 (string-append (assoc-ref inputs label)
4656 "/lib/qt5/qml"))
4657 '("qtmultimedia"))))
4658 #t))))))
4659 (inputs
4660 `(("alsa-lib" ,alsa-lib)
4661 ("fftw" ,fftw)
4662 ("jack" ,jack-1)
4663 ("portaudio" ,portaudio)
4664 ("qtbase" ,qtbase)
4665 ("qtmultimedia" ,qtmultimedia)
4666 ("qtsvg" ,qtsvg)))
4667 (native-inputs
4668 `(("gettext" ,gnu-gettext)
4669 ("hicolor-icon-theme" ,hicolor-icon-theme)
4670 ("itstool" ,itstool)
4671 ("qttools" ,qttools)))
4672 (synopsis "Musical instrument tuner")
4673 (description "FMIT is a graphical utility for tuning musical instruments,
4674with error and volume history, and advanced features.")
4675 (home-page "https://gillesdegottex.github.io/fmit/")
4676 ;; Most of the code is under GPL2+, but some abstract or helper classes
4677 ;; are under LGPL2.1.
4678 (license (list license:gpl2+ license:lgpl2.1))))
f5870246
RW
4679
4680(define-public mloop
4681 (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
4682 (revision "0"))
4683 (package
4684 (name "mloop")
4685 (version (git-version "0.0.1" revision commit))
4686 (source (origin
4687 (method git-fetch)
4688 (uri (git-reference
4689 (url "http://git.fuzzle.org/mloop")
4690 (commit commit)))
4691 (file-name (git-file-name name version))
4692 (sha256
4693 (base32
4694 "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
4695 (build-system waf-build-system)
4696 (arguments
4697 `(#:python ,python-2
4698 #:tests? #f)) ; no "check" target
4699 (inputs
4700 `(("jack" ,jack-1)
4701 ("ncurses" ,ncurses)))
4702 (native-inputs
4703 `(("pkg-config" ,pkg-config)))
4704 (home-page "https://fuzzle.org/~petern/mloop.html")
4705 (synopsis "Live MIDI looper")
4706 (description "mloop is a live MIDI looping system, using jack-midi.
4707Loops are recorded, optionally with beat quantization, and can then be played
4708back, either once or looping. A 'note cache' system is implemented to
4709remember which notes are pressed and their velocities. This allows for a loop
4710to start off with the currently pressed notes, making seamless loops much
4711easier to perform. Features include:
4712
4713@itemize
4714@item Quantisation; end a loop on a beat exactly.
4715@item Delayed recording; wait for a MIDI event before starting a loop record.
4716@item Adjust tempo; Playback speed of loops can be adjusted on the fly.
4717@end itemize\n")
4718 (license license:gpl2))))
0163b900
EB
4719
4720(define-public pragha
4721 (package
4722 (name "pragha")
4723 (version "1.3.4")
4724 (source (origin
4725 (method url-fetch)
4726 (uri (string-append "https://github.com/pragha-music-player/pragha/"
4727 "releases/download/v" version "/pragha-" version
4728 ".tar.bz2"))
4729 (sha256
4730 (base32
4731 "19kbhq99bkimx3aqrdzln0vlr4slkpx6kq66j731jvqyq76nlkp5"))))
4732 (build-system glib-or-gtk-build-system)
4733 (native-inputs
4734 `(("intltool" ,intltool)
4735 ("pkg-config" ,pkg-config)))
4736 (inputs
4737 `(("glib" ,glib)
4738 ("grilo" ,grilo)
4739 ("gstreamer" ,gstreamer)
4740 ("gst-plugins-base" ,gst-plugins-base)
4741 ("gst-plugins-good" ,gst-plugins-good)
4742 ("gtk+" ,gtk+)
4743 ("libcddb" ,libcddb)
4744 ("libcdio" ,libcdio)
4745 ("libcdio-paranoia" ,libcdio-paranoia)
4746 ("libgudev" ,libgudev)
4747 ("libnotify" ,libnotify)
4748 ("libpeas" ,libpeas)
4749 ("libsoup" ,libsoup)
4750 ("sqlite" ,sqlite)
4751 ("taglib" ,taglib)))
4752 (arguments
4753 `(#:phases
4754 (modify-phases %standard-phases
4755 (add-after 'install 'wrap-program
4756 (lambda* (#:key inputs outputs #:allow-other-keys)
4757 (let ((out (assoc-ref outputs "out"))
4758 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
4759 (wrap-program (string-append out "/bin/pragha")
4760 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
4761 #t))))))
4762 (home-page "https://pragha-music-player.github.io")
4763 (synopsis "Music player")
4764 (description "Pragha is a lightweight music player based on Gtk and
4765sqlite. It is constructed to be fast, light, and simultaneously tries to be
4766complete without obstructing your daily work.")
4767 (license license:gpl3+)))
1c463524
DW
4768
4769(define-public playerctl
4770 (package
4771 (name "playerctl")
4772 (version "2.0.2")
4773 (source (origin
4774 (method git-fetch)
4775 (uri (git-reference
4776 (url "https://github.com/altdesktop/playerctl.git")
4777 (commit (string-append "v" version))))
4778 (file-name (git-file-name name version))
4779 (sha256
4780 (base32
4781 "1f3njnpd52djx3dmhh9a8p5a67f0jmr1gbk98icflr2q91149gjz"))))
4782 (build-system meson-build-system)
4783 (arguments
4784 `(#:configure-flags '("-Dintrospection=false" "-Dgtk-doc=false")))
4785 (inputs `(("python-pygobject" ,python-pygobject)))
4786 (native-inputs
4787 `(("glib:bin" ,glib "bin")
4788 ("pkg-config" ,pkg-config)))
4789 (synopsis "Control MPRIS-supporting media player applications")
4790 (description
4791 "Playerctl is a command-line utility and library for controlling media
4792players that implement the MPRIS D-Bus Interface Specification. Playerctl
4793makes it easy to bind player actions, such as play and pause, to media keys.
4794You can also get metadata about the playing track such as the artist and title
4795for integration into status line generators or other command-line tools.")
4796 (home-page "https://github.com/altdesktop/playerctl")
4797 (license license:lgpl3+)))
50c5215c
AT
4798
4799(define-public artyfx
4800 (package
4801 (name "artyfx")
4802 (version "1.3")
4803 (source (origin
4804 (method git-fetch)
4805 (uri (git-reference
4806 (url
4807 "https://github.com/openAVproductions/openAV-ArtyFX.git")
4808 (commit (string-append "release-" version))))
4809 (file-name (git-file-name name version))
4810 (sha256
4811 (base32
4812 "012hcy1mxl7gs2lipfcqp5x0xv1azb9hjrwf0h59yyxnzx96h7c9"))))
4813 (build-system cmake-build-system)
4814 (arguments
4815 `(#:tests? #f ; no tests included
4816 #:phases
4817 (modify-phases %standard-phases
4818 (add-after 'unpack 'remove-architecture-specific-flags
4819 (lambda _
4820 (substitute* "CMakeLists.txt"
4821 (("-msse2 -mfpmath=sse") ""))
4822 #t)))))
4823 (inputs
4824 `(("cairo" ,cairo)
4825 ("libsndfile" ,libsndfile)))
4826 (native-inputs
4827 `(("pkg-config" ,pkg-config)
4828 ("lv2" ,lv2)))
4829 (home-page "http://openavproductions.com/artyfx/")
4830 (synopsis "Audio effect LV2 plugin bundle")
4831 (description "ArtyFX is an LV2 plugin bundle of artistic real-time audio
4832effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
4833and reverb.")
4834 (license license:gpl2+)))
5182fbe0
AT
4835
4836(define-public sherlock-lv2
4837 (package
4838 (name "sherlock-lv2")
4839 (version "0.20.0")
4840 (source
4841 (origin
4842 (method url-fetch)
4843 (uri (string-append
4844 "https://git.open-music-kontrollers.ch/lv2/"
4845 "sherlock.lv2/snapshot/sherlock.lv2-"
4846 version ".tar.xz"))
4847 (sha256
4848 (base32
4849 "1c5xajpss9h8lbyx160bbzg8va50n2d74qwnxig9sf468rzmha1y"))))
4850 (build-system meson-build-system)
4851 (inputs
4852 `(("libx11" ,libx11)
4853 ("mesa" ,mesa)
4854 ("sratom" ,sratom)))
4855 (native-inputs
4856 `(("flex" ,flex)
4857 ("pkg-config" ,pkg-config)))
4858 (synopsis "Investigative LV2 plugin bundle")
4859 (description "The Sherlock plugin bundle contains LV2 plugins for
4860visualizing LV2 atom, MIDI and OSC events. They can be used for monitoring
4861and debugging of event signal flows inside plugin graphs.")
4862 (home-page "https://open-music-kontrollers.ch/lv2/sherlock/")
4863 (license license:artistic2.0)))
fe06a6ee
AT
4864
4865(define-public x42-plugins
4866 (package
4867 (name "x42-plugins")
41dc70f4 4868 (version "20191215")
fe06a6ee
AT
4869 (source
4870 (origin
4871 (method url-fetch)
4872 (uri
4873 (string-append "http://gareus.org/misc/x42-plugins/x42-plugins-"
4874 version ".tar.xz"))
4875 (sha256
41dc70f4 4876 (base32 "1mwfvhsvc0qgjyiwd8pmmam1mav43lmv39fljhmj9yri558v5g1c"))))
fe06a6ee
AT
4877 (build-system gnu-build-system)
4878 (arguments
4879 `(#:tests? #f ; no "check" target
4880 #:make-flags
4881 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
4882 "LIBZITACONVOLVER=-lzita-convolver"
4883 (string-append "FONTFILE="
4884 (assoc-ref %build-inputs "font-dejavu")
4885 "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
4886 #:phases
4887 (modify-phases %standard-phases
4888 (add-before 'build 'set-CC-variable
4889 (lambda _
4890 (setenv "CC" "gcc")
4891 #t))
4892 (delete 'configure))))
4893 (inputs
4894 `(("cairo" ,cairo)
4895 ("fftwf" ,fftwf)
4896 ("ftgl" ,ftgl)
4897 ("glib" ,glib)
4898 ("glu" ,glu)
4899 ("hicolor-icon-theme" ,hicolor-icon-theme)
4900 ("jack" ,jack-1)
4901 ("libltc" ,libltc)
4902 ("libsamplerate" ,libsamplerate)
4903 ("libx11" ,libx11)
4904 ("pango" ,pango)
4905 ("zita-convolver" ,zita-convolver)))
4906 (native-inputs
4907 `(("help2man" ,help2man)
4908 ("liblo" ,liblo)
4909 ("lv2" ,lv2)
4910 ("font-dejavu" ,font-dejavu)
4911 ("pkg-config" ,pkg-config)))
4912 (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
4913 (description "x42-plugins is a collection of over 80 cross-platform LV2
4914audio and MIDI plugins that can also run as standalone JACK applications.")
4915 (home-page "https://x42-plugins.com/x42/")
4916 (license license:gpl2+)))
9a00130a
AT
4917
4918(define-public zam-plugins
4919 (package
4920 (name "zam-plugins")
a69b59e1 4921 (version "3.12")
9a00130a
AT
4922 (source
4923 (origin
4924 (method git-fetch)
4925 (uri
4926 (git-reference
4927 (url "https://github.com/zamaudio/zam-plugins.git")
4928 (commit version)
4929 ;; Recursive to fetch the DISTRHO plugin framework. This
4930 ;; framework is intended to be included in the sources
4931 ;; and not to be used as a library.
4932 (recursive? #t)))
4933 (file-name (git-file-name name version))
4934 (sha256
a69b59e1 4935 (base32 "0icsbarc9azcp0kjjydmiqn401v60jmf16zdcp4040q8g7bpfmfa"))))
9a00130a
AT
4936 (build-system gnu-build-system)
4937 (arguments
4938 `(#:tests? #f ;no "check" target
4939 #:make-flags
4940 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
4941 "HAVE_ZITA_CONVOLVER=true")
4942 #:phases
4943 (modify-phases %standard-phases
4944 (add-before 'build 'set-CC-variable
4945 (lambda _
4946 (setenv "CC" "gcc") #t))
4947 (delete 'configure))))
4948 (inputs
4949 `(("fftwf" ,fftwf)
4950 ("jack" ,jack-1) ;for the standalone JACK application
4951 ("liblo" ,liblo)
4952 ("libsamplerate" ,libsamplerate)
4953 ("mesa" ,mesa)
4954 ("zita-convolver" ,zita-convolver)))
4955 (native-inputs
4956 `(("ladspa" ,ladspa)
4957 ("lv2" ,lv2)
4958 ("pkg-config" ,pkg-config)))
4959 (synopsis "Collection of audio processing plugins")
4960 (description
4961 "Zam plugins is a collection of audio processing plugins in the LADSPA,
4962LV2 and VST2 formats, as well as standalone JACK versions. The collection
4963includes ZaMaximX2, ZamAutoSat, ZamComp, ZamCompX2, ZamEQ2, ZamGEQ31,
4964ZamHeadX2, ZamPhono, ZamGate, ZamGateX2, ZamTube, ZamDelay, ZamDynamicEQ,
4965ZaMultiComp, ZaMultiCompX2 and ZamSynth.")
4966 (home-page "http://www.zamaudio.com/?p=976")
4967 (license license:gpl2+)))
2ac65b9c
AT
4968
4969(define-public geonkick
4970 (package
4971 (name "geonkick")
4972 (version "1.9.0")
4973 (source
4974 (origin
2f491b88
MB
4975 (method git-fetch)
4976 (uri (git-reference
4977 (url "https://gitlab.com/geontime/geonkick.git")
4978 (commit (string-append "v" version))))
4979 (file-name (git-file-name name version))
2ac65b9c
AT
4980 (sha256
4981 (base32
2f491b88 4982 "17mwxnmxszdm2wjbigciwh8qx0487q9qhf4sl92y6nqdb0dlghnl"))))
2ac65b9c
AT
4983 (build-system cmake-build-system)
4984 (arguments
4985 `(#:tests? #f ;no tests included
4986 #:configure-flags
4987 (list (string-append "-DGKICK_REDKITE_SDK_PATH="
4988 (assoc-ref %build-inputs "redkite"))
4989 (string-append "-DCMAKE_INSTALL_PREFIX="
4990 (assoc-ref %outputs "out")))))
4991 (inputs
4992 `(("cairo" ,cairo)
4993 ("hicolor-icon-theme" ,hicolor-icon-theme)
4994 ("jack" ,jack-1) ;for the standalone JACK application
4995 ("libsndfile" ,libsndfile)
4996 ("libx11" ,libx11)
4997 ("redkite" ,redkite)
4998 ("rapidjson" ,rapidjson)))
4999 (native-inputs
5000 `(("lv2" ,lv2)
5001 ("pkg-config" ,pkg-config)
5002 ("sord" ,sord)))
5003 (synopsis "Percussion synthesizer")
5004 (description "Geonkick is a synthesizer that can synthesize elements
5005of percussion such as kicks, snares, hit-hats, shakers, claps and sticks.
5006It can also play and mix samples.")
5007 (home-page "https://gitlab.com/geontime/geonkick")
5008 (license license:gpl3+)))
5b1bf92e
AT
5009
5010(define-public dpf-plugins
5011 (package
5012 (name "dpf-plugins")
5013 (version "1.3")
5014 (source
5015 (origin
5016 (method git-fetch)
5017 (uri
5018 (git-reference
5019 (url "https://github.com/DISTRHO/DPF-Plugins.git")
5020 (commit (string-append "v" version))))
5021 (file-name (git-file-name name version))
5022 (sha256
5023 (base32
5024 "1hsfmpv3kvpiwk8nfw9xpaipzy0n27i83y2v1yr93lznwm5rqrbs"))))
5025 (build-system gnu-build-system)
5026 (arguments
5027 `(#:tests? #f ; no "check" target
5028 #:make-flags
5029 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5030 #:phases
5031 (modify-phases %standard-phases
5032 (add-before 'build 'set-CC-variable
5033 (lambda _ (setenv "CC" "gcc") #t))
5034 (delete 'configure))))
5035 (inputs
5036 `(("cairo" ,cairo)
5037 ("liblo" ,liblo) ; for dssi plugins
5038 ("jack" ,jack-1) ; for standalone applications
5039 ("mesa" ,mesa)))
5040 (native-inputs
5041 `(("pkg-config" ,pkg-config)
5042 ("dssi" ,dssi)
5043 ("lv2" ,lv2)))
5044 (home-page "https://github.com/DISTRHO/DPF-Plugins")
5045 (synopsis "Audio plugin collection")
5046 (description "Collection of audio plugins built with the DISTRHO Plugin
5047Framework (DPF) available in LADSPA, DSSI, LV2 and VST2 formats. This
5048package includes the following plugins: glBars, Kars, Max-Gen examples
5049(MaBitcrush, MaFreeverb, MaGigaverb, MaPitchshift), Mini-Series (3BandEQ,
50503BandSplitter, PingPongPan), ndc-Plugs (Amplitude Imposer, Cycle Shifter,
5051Soul Force), MVerb, Nekobi, and ProM.")
5052 ;; This package consists of several plugins refactored to use the
5053 ;; DISTHRO Plugin Framework (DPF). Different copyrights and licenses
5054 ;; apply to different plugins. The root LICENSE file has a table with
5055 ;; license information for each plugin and paths to each license
5056 (license (list license:isc license:gpl3 license:lgpl3 license:expat license:gpl2))))
bcf851bc
AT
5057
5058(define-public avldrums-lv2
5059 (package
5060 (name "avldrums-lv2")
aaa41b41 5061 (version "0.4.1")
bcf851bc
AT
5062 (source
5063 (origin
5064 (method git-fetch)
5065 (uri (git-reference
5066 (url "https://github.com/x42/avldrums.lv2.git")
5067 (commit (string-append "v" version))
5068 ;; This plugin expects the robtk submodule's source files to be
5069 ;; there in order to build.
5070 (recursive? #t)))
5071 (file-name (git-file-name name version))
5072 (sha256
aaa41b41 5073 (base32 "1vwdp3d8qzd493qa99ddya7iql67bbfxmbcl8hk96lxif2lhmyws"))))
bcf851bc
AT
5074 (build-system gnu-build-system)
5075 (arguments
5076 `(#:tests? #f ; no "check" target
5077 #:make-flags
5078 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
5079 #:phases
5080 (modify-phases %standard-phases
5081 (add-before 'build 'set-CC-variable
5082 (lambda _
5083 (setenv "CC" "gcc") #t))
5084 (delete 'configure))))
5085 (inputs
5086 `(("cairo" ,cairo)
5087 ("dssi" ,dssi)
5088 ("glu" ,glu)
5089 ("mesa" ,mesa)
5090 ("pango" ,pango)))
5091 (native-inputs
5092 `(("pkg-config" ,pkg-config)
5093 ("lv2" ,lv2)))
5094 (home-page "https://x42-plugins.com/x42/x42-avldrums")
5095 (synopsis "Drum sample player LV2 plugin dedicated to the AVLinux Drumkits")
5096 (description "AVLdrums is a drum sample player LV2 plugin dedicated to Glen
5097MacArthur's AVLdrums. This plugin provides a convenient way to sequence and mix
5098MIDI drums and comes as two separate drumkits: Black Pearl and Red Zeppelin.")
5099 (license license:gpl2+)))
7281c8fd
AT
5100
5101(define-public helm
5102 (package
5103 (name "helm")
5104 (version "0.9.0")
5105 (source
5106 (origin
5107 (method git-fetch)
5108 (uri
5109 (git-reference
5110 (url "https://github.com/mtytel/helm.git")
5111 (commit (string-append "v" version))))
5112 (file-name (git-file-name name version))
5113 (sha256
5114 (base32
5115 "17ys2vvhncx9i3ydg3xwgz1d3gqv4yr5mqi7vr0i0ca6nad6x3d4"))))
5116 (build-system gnu-build-system)
5117 (arguments
5118 `(#:tests? #f ; no "check" target
5119 #:make-flags
5120 (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
5121 "lv2" "standalone")
5122 #:phases
5123 (modify-phases %standard-phases
5124 (add-after 'unpack 'include-pnglib-code-and-remove-usr-from-paths
5125 (lambda _
5126 (substitute* "standalone/builds/linux/Makefile"
5127 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5128 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5129 (substitute* "builds/linux/LV2/Makefile"
5130 (("JUCE_INCLUDE_PNGLIB_CODE=0")
5131 "JUCE_INCLUDE_PNGLIB_CODE=1"))
5132 (substitute* "Makefile"
5133 (("/usr") ""))
5134 #t))
5135 (add-before 'reset-gzip-timestamps 'make-gz-files-writable
5136 (lambda* (#:key outputs #:allow-other-keys)
5137 (for-each make-file-writable
5138 (find-files (string-append (assoc-ref outputs "out"))
5139 ".*\\.gz$"))
5140 #t))
5141 (delete 'configure))))
5142 (inputs
5143 `(("alsa-lib" ,alsa-lib)
5144 ("curl" ,curl)
5145 ("freetype2" ,freetype)
5146 ("hicolor-icon-theme" ,hicolor-icon-theme)
5147 ("libxcursor" ,libxcursor)
5148 ("libxinerama", libxinerama)
5149 ("jack", jack-1)
5150 ("mesa" ,mesa)))
5151 (native-inputs
5152 `(("pkg-config" ,pkg-config)
5153 ("lv2", lv2)))
5154 (home-page "https://tytel.org/helm/")
5155 (synopsis "Polyphonic synth with lots of modulation")
5156 (description "Helm is a cross-platform polyphonic synthesizer available standalone
5157and as an LV2 plugin.")
5158 (license license:gpl3+)))
93f4511e
AT
5159
5160(define-public zrythm
5161 (package
5162 (name "zrythm")
6616b22b 5163 (version "0.7.573")
93f4511e
AT
5164 (source
5165 (origin
5166 (method url-fetch)
5167 (uri (string-append "https://www.zrythm.org/releases/zrythm-"
5168 version ".tar.xz"))
5169 (sha256
5170 (base32
6616b22b 5171 "075gq478xbzz5ql4fsrgfzhgxi7z26k6034lhlkmm0klfcb8j9mg"))))
93f4511e
AT
5172 (build-system meson-build-system)
5173 (arguments
5174 `(#:glib-or-gtk? #t
5175 #:configure-flags
5176 `("-Denable_tests=true" "-Dmanpage=true"
6a428d45
AT
5177 "-Dinstall_dseg_font=false" "-Denable_ffmpeg=true")
5178 #:phases
5179 (modify-phases %standard-phases
5180 (add-after 'unpack 'patch-xdg-open
5181 (lambda _
5182 (substitute* "src/utils/io.c"
5183 (("OPEN_DIR_CMD")
5184 (string-append "\"" (which "xdg-open") "\"")))
5185 #t)))))
93f4511e
AT
5186 (inputs
5187 `(("alsa-lib" ,alsa-lib)
5188 ("jack" ,jack-1)
6616b22b
AT
5189 ("font-dseg" ,font-dseg)
5190 ("ffmpeg" ,ffmpeg)
5191 ("fftw" ,fftw)
5192 ("fftwf" ,fftwf)
5193 ("gettext" ,gettext-minimal)
5194 ("glibc" ,glibc)
5195 ("gtk+" ,gtk+)
5196 ("libcyaml" ,libcyaml)
93f4511e
AT
5197 ("libsamplerate" ,libsamplerate)
5198 ("libsndfile" ,libsndfile)
5199 ("libyaml" ,libyaml)
6616b22b
AT
5200 ("lilv" ,lilv)
5201 ("xdg-utils" ,xdg-utils)
5202 ("rubberband" ,rubberband)))
93f4511e 5203 (native-inputs
6616b22b
AT
5204 `(("pkg-config" ,pkg-config)
5205 ("help2man" ,help2man)
93f4511e 5206 ("libaudec" ,libaudec)
6616b22b 5207 ("lv2" ,lv2)
93f4511e
AT
5208 ("glib" ,glib "bin"))) ;for 'glib-compile-resources'
5209 (synopsis "Digital audio workstation focusing on usability")
5210 (description "Zrythm is a digital audio workstation designed to be
5211featureful and easy to use. It offers unlimited automation options, LV2
5212plugin support, JACK support and chord assistance.")
5213 (home-page "https://www.zrythm.org")
5214 (license license:agpl3+)))