gnu: Add lv2toweb.
[jackhill/guix/guix.git] / gnu / packages / audio.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
3 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
4 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
5 ;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
7 ;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com>
9 ;;; Copyright © 2016 ng0 <ng0@n0.is>
10 ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
11 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
12 ;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com>
13 ;;; Copyright © 2018 okapi <okapi@firemail.cc>
14 ;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
15 ;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
16 ;;; Copyright © 2018 Brett Gilio <brettg@gnu.org>
17 ;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
18 ;;; Copyright © 2018 Thorsten Wilms <t_w_@freenet.de>
19 ;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
20 ;;; Copyright © 2018 Brendan Tildesley <mail@brendan.scot>
21 ;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
22 ;;; Copyright © 2019 Leo Famulari <leo@famulari.name>
23 ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
24 ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
25 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
26 ;;; Copyright © 2019, 2020 Alexandros Theodotou <alex@zrythm.org>
27 ;;; Copyright © 2019 Christopher Lemmer Webber <cwebber@dustycloud.org>
28 ;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
29 ;;; Copyright © 2019 Hartmt Goebel <h.goebel@crazy-compilers.com>
30 ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
31 ;;;
32 ;;; This file is part of GNU Guix.
33 ;;;
34 ;;; GNU Guix is free software; you can redistribute it and/or modify it
35 ;;; under the terms of the GNU General Public License as published by
36 ;;; the Free Software Foundation; either version 3 of the License, or (at
37 ;;; your option) any later version.
38 ;;;
39 ;;; GNU Guix is distributed in the hope that it will be useful, but
40 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
41 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42 ;;; GNU General Public License for more details.
43 ;;;
44 ;;; You should have received a copy of the GNU General Public License
45 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
46
47 (define-module (gnu packages audio)
48 #:use-module (gnu packages)
49 #:use-module (gnu packages algebra)
50 #:use-module (gnu packages autotools)
51 #:use-module (gnu packages avahi)
52 #:use-module (gnu packages backup)
53 #:use-module (gnu packages base)
54 #:use-module (gnu packages bison)
55 #:use-module (gnu packages boost)
56 #:use-module (gnu packages check)
57 #:use-module (gnu packages compression)
58 #:use-module (gnu packages curl)
59 #:use-module (gnu packages dbm)
60 #:use-module (gnu packages documentation)
61 #:use-module (gnu packages elf)
62 #:use-module (gnu packages emacs)
63 #:use-module (gnu packages file)
64 #:use-module (gnu packages flex)
65 #:use-module (gnu packages fltk)
66 #:use-module (gnu packages fontutils)
67 #:use-module (gnu packages gcc)
68 #:use-module (gnu packages gettext)
69 #:use-module (gnu packages glib)
70 #:use-module (gnu packages gnome)
71 #:use-module (gnu packages gnunet) ; libmicrohttpd
72 #:use-module (gnu packages gperf)
73 #:use-module (gnu packages gtk)
74 #:use-module (gnu packages guile)
75 #:use-module (gnu packages icu4c)
76 #:use-module (gnu packages image)
77 #:use-module (gnu packages libbsd)
78 #:use-module (gnu packages libusb)
79 #:use-module (gnu packages linux)
80 #:use-module (gnu packages llvm)
81 #:use-module (gnu packages man)
82 #:use-module (gnu packages maths)
83 #:use-module (gnu packages mp3) ;taglib
84 #:use-module (gnu packages multiprecision)
85 #:use-module (gnu packages music)
86 #:use-module (gnu packages ncurses)
87 #:use-module (gnu packages onc-rpc)
88 #:use-module (gnu packages perl)
89 #:use-module (gnu packages pkg-config)
90 #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
91 #:use-module (gnu packages python)
92 #:use-module (gnu packages python-xyz)
93 #:use-module (gnu packages qt)
94 #:use-module (gnu packages rdf)
95 #:use-module (gnu packages readline)
96 #:use-module (gnu packages sdl)
97 #:use-module (gnu packages serialization)
98 #:use-module (gnu packages telephony)
99 #:use-module (gnu packages tls)
100 #:use-module (gnu packages video)
101 #:use-module (gnu packages vim) ;xxd
102 #:use-module (gnu packages webkit)
103 #:use-module (gnu packages wxwidgets)
104 #:use-module (gnu packages xiph)
105 #:use-module (gnu packages xml)
106 #:use-module (gnu packages xorg)
107 #:use-module (guix build-system cmake)
108 #:use-module (guix build-system glib-or-gtk)
109 #:use-module (guix build-system gnu)
110 #:use-module (guix build-system meson)
111 #:use-module (guix build-system python)
112 #:use-module (guix build-system trivial)
113 #:use-module (guix build-system waf)
114 #:use-module (guix download)
115 #:use-module (guix git-download)
116 #:use-module ((guix licenses) #:prefix license:)
117 #:use-module (guix packages)
118 #:use-module (guix utils)
119 #:use-module (srfi srfi-1)
120 #:use-module (srfi srfi-26))
121
122 (define-public alsa-modular-synth
123 (package
124 (name "alsa-modular-synth")
125 (version "2.1.2")
126 (source (origin
127 (method url-fetch)
128 (uri (string-append "mirror://sourceforge/alsamodular/alsamodular"
129 "/" version "/ams-" version ".tar.bz2"))
130 (sha256
131 (base32
132 "1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0"))))
133 (build-system gnu-build-system)
134 (arguments
135 `(#:configure-flags
136 '("--enable-qt5"
137 "CXXFLAGS=-std=gnu++11")
138 #:phases
139 (modify-phases %standard-phases
140 ;; Insert an extra space between linker flags.
141 (add-before 'configure 'add-missing-space
142 (lambda _
143 (substitute* "configure"
144 (("LIBS\\+=\\$LIBSsave") "LIBS+=\" $LIBSsave\"")
145 (("CFLAGS\\+=\\$CFLAGSsave") "CFLAGS+=\" $CFLAGSsave\""))
146 #t)))))
147 (inputs
148 `(("alsa-lib" ,alsa-lib)
149 ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to
150 ;; license incompatibility.
151 ("clalsadrv" ,clalsadrv)
152 ("fftw" ,fftw)
153 ("jack" ,jack-1)
154 ("ladspa" ,ladspa)
155 ("liblo" ,liblo)
156 ("qtbase" ,qtbase)
157 ("qttools" ,qttools)))
158 (native-inputs
159 `(("pkg-config" ,pkg-config)
160 ("gcc" ,gcc-5)))
161 (home-page "http://alsamodular.sourceforge.net/")
162 (synopsis "Realtime modular synthesizer and effect processor")
163 (description
164 "AlsaModularSynth is a digital implementation of a classical analog
165 modular synthesizer system. It uses virtual control voltages to control the
166 parameters of the modules. The control voltages which control the frequency
167 e.g. of the VCO (Voltage Controlled Oscillator) and VCF (Voltage Controlled
168 Filter) modules follow the convention of 1V / Octave.")
169 (license license:gpl2)))
170
171 (define-public aubio
172 (package
173 (name "aubio")
174 (version "0.4.9")
175 (source (origin
176 (method url-fetch)
177 (uri (string-append
178 "https://aubio.org/pub/aubio-" version ".tar.bz2"))
179 (sha256
180 (base32
181 "1npks71ljc48w6858l9bq30kaf5nph8z0v61jkfb70xb9np850nl"))))
182 (build-system waf-build-system)
183 (arguments
184 `(#:tests? #f ; no check target
185 #:configure-flags
186 (list
187 (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib")
188 "--enable-fftw3f"
189 "--enable-jack"
190 "--enable-sndfile"
191 "--enable-samplerate"
192 "--enable-avcodec")
193 #:python ,python-2))
194 (inputs
195 `(("jack" ,jack-1)
196 ("libsndfile" ,libsndfile)
197 ("libsamplerate" ,libsamplerate)
198 ("fftwf" ,fftwf)
199 ("ffmpeg" ,ffmpeg))) ; for libavcodec
200 (native-inputs
201 `(("pkg-config" ,pkg-config)))
202 (home-page "https://aubio.org/")
203 (synopsis "Library for audio labelling")
204 (description
205 "aubio is a tool designed for the extraction of annotations from audio
206 signals. Its features include segmenting a sound file before each of its
207 attacks, performing pitch detection, tapping the beat and producing MIDI
208 streams from live audio.")
209 (license license:gpl3+)))
210
211 (define (ardour-rpath-phase major-version)
212 `(lambda* (#:key outputs #:allow-other-keys)
213 (let ((libdir (string-append (assoc-ref outputs "out")
214 "/lib/ardour" ,major-version)))
215 (substitute* "wscript"
216 (("linker_flags = \\[\\]")
217 (string-append "linker_flags = [\""
218 "-Wl,-rpath="
219 libdir ":"
220 libdir "/backends" ":"
221 libdir "/engines" ":"
222 libdir "/panners" ":"
223 libdir "/surfaces" ":"
224 libdir "/vamp" "\"]"))))
225 #t))
226
227 (define-public ardour
228 (package
229 (name "ardour")
230 (version "5.12")
231 (source (origin
232 (method git-fetch)
233 (uri (git-reference
234 (url "https://git.ardour.org/ardour/ardour.git")
235 (commit version)))
236 (snippet
237 ;; Ardour expects this file to exist at build time. The revision
238 ;; is the output of
239 ;; git describe HEAD | sed 's/^[A-Za-z]*+//'
240 `(call-with-output-file
241 "libs/ardour/revision.cc"
242 (lambda (port)
243 (format port ,(string-append "#include \"ardour/revision.h\"
244 namespace ARDOUR { const char* revision = \"" version "\" ; }"))
245 #t)))
246 (sha256
247 (base32
248 "0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr"))
249 (file-name (string-append name "-" version))))
250 (build-system waf-build-system)
251 (arguments
252 `(#:configure-flags '("--cxx11" ; required by gtkmm
253 "--no-phone-home" ; don't contact ardour.org
254 "--freedesktop" ; build .desktop file
255 "--test") ; build unit tests
256 #:phases
257 (modify-phases %standard-phases
258 (add-after 'unpack 'set-rpath-in-LDFLAGS
259 ,(ardour-rpath-phase (version-major version)))
260 (add-after 'install 'install-freedesktop-files
261 (lambda* (#:key outputs #:allow-other-keys)
262 (let* ((out (assoc-ref outputs "out"))
263 (share (string-append out "/share"))
264 (ver ,(version-major version)))
265 (for-each
266 (lambda (size)
267 (let ((dir (string-append share "/icons/hicolor/"
268 size "x" size "/apps")))
269 (mkdir-p dir)
270 (copy-file
271 (string-append "gtk2_ardour/resources/Ardour-icon_"
272 size "px.png")
273 (string-append dir "/ardour" ver ".png"))))
274 '("16" "22" "32" "48" "256"))
275 (install-file (string-append "build/gtk2_ardour/ardour"
276 ver ".desktop")
277 (string-append share "/applications/"))
278 (install-file (string-append "build/gtk2_ardour/ardour"
279 ver ".appdata.xml")
280 (string-append share "/appdata/")))
281 #t)))
282 #:test-target "test"
283 #:python ,python-2))
284 (inputs
285 `(("alsa-lib" ,alsa-lib)
286 ("atkmm" ,atkmm)
287 ("aubio" ,aubio)
288 ("boost" ,boost)
289 ("cairomm" ,cairomm)
290 ("curl" ,curl)
291 ("eudev" ,eudev)
292 ("fftw" ,fftw)
293 ("fftwf" ,fftwf)
294 ("flac" ,flac)
295 ("glibmm" ,glibmm)
296 ("gtkmm" ,gtkmm-2)
297 ("jack" ,jack-1)
298 ("libarchive" ,libarchive)
299 ("libart-lgpl" ,libart-lgpl)
300 ("libgnomecanvasmm" ,libgnomecanvasmm)
301 ("liblo" ,liblo)
302 ("libogg" ,libogg)
303 ("libsamplerate" ,libsamplerate)
304 ("libsndfile" ,libsndfile)
305 ("libusb" ,libusb)
306 ("libvorbis" ,libvorbis)
307 ("libxml2" ,libxml2)
308 ("lilv" ,lilv)
309 ("lrdf" ,lrdf)
310 ("lv2" ,lv2)
311 ("pangomm" ,pangomm)
312 ("python-rdflib" ,python-rdflib)
313 ("readline" ,readline)
314 ("redland" ,redland)
315 ("rubberband" ,rubberband)
316 ("serd" ,serd)
317 ("sord" ,sord)
318 ("sratom" ,sratom)
319 ("suil" ,suil)
320 ("taglib" ,taglib)
321 ("vamp" ,vamp)))
322 (native-inputs
323 `(("cppunit" ,cppunit)
324 ("gettext" ,gettext-minimal)
325 ("itstool" ,itstool)
326 ("perl" ,perl)
327 ("pkg-config" ,pkg-config)))
328 (home-page "https://ardour.org")
329 (synopsis "Digital audio workstation")
330 (description
331 "Ardour is a multi-channel digital audio workstation, allowing users to
332 record, edit, mix and master audio and MIDI projects. It is targeted at audio
333 engineers, musicians, soundtrack editors and composers.")
334 (license license:gpl2+)))
335
336 (define-public audacity
337 (package
338 (name "audacity")
339 (version "2.3.3")
340 (source
341 (origin
342 (method git-fetch)
343 (uri (git-reference
344 (url "https://github.com/audacity/audacity.git")
345 (commit (string-append "Audacity-" version))))
346 (file-name (git-file-name name version))
347 (sha256
348 (base32
349 "0707fsnrl4vjalsi21w4blwgz024qhd0w8rdd5j5vpxf5lyk2rbk"))
350 (patches (search-patches "audacity-build-with-system-portaudio.patch"))
351 (modules '((guix build utils)))
352 (snippet
353 ;; Remove bundled libraries.
354 '(begin
355 (for-each
356 (lambda (dir)
357 (delete-file-recursively (string-append "lib-src/" dir)))
358 '("expat" "ffmpeg" "lame" "libflac" "libid3tag" "libmad" "libogg"
359 "libsndfile" "libsoxr" "libvamp" "libvorbis" "lv2"
360 "portaudio-v19" "portmidi" "soundtouch" "twolame"
361 ;; FIXME: these libraries have not been packaged yet:
362 ;; "libnyquist"
363 ;; "libscorealign"
364 ;; "libwidgetextra"
365 ;; "portburn"
366 ;; "portsmf"
367 ;; "portmixer"
368
369 ;; FIXME: we have this library, but it differs in that the Slide
370 ;; class does not have a member "getInverseStretchedTime".
371 ;; "sbsms"
372 ))
373 #t))))
374 (build-system glib-or-gtk-build-system)
375 (inputs
376 `(("wxwidgets" ,wxwidgets)
377 ("gtk+" ,gtk+)
378 ("alsa-lib" ,alsa-lib)
379 ("jack" ,jack-1)
380 ("expat" ,expat)
381 ("ffmpeg" ,ffmpeg)
382 ("lame" ,lame)
383 ("flac" ,flac)
384 ("libid3tag" ,libid3tag)
385 ("libmad" ,libmad)
386 ;;("libsbsms" ,libsbsms) ;bundled version is modified
387 ("libsndfile" ,libsndfile)
388 ("soundtouch" ,soundtouch)
389 ("soxr" ,soxr) ;replaces libsamplerate
390 ("twolame" ,twolame)
391 ("vamp" ,vamp)
392 ("libvorbis" ,libvorbis)
393 ("lv2" ,lv2)
394 ("lilv" ,lilv) ;for lv2
395 ("suil" ,suil) ;for lv2
396 ("portaudio" ,portaudio)
397 ("portmidi" ,portmidi)))
398 (native-inputs
399 `(("autoconf" ,autoconf)
400 ("automake" ,automake)
401 ("gettext" ,gettext-minimal) ;for msgfmt
402 ("libtool" ,libtool)
403 ("pkg-config" ,pkg-config)
404 ("python" ,python-2)
405 ("which" ,which)))
406 (arguments
407 `(#:configure-flags
408 (let ((libid3tag (assoc-ref %build-inputs "libid3tag"))
409 (libmad (assoc-ref %build-inputs "libmad"))
410 (portmidi (assoc-ref %build-inputs "portmidi")))
411 (list
412 ;; Loading FFmpeg dynamically is problematic.
413 "--disable-dynamic-loading"
414 ;; SSE instructions are available on Intel systems only.
415 ,@(if (any (cute string-prefix? <> (or (%current-target-system)
416 (%current-system)))
417 '("x64_64" "i686"))
418 '()
419 '("--enable-sse=no"))
420 ;; portmidi, libid3tag and libmad provide no .pc files, so
421 ;; pkg-config fails to find them. Force their inclusion.
422 (string-append "ID3TAG_CFLAGS=-I" libid3tag "/include")
423 (string-append "ID3TAG_LIBS=-L" libid3tag "/lib -lid3tag -lz")
424 (string-append "LIBMAD_CFLAGS=-I" libmad "/include")
425 (string-append "LIBMAD_LIBS=-L" libmad "/lib -lmad")
426 (string-append "PORTMIDI_CFLAGS=-I" portmidi "/include")
427 (string-append "PORTMIDI_LIBS=-L" portmidi "/lib -lportmidi")
428 "EXPAT_USE_SYSTEM=yes"
429 "FFMPEG_USE_SYSTEM=yes"
430 "LAME_USE_SYSTEM=yes"
431 "LIBFLAC_USE_SYSTEM=yes"
432 "LIBID3TAG_USE_SYSTEM=yes"
433 "LIBMAD_USE_SYSTEM=yes"
434 "USE_LOCAL_LIBNYQUIST=" ;not packaged yet
435 ;;"LIBSBSMS_USE_SYSTEM=yes" ;bundled version is patched
436 "LIBSNDFILE_USE_SYSTEM=yes"
437 "LIBSOUNDTOUCH_USE_SYSTEM=yes"
438 "LIBSOXR_USE_SYSTEM=yes"
439 "LIBTWOLAME_USE_SYSTEM=yes"
440 "LIBVAMP_USE_SYSTEM=yes"
441 "LIBVORBIS_USE_SYSTEM=yes"
442 "LV2_USE_SYSTEM=yes"
443 "PORTAUDIO_USE_SYSTEM=yes"))
444 #:phases
445 (modify-phases %standard-phases
446 (add-after 'unpack 'fix-sbsms-check
447 (lambda _
448 ;; This check is wrong: there is no 2.2.0 release; not even the
449 ;; bundled sources match this release string.
450 (substitute* '("m4/audacity_checklib_libsbsms.m4"
451 "configure")
452 (("sbsms >= 2.2.0") "sbsms >= 2.0.0"))
453 #t))
454 (add-after 'unpack 'use-upstream-headers
455 (lambda* (#:key inputs #:allow-other-keys)
456 (substitute* '("src/NoteTrack.cpp"
457 "src/AudioIO.cpp"
458 "src/AudioIO.h"
459 "src/AudioIOBase.cpp")
460 (("../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h")
461 (("../lib-src/portmidi/porttime/porttime.h") "porttime.h"))
462 (substitute* "src/prefs/MidiIOPrefs.cpp"
463 (("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h"))
464 #t)))
465 ;; The test suite is not "well exercised" according to the developers,
466 ;; and fails with various errors. See
467 ;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>.
468 #:tests? #f))
469 (home-page "https://www.audacityteam.org/")
470 (synopsis "Software for recording and editing sounds")
471 (description
472 "Audacity is a multi-track audio editor designed for recording, playing
473 and editing digital audio. It features digital effects and spectrum analysis
474 tools.")
475 (license license:gpl2+)))
476
477 (define-public audiofile
478 (package
479 (name "audiofile")
480 (version "0.3.6")
481 (source
482 (origin
483 (method url-fetch)
484 (uri (string-append
485 "https://audiofile.68k.org/audiofile-" version ".tar.gz"))
486 (sha256
487 (base32 "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind"))
488 (patches
489 ;; CVE references according to nixpgs
490 (search-patches
491 "audiofile-fix-datatypes-in-tests.patch"
492 "audiofile-fix-sign-conversion.patch"
493 "audiofile-hurd.patch"
494 "audiofile-CVE-2015-7747.patch"
495 ;; CVE-2017-6829:
496 "audiofile-Fix-index-overflow-in-IMA.cpp.patch"
497 ;; CVE-2017-6827, CVE-2017-6828, CVE-2017-6832, CVE-2017-6835,
498 ;; CVE-2017-6837:
499 "audiofile-Check-the-number-of-coefficients.patch"
500 ;; CVE-2017-6839:
501 "audiofile-Fix-overflow-in-MSADPCM-decodeSam.patch"
502 ;; CVE-2017-6830, CVE-2017-6834, CVE-2017-6836, CVE-2017-6838:
503 "audiofile-Fix-multiply-overflow-sfconvert.patch"
504 "audiofile-signature-of-multiplyCheckOverflow.patch"
505 ;; CVE-2017-6831:
506 "audiofile-Fail-on-error-in-parseFormat.patch"
507 ;; CVE-2017-6833:
508 "audiofile-division-by-zero-BlockCodec-runPull.patch"
509 "audiofile-CVE-2018-13440.patch"
510 "audiofile-CVE-2018-17095.patch"))))
511 (build-system gnu-build-system)
512 (inputs
513 `(("alsa-lib" ,alsa-lib)))
514 (home-page "https://audiofile.68k.org/")
515 (synopsis "Library to handle various audio file formats")
516 (description "This is an open-source version of SGI's audiofile library.
517 It provides a uniform programming interface for processing of audio data to
518 and from audio files of many common formats.
519
520 Currently supported file formats include AIFF/AIFF-C, WAVE, and NeXT/Sun
521 .snd/.au, BICS, and raw data. Supported compression formats are currently
522 G.711 mu-law and A-law.")
523 (license license:lgpl2.1+)))
524
525 (define-public autotalent
526 (package
527 (name "autotalent")
528 (version "0.2")
529 (source (origin
530 (method url-fetch)
531 (uri (string-append "http://tombaran.info/autotalent-"
532 version ".tar.gz"))
533 (sha256
534 (base32
535 "1n04qm66f14195ly6gsy3ra7v2j7zad5n19d8dwfmh0qs6h9hphh"))))
536 (build-system gnu-build-system)
537 (arguments
538 `(#:tests? #f ; no check target
539 #:phases
540 (modify-phases %standard-phases
541 ;; no configure script
542 (delete 'configure)
543 (add-before 'install 'prepare-target-directory
544 (lambda* (#:key outputs #:allow-other-keys)
545 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
546 #t))
547 (add-after 'unpack 'override-target-directory
548 (lambda* (#:key outputs #:allow-other-keys)
549 (substitute* "Makefile"
550 (("/usr/lib64/ladspa")
551 (string-append (assoc-ref outputs "out") "/lib/ladspa")))
552 #t)))))
553 (inputs
554 `(("ladspa" ,ladspa)))
555 (home-page "http://tombaran.info/autotalent.html")
556 (synopsis "Pitch-correction LADSPA audio plugin")
557 (description
558 "Autotalent is a LADSPA plugin for real-time pitch-correction. Among its
559 controls are allowable notes, strength of correction, LFO for vibrato and
560 formant warp.")
561 ;; All code except the FFT routine is licensed under GPLv2+.
562 ;; The FFT routine is under BSD-3.
563 (license license:gpl2+)))
564
565 (define-public azr3
566 (package
567 (name "azr3")
568 (version "1.2.3")
569 (source (origin
570 (method url-fetch)
571 (uri (string-append "mirror://savannah/ll-plugins/azr3-jack-"
572 version
573 ".tar.bz2"))
574 (sha256
575 (base32
576 "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc"))
577 (patches (search-patches "azr3.patch"))))
578 (build-system gnu-build-system)
579 (arguments
580 `(#:tests? #f ; no check target
581 #:make-flags
582 (list "LV2PEG=ttl2c"
583 (string-append "prefix=" %output)
584 (string-append "pkgdatadir=" %output "/share/azr3-jack"))
585 #:phases
586 (modify-phases %standard-phases
587 (add-before 'install 'fix-timestamp
588 (lambda _
589 (let ((early-1980 315619200)) ; 1980-01-02 UTC
590 (utime "azr3.1" early-1980 early-1980))
591 #t)))))
592 (inputs
593 `(("gtkmm" ,gtkmm-2)
594 ("lvtk" ,lvtk)
595 ("jack" ,jack-1)
596 ("lash" ,lash)))
597 (native-inputs
598 `(("pkg-config" ,pkg-config)))
599 (home-page "http://ll-plugins.nongnu.org/azr3/")
600 (synopsis "Tonewheel organ synthesizer")
601 (description
602 "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ
603 with drawbars, distortion and rotating speakers. The organ has three
604 sections, two polyphonic sections with nine drawbars each and one monophonic
605 bass section with five drawbars. A standalone JACK application and LV2
606 plugins are provided.")
607 (license license:gpl2)))
608
609 (define-public calf
610 (package
611 (name "calf")
612 (version "0.90.3")
613 (source (origin
614 (method url-fetch)
615 (uri (string-append "https://calf-studio-gear.org/files/calf-"
616 version ".tar.gz"))
617 (sha256
618 (base32
619 "17x4hylgq4dn9qycsdacfxy64f5cv57n2qgkvsdp524gnqzw4az3"))))
620 (build-system gnu-build-system)
621 (inputs
622 `(("fluidsynth" ,fluidsynth)
623 ("expat" ,expat)
624 ("glib" ,glib)
625 ("gtk" ,gtk+-2)
626 ("cairo" ,cairo)
627 ("lash" ,lash)
628 ("jack" ,jack-1)
629 ("lv2" ,lv2)
630 ("ladspa" ,ladspa)
631 ("fftw" ,fftw)))
632 (native-inputs
633 `(("pkg-config" ,pkg-config)))
634 (native-search-paths
635 (list (search-path-specification
636 (variable "LV2_PATH")
637 (files '("lib/lv2")))))
638 (home-page "http://calf.sourceforge.net/")
639 (synopsis "Audio plug-in pack for LV2 and JACK environments")
640 (description
641 "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments.
642 The suite contains lots of effects (delay, modulation, signal processing,
643 filters, equalizers, dynamics, distortion and mastering effects),
644 instruments (SF2 player, organ simulator and a monophonic synthesizer) and
645 tools (analyzer, mono/stereo tools, crossovers).")
646 ;; calfjackhost is released under GPLv2+
647 ;; The plugins are released under LGPLv2.1+
648 (license (list license:lgpl2.1+ license:gpl2+))))
649
650 (define-public caps-plugins-lv2
651 (package
652 (name "caps-plugins-lv2")
653 (version "0.9.24") ; version that has been ported.
654 (source
655 (origin
656 ;; The Github project hasn't tagged a release.
657 (method git-fetch)
658 (uri (git-reference
659 ;; Actually https://github.com/moddevices/caps-lv2.git, but it's
660 ;; missing fixes for newer glibc, so using the origin of a pull
661 ;; request regarding this issue:
662 (url "https://github.com/jujudusud/caps-lv2.git")
663 (commit "9c9478b7fbd8f9714f552ebe2a6866398b0babfb")))
664 (file-name (git-file-name name version))
665 (sha256
666 (base32
667 "1idfnazin3cca41zw1a8vwgnxjnkrap7bxxjamjqvgpmvydgcam1"))))
668 (build-system gnu-build-system)
669 (arguments
670 `(#:tests? #f ; no check target
671 #:phases
672 (modify-phases %standard-phases
673 ;; no configure script
674 (delete 'configure)
675 (add-after 'unpack 'override-target-directory
676 (lambda* (#:key outputs #:allow-other-keys)
677 (substitute* (find-files "plugins" "Makefile")
678 (("/usr/local")(assoc-ref outputs "out")))
679 #t)))))
680 (inputs
681 `(("lv2" ,lv2)))
682 ;; home-page of the original LADSPA version: http://quitte.de/dsp/caps.html
683 (home-page "https://github.com/moddevices/caps-lv2")
684 (synopsis "LV2 port of the CAPS audio plugin colection")
685 (description
686 "LV2 port of CAPS, a collection of audio plugins comprising basic virtual
687 guitar amplification and a small range of classic effects, signal processors and
688 generators of mostly elementary and occasionally exotic nature.")
689 (license license:gpl3+)))
690
691 (define-public infamous-plugins
692 (package
693 (name "infamous-plugins")
694 (version "0.2.04")
695 (source (origin
696 (method git-fetch)
697 (uri (git-reference
698 (url "https://github.com/ssj71/infamousPlugins.git")
699 (commit (string-append "v" version))))
700 (file-name (git-file-name name version))
701 (sha256
702 (base32
703 "0hmqk80w4qxq09iag7b7srf2g0wigkyhzq0ywxvhz2iz0hq9k0dh"))))
704 (build-system cmake-build-system)
705 (arguments
706 `(#:tests? #f ; there are no tests
707 #:phases
708 (modify-phases %standard-phases
709 (add-after 'unpack 'remove-compiler-flags
710 (lambda _
711 (substitute* (find-files "." "CMakeLists.txt")
712 (("-msse2 -mfpmath=sse") ""))
713 #t)))))
714 (inputs
715 `(("cairo" ,cairo)
716 ("fftwf" ,fftwf)
717 ("lv2" ,lv2)
718 ("ntk" ,ntk)
719 ("zita-resampler" ,zita-resampler)))
720 (native-inputs
721 `(("pkg-config" ,pkg-config)))
722 (home-page "https://ssj71.github.io/infamousPlugins")
723 (synopsis "LV2 plugins for live use")
724 (description
725 "The infamous plugins are a collection of LV2 audio plugins for live
726 performances. The plugins include a cellular automaton synthesizer, an
727 envelope follower, distortion effects, tape effects and more.")
728 (license license:gpl2+)))
729
730 (define-public swh-plugins
731 (package
732 (name "swh-plugins")
733 (version "0.4.17")
734 (source (origin
735 (method git-fetch)
736 (uri (git-reference
737 (url "https://github.com/swh/ladspa.git")
738 (commit (string-append "v" version))))
739 (file-name (git-file-name name version))
740 (sha256
741 (base32
742 "1c98z2xxz9pgcb4dg99gz8qrylh5cnag0j18a52d88ifsy24isvq"))))
743 (native-inputs
744 `(("autoconf" ,autoconf)
745 ("automake" ,automake)
746 ("gettext" ,gettext-minimal) ;for autopoint
747 ("libtool" ,libtool)
748 ("perl" ,perl)
749 ("pkg-config" ,pkg-config)
750 ("which" ,which)))
751 (inputs
752 `(("fftwf" ,fftwf)
753 ("perl-xml-parser" ,perl-xml-parser)))
754 (build-system gnu-build-system)
755 (home-page "http://plugin.org.uk")
756 (synopsis "The SWH Plugins package for the LADSPA plugin system")
757 (description "This package provides Steve Harris's LADSPA plugins.")
758 (license license:gpl2+)))
759
760 (define-public swh-plugins-lv2
761 (package
762 (name "swh-plugins-lv2")
763 (version "1.0.16")
764 (source (origin
765 (method git-fetch)
766 (uri (git-reference
767 (url "https://github.com/swh/lv2.git")
768 (commit (string-append "v" version))))
769 (file-name (git-file-name name version))
770 (sha256
771 (base32
772 "0y7nnww864mm4k6ayy2lhcws3wlbhb2gkyjbrwk921fvc18qk9mz"))))
773 (build-system gnu-build-system)
774 (arguments
775 `(#:tests? #f ; no check target
776 #:make-flags (list "CC=gcc"
777 (string-append "PREFIX="
778 (assoc-ref %outputs "out")))
779 #:phases
780 (modify-phases %standard-phases
781 ;; no configure script
782 (delete 'configure)
783 (add-after 'unpack 'patch-makefile-and-enter-directory
784 ;; The default install target doesn't install, but the
785 ;; "install-system" target does.
786 (lambda _
787 (substitute* "Makefile"
788 (("install:") "install: install-system"))
789 #t)))))
790 (inputs
791 `(("lv2" ,lv2)
792 ("fftwf" ,fftwf)))
793 (native-inputs
794 `(("libxslt" ,libxslt)
795 ("pkg-config" ,pkg-config)))
796 (home-page "http://plugin.org.uk")
797 (synopsis "SWH plugins in LV2 format")
798 (description
799 "Swh-plugins-lv2 is a collection of audio plugins in LV2 format. Plugin
800 classes include: dynamics (compressor, limiter), time (delay, chorus,
801 flanger), ringmodulator, distortion, filters, pitchshift, oscillators,
802 emulation (valve, tape), bit fiddling (decimator, pointer-cast), etc.")
803 (license license:gpl3+)))
804
805 (define-public csound
806 (package
807 (name "csound")
808 (version "6.13.0")
809 (source (origin
810 (method git-fetch)
811 (uri (git-reference
812 (url "https://github.com/csound/csound.git")
813 (commit version)))
814 (file-name (git-file-name name version))
815 (sha256
816 (base32
817 "14822ybqyp31z18gky2y9zadr9dkbhabg97y139py73w7v3af1bh"))))
818 (build-system cmake-build-system)
819 (inputs
820 `(("alsa-lib" ,alsa-lib)
821 ("boost" ,boost)
822 ("pulseaudio" ,pulseaudio)
823 ("libsndfile" ,libsndfile)
824 ("liblo" ,liblo)
825 ("ladspa" ,ladspa)
826 ("jack" ,jack-1)
827 ("gettext" ,gettext-minimal)))
828 (native-inputs
829 `(("bison" ,bison)
830 ("flex" ,flex)
831 ("zlib" ,zlib)))
832 (home-page "https://csound.com/")
833 (synopsis "Sound and music computing system")
834 (description
835 "Csound is a user-programmable and user-extensible sound processing
836 language and software synthesizer.")
837 (license license:lgpl2.1+)))
838
839 (define-public clalsadrv
840 (package
841 (name "clalsadrv")
842 (version "2.0.0")
843 (source (origin
844 (method url-fetch)
845 (uri (string-append
846 "http://kokkinizita.linuxaudio.org"
847 "/linuxaudio/downloads/clalsadrv-"
848 version ".tar.bz2"))
849 (sha256
850 (base32
851 "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq"))))
852 (build-system gnu-build-system)
853 (arguments
854 `(#:tests? #f ; no "check" target
855 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
856 #:phases
857 (modify-phases %standard-phases
858 (add-after 'unpack 'patch-makefile-and-enter-directory
859 (lambda _
860 (substitute* "libs/Makefile"
861 (("/sbin/ldconfig") "true")
862 (("^LIBDIR =.*") "LIBDIR = lib\n"))
863 (chdir "libs")
864 #t))
865 (add-after 'install 'install-symlink
866 (lambda _
867 (symlink "libclalsadrv.so"
868 (string-append (assoc-ref %outputs "out")
869 "/lib/libclalsadrv.so.2"))
870 #t))
871 ;; no configure script
872 (delete 'configure))))
873 (inputs
874 `(("alsa-lib" ,alsa-lib)
875 ("fftw" ,fftw)))
876 (home-page "https://kokkinizita.linuxaudio.org")
877 (synopsis "C++ wrapper around the ALSA API")
878 (description
879 "clalsadrv is a C++ wrapper around the ALSA API simplifying access to
880 ALSA PCM devices.")
881 (license license:gpl2+)))
882
883 (define-public amb-plugins
884 (package
885 (name "amb-plugins")
886 (version "0.8.1")
887 (source (origin
888 (method url-fetch)
889 (uri (string-append
890 "http://kokkinizita.linuxaudio.org"
891 "/linuxaudio/downloads/AMB-plugins-"
892 version ".tar.bz2"))
893 (sha256
894 (base32
895 "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl"))))
896 (build-system gnu-build-system)
897 (arguments
898 `(#:tests? #f ; no "check" target
899 #:phases
900 (modify-phases %standard-phases
901 ;; no configure script
902 (delete 'configure)
903 (add-before 'install 'prepare-target-directory
904 (lambda* (#:key outputs #:allow-other-keys)
905 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
906 #t))
907 (add-after 'unpack 'override-target-directory-and-tool-paths
908 (lambda* (#:key outputs #:allow-other-keys)
909 (substitute* "Makefile"
910 (("/usr/lib/ladspa")
911 (string-append (assoc-ref outputs "out") "/lib/ladspa"))
912 (("/usr/bin/install") (which "install"))
913 (("/bin/rm") "#"))
914 #t)))))
915 (home-page "https://kokkinizita.linuxaudio.org")
916 (synopsis "LADSPA ambisonics plugins")
917 (description
918 "The AMB plugins are a set of LADSPA ambisonics plugins, mainly to be
919 used within Ardour. Features include: mono and stereo to B-format panning,
920 horizontal rotator, square, hexagon and cube decoders.")
921 (license license:gpl2+)))
922
923 (define-public mcp-plugins
924 (package
925 (name "mcp-plugins")
926 (version "0.4.0")
927 (source (origin
928 (method url-fetch)
929 (uri (string-append
930 "http://kokkinizita.linuxaudio.org"
931 "/linuxaudio/downloads/MCP-plugins-"
932 version ".tar.bz2"))
933 (sha256
934 (base32
935 "06a9r1l85jmg7l1cvc3788mk8ra0xagjfy1rmhw3b80y4n0vlnvc"))))
936 (build-system gnu-build-system)
937 (arguments
938 `(#:tests? #f ; no "check" target
939 #:phases
940 (modify-phases %standard-phases
941 ;; no configure script
942 (delete 'configure)
943 (add-before 'install 'prepare-target-directory
944 (lambda* (#:key outputs #:allow-other-keys)
945 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
946 #t))
947 (add-after 'unpack 'override-target-directory
948 (lambda* (#:key outputs #:allow-other-keys)
949 (substitute* "Makefile"
950 (("/usr") (assoc-ref outputs "out")))
951 #t)))))
952 (home-page "https://kokkinizita.linuxaudio.org")
953 (synopsis "Chorus, phaser, and vintage high-pass and low-pass filters")
954 (description
955 "This package provides various LADSPA plugins. @code{cs_chorus} and
956 @code{cs_phaser} provide chorus and phaser effects, respectively;
957 @code{mvclpf24} provides four implementations of the low-pass filter used in
958 vintage Moog synthesizers; @code{mvchpf24} is based on the voltage-controlled
959 high-pass filter by Robert Moog. The filters attempt to accurately emulate
960 the non-linear circuit elements of their original analog counterparts.")
961 (license license:gpl2+)))
962
963 (define-public rev-plugins
964 (package
965 (name "rev-plugins")
966 (version "0.7.1")
967 (source (origin
968 (method url-fetch)
969 (uri (string-append
970 "http://kokkinizita.linuxaudio.org"
971 "/linuxaudio/downloads/REV-plugins-"
972 version ".tar.bz2"))
973 (sha256
974 (base32
975 "1ikpinxm00pkfi259bnkzhsy3miagrjgdihaaf5x4v7zac29j3g7"))))
976 (build-system gnu-build-system)
977 (arguments
978 `(#:tests? #f ; no "check" target
979 #:phases
980 (modify-phases %standard-phases
981 ;; no configure script
982 (delete 'configure)
983 (add-before 'install 'prepare-target-directory
984 (lambda* (#:key outputs #:allow-other-keys)
985 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
986 #t))
987 (add-after 'unpack 'override-target-directory
988 (lambda* (#:key outputs #:allow-other-keys)
989 (substitute* "Makefile"
990 (("/usr") (assoc-ref outputs "out")))
991 #t)))))
992 (home-page "https://kokkinizita.linuxaudio.org")
993 (synopsis "LADSPA reverb plugin")
994 (description
995 "This package provides a stereo reverb LADSPA plugin based on the
996 well-known greverb.")
997 (license license:gpl2+)))
998
999 (define-public fil-plugins
1000 (package
1001 (name "fil-plugins")
1002 (version "0.3.0")
1003 (source (origin
1004 (method url-fetch)
1005 (uri (string-append
1006 "http://kokkinizita.linuxaudio.org"
1007 "/linuxaudio/downloads/FIL-plugins-"
1008 version ".tar.bz2"))
1009 (sha256
1010 (base32
1011 "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw"))))
1012 (build-system gnu-build-system)
1013 (arguments
1014 `(#:tests? #f ; no "check" target
1015 #:phases
1016 (modify-phases %standard-phases
1017 ;; no configure script
1018 (delete 'configure)
1019 (add-before 'install 'prepare-target-directory
1020 (lambda* (#:key outputs #:allow-other-keys)
1021 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1022 #t))
1023 (add-after 'unpack 'override-target-directory
1024 (lambda* (#:key outputs #:allow-other-keys)
1025 (substitute* "Makefile"
1026 (("/usr") (assoc-ref outputs "out")))
1027 #t)))))
1028 (home-page "https://kokkinizita.linuxaudio.org")
1029 (synopsis "LADSPA four-band parametric equalizer plugin")
1030 (description
1031 "This package provides a LADSPA plugin for a four-band parametric
1032 equalizer. Each section has an active/bypass switch, frequency, bandwidth and
1033 gain controls. There is also a global bypass switch and gain control.
1034
1035 The 2nd order resonant filters are implemented using a Mitra-Regalia style
1036 lattice filter, which is stable even while parameters are being changed.
1037
1038 All switches and controls are internally smoothed, so they can be used @code{live}
1039 without any clicks or zipper noises. This makes this plugin suitable for use
1040 in systems that allow automation of plugin control ports, such as Ardour, or
1041 for stage use.")
1042 (license license:gpl2+)))
1043
1044 (define-public ste-plugins
1045 (package
1046 (name "ste-plugins")
1047 (version "0.0.2")
1048 (source (origin
1049 (method url-fetch)
1050 (uri (string-append
1051 "http://kokkinizita.linuxaudio.org"
1052 "/linuxaudio/downloads/STE-plugins-"
1053 version ".tar.bz2"))
1054 (sha256
1055 (base32
1056 "0s3c9w5xihs87cnd1lh9xgj3maabjdyh6bl766qp5lhkg3ax8zy6"))))
1057 (build-system gnu-build-system)
1058 (arguments
1059 `(#:tests? #f ; no "check" target
1060 #:phases
1061 (modify-phases %standard-phases
1062 ;; no configure script
1063 (delete 'configure)
1064 (add-before 'install 'prepare-target-directory
1065 (lambda* (#:key outputs #:allow-other-keys)
1066 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1067 #t))
1068 (add-after 'unpack 'override-target-directory
1069 (lambda* (#:key outputs #:allow-other-keys)
1070 (substitute* "Makefile"
1071 (("/usr") (assoc-ref outputs "out")))
1072 #t)))))
1073 (home-page "https://kokkinizita.linuxaudio.org")
1074 (synopsis "LADSPA stereo width plugin")
1075 (description
1076 "This package provides a LADSPA plugin to manipulate the stereo width of
1077 audio signals.")
1078 (license license:gpl2+)))
1079
1080 (define-public vco-plugins
1081 (package
1082 (name "vco-plugins")
1083 (version "0.3.0")
1084 (source (origin
1085 (method url-fetch)
1086 (uri (string-append
1087 "http://kokkinizita.linuxaudio.org"
1088 "/linuxaudio/downloads/VCO-plugins-"
1089 version ".tar.bz2"))
1090 (sha256
1091 (base32
1092 "1xzqdg3b07r7zww05y9bb737l9dxvfkv28m3fyak1aazaci3rsgl"))))
1093 (build-system gnu-build-system)
1094 (arguments
1095 `(#:tests? #f ; no "check" target
1096 #:phases
1097 (modify-phases %standard-phases
1098 ;; no configure script
1099 (delete 'configure)
1100 (add-before 'install 'prepare-target-directory
1101 (lambda* (#:key outputs #:allow-other-keys)
1102 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1103 #t))
1104 (add-after 'unpack 'override-target-directory
1105 (lambda* (#:key outputs #:allow-other-keys)
1106 (substitute* "Makefile"
1107 (("/usr") (assoc-ref outputs "out"))
1108 (("/bin/cp") (which "cp")))
1109 #t)))))
1110 (home-page "https://kokkinizita.linuxaudio.org")
1111 (synopsis "LADSPA plugin for synthesizer oscillators")
1112 (description
1113 "The @code{blvco} LADSPA plugin provides three anti-aliased oscillators:
1114
1115 @enumerate
1116 @item Pulse-VCO, a dirac pulse oscillator with flat amplitude spectrum
1117 @item Saw-VCO, a sawtooth oscillator with 1/F amplitude spectrum
1118 @item Rec-VCO, a square / rectangle oscillator
1119 @end enumerate\n
1120
1121 All oscillators are low-pass filtered to provide waveforms similar to the
1122 output of analog synthesizers such as the Moog Voyager.")
1123 (license license:gpl2+)))
1124
1125 (define-public wah-plugins
1126 (package
1127 (name "wah-plugins")
1128 (version "0.1.0")
1129 (source (origin
1130 (method url-fetch)
1131 (uri (string-append
1132 "http://kokkinizita.linuxaudio.org"
1133 "/linuxaudio/downloads/WAH-plugins-"
1134 version ".tar.bz2"))
1135 (sha256
1136 (base32
1137 "1wkbjarxdhjixkh7d5abralj11dj2xxg644fz3ycd7qyfgfvjfgd"))))
1138 (build-system gnu-build-system)
1139 (arguments
1140 `(#:tests? #f ; no "check" target
1141 #:phases
1142 (modify-phases %standard-phases
1143 ;; no configure script
1144 (delete 'configure)
1145 (add-before 'install 'prepare-target-directory
1146 (lambda* (#:key outputs #:allow-other-keys)
1147 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1148 #t))
1149 (add-after 'unpack 'override-target-directory
1150 (lambda* (#:key outputs #:allow-other-keys)
1151 (substitute* "Makefile"
1152 (("/usr") (assoc-ref outputs "out")))
1153 #t)))))
1154 (home-page "https://kokkinizita.linuxaudio.org")
1155 (synopsis "LADSPA Autowah effect plugin")
1156 (description
1157 "This package provides a LADSPA plugin for a Wah effect with envelope
1158 follower.")
1159 (license license:gpl2+)))
1160
1161 (define-public g2reverb
1162 (package
1163 (name "g2reverb")
1164 (version "0.7.1")
1165 (source (origin
1166 (method url-fetch)
1167 (uri (string-append
1168 "http://kokkinizita.linuxaudio.org"
1169 "/linuxaudio/downloads/g2reverb-"
1170 version ".tar.bz2"))
1171 (sha256
1172 (base32
1173 "18wb8vj1kky5glr76s34awbi8qzplsmf3wjbd7a12hfv4j0bkwrj"))))
1174 (build-system gnu-build-system)
1175 (arguments
1176 `(#:tests? #f ; no "check" target
1177 #:phases
1178 (modify-phases %standard-phases
1179 ;; no configure script
1180 (delete 'configure)
1181 (add-before 'install 'prepare-target-directory
1182 (lambda* (#:key outputs #:allow-other-keys)
1183 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1184 #t))
1185 (add-after 'unpack 'override-target-directory
1186 (lambda* (#:key outputs #:allow-other-keys)
1187 (substitute* "Makefile"
1188 (("/usr") (assoc-ref outputs "out")))
1189 #t)))))
1190 (home-page "https://kokkinizita.linuxaudio.org")
1191 (synopsis "LADSPA stereo reverb plugin")
1192 (description
1193 "This package provides a LADSPA plugin for a stereo reverb effect.")
1194 (license license:gpl2+)))
1195
1196 (define-public fluidsynth
1197 (package
1198 (name "fluidsynth")
1199 (version "2.1.1")
1200 (source (origin
1201 (method git-fetch)
1202 (uri (git-reference
1203 (url "https://github.com/FluidSynth/fluidsynth.git")
1204 (commit (string-append "v" version))))
1205 (file-name (git-file-name name version))
1206 (sha256
1207 (base32
1208 "09jq04hrasidf6b5gkk4aba13fq55z3bmn7bq35rdaikz26xiij4"))))
1209 (build-system cmake-build-system)
1210 (arguments
1211 '(#:tests? #f ; no check target
1212 #:phases
1213 (modify-phases %standard-phases
1214 (add-after 'unpack 'fix-libdir
1215 (lambda _
1216 ;; Install libraries to /lib, not /lib64.
1217 (substitute* "CMakeLists.txt"
1218 (("LIB_SUFFIX \\$\\{_init_lib_suffix\\}")
1219 "LIB_SUFFIX \"\""))
1220 #t)))))
1221 (inputs
1222 `(("libsndfile" ,libsndfile)
1223 ("alsa-lib" ,alsa-lib)
1224 ("jack" ,jack-1)
1225 ("ladspa" ,ladspa)
1226 ("lash" ,lash)
1227 ("readline" ,readline)
1228 ("glib" ,glib)))
1229 (native-inputs
1230 `(("pkg-config" ,pkg-config)))
1231 (home-page "http://www.fluidsynth.org/")
1232 (synopsis "SoundFont synthesizer")
1233 (description
1234 "FluidSynth is a real-time software synthesizer based on the SoundFont 2
1235 specifications. FluidSynth reads and handles MIDI events from the MIDI input
1236 device. It is the software analogue of a MIDI synthesizer. FluidSynth can
1237 also play midifiles using a Soundfont.")
1238 (license license:lgpl2.1+)))
1239
1240 ;; gzdoom@3.3.0 and lmms@1.1.3 requires this version. Remove once no longer
1241 ;; needed.
1242 (define-public fluidsynth-1
1243 (package
1244 (inherit fluidsynth)
1245 (version "1.1.11")
1246 (source (origin
1247 (inherit (package-source fluidsynth))
1248 (uri (git-reference
1249 (url "https://github.com/FluidSynth/fluidsynth")
1250 (commit (string-append "v" version))))
1251 (file-name (git-file-name "fluidsynth" version))
1252 (sha256
1253 (base32
1254 "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh"))))))
1255
1256 (define-public faad2
1257 (package
1258 (name "faad2")
1259 (version "2.8.6")
1260 (source (origin
1261 (method url-fetch)
1262 (uri (string-append "mirror://sourceforge/faac/faad2-src/faad2-"
1263 (version-major+minor version) ".0/"
1264 "faad2-" version ".tar.gz"))
1265 (sha256
1266 (base32
1267 "089zqykqgmmysznvk0bi2pfvdqwclnn540d0zks83sv2pynpfjb5"))))
1268 (build-system gnu-build-system)
1269 (home-page "https://www.audiocoding.com/faad2.html")
1270 (synopsis "MPEG-4 and MPEG-2 AAC decoder")
1271 (description
1272 "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR,
1273 PS, and DAB+.")
1274 (license license:gpl2)))
1275
1276 (define-public faust
1277 (package
1278 (name "faust")
1279 (version "0.9.90")
1280 (source (origin
1281 (method git-fetch)
1282 (uri (git-reference
1283 (url "https://github.com/grame-cncm/faust.git")
1284 (commit (string-append "v"
1285 (string-map (lambda (c)
1286 (if (char=? c #\.) #\- c))
1287 version)))))
1288 (file-name (string-append "faust-" version "-checkout"))
1289 (sha256
1290 (base32
1291 "0qc6iwjd3i80jdyjc186c6ywipmjzl8wlsp4050pbr56q4rlkd4z"))))
1292 (build-system gnu-build-system)
1293 (arguments
1294 `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
1295 #:tests? #f
1296 #:phases
1297 (modify-phases %standard-phases
1298 ;; no "configure" script
1299 (delete 'configure)
1300 ;; Files appear under $out/share/faust that are read-only. The
1301 ;; install phase tries to overwrite them and fails, so we change
1302 ;; the permissions first.
1303 (add-before 'install 'fix-permissions
1304 (lambda _
1305 (for-each (lambda (file)
1306 (chmod file #o644))
1307 (find-files "architecture/max-msp" ".*"))
1308 #t)))))
1309 (native-inputs
1310 `(("unzip" ,unzip)))
1311 (home-page "https://faust.grame.fr/")
1312 (synopsis "Signal processing language")
1313 (description
1314 "Faust is a programming language for realtime audio signal processing.")
1315 (license license:gpl2+)))
1316
1317 (define-public faust-2
1318 (package
1319 (inherit faust)
1320 (version "2.5.23")
1321 (source (origin
1322 (method url-fetch)
1323 (uri (string-append "https://github.com/grame-cncm/faust/"
1324 "releases/download/" version
1325 "/faust-" version ".tar.gz"))
1326 (sha256
1327 (base32
1328 "1yz5jnr76hh7rmxkpdi7gyrw1wp4gyqfpq8zyl97qdi5ga5gjznq"))))
1329 (build-system gnu-build-system)
1330 (arguments
1331 (substitute-keyword-arguments (package-arguments faust)
1332 ((#:make-flags flags)
1333 `(list (string-append "prefix=" (assoc-ref %outputs "out"))
1334 "world"))))
1335 (native-inputs
1336 `(("llvm" ,llvm-3.8)
1337 ("which" ,which)
1338 ("xxd" ,xxd)
1339 ("ctags" ,emacs-minimal) ; for ctags
1340 ("pkg-config" ,pkg-config)))
1341 (inputs
1342 `(("libsndfile" ,libsndfile)
1343 ("libmicrohttpd" ,libmicrohttpd)
1344 ("ncurses" ,ncurses)
1345 ("openssl" ,openssl)
1346 ("zlib" ,zlib)))))
1347
1348 (define-public freepats
1349 (package
1350 (name "freepats")
1351 (version "20060219")
1352 (source (origin
1353 (method url-fetch)
1354 (uri (string-append "http://freepats.zenvoid.org/freepats-"
1355 version ".tar.bz2"))
1356 (sha256
1357 (base32
1358 "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82"))))
1359 (build-system trivial-build-system)
1360 (arguments
1361 `(#:modules ((guix build utils))
1362 #:builder (begin
1363 (use-modules (guix build utils))
1364 (let ((out (string-append %output "/share/freepats")))
1365 (setenv "PATH" (string-append
1366 (assoc-ref %build-inputs "bzip2") "/bin:"
1367 (assoc-ref %build-inputs "tar") "/bin"))
1368 (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
1369 (chdir "freepats")
1370 ;; Use absolute pattern references
1371 (substitute* "freepats.cfg"
1372 (("Tone_000") (string-append out "/Tone_000"))
1373 (("Drum_000") (string-append out "/Drum_000")))
1374 (mkdir-p out)
1375 (copy-recursively "." out)
1376 #t))))
1377 (native-inputs
1378 `(("tar" ,tar)
1379 ("bzip2" ,bzip2)))
1380 (home-page "http://freepats.zenvoid.org")
1381 (synopsis "GUS compatible patches for MIDI players")
1382 (description
1383 "FreePats is a project to create a free and open set of GUS compatible
1384 patches that can be used with softsynths such as Timidity and WildMidi.")
1385 ;; GPLv2+ with exception for compositions using these patches.
1386 (license license:gpl2+)))
1387
1388 (define-public guitarix
1389 (package
1390 (name "guitarix")
1391 (version "0.38.1")
1392 (source (origin
1393 (method url-fetch)
1394 (uri (string-append
1395 "mirror://sourceforge/guitarix/guitarix/guitarix2-"
1396 version ".tar.xz"))
1397 (sha256
1398 (base32
1399 "0bw7xnrx062nwb1bfj9x660h7069ncmz77szcs8icpqxrvhs7z80"))))
1400 (build-system waf-build-system)
1401 (arguments
1402 `(#:tests? #f ; no "check" target
1403 #:python ,python-2
1404 #:configure-flags
1405 (list
1406 ;; Add the output lib directory to the RUNPATH.
1407 (string-append "--ldflags=-Wl,-rpath=" %output "/lib"))
1408 #:phases
1409 (modify-phases %standard-phases
1410 (add-after 'unpack 'fix-boost-includes
1411 (lambda _
1412 (substitute* "src/headers/gx_internal_plugins.h"
1413 (("namespace gx_jack" m)
1414 (string-append "#include <boost/noncopyable.hpp>\n" m)))
1415 (substitute* '("src/headers/gx_system.h"
1416 "src/headers/gx_parameter.h"
1417 "src/headers/gx_json.h")
1418 (("namespace gx_system" m)
1419 (string-append "#include <boost/noncopyable.hpp>\n" m)))
1420 #t)))))
1421 (inputs
1422 `(("libsndfile" ,libsndfile)
1423 ("boost" ,boost)
1424 ("curl" ,curl)
1425 ("avahi" ,avahi)
1426 ("eigen" ,eigen)
1427 ("lv2" ,lv2)
1428 ("lilv" ,lilv)
1429 ("ladspa" ,ladspa)
1430 ("jack" ,jack-1)
1431 ("gtkmm" ,gtkmm-2)
1432 ("gtk+" ,gtk+-2)
1433 ("fftwf" ,fftwf)
1434 ("lrdf" ,lrdf)
1435 ("zita-resampler" ,zita-resampler)
1436 ("zita-convolver" ,zita-convolver)))
1437 (native-inputs
1438 `(("gperf" ,gperf)
1439 ("faust" ,faust)
1440 ("intltool" ,intltool)
1441 ("gettext" ,gettext-minimal)
1442 ("pkg-config" ,pkg-config)))
1443 (native-search-paths
1444 (list (search-path-specification
1445 (variable "LV2_PATH")
1446 (files '("lib/lv2")))))
1447 (home-page "https://guitarix.org/")
1448 (synopsis "Virtual guitar amplifier")
1449 (description "Guitarix is a virtual guitar amplifier running JACK.
1450 Guitarix takes the signal from your guitar as a mono-signal from your sound
1451 card. The input is processed by a main amp and a rack-section. Both can be
1452 routed separately and deliver a processed stereo-signal via JACK. You may
1453 fill the rack with effects from more than 25 built-in modules including stuff
1454 from a simple noise gate to modulation effects like flanger, phaser or
1455 auto-wah.")
1456 (license license:gpl2+)))
1457
1458 (define-public guitarix-lv2
1459 (package (inherit guitarix)
1460 (name "guitarix-lv2")
1461 (arguments
1462 (substitute-keyword-arguments (package-arguments guitarix)
1463 ((#:configure-flags flags)
1464 `(cons "--no-standalone" ,flags))))))
1465
1466 (define-public rakarrack
1467 (package
1468 (name "rakarrack")
1469 (version "0.6.1")
1470 (source (origin
1471 (method url-fetch)
1472 (uri (string-append "mirror://sourceforge/rakarrack/rakarrack/"
1473 "rakarrack-" version "/rakarrack-"
1474 version ".tar.bz2"))
1475 (sha256
1476 (base32
1477 "1rpf63pdn54c4yg13k7cb1w1c7zsvl97c4qxcpz41c8l91xd55kn"))
1478 (modules '((guix build utils)))
1479 (snippet
1480 '(begin
1481 (substitute* '("src/process.C"
1482 "src/global.h")
1483 (("#include <Fl/") "#include <FL/"))
1484 #t))))
1485 (build-system gnu-build-system)
1486 (inputs
1487 `(("alsa-utils" ,alsa-utils)
1488 ("fltk" ,fltk)
1489 ("libx11" ,libx11)
1490 ("libxext" ,libxext)
1491 ("libxfixes" ,libxfixes)
1492 ("libxft" ,libxft)
1493 ("libxrender" ,libxrender)
1494 ("libxpm" ,libxpm)
1495 ("fontconfig" ,fontconfig)
1496 ("freetype" ,freetype)
1497 ("jack" ,jack-1)
1498 ("alsa-lib" ,alsa-lib)
1499 ("libsndfile" ,libsndfile)
1500 ("libsamplerate" ,libsamplerate)
1501 ("zlib" ,zlib)))
1502 (home-page "http://rakarrack.sourceforge.net/")
1503 (synopsis "Audio effects processor")
1504 (description
1505 "Rakarrack is a richly featured multi-effects processor emulating a
1506 guitar effects pedalboard. Effects include compressor, expander, noise gate,
1507 equalizers, exciter, flangers, chorus, various delay and reverb effects,
1508 distortion modules and many more. Most of the effects engine is built from
1509 modules found in the excellent software synthesizer ZynAddSubFX. Presets and
1510 user interface are optimized for guitar, but Rakarrack processes signals in
1511 stereo while it does not apply internal band-limiting filtering, and thus is
1512 well suited to all musical instruments and vocals.")
1513 ;; The code is explicitly licensed under the GPL version 2 only.
1514 (license license:gpl2)))
1515
1516 (define-public ir
1517 (package
1518 (name "ir")
1519 (version "1.3.4")
1520 (source (origin
1521 (method git-fetch)
1522 (uri (git-reference
1523 (url "https://github.com/tomszilagyi/ir.lv2")
1524 (commit version)))
1525 (file-name (git-file-name name version))
1526 (sha256
1527 (base32
1528 "0svmjhg4r6wy5ci5rwz43ybll7yxjv7nnj7nyqscbzhr3gi5aib0"))))
1529 (build-system gnu-build-system)
1530 (arguments
1531 `(#:tests? #f ; no tests
1532 #:make-flags
1533 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1534 (string-append "INSTDIR="
1535 (assoc-ref %outputs "out") "/lib/lv2"))
1536 #:phases (modify-phases %standard-phases
1537 (delete 'configure)))) ; no configure script
1538 (inputs
1539 `(("libsndfile" ,libsndfile)
1540 ("libsamplerate" ,libsamplerate)
1541 ("lv2" ,lv2)
1542 ("glib" ,glib)
1543 ("gtk+" ,gtk+-2)
1544 ("zita-convolver" ,zita-convolver)))
1545 (native-inputs
1546 `(("pkg-config" ,pkg-config)))
1547 (native-search-paths
1548 (list (search-path-specification
1549 (variable "LV2_PATH")
1550 (files '("lib/lv2")))))
1551 (home-page "https://tomszilagyi.github.io/plugins/ir.lv2")
1552 (synopsis "LV2 convolution reverb")
1553 (description
1554 "IR is a low-latency, real-time, high performance signal convolver
1555 especially for creating reverb effects. It supports impulse responses with 1,
1556 2 or 4 channels, in any soundfile format supported by libsndfile.")
1557 (license license:gpl2+)))
1558
1559 (define-public jack-1
1560 (package
1561 (name "jack")
1562 (version "0.125.0")
1563 (source (origin
1564 (method url-fetch)
1565 (uri (string-append
1566 "http://jackaudio.org/downloads/jack-audio-connection-kit-"
1567 version
1568 ".tar.gz"))
1569 (sha256
1570 (base32
1571 "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"))))
1572 (build-system gnu-build-system)
1573 (arguments
1574 `(#:phases (modify-phases %standard-phases
1575 (add-after 'unpack 'patch-configure
1576 (lambda _
1577 (substitute* "configure"
1578 ;; Install to <out/lib> regardless of platform.
1579 (("libnn=lib64") "libnn=lib"))
1580 #t)))))
1581 (inputs
1582 `(("alsa-lib" ,alsa-lib)
1583 ("readline" ,readline)))
1584 ;; uuid.h is included in the JACK type headers
1585 ;; db.h is included in the libjack metadata headers
1586 (propagated-inputs
1587 `(("libuuid" ,util-linux)
1588 ("bdb" ,bdb)))
1589 (native-inputs
1590 `(("pkg-config" ,pkg-config)))
1591 (home-page "http://jackaudio.org/")
1592 (synopsis "JACK audio connection kit")
1593 (description
1594 "JACK is a low-latency audio server. It can connect a number of
1595 different applications to an audio device, as well as allowing them to share
1596 audio between themselves. JACK is different from other audio server efforts
1597 in that it has been designed from the ground up to be suitable for
1598 professional audio work. This means that it focuses on two key areas:
1599 synchronous execution of all clients, and low latency operation.")
1600 ;; Most files are licensed under the GPL. However, the libjack/ tree is
1601 ;; licensed under the LGPL in order to allow for proprietary usage.
1602 (license (list license:gpl2+ license:lgpl2.1+))))
1603
1604 ;; Packages depending on JACK should always prefer jack-1. Both jack-1 and
1605 ;; jack-2 implement the same API. JACK2 is provided primarily as a client
1606 ;; program for users who might benefit from the D-BUS features.
1607 (define-public jack-2
1608 (package (inherit jack-1)
1609 (name "jack2")
1610 (version "1.9.13")
1611 (source (origin
1612 (method url-fetch)
1613 (uri (string-append "https://github.com/jackaudio/jack2/releases/"
1614 "download/v" version "/jack2-"
1615 version ".tar.gz"))
1616 (file-name (string-append name "-" version ".tar.gz"))
1617 (sha256
1618 (base32
1619 "1d1d403jn4366mqig6g8ghr8057b3rn7gs26b5p3rkal34j20qw2"))))
1620 (build-system waf-build-system)
1621 (arguments
1622 `(#:tests? #f ; no check target
1623 #:configure-flags '("--dbus"
1624 "--alsa")
1625 #:phases
1626 (modify-phases %standard-phases
1627 (add-before 'configure 'set-linkflags
1628 (lambda _
1629 ;; Add $libdir to the RUNPATH of all the binaries.
1630 (substitute* "wscript"
1631 ((".*CFLAGS.*-Wall.*" m)
1632 (string-append m
1633 " conf.env.append_unique('LINKFLAGS',"
1634 "'-Wl,-rpath=" %output "/lib')\n")))
1635 #t))
1636 (add-after 'install 'wrap-python-scripts
1637 (lambda* (#:key inputs outputs #:allow-other-keys)
1638 ;; Make sure 'jack_control' runs with the correct PYTHONPATH.
1639 (let* ((out (assoc-ref outputs "out"))
1640 (path (getenv "PYTHONPATH")))
1641 (wrap-program (string-append out "/bin/jack_control")
1642 `("PYTHONPATH" ":" prefix (,path))))
1643 #t)))))
1644 (inputs
1645 `(("alsa-lib" ,alsa-lib)
1646 ("dbus" ,dbus)
1647 ("expat" ,expat)
1648 ("libsamplerate" ,libsamplerate)
1649 ("opus" ,opus)
1650 ("python-dbus" ,python-dbus)
1651 ("readline" ,readline)))
1652 (native-inputs
1653 `(("pkg-config" ,pkg-config)))
1654 ;; Most files are under GPLv2+, but some headers are under LGPLv2.1+
1655 (license (list license:gpl2+ license:lgpl2.1+))))
1656
1657 (define-public jalv
1658 (package
1659 (name "jalv")
1660 (version "1.6.4")
1661 (source (origin
1662 (method url-fetch)
1663 (uri (string-append "https://download.drobilla.net/jalv-"
1664 version ".tar.bz2"))
1665 (sha256
1666 (base32
1667 "1wwfn7yzbs37s2rdlfjgks63svd5g14yyzd2gdl7h0z12qncwsy2"))))
1668 (build-system waf-build-system)
1669 (arguments
1670 `(#:tests? #f ; no check target
1671 #:python ,python-2))
1672 (inputs
1673 `(("lv2" ,lv2)
1674 ("lilv" ,lilv)
1675 ("suil" ,suil)
1676 ("gtk2" ,gtk+-2)
1677 ("gtk3" ,gtk+)
1678 ("gtkmm" ,gtkmm-2)
1679 ("qtbase" ,qtbase)
1680 ("jack" ,jack-1)))
1681 (native-inputs
1682 `(("pkg-config" ,pkg-config)))
1683 (home-page "https://drobilla.net/software/jalv/")
1684 (synopsis "Simple LV2 host for JACK")
1685 (description
1686 "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2
1687 plugins and exposes their ports as JACK ports, essentially making any LV2
1688 plugin function as a JACK application.")
1689 (license license:isc)))
1690
1691 (define-public ladspa
1692 (package
1693 (name "ladspa")
1694 (version "1.13")
1695 (source
1696 (origin
1697 (method url-fetch)
1698 ;; Since the official link is dead,
1699 ;; we download the tarball from Debian or Internet Archive.
1700 (uri (list (string-append "http://http.debian.net"
1701 "/debian/pool/main/l/ladspa-sdk/ladspa-sdk_"
1702 version ".orig.tar.gz")
1703 (string-append "https://web.archive.org/web/20140717172251/"
1704 "http://www.ladspa.org/download/ladspa_sdk_"
1705 version ".tgz")))
1706 (sha256
1707 (base32
1708 "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
1709 (build-system gnu-build-system)
1710 (arguments
1711 `(#:tests? #f ; the "test" target is a listening test only
1712 #:phases
1713 (modify-phases %standard-phases
1714 (replace 'configure
1715 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
1716 (chdir "src")
1717 (let ((out (assoc-ref outputs "out")))
1718 (substitute* "makefile"
1719 (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/"))
1720 (("/usr/include/") (string-append out "/include/"))
1721 (("/usr/bin/") (string-append out "/bin/"))
1722 (("-mkdirhier") "mkdir -p")
1723 (("^CC.*") "CC = gcc\n")
1724 (("^CPP.*") "CPP = g++\n")))
1725 #t))
1726 (delete 'build))))
1727 ;; Since the home page is gone, we provide a link to the archived version.
1728 (home-page
1729 "https://web.archive.org/web/20140729190945/http://www.ladspa.org/")
1730 (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)")
1731 (description
1732 "LADSPA is a standard that allows software audio processors and effects
1733 to be plugged into a wide range of audio synthesis and recording packages.")
1734 (license license:lgpl2.1+)))
1735
1736 (define-public lash
1737 (package
1738 (name "lash")
1739 (version "0.6.0-rc2")
1740 (source (origin
1741 (method url-fetch)
1742 ;; The tilde is not permitted in the builder name, but is used
1743 ;; in the tarball.
1744 (uri (string-append
1745 "mirror://savannah/lash/lash-"
1746 (string-join (string-split version #\-) "~")
1747 ".tar.bz2"))
1748 (file-name (string-append name "-" version ".tar.bz2"))
1749 (sha256
1750 (base32
1751 "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw"))))
1752 (build-system gnu-build-system)
1753 (arguments
1754 '(;; Glibc no longer includes Sun RPC support, so tell the build system
1755 ;; to use libtirpc instead.
1756 #:make-flags (list (string-append "CFLAGS=-I"
1757 (assoc-ref %build-inputs "libtirpc")
1758 "/include/tirpc -ltirpc"))
1759 #:phases
1760 (modify-phases %standard-phases
1761 ;; lashd embeds an ancient version of sigsegv so we just skip it
1762 (add-after 'unpack 'skip-lashd
1763 (lambda _
1764 (substitute* '("Makefile.am" "Makefile.in")
1765 (("lashd ") ""))
1766 #t)))
1767 #:configure-flags '("--disable-static")))
1768 (inputs
1769 `(("bdb" ,bdb)
1770 ("gtk" ,gtk+-2)
1771 ("jack" ,jack-1)
1772 ("libtirpc" ,libtirpc)
1773 ("readline" ,readline)
1774 ("python" ,python-2)))
1775 ;; According to pkg-config, packages depending on lash also need to have
1776 ;; at least the following packages declared as inputs.
1777 (propagated-inputs
1778 `(("alsa-lib" ,alsa-lib)
1779 ("dbus" ,dbus)
1780 ("libxml2" ,libxml2)))
1781 (native-inputs
1782 `(("pkg-config" ,pkg-config)))
1783 (home-page "https://www.nongnu.org/lash/")
1784 (synopsis "Audio application session manager")
1785 (description
1786 "LASH is a session management system for audio applications. It allows
1787 you to save and restore audio sessions consisting of multiple interconneced
1788 applications, restoring program state (i.e. loaded patches) and the
1789 connections between them.")
1790 (license license:gpl2+)))
1791
1792 (define-public libbs2b
1793 (package
1794 (name "libbs2b")
1795 (version "3.1.0")
1796 (source (origin
1797 (method url-fetch)
1798 (uri (string-append "mirror://sourceforge/bs2b/libbs2b/" version
1799 "/libbs2b-" version ".tar.lzma"))
1800 (sha256
1801 (base32
1802 "1mcc4gjkmphczjybnsrip3gq1f974knzys7x49bv197xk3fn8wdr"))))
1803 (build-system gnu-build-system)
1804 (native-inputs `(("pkg-config" ,pkg-config)))
1805 (inputs `(("libsndfile" ,libsndfile)))
1806 (home-page "https://sourceforge.net/projects/bs2b/")
1807 (synopsis "Bauer stereophonic-to-binaural DSP")
1808 (description
1809 "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is
1810 designed to improve headphone listening of stereo audio records. Recommended
1811 for headphone prolonged listening to disable superstereo fatigue without
1812 essential distortions.")
1813 (license license:expat)))
1814
1815 (define-public liblo
1816 (package
1817 (name "liblo")
1818 (version "0.31")
1819 (source (origin
1820 (method url-fetch)
1821 (uri (string-append "mirror://sourceforge/liblo/liblo/" version
1822 "/liblo-" version ".tar.gz"))
1823 (sha256
1824 (base32
1825 "0l67rkdhfa8cffa0nynql3lh2xlbn1454h6qxhjddp1029p48krb"))))
1826 (build-system gnu-build-system)
1827 (arguments
1828 `(;; liblo test FAILED
1829 ;; liblo server error 19 in setsockopt(IP_ADD_MEMBERSHIP): No such device
1830 #:tests? #f))
1831 (home-page "http://liblo.sourceforge.net")
1832 (synopsis "Implementation of the Open Sound Control protocol")
1833 (description
1834 "liblo is a lightweight library that provides an easy to use
1835 implementation of the Open Sound Control (@dfn{OSC}) protocol.")
1836 (license license:lgpl2.1+)))
1837
1838 (define-public python-pyaudio
1839 (package
1840 (name "python-pyaudio")
1841 (version "0.2.11")
1842 (source
1843 (origin
1844 (method url-fetch)
1845 (uri (pypi-uri "PyAudio" version))
1846 (sha256
1847 (base32
1848 "0x7vdsigm7xgvyg3shd3lj113m8zqj2pxmrgdyj66kmnw0qdxgwk"))))
1849 (build-system python-build-system)
1850 (inputs
1851 `(("portaudio" ,portaudio)))
1852 (home-page "https://people.csail.mit.edu/hubert/pyaudio/")
1853 (synopsis "Bindings for PortAudio v19")
1854 (description "This package provides bindings for PortAudio v19, the
1855 cross-platform audio input/output stream library.")
1856 (license license:expat)))
1857
1858 (define-public python2-pyaudio
1859 (package-with-python2 python-pyaudio))
1860
1861 (define-public python-pyliblo
1862 (package
1863 (name "python-pyliblo")
1864 (version "0.10.0")
1865 (source (origin
1866 (method url-fetch)
1867 (uri (string-append "http://das.nasophon.de/download/pyliblo-"
1868 version ".tar.gz"))
1869 (sha256
1870 (base32
1871 "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw"))))
1872 (build-system python-build-system)
1873 (arguments `(#:tests? #f)) ;no tests
1874 (native-inputs
1875 `(("python-cython" ,python-cython)))
1876 (inputs
1877 `(("liblo" ,liblo)))
1878 (home-page "http://das.nasophon.de/pyliblo/")
1879 (synopsis "Python bindings for liblo")
1880 (description
1881 "Pyliblo is a Python wrapper for the liblo Open Sound Control (OSC)
1882 library. It supports almost the complete functionality of liblo, allowing you
1883 to send and receive OSC messages using a nice and simple Python API. Also
1884 included are the command line utilities @code{send_osc} and @code{dump_osc}.")
1885 (license license:lgpl2.1+)))
1886
1887 (define-public python2-pyliblo
1888 (package-with-python2 python-pyliblo))
1889
1890 (define-public lilv
1891 (package
1892 (name "lilv")
1893 (version "0.24.6")
1894 (source (origin
1895 (method url-fetch)
1896 (uri (string-append "https://download.drobilla.net/lilv-"
1897 version ".tar.bz2"))
1898 (sha256
1899 (base32
1900 "1p3hafsxgs5d4za7n66lf5nz74qssfqpmk520cm7iq2njvvlqm2z"))))
1901 (build-system waf-build-system)
1902 (arguments
1903 `(#:tests? #f ; no check target
1904 #:phases
1905 (modify-phases %standard-phases
1906 (add-before 'configure 'set-ldflags
1907 (lambda* (#:key outputs #:allow-other-keys)
1908 (setenv "LDFLAGS"
1909 (string-append "-Wl,-rpath="
1910 (assoc-ref outputs "out") "/lib"))
1911 #t))
1912 (add-after 'unpack 'full-store-path-to-shared-library
1913 (lambda* (#:key outputs #:allow-other-keys)
1914 (with-directory-excursion "bindings/python"
1915 (substitute* "lilv.py"
1916 (("liblilv-0.so") (string-append (assoc-ref outputs "out")
1917 "/lib/liblilv-0.so"))))
1918 #t)))))
1919 ;; Required by lilv-0.pc.
1920 (propagated-inputs
1921 `(("lv2" ,lv2)
1922 ("serd" ,serd)
1923 ("sord" ,sord)
1924 ("sratom" ,sratom)))
1925 (native-inputs
1926 `(("python" ,python)
1927 ("pkg-config" ,pkg-config)))
1928 (home-page "https://drobilla.net/software/lilv")
1929 (synopsis "Library to simplify use of LV2 plugins in applications")
1930 (description
1931 "Lilv is a C library to make the use of LV2 plugins as simple as possible
1932 for applications. Lilv is the successor to SLV2, rewritten to be
1933 significantly faster and have minimal dependencies.")
1934 (license license:isc)))
1935
1936 (define-public lv2
1937 (package
1938 (name "lv2")
1939 (version "1.16.0")
1940 (source (origin
1941 (method url-fetch)
1942 (uri (string-append "http://lv2plug.in/spec/lv2-"
1943 version ".tar.bz2"))
1944 (sha256
1945 (base32
1946 "1ppippbpdpv13ibs06b0bixnazwfhiw0d0ja6hx42jnkgdyp5hyy"))))
1947 (build-system waf-build-system)
1948 (arguments
1949 `(#:tests? #f ; no check target
1950 #:configure-flags '("--no-plugins")))
1951 (inputs
1952 ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
1953 `(("libsndfile" ,libsndfile)))
1954 (native-inputs
1955 `(("pkg-config" ,pkg-config)))
1956 (home-page "http://lv2plug.in/")
1957 (synopsis "LV2 audio plugin specification")
1958 (description
1959 "LV2 is an open specification for audio plugins and host applications.
1960 At its core, LV2 is a simple stable interface, accompanied by extensions which
1961 add functionality to support the needs of increasingly powerful audio
1962 software.")
1963 (license license:isc)))
1964
1965 (define-public lv2-mda-piano
1966 (package
1967 (name "lv2-mda-piano")
1968 (version "0.0.2")
1969 (source (origin
1970 (method git-fetch)
1971 (uri (git-reference
1972 (url "http://git.elephly.net/software/lv2-mdametapiano.git")
1973 (commit version)))
1974 (file-name (git-file-name name version))
1975 (sha256
1976 (base32
1977 "07lywf6lpfpndg3i9w752mmlg2hgn1bwp23h8b0mdj6awh67abqd"))))
1978 (build-system gnu-build-system)
1979 (arguments
1980 `(#:make-flags (list
1981 "TYPE=mdaPiano"
1982 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1983 #:tests? #f ; no check target
1984 #:phases (modify-phases %standard-phases (delete 'configure))))
1985 (inputs
1986 `(("lv2" ,lv2)
1987 ("lvtk" ,lvtk)))
1988 (native-inputs
1989 `(("pkg-config" ,pkg-config)))
1990 (native-search-paths
1991 (list (search-path-specification
1992 (variable "LV2_PATH")
1993 (files '("lib/lv2")))))
1994 (home-page "https://elephly.net/lv2/mdapiano.html")
1995 (synopsis "LV2 port of the mda Piano plugin")
1996 (description "An LV2 port of the mda Piano VSTi.")
1997 (license license:gpl3+)))
1998
1999 (define-public lv2-mda-epiano
2000 (package (inherit lv2-mda-piano)
2001 (name "lv2-mda-epiano")
2002 (arguments
2003 `(#:make-flags (list
2004 "TYPE=mdaEPiano"
2005 (string-append "PREFIX=" (assoc-ref %outputs "out")))
2006 #:tests? #f ; no check target
2007 #:phases (modify-phases %standard-phases (delete 'configure))))
2008 (home-page "https://elephly.net/lv2/mdaepiano.html")
2009 (synopsis "LV2 port of the mda EPiano plugin")
2010 (description "An LV2 port of the mda EPiano VSTi.")))
2011
2012 (define-public lvtk
2013 (package
2014 (name "lvtk")
2015 (version "1.2.0")
2016 (source (origin
2017 (method git-fetch)
2018 (uri (git-reference
2019 (url "https://github.com/lvtk/lvtk.git")
2020 (commit version)))
2021 (file-name (git-file-name name version))
2022 (sha256
2023 (base32
2024 "1b01zvzl70ana6l1kn8fgyr7msnn3c7x61cgw7fdpp50322352p8"))))
2025 (build-system waf-build-system)
2026 (arguments
2027 `(#:tests? #f ; no check target
2028 #:python ,python-2
2029 #:configure-flags
2030 (list (string-append "--boost-includes="
2031 (assoc-ref %build-inputs "boost")
2032 "/include"))))
2033 (inputs
2034 `(("boost" ,boost)
2035 ("gtkmm" ,gtkmm-2)
2036 ("lv2" ,lv2)))
2037 (native-inputs
2038 `(("pkg-config" ,pkg-config)))
2039 (home-page "https://github.com/lvtk/lvtk")
2040 (synopsis "C++ libraries for LV2 plugins")
2041 (description
2042 "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and
2043 extensions into easy to use C++ classes. It is the successor of
2044 lv2-c++-tools.")
2045 (license license:gpl3+)))
2046
2047 (define-public openal
2048 (package
2049 (name "openal")
2050 (version "1.20.1")
2051 (source (origin
2052 (method url-fetch)
2053 (uri (string-append
2054 "https://openal-soft.org/openal-releases/openal-soft-"
2055 version ".tar.bz2"))
2056 (sha256
2057 (base32
2058 "0vax0b1lgd4212bpxa1rciz52d4mv3dkfvcbbhzw4cjp698v1kmn"))))
2059 (build-system cmake-build-system)
2060 (arguments
2061 `(#:tests? #f ; no check target
2062 #:phases
2063 (modify-phases %standard-phases
2064 (add-after
2065 'unpack 'use-full-library-paths
2066 (lambda* (#:key inputs #:allow-other-keys)
2067 (substitute* "alc/backends/pulseaudio.cpp"
2068 (("#define PALIB \"libpulse\\.so\\.0\"")
2069 (string-append "#define PALIB \""
2070 (assoc-ref inputs "pulseaudio")
2071 "/lib/libpulse.so.0"
2072 "\"")))
2073 (substitute* "alc/backends/alsa.cpp"
2074 (("LoadLib\\(\"libasound\\.so\\.2\"\\)")
2075 (string-append "LoadLib(\""
2076 (assoc-ref inputs "alsa-lib")
2077 "/lib/libasound.so.2"
2078 "\")")))
2079 #t)))))
2080 (inputs
2081 `(("alsa-lib" ,alsa-lib)
2082 ("pulseaudio" ,pulseaudio)))
2083 (synopsis "3D audio API")
2084 (description
2085 "OpenAL provides capabilities for playing audio in a virtual 3D
2086 environment. Distance attenuation, doppler shift, and directional sound
2087 emitters are among the features handled by the API. More advanced effects,
2088 including air absorption, occlusion, and environmental reverb, are available
2089 through the EFX extension. It also facilitates streaming audio, multi-channel
2090 buffers, and audio capture.")
2091 (home-page "https://openal-soft.org/")
2092 (license license:lgpl2.0+)))
2093
2094 (define-public freealut
2095 (package
2096 (name "freealut")
2097 (version "1.1.0")
2098 (source (origin
2099 (method url-fetch)
2100 ;; Upstream url is unclear, many systems use Fedora, there is also
2101 ;; https://github.com/vancegroup/freealut though the status of it
2102 ;; (official? unofficial?) is not clear.
2103 (uri (string-append
2104 "https://pkgs.fedoraproject.org/repo/pkgs/" name "/" name "-"
2105 version ".tar.gz" "/e089b28a0267faabdb6c079ee173664a/" name
2106 "-" version ".tar.gz"))
2107 (sha256
2108 (base32
2109 "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0"))))
2110 (build-system cmake-build-system)
2111 (arguments
2112 `(#:tests? #f)) ; no check target
2113 (inputs
2114 `(("openal" ,openal)))
2115 (synopsis "Free implementation of OpenAL's ALUT standard")
2116 (description "freealut is the OpenAL Utility Toolkit.")
2117 (home-page "https://kcat.strangesoft.net/openal.html")
2118 (license license:lgpl2.0)))
2119
2120 (define-public patchage
2121 (package
2122 (name "patchage")
2123 (version "1.0.0")
2124 (source (origin
2125 (method url-fetch)
2126 (uri (string-append "https://download.drobilla.net/patchage-"
2127 version
2128 ".tar.bz2"))
2129 (sha256
2130 (base32
2131 "1agdpwwi42176l4mxj0c4fsvdiv1ig56bfnnx0msckxmy57df8bb"))))
2132 (build-system waf-build-system)
2133 (arguments
2134 `(#:tests? #f ; no check target
2135 #:python ,python-2))
2136 (inputs
2137 `(("alsa-lib" ,alsa-lib)
2138 ("boost" ,boost)
2139 ("jack" ,jack-1)
2140 ("ganv" ,ganv)
2141 ("glibmm" ,glibmm)
2142 ("gtkmm" ,gtkmm-2)
2143 ("dbus-glib" ,dbus-glib)))
2144 (native-inputs
2145 `(("pkg-config" ,pkg-config)))
2146 (home-page "https://drobilla.net/software/patchage/")
2147 (synopsis "Modular patch bay for audio and MIDI systems")
2148 (description
2149 "Patchage is a modular patch bay for audio and MIDI systems based on JACK
2150 and ALSA.")
2151 (license license:gpl3+)))
2152
2153 (define-public pcaudiolib
2154 (package
2155 (name "pcaudiolib")
2156 (version "1.1")
2157 (home-page "https://github.com/espeak-ng/pcaudiolib")
2158 (source (origin
2159 (method git-fetch)
2160 (uri (git-reference (url home-page) (commit version)))
2161 (file-name (git-file-name name version))
2162 (sha256
2163 (base32
2164 "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0"))))
2165 (build-system gnu-build-system)
2166 (arguments
2167 `(#:configure-flags '("--disable-static")))
2168 (native-inputs
2169 `(("autoconf" ,autoconf)
2170 ("automake" ,automake)
2171 ("libtool" ,libtool)
2172 ("pkg-config" ,pkg-config)
2173 ("which" ,which)))
2174 (inputs
2175 `(("alsa-lib" ,alsa-lib)
2176 ("pulseaudio" ,pulseaudio)))
2177 (synopsis "Portable C audio library")
2178 (description
2179 "The Portable C Audio Library (pcaudiolib) provides a C@tie{}API to
2180 different audio devices such as ALSA or PulseAudio.")
2181 (license (list license:gpl3+
2182 ;; The bundled TPCircularBuffer uses a custom license.
2183 (license:non-copyleft
2184 "file://src/TPCircularBuffer/README.markdown")))))
2185
2186 (define-public qjackctl
2187 (package
2188 (name "qjackctl")
2189 (version "0.5.9")
2190 (source (origin
2191 (method url-fetch)
2192 (uri (string-append "mirror://sourceforge/qjackctl/qjackctl/"
2193 version "/qjackctl-" version ".tar.gz"))
2194 (sha256
2195 (base32
2196 "1saywsda9m124rmjp7i3n0llryaliabjxhqhvqr6dm983qy7pypk"))))
2197 (build-system gnu-build-system)
2198 (arguments
2199 '(#:tests? #f)) ; no check target
2200 (inputs
2201 `(("jack" ,jack-1)
2202 ("alsa-lib" ,alsa-lib)
2203 ("qtbase" ,qtbase)
2204 ("qtx11extras" ,qtx11extras)))
2205 (native-inputs
2206 `(("pkg-config" ,pkg-config)
2207 ("qttools" ,qttools)))
2208 (home-page "https://qjackctl.sourceforge.io/")
2209 (synopsis "Jack server control application")
2210 (description "Control a Jack server. Allows you to plug various sources
2211 into various outputs and to start, stop and configure jackd")
2212 (license license:gpl2+)))
2213
2214 (define-public qjackrcd
2215 (package
2216 (name "qjackrcd")
2217 (version "1.2.2")
2218 (source (origin
2219 (method git-fetch)
2220 (uri (git-reference
2221 (url "https://github.com/orouits/qjackrcd.git")
2222 (commit (string-append "v" version))))
2223 (file-name (git-file-name name version))
2224 (sha256
2225 (base32
2226 "1l5iq2mkqd4gn9yr8xbh9qlpp1clcflazychl4vhdbz0bzq4c6al"))))
2227 (build-system gnu-build-system)
2228 (arguments
2229 `(#:phases
2230 (modify-phases %standard-phases
2231 (replace 'configure
2232 (lambda* (#:key outputs #:allow-other-keys)
2233 (invoke "qmake"
2234 (string-append "PREFIX="
2235 (assoc-ref outputs "out"))))))))
2236 (native-inputs
2237 `(("qtbase" ,qtbase))) ; for qmake
2238 (inputs
2239 `(("jack" ,jack-1)
2240 ("libsndfile" ,libsndfile)
2241 ("qtbase" ,qtbase)))
2242 (home-page "https://sourceforge.net/projects/qjackrcd/")
2243 (synopsis "Stereo audio recorder for JACK")
2244 (description "QJackRcd is a simple graphical stereo recorder for JACK
2245 supporting silence processing for automatic pause, file splitting, and
2246 background file post-processing.")
2247 (license license:gpl2+)))
2248
2249 (define-public supercollider
2250 (package
2251 (name "supercollider")
2252 (version "3.10.4")
2253 (source (origin
2254 (method url-fetch)
2255 (uri (string-append
2256 "https://github.com/supercollider/supercollider"
2257 "/releases/download/Version-" version
2258 "/SuperCollider-" version "-Source-linux.tar.bz2"))
2259 (sha256
2260 (base32
2261 "0x11g3pfw11m6v18qfpfl5w99dbmf73g4z7wvwhrj1a4qv2dn084"))))
2262 (build-system cmake-build-system)
2263 (arguments
2264 `(#:configure-flags '("-DSYSTEM_BOOST=on" "-DSYSTEM_YAMLCPP=on"
2265 "-DSC_QT=off"
2266 "-DSC_EL=off") ;scel is packaged individually as
2267 ;emacs-scel
2268 #:modules ((guix build utils)
2269 (guix build cmake-build-system)
2270 (ice-9 ftw))
2271 #:phases
2272 (modify-phases %standard-phases
2273 (add-after 'unpack 'rm-bundled-libs
2274 (lambda _
2275 ;; The build system doesn't allow us to unbundle the following
2276 ;; libraries. hidapi is also heavily patched.
2277 (let ((keep-dirs '("nova-simd" "nova-tt" "hidapi" "TLSF-2.4.6"
2278 "oscpack_1_1_0" "." "..")))
2279 (with-directory-excursion "./external_libraries"
2280 (for-each
2281 delete-file-recursively
2282 (scandir "."
2283 (lambda (x)
2284 (and (eq? (stat:type (stat x)) 'directory)
2285 (not (member (basename x) keep-dirs))))))))
2286 #t))
2287 ;; Some tests are broken (see:
2288 ;; https://github.com/supercollider/supercollider/issues/3555 and
2289 ;; https://github.com/supercollider/supercollider/issues/1736
2290 (add-after 'rm-bundled-libs 'disable-broken-tests
2291 (lambda _
2292 (substitute* "testsuite/server/supernova/CMakeLists.txt"
2293 (("server_test.cpp")
2294 "")
2295 (("perf_counter_test.cpp")
2296 ""))
2297 (delete-file "testsuite/server/supernova/server_test.cpp")
2298 (delete-file "testsuite/server/supernova/perf_counter_test.cpp")
2299 (substitute* "testsuite/CMakeLists.txt"
2300 (("add_subdirectory\\(sclang\\)")
2301 ""))
2302 (delete-file "testsuite/sclang/CMakeLists.txt")
2303 #t)))))
2304 (native-inputs
2305 `(("pkg-config" ,pkg-config)))
2306 (inputs
2307 `(("jack" ,jack-1)
2308 ("libsndfile" ,libsndfile)
2309 ("fftw" ,fftw)
2310 ("libxt" ,libxt)
2311 ("readline" ,readline) ;readline support for sclang's CLI
2312 ("alsa" ,alsa-lib) ;for sclang's MIDI interface
2313 ("eudev" ,eudev) ;for user interactions with devices
2314 ("avahi" ,avahi) ;zeroconf service discovery support
2315 ("icu4c" ,icu4c)
2316 ("boost" ,boost)
2317 ("boost-sync" ,boost-sync)
2318 ("yaml-cpp" ,yaml-cpp)))
2319 (home-page "https://github.com/supercollider/supercollider")
2320 (synopsis "Synthesis engine and programming language")
2321 (description "SuperCollider is a synthesis engine (@code{scsynth} or
2322 @code{supernova}) and programming language (@code{sclang}). It can be used
2323 for experimenting with sound synthesis and algorithmic composition.
2324
2325 SuperCollider requires jackd to be installed in your user profile and your
2326 user must be allowed to access the realtime features of the kernel. Search
2327 for \"realtime\" in the index of the Guix manual to learn how to achieve this
2328 using Guix System.")
2329 (license license:gpl2+)))
2330
2331 (define-public raul
2332 (package
2333 (name "raul")
2334 (version "0.8.0")
2335 (source (origin
2336 (method url-fetch)
2337 (uri (string-append "https://download.drobilla.net/raul-"
2338 version ".tar.bz2"))
2339 (sha256
2340 (base32
2341 "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b"))))
2342 (build-system waf-build-system)
2343 (arguments
2344 `(#:python ,python-2
2345 #:tests? #f)) ; no check target
2346 (inputs
2347 `(("glib" ,glib)
2348 ("boost" ,boost)))
2349 (native-inputs
2350 `(("pkg-config" ,pkg-config)))
2351 (home-page "https://drobilla.net/software/raul/")
2352 (synopsis "Real-time audio utility library")
2353 (description
2354 "Raul (Real-time Audio Utility Library) is a C++ utility library primarily
2355 aimed at audio/musical applications.")
2356 (license license:gpl2+)))
2357
2358 (define-public raul-devel
2359 (let ((commit "4db870b2b20b0a608ec0283139056b836c5b1624")
2360 (revision "1"))
2361 (package (inherit raul)
2362 (name "raul")
2363 (version (string-append "0.8.9-" revision "."
2364 (string-take commit 9)))
2365 (source (origin
2366 (method git-fetch)
2367 (uri (git-reference
2368 (url "https://git.drobilla.net/raul.git")
2369 (commit commit)))
2370 (file-name (string-append name "-" version "-checkout"))
2371 (sha256
2372 (base32
2373 "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr")))))))
2374
2375 (define-public resample
2376 (package
2377 (name "resample")
2378 (version "1.8.1")
2379 (source (origin
2380 (method url-fetch)
2381 (uri (string-append "https://ccrma.stanford.edu/~jos/gz/resample-"
2382 version
2383 ".tar.gz"))
2384 (sha256 (base32
2385 "074zj8ydp05yy1hjcglfv3hkvj4cm50f9nralka1992pm6yf8yvy"))))
2386 (build-system gnu-build-system)
2387 (native-inputs
2388 `(("autoconf" ,autoconf)
2389 ("automake" ,automake)
2390 ("pkg-config" ,pkg-config)
2391 ("libtool" ,libtool)))
2392 (synopsis "Real-time library for sampling rate conversion")
2393 (description "The @command{resample} software package contains free
2394 sampling-rate conversion and filter design utilities.")
2395 (home-page "https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html")
2396 (license license:lgpl2.1+)))
2397
2398 (define-public rubberband
2399 (package
2400 (name "rubberband")
2401 (version "1.8.2")
2402 (source (origin
2403 (method url-fetch)
2404 (uri
2405 (string-append "https://bitbucket.org/breakfastquay/rubberband/get/v"
2406 version
2407 ".tar.bz2"))
2408 (file-name (string-append name "-" version ".tar.bz2"))
2409 (sha256
2410 (base32
2411 "0462fmjnfqpv2qi0s6ny42drqarkr0xy9lw8frjmfgzyzl5n9294"))))
2412 (build-system gnu-build-system)
2413 (arguments
2414 `(#:tests? #f ; no check target
2415 #:phases
2416 (modify-phases %standard-phases
2417 (add-after 'unpack 'skip-jni-installation
2418 ;; ‘make install’ unconditionally installs librubberband-jni.so,
2419 ;; which is never built by ‘make all’. Skip it.
2420 (lambda _
2421 (substitute* "Makefile.in"
2422 ((".*cp -f \\$\\(JNI_TARGET\\).*") ""))
2423 #t)))))
2424 (inputs
2425 `(("ladspa" ,ladspa)
2426 ("libsamplerate" ,libsamplerate)
2427 ("vamp" ,vamp)))
2428 (native-inputs
2429 `(("pkg-config" ,pkg-config)))
2430 (home-page "https://breakfastquay.com/rubberband/")
2431 (synopsis "Audio time-stretching and pitch-shifting library")
2432 (description
2433 "Rubber Band is a library and utility program that permits changing the
2434 tempo and pitch of an audio recording independently of one another.")
2435 (license license:gpl2+)))
2436
2437 (define-public rtmidi
2438 (package
2439 (name "rtmidi")
2440 (version "4.0.0")
2441 (source (origin
2442 (method url-fetch)
2443 (uri (string-append "https://www.music.mcgill.ca/~gary/rtmidi"
2444 "/release/rtmidi-" version ".tar.gz"))
2445 (file-name (string-append "rtmidi-" version ".tar.gz"))
2446 (sha256
2447 (base32
2448 "1k962ljpnwyjw9jjiky2372khhri1wqvrj5qsalfpys31xqzw31p"))))
2449 (build-system gnu-build-system)
2450 (arguments
2451 `(#:phases
2452 (modify-phases %standard-phases
2453 (add-before 'bootstrap 'noconfigure
2454 (lambda _
2455 (setenv "NOCONFIGURE" "yes")
2456 #t)))))
2457 (inputs
2458 `(("jack" ,jack-1)
2459 ("alsa-lib" ,alsa-lib)))
2460 (native-inputs
2461 `(("autoconf" ,autoconf)
2462 ("automake" ,automake)
2463 ("libtool" ,libtool)
2464 ("pkg-config" ,pkg-config)))
2465 (home-page "https://www.music.mcgill.ca/~gary/rtmidi")
2466 (synopsis "Cross-platform MIDI library for C++")
2467 (description
2468 "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
2469 classes) that provide a common cross-platform API for realtime MIDI
2470 input/output.")
2471 (license license:expat)))
2472
2473 (define-public sratom
2474 (package
2475 (name "sratom")
2476 (version "0.6.4")
2477 (source (origin
2478 (method url-fetch)
2479 (uri (string-append "https://download.drobilla.net/sratom-"
2480 version ".tar.bz2"))
2481 (sha256
2482 (base32
2483 "0vh0biy3ngpzzgdml309c2mqz8xq9q0hlblczb4c6alhp0a8yv0l"))))
2484 (build-system waf-build-system)
2485 (arguments `(#:tests? #f)) ;no check target
2486 (propagated-inputs
2487 ;; In Requires of sratom-0.pc.
2488 `(("lv2" ,lv2)
2489 ("serd" ,serd)
2490 ("sord" ,sord)))
2491 (native-inputs
2492 `(("pkg-config" ,pkg-config)))
2493 (home-page "https://drobilla.net/software/sratom/")
2494 (synopsis "Library for serialising LV2 atoms to/from RDF")
2495 (description
2496 "Sratom is a library for serialising LV2 atoms to/from RDF, particularly
2497 the Turtle syntax.")
2498 (license license:isc)))
2499
2500 (define-public suil
2501 (package
2502 (name "suil")
2503 (version "0.10.6")
2504 (source (origin
2505 (method url-fetch)
2506 (uri (string-append "https://download.drobilla.net/suil-"
2507 version ".tar.bz2"))
2508 (sha256
2509 (base32
2510 "0z4v01pjw4wh65x38w6icn28wdwxz13ayl8hvn4p1g9kmamp1z06"))))
2511 (build-system waf-build-system)
2512 (arguments
2513 `(#:tests? #f)) ;no check target
2514 (inputs
2515 `(("lv2" ,lv2)
2516 ("gtk+" ,gtk+-2)
2517 ("gtk+" ,gtk+)
2518 ("qt" ,qtbase)))
2519 (native-inputs
2520 `(("pkg-config" ,pkg-config)))
2521 (home-page "https://drobilla.net/software/suil/")
2522 (synopsis "Library for loading and wrapping LV2 plugin UIs")
2523 (description
2524 "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
2525
2526 Suil makes it possible to load a UI of a toolkit in a host using another
2527 toolkit. The API is designed such that hosts do not need to explicitly
2528 support specific toolkits – if Suil supports a particular toolkit, then UIs in
2529 that toolkit will work in all hosts that use Suil automatically.
2530
2531 Suil currently supports every combination of Gtk, Qt, and X11.")
2532 (license license:isc)))
2533
2534 (define-public timidity++
2535 (package
2536 (name "timidity++")
2537 (version "2.14.0")
2538 (source (origin
2539 (method url-fetch)
2540 (uri (string-append "mirror://sourceforge/timidity/TiMidity++"
2541 "/TiMidity++-" version
2542 "/TiMidity++-" version ".tar.bz2"))
2543 (sha256
2544 (base32
2545 "0xk41w4qbk23z1fvqdyfblbz10mmxsllw0svxzjw5sa9y11vczzr"))))
2546 (build-system gnu-build-system)
2547 (arguments
2548 '(#:configure-flags
2549 (list "--enable-audio=alsa,flac,jack,ao,vorbis,speex"
2550 "--enable-ncurses"
2551 "--enable-server"
2552 "--enable-alsaseq"
2553 (string-append "--with-default-path="
2554 (assoc-ref %outputs "out") "/etc/timidity"))
2555 #:phases
2556 (modify-phases %standard-phases
2557 (add-after 'install 'install-config
2558 (lambda _
2559 (let ((out (string-append (assoc-ref %outputs "out")
2560 "/etc/timidity")))
2561 (mkdir-p out)
2562 (call-with-output-file
2563 (string-append out "/timidity.cfg")
2564 (lambda (port)
2565 (format port (string-append "source "
2566 (assoc-ref %build-inputs "freepats")
2567 "/share/freepats/freepats.cfg")))))
2568 #t)))))
2569 (inputs
2570 `(("alsa-lib" ,alsa-lib)
2571 ("ao" ,ao)
2572 ("flac" ,flac)
2573 ("jack" ,jack-1)
2574 ("libogg" ,libogg)
2575 ("libvorbis" ,libvorbis)
2576 ("speex" ,speex)
2577 ("ncurses" ,ncurses)
2578 ("freepats" ,freepats)))
2579 (native-inputs
2580 `(("pkg-config" ,pkg-config)))
2581 (home-page "http://timidity.sourceforge.net/")
2582 (synopsis "Software synthesizer for playing MIDI files")
2583 (description
2584 "TiMidity++ is a software synthesizer. It can play MIDI files by
2585 converting them into PCM waveform data; give it a MIDI data along with digital
2586 instrument data files, then it synthesizes them in real-time, and plays. It
2587 can not only play sounds, but also can save the generated waveforms into hard
2588 disks as various audio file formats.")
2589 (license license:gpl2+)))
2590
2591 (define-public vamp
2592 (package
2593 (name "vamp")
2594 (version "2.6")
2595 (source (origin
2596 (method url-fetch)
2597 (uri (string-append
2598 "https://code.soundsoftware.ac.uk"
2599 "/attachments/download/1520/vamp-plugin-sdk-"
2600 version ".tar.gz"))
2601 (sha256
2602 (base32
2603 "0pzq0yy2kdl3jgfc2aqmh5m55nk1ild0hq8mydiiw35c6y0mglyh"))))
2604 (build-system gnu-build-system)
2605 (arguments
2606 `(#:tests? #f ; no check target
2607 #:phases
2608 (modify-phases %standard-phases
2609 (add-after 'install 'remove-libvamp-hostsdk.la
2610 (lambda* (#:key outputs #:allow-other-keys)
2611 ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656
2612 (for-each delete-file
2613 (let ((out (assoc-ref outputs "out")))
2614 (list (string-append out "/lib/libvamp-sdk.la")
2615 (string-append out "/lib/libvamp-hostsdk.la"))))
2616 #t)))))
2617 (inputs
2618 `(("libsndfile" ,libsndfile)))
2619 (native-inputs
2620 `(("pkg-config" ,pkg-config)))
2621 (home-page "https://vamp-plugins.org")
2622 (synopsis "Modular and extensible audio processing system")
2623 (description
2624 "Vamp is an audio processing plugin system for plugins that extract
2625 descriptive information from audio data — typically referred to as audio
2626 analysis plugins or audio feature extraction plugins.")
2627 (license
2628 (license:x11-style
2629 "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING"))))
2630
2631 (define-public libsbsms
2632 (package
2633 (name "libsbsms")
2634 (version "2.0.2")
2635 (source
2636 (origin
2637 (method url-fetch)
2638 (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version
2639 "/libsbsms-" version ".tar.gz"))
2640 (sha256
2641 (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf"))))
2642 (build-system gnu-build-system)
2643 (native-inputs `(("automake" ,automake)))
2644 (arguments
2645 `(#:configure-flags
2646 ;; Disable the use of SSE unless on x86_64.
2647 ,(if (not (string-prefix? "x86_64" (or (%current-target-system)
2648 (%current-system))))
2649 ''("--disable-sse")
2650 ''())
2651 #:phases
2652 (modify-phases %standard-phases
2653 (add-after
2654 'unpack 'fix-ar-lib-path
2655 (lambda* (#:key inputs #:allow-other-keys)
2656 ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
2657 (delete-file "ar-lib")
2658 (symlink
2659 (string-append (assoc-ref inputs "automake") "/share/automake-"
2660 ,(package-version automake) "/ar-lib")
2661 "ar-lib")
2662 #t)))))
2663 (home-page "http://sbsms.sourceforge.net/")
2664 (synopsis "Library for time stretching and pitch scaling of audio")
2665 (description
2666 "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time
2667 stretching and pitch scaling of audio. This package contains the library.")
2668 ;; There is no explicit declaration of a license, but a COPYING file
2669 ;; containing gpl2.
2670 (license license:gpl2)))
2671
2672 (define-public wavpack
2673 (package
2674 (name "wavpack")
2675 (version "5.2.0")
2676 (source (origin
2677 (method url-fetch)
2678 (uri (string-append "http://www.wavpack.com/"
2679 "wavpack-" version ".tar.xz"))
2680 (sha256
2681 (base32
2682 "1qvpvfx30kvrkw7y1g6r8xj109wszg1z0qmkfm17wf3flb7v3rbp"))))
2683 (build-system gnu-build-system)
2684 (arguments
2685 '(#:configure-flags '("--disable-static")))
2686 (home-page "http://www.wavpack.com/")
2687 (synopsis "Hybrid lossless audio codec")
2688 (description
2689 "WavPack is an audio compression format with lossless, lossy and hybrid
2690 compression modes. This package contains command-line programs and library to
2691 encode and decode wavpack files.")
2692 (license license:bsd-3)))
2693
2694 (define-public libmodplug
2695 (package
2696 (name "libmodplug")
2697 (version "0.8.9.0")
2698 (source (origin
2699 (method url-fetch)
2700 (uri (string-append
2701 "mirror://sourceforge/modplug-xmms/"
2702 name "/" version "/" name "-" version ".tar.gz"))
2703 (sha256
2704 (base32
2705 "1pnri98a603xk47smnxr551svbmgbzcw018mq1k6srbrq6kaaz25"))))
2706 (build-system gnu-build-system)
2707 (home-page "http://modplug-xmms.sourceforge.net/")
2708 (synopsis "Mod file playing library")
2709 (description
2710 "Libmodplug renders mod music files as raw audio data, for playing or
2711 conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are
2712 supported. Optional features include high-quality resampling, bass expansion,
2713 surround and reverb.")
2714 (license license:public-domain)))
2715
2716 (define-public libxmp
2717 (package
2718 (name "libxmp")
2719 (version "4.4.1")
2720 (source (origin
2721 (method url-fetch)
2722 (uri (string-append "mirror://sourceforge/xmp/libxmp/" version "/"
2723 name "-" version ".tar.gz"))
2724 (sha256
2725 (base32
2726 "1kycz4jsyvmf7ny9227b497wc7y5ligydi6fvvldmkf8hk63ad9m"))))
2727 (build-system gnu-build-system)
2728 (home-page "http://xmp.sourceforge.net/")
2729 (synopsis "Module player library")
2730 (description
2731 "Libxmp is a library that renders module files to PCM data. It supports
2732 over 90 mainstream and obscure module formats including Protracker (MOD),
2733 Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).")
2734 (license license:lgpl2.1+)))
2735
2736 (define-public xmp
2737 (package
2738 (name "xmp")
2739 (version "4.1.0")
2740 (source (origin
2741 (method url-fetch)
2742 (uri (string-append "mirror://sourceforge/xmp/xmp/" version "/"
2743 name "-" version ".tar.gz"))
2744 (sha256
2745 (base32
2746 "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x"))))
2747 (build-system gnu-build-system)
2748 (native-inputs
2749 `(("pkg-config" ,pkg-config)))
2750 (inputs
2751 `(("libxmp" ,libxmp)
2752 ("pulseaudio" ,pulseaudio)))
2753 (home-page "http://xmp.sourceforge.net/")
2754 (synopsis "Extended module player")
2755 (description
2756 "Xmp is a portable module player that plays over 90 mainstream and
2757 obscure module formats, including Protracker MOD, Fasttracker II XM, Scream
2758 Tracker 3 S3M and Impulse Tracker IT files.")
2759 (license license:gpl2+)))
2760
2761 (define-public soundtouch
2762 (package
2763 (name "soundtouch")
2764 (version "2.1.2")
2765 (source
2766 (origin
2767 (method git-fetch)
2768 (uri (git-reference
2769 (url "https://gitlab.com/soundtouch/soundtouch.git")
2770 (commit version)))
2771 (file-name (git-file-name name version))
2772 (sha256
2773 (base32 "174wgm3s0inmbnkrlnspxjwm2014qhjhkbdqa5r8rbfi0nzqxzsz"))))
2774 (build-system gnu-build-system)
2775 (native-inputs
2776 `(("autoconf" ,autoconf)
2777 ("automake" ,automake)
2778 ("libtool" ,libtool)
2779 ("file" ,file)))
2780 (home-page "https://www.surina.net/soundtouch/")
2781 (synopsis
2782 "Audio processing library for changing tempo, pitch and playback rate")
2783 (description
2784 "SoundTouch is an audio processing library for changing the tempo, pitch
2785 and playback rates of audio streams or audio files. It is intended for
2786 application developers writing sound processing tools that require tempo/pitch
2787 control functionality, or just for playing around with the sound effects.")
2788 (license license:lgpl2.1+)))
2789
2790 (define-public sox
2791 (package
2792 (name "sox")
2793 (version "14.4.2")
2794 (source (origin
2795 (method url-fetch)
2796 (uri (string-append "mirror://sourceforge/sox/sox/" version "/"
2797 name "-" version ".tar.bz2"))
2798 (sha256
2799 (base32
2800 "170lx90r1nlnb2j6lg00524iwvqy72p48vii4xc5prrh8dnrb9l1"))))
2801 (build-system gnu-build-system)
2802 (arguments
2803 '(#:configure-flags
2804 ;; The upstream asks to identify the distribution to diagnose SoX
2805 ;; bug reports.
2806 '("--with-distro=Guix System Distribution")))
2807 (native-inputs
2808 `(("pkg-config" ,pkg-config)))
2809 (inputs
2810 `(("alsa-lib" ,alsa-lib)
2811 ("ao" ,ao)
2812 ("flac" ,flac)
2813 ("lame" ,lame)
2814 ("libid3tag" ,libid3tag)
2815 ("libltdl" ,libltdl)
2816 ("libmad" ,libmad)
2817 ("libpng" ,libpng)
2818 ("libvorbis" ,libvorbis)
2819 ("pulseaudio" ,pulseaudio)))
2820 (home-page "http://sox.sourceforge.net")
2821 (synopsis "Sound processing utility")
2822 (description
2823 "SoX (Sound eXchange) is a command line utility that can convert
2824 various formats of computer audio files to other formats. It can also
2825 apply various effects to these sound files, and, as an added bonus, SoX
2826 can play and record audio files.")
2827 ;; sox.c is distributed under GPL, while the files that make up
2828 ;; libsox are licensed under LGPL.
2829 (license (list license:gpl2+ license:lgpl2.1+))))
2830
2831 (define-public soxr
2832 (package
2833 (name "soxr")
2834 (version "0.1.3")
2835 (source
2836 (origin
2837 (method url-fetch)
2838 (uri
2839 (string-append "mirror://sourceforge/soxr/soxr-" version
2840 "-Source.tar.xz"))
2841 (sha256
2842 (base32 "12aql6svkplxq5fjycar18863hcq84c5kx8g6f4rj0lcvigw24di"))))
2843 (build-system cmake-build-system)
2844 (arguments '(#:tests? #f)) ;no 'check' target
2845 (home-page "https://sourceforge.net/p/soxr/wiki/Home/")
2846 (synopsis "One-dimensional sample-rate conversion library")
2847 (description
2848 "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
2849 conversion. It may be used, for example, to resample PCM-encoded audio.")
2850 (license license:lgpl2.1+)))
2851
2852 (define-public twolame
2853 (package
2854 (name "twolame")
2855 (version "0.4.0")
2856 (source
2857 (origin
2858 (method url-fetch)
2859 (uri (string-append "mirror://sourceforge/twolame/twolame/" version
2860 "/twolame-" version ".tar.gz"))
2861 (sha256
2862 (base32 "0zf8sxqb02w07ah55b1y7ab643zmpbhn62spa9pqra0rc17l4dfc"))))
2863 (build-system gnu-build-system)
2864 (inputs
2865 `(("libsndfile" ,libsndfile)))
2866 (native-inputs
2867 `(("perl" ,perl)
2868 ("which" ,which))) ;used in tests/test.pl
2869 (home-page "http://www.twolame.org/")
2870 (synopsis "MPEG Audio Layer 2 (MP2) encoder")
2871 (description
2872 "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
2873 tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
2874 portions of LAME.")
2875 (license license:lgpl2.1+)))
2876
2877 (define-public portaudio
2878 (package
2879 (name "portaudio")
2880 (version "190600.20161030")
2881 (source
2882 (origin
2883 (method url-fetch)
2884 (uri (string-append
2885 "http://www.portaudio.com/archives/pa_stable_v"
2886 (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
2887 ".tgz"))
2888 (sha256
2889 (base32 "04qmin6nj144b8qb9kkd9a52xfvm0qdgm8bg8jbl7s3frmyiv8pm"))
2890 (patches (search-patches "portaudio-audacity-compat.patch"))))
2891 (build-system gnu-build-system)
2892 (inputs
2893 ;; TODO: Add ASIHPI.
2894 `(("alsa-lib" ,alsa-lib)
2895 ("jack" ,jack-1)))
2896 ;; Autoreconf is necessary because the audacity-compat patch modifies .in
2897 ;; files.
2898 (native-inputs
2899 `(("autoconf" ,autoconf)
2900 ("automake" ,automake)
2901 ("libtool" ,libtool)
2902 ("pkg-config" ,pkg-config)))
2903 (arguments
2904 '(#:tests? #f ;no 'check' target
2905 #:parallel-build? #f ;fails on some systems
2906 #:configure-flags '("--with-pic"
2907 "--enable-cxx"
2908 ;; XXX: The following prevents a build error
2909 ;; because of missing depcomp when C++ bindings are
2910 ;; requested.
2911 "--disable-dependency-tracking")
2912 #:phases
2913 (modify-phases %standard-phases
2914 ;; This is needed for linking the static libraries
2915 (add-after 'unpack 'build-only-position-independent-code
2916 (lambda _
2917 (substitute* "configure.in"
2918 (("AC_PROG_LIBTOOL" m)
2919 (string-append m "\nAM_PROG_AR\nLT_INIT([pic-only])")))
2920 (delete-file "configure")
2921 #t))
2922 ;; Some headers are not installed by default, but are needed by
2923 ;; packages like Kaldi.
2924 (add-after 'install 'install-missing-headers
2925 (lambda* (#:key outputs #:allow-other-keys)
2926 (install-file "src/common/pa_ringbuffer.h"
2927 (string-append (assoc-ref outputs "out") "/include"))
2928 #t)))))
2929 (home-page "http://www.portaudio.com/")
2930 (synopsis "Audio I/O library")
2931 (description
2932 "PortAudio is a portable C/C++ audio I/O library providing a simple API
2933 to record and/or play sound using a callback function or a blocking read/write
2934 interface.")
2935 (license license:expat)))
2936
2937 (define-public qsynth
2938 (package
2939 (name "qsynth")
2940 (version "0.5.7")
2941 (source
2942 (origin
2943 (method url-fetch)
2944 (uri (string-append "mirror://sourceforge/qsynth/qsynth/" version
2945 "/qsynth-" version ".tar.gz"))
2946 (sha256
2947 (base32 "18im4w8agj60nkppwbkxqnhpp13z5li3w30kklv4lgs20rvgbvl6"))))
2948 (build-system gnu-build-system)
2949 (arguments
2950 `(#:tests? #f)) ; no "check" phase
2951 (native-inputs
2952 `(("qttools" ,qttools)
2953 ("pkg-config" ,pkg-config)))
2954 (inputs
2955 `(("fluidsynth" ,fluidsynth)
2956 ("qtbase" ,qtbase)
2957 ("qtx11extras" ,qtx11extras)))
2958 (home-page "https://qsynth.sourceforge.io")
2959 (synopsis "Graphical user interface for FluidSynth")
2960 (description
2961 "Qsynth is a GUI front-end application for the FluidSynth SoundFont
2962 synthesizer written in C++.")
2963 (license license:gpl2+)))
2964
2965 (define-public rsound
2966 (package
2967 (name "rsound")
2968 (version "1.1")
2969 (source
2970 (origin
2971 (method git-fetch)
2972 (uri (git-reference
2973 (url "https://github.com/Themaister/RSound.git")
2974 (commit (string-append "v" version))))
2975 (file-name (git-file-name name version))
2976 (sha256
2977 (base32 "0gspmr3klwnq98h17p5hc6ifygya4p80g4g8r7a1qavm3mv19waf"))))
2978 (build-system gnu-build-system)
2979 (inputs
2980 `(("alsa-lib" ,alsa-lib)
2981 ("jack" ,jack-1)
2982 ("ao" ,ao)
2983 ("libsamplerate" ,libsamplerate)
2984 ("openal" ,openal)
2985 ("portaudio" ,portaudio)
2986 ("pulseaudio" ,pulseaudio)))
2987 (arguments
2988 '(#:phases
2989 (modify-phases %standard-phases
2990 (replace 'configure
2991 (lambda* (#:key outputs #:allow-other-keys)
2992 (setenv "CC" "gcc")
2993 (invoke "./configure"
2994 (string-append "--prefix=" (assoc-ref outputs "out"))))))
2995 ;; No 'check' target.
2996 #:tests? #f))
2997 (home-page "https://themaister.net/rsound.html")
2998 (synopsis "Networked audio system")
2999 (description
3000 "RSound allows you to send audio from an application and transfer it
3001 directly to a different computer on your LAN network. It is an audio daemon
3002 with a much different focus than most other audio daemons.")
3003 (license license:gpl3+)))
3004
3005 (define-public xjackfreak
3006 (package
3007 (name "xjackfreak")
3008 (version "1.0")
3009 (source (origin
3010 (method git-fetch)
3011 (uri (git-reference
3012 (url "https://github.com/johnhldavis/xjackfreak.git")
3013 (commit (string-append "v" version))))
3014 (file-name (git-file-name name version))
3015 (sha256
3016 (base32
3017 "18c546qidbrj0f5wfiq5llii2192xpln0ab3r4vpr7i3wybxqjfz"))))
3018 (build-system gnu-build-system)
3019 (arguments
3020 `(#:make-flags
3021 (list (string-append "docdir=" (assoc-ref %outputs "out")
3022 "/share/doc/xjackfreak"))))
3023 (inputs
3024 `(("jack" ,jack-1)
3025 ("libx11" ,libx11)
3026 ("libxt" ,libxt)
3027 ("libxext" ,libxext)))
3028 (native-inputs
3029 `(("pkg-config" ,pkg-config)))
3030 (home-page "https://github.com/johnhldavis/xjackfreak")
3031 (synopsis "JACK audio frequency analyzer and display")
3032 (description
3033 "XJackFreak is an audio analysis and equalizing tool for the Jack Audio
3034 Connection Kit. It can display the FFT of any input, modify it and output the
3035 result.")
3036 (license license:gpl3+)))
3037
3038 (define-public zita-convolver
3039 (package
3040 (name "zita-convolver")
3041 (version "4.0.3")
3042 (source (origin
3043 (method url-fetch)
3044 (uri (string-append
3045 "http://kokkinizita.linuxaudio.org"
3046 "/linuxaudio/downloads/zita-convolver-"
3047 version ".tar.bz2"))
3048 (snippet
3049 ;; Don't optimize for a specific processor architecture.
3050 '(begin
3051 (substitute* "source/Makefile"
3052 (("^CXXFLAGS \\+= -march=native") ""))
3053 #t))
3054 (modules '((guix build utils)))
3055 (sha256
3056 (base32
3057 "0prji66p86z2bzminywkwchr5bfgxcg2i8y803pydd1hzf2198cs"))))
3058 (build-system gnu-build-system)
3059 (arguments
3060 `(#:tests? #f ; no "check" target
3061 #:make-flags
3062 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3063 (string-append "SUFFIX="))
3064 #:phases
3065 (modify-phases %standard-phases
3066 (add-after 'unpack 'patch-makefile-and-enter-directory
3067 (lambda _
3068 (substitute* "source/Makefile"
3069 (("ldconfig") "true")
3070 (("^LIBDIR =.*") "LIBDIR = lib\n"))
3071 (chdir "source")
3072 #t))
3073 (add-after 'install 'install-symlink
3074 (lambda _
3075 (symlink "libzita-convolver.so"
3076 (string-append (assoc-ref %outputs "out")
3077 "/lib/libzita-convolver.so.4"))
3078 #t))
3079 ;; no configure script
3080 (delete 'configure))))
3081 (inputs `(("fftwf" ,fftwf)))
3082 (home-page "https://kokkinizita.linuxaudio.org")
3083 (synopsis "Fast, partitioned convolution engine library")
3084 (description
3085 "Zita convolver is a C++ library providing a real-time convolution
3086 engine.")
3087 (license license:gpl3+)))
3088
3089 (define-public zita-resampler
3090 (package
3091 (name "zita-resampler")
3092 (version "1.3.0")
3093 (source (origin
3094 (method url-fetch)
3095 (uri (string-append
3096 "http://kokkinizita.linuxaudio.org"
3097 "/linuxaudio/downloads/zita-resampler-"
3098 version ".tar.bz2"))
3099 (snippet
3100 ;; Don't optimize for a specific processor architecture.
3101 '(begin
3102 (substitute* '("apps/Makefile" "libs/Makefile")
3103 (("^CXXFLAGS \\+= -march=native") ""))
3104 #t))
3105 (modules '((guix build utils)))
3106 (sha256
3107 (base32
3108 "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
3109 (build-system gnu-build-system)
3110 (arguments
3111 `(#:tests? #f ; no "check" target
3112 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3113 #:phases
3114 (modify-phases %standard-phases
3115 (add-after
3116 'unpack 'patch-makefile-and-enter-directory
3117 (lambda _
3118 (substitute* "libs/Makefile"
3119 (("ldconfig") "true")
3120 (("^LIBDIR =.*") "LIBDIR = lib\n"))
3121 (chdir "libs")
3122 #t))
3123 (add-after
3124 'install 'install-symlink
3125 (lambda _
3126 (symlink "libzita-resampler.so"
3127 (string-append (assoc-ref %outputs "out")
3128 "/lib/libzita-resampler.so.1"))
3129 #t))
3130 ;; no configure script
3131 (delete 'configure))))
3132 (home-page "https://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html")
3133 (synopsis "C++ library for resampling audio signals")
3134 (description
3135 "Libzita-resampler is a C++ library for resampling audio signals. It is
3136 designed to be used within a real-time processing context, to be fast, and to
3137 provide high-quality sample rate conversion.")
3138 (license license:gpl3+)))
3139
3140 (define-public zita-alsa-pcmi
3141 (package
3142 (name "zita-alsa-pcmi")
3143 (version "0.2.0")
3144 (source (origin
3145 (method url-fetch)
3146 (uri (string-append
3147 "http://kokkinizita.linuxaudio.org"
3148 "/linuxaudio/downloads/zita-alsa-pcmi-"
3149 version ".tar.bz2"))
3150 (sha256
3151 (base32
3152 "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
3153 (build-system gnu-build-system)
3154 (arguments
3155 `(#:tests? #f ; no "check" target
3156 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3157 #:phases
3158 (modify-phases %standard-phases
3159 (add-after 'unpack 'patch-makefile-and-enter-directory
3160 (lambda _
3161 (substitute* "libs/Makefile"
3162 (("ldconfig") "true")
3163 (("^LIBDIR =.*") "LIBDIR = lib\n"))
3164 (chdir "libs")
3165 #t))
3166 (add-after 'install 'install-symlink
3167 (lambda _
3168 (symlink "libzita-alsa-pcmi.so"
3169 (string-append (assoc-ref %outputs "out")
3170 "/lib/libzita-alsa-pcmi.so.0"))
3171 #t))
3172 ;; no configure script
3173 (delete 'configure))))
3174 (inputs
3175 `(("alsa-lib" ,alsa-lib)
3176 ("fftw" ,fftw)))
3177 (home-page "https://kokkinizita.linuxaudio.org")
3178 (synopsis "C++ wrapper around the ALSA API")
3179 (description
3180 "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy
3181 access to ALSA PCM devices, taking care of the many functions required to
3182 open, initialise and use a hw: device in mmap mode, and providing floating
3183 point audio data.")
3184 (license license:gpl3+)))
3185
3186 (define-public cuetools
3187 (package
3188 (name "cuetools")
3189 (version "1.4.1")
3190 (source (origin
3191 (method git-fetch)
3192 (uri (git-reference
3193 (url "https://github.com/svend/cuetools.git")
3194 (commit version)))
3195 (file-name (git-file-name name version))
3196 (sha256
3197 (base32
3198 "02ksv1ahf1v4cr2xbclsfv5x17m9ivzbssb5r8xjm97yh8a7spa3"))))
3199 (build-system gnu-build-system)
3200 ;; The source checkout is not bootstrapped.
3201 (native-inputs
3202 `(("autoconf" ,autoconf)
3203 ("automake" ,automake)
3204 ("flex" ,flex)
3205 ("bison" ,bison)))
3206 (synopsis "Cue and toc file parsers and utilities")
3207 (description "Cuetools is a set of programs that are useful for manipulating
3208 and using CUE sheet (cue) files and Table of Contents (toc) files. CUE and TOC
3209 files are a way to represent the layout of a data or audio CD in a
3210 machine-readable ASCII format.")
3211 (home-page "https://github.com/svend/cuetools")
3212 (license license:gpl2+)))
3213
3214 (define-public shntool
3215 (package
3216 (name "shntool")
3217 (version "3.0.10")
3218 (source (origin
3219 (method url-fetch)
3220 (uri (string-append "http://etree.org/shnutils/shntool/dist/src/"
3221 "shntool-" version ".tar.gz"))
3222 (sha256
3223 (base32
3224 "00i1rbjaaws3drkhiczaign3lnbhr161b7rbnjr8z83w8yn2wc3l"))))
3225 (build-system gnu-build-system)
3226 (synopsis "WAVE audio data processing tool")
3227 (description "shntool is a multi-purpose WAVE data processing and reporting
3228 utility. File formats are abstracted from its core, so it can process any file
3229 that contains WAVE data, compressed or not---provided there exists a format
3230 module to handle that particular file type. It can also generate CUE files, and
3231 use them split WAVE data into multiple files.")
3232 (home-page "http://etree.org/shnutils/shntool/")
3233 ;; 'install-sh' bears the x11 license
3234 (license (list license:gpl2+ license:x11))))
3235
3236 (define-public dcadec
3237 (package
3238 (name "dcadec")
3239 (version "0.2.0")
3240 (source (origin
3241 (method git-fetch)
3242 (uri (git-reference
3243 (url "https://github.com/foo86/dcadec.git")
3244 (commit (string-append "v" version))))
3245 (file-name (git-file-name name version))
3246 (sha256
3247 (base32
3248 "07nd0ajizrp1w02bsyfcv18431r8m8rq8gjfmz9wmckpg7cxj2hs"))))
3249 (build-system gnu-build-system)
3250 (arguments
3251 ;; Test files are missing: https://github.com/foo86/dcadec/issues/53
3252 '(#:tests? #f
3253 #:make-flags
3254 (list "CC=gcc"
3255 ;; Build shared library.
3256 "CONFIG_SHARED=1"
3257 (string-append "PREFIX=" (assoc-ref %outputs "out"))
3258 ;; Set proper runpath.
3259 (string-append "LDFLAGS=-Wl,-rpath="
3260 (assoc-ref %outputs "out")
3261 "/lib"))
3262 #:phases
3263 (modify-phases %standard-phases
3264 ;; No configure script, just a hand-written Makefile.
3265 (delete 'configure))))
3266 (synopsis "DTS Coherent Acoustics decoder")
3267 (description "Dcadec is a DTS Coherent Acoustics surround sound decoder
3268 with support for HD extensions.")
3269 (home-page "https://github.com/foo86/dcadec")
3270 (license license:lgpl2.1+)))
3271
3272 (define-public bs1770gain
3273 (package
3274 (name "bs1770gain")
3275 (version "0.6.7")
3276 (source
3277 (origin
3278 (method url-fetch)
3279 (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/"
3280 version "/bs1770gain-" version ".tar.gz"))
3281 (sha256
3282 (base32 "13hsbqj1dkpz1gbclnjxv50kr7b4gcjai6c1l38g01433h217qjc"))
3283 (modules '((guix build utils)))
3284 (snippet
3285 '(begin
3286 ;; XXX
3287 (substitute* (find-files "." "\\.[ch]$")
3288 (("^ \\* N..o.*") ""))
3289 (substitute* "libbg/bgx.c"
3290 (("#define BG.* ") "#define BS ")
3291 (("BG.*NO?.*N.*S.*E.*N.*SE?") "NO")
3292 (("\"( #|N).*\"") "\"\""))
3293 (substitute* (list "config.h"
3294 "configure.ac"
3295 "configure")
3296 (("https?://bs1770gain[^/]*/")
3297 "https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html"))
3298 #t))))
3299 (build-system gnu-build-system)
3300 (inputs `(("ffmpeg" ,ffmpeg)
3301 ("sox" ,sox)))
3302 (home-page "https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html")
3303 (synopsis "Tool to adjust loudness of media files")
3304 (description
3305 "BS1770GAIN is a loudness scanner compliant with ITU-R BS.1770 and its
3306 flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the
3307 loudness of audio and video files to the same level.")
3308 (license license:gpl2+)))
3309
3310 (define-public filteraudio
3311 (let ((revision "1")
3312 (commit "2fc669581e2a0ff87fba8de85861b49133306094"))
3313 (package
3314 (name "filteraudio")
3315 (version (string-append "0.0.0-" revision "."
3316 (string-take commit 7)))
3317 (source
3318 (origin
3319 (method git-fetch)
3320 (uri (git-reference
3321 (url "https://github.com/irungentoo/filter_audio.git")
3322 (commit commit)))
3323 (file-name (string-append name "-" version "-checkout"))
3324 (sha256
3325 (base32
3326 "0hbb290n3wb23f2k692a6bhc23nnqmxqi9sc9j15pnya8wifw64g"))))
3327 (build-system gnu-build-system)
3328 (arguments
3329 '(#:make-flags (list (string-append "PREFIX=" %output)
3330 "CC=gcc")
3331 #:tests? #f ; No tests
3332 #:phases
3333 (modify-phases %standard-phases
3334 ;; No configure script
3335 (delete 'configure))))
3336 (synopsis "Lightweight audio filtering library")
3337 (description "An easy to use audio filtering library made from webrtc
3338 code, used in @code{libtoxcore}.")
3339 (home-page "https://github.com/irungentoo/filter_audio")
3340 (license license:bsd-3))))
3341
3342 (define-public gsm
3343 (package
3344 (name "gsm")
3345 (version "1.0.18")
3346 (source
3347 (origin
3348 (method url-fetch)
3349 (uri
3350 (string-append "http://www.quut.com/" name "/" name
3351 "-" version ".tar.gz"))
3352 (sha256
3353 (base32
3354 "041amvpz8cvxykl3pwqldrzxligmmzcg8ncdnxbg32rlqf3q1xh4"))))
3355 (build-system gnu-build-system)
3356 (arguments
3357 `(#:test-target "tst"
3358 #:phases
3359 (modify-phases %standard-phases
3360 (add-before 'install 'pre-install
3361 (lambda _
3362 (let ((out (assoc-ref %outputs "out")))
3363 (substitute* "Makefile"
3364 (("INSTALL_ROOT\t=")
3365 (string-append "INSTALL_ROOT\t=\t" out)))
3366 (mkdir-p (string-append out "/inc"))
3367 (mkdir-p (string-append out "/man"))
3368 (mkdir-p (string-append out "/man/man1"))
3369 (mkdir-p (string-append out "/man/man3"))
3370 (mkdir-p (string-append out "/bin"))
3371 (mkdir-p (string-append out "/lib")))
3372 #t))
3373 (add-after 'install 'post-install
3374 (lambda _
3375 (let ((out (assoc-ref %outputs "out")))
3376 (rename-file (string-append out "/inc")
3377 (string-append out "/include"))
3378 (mkdir-p (string-append out "/include/gsm"))
3379 (copy-recursively "inc"
3380 (string-append out "/include/gsm")))
3381 #t))
3382 (delete 'configure)))) ; no configure script
3383 (synopsis "GSM 06.10 lossy speech compression library")
3384 (description "This C library provides an encoder and a decoder for the GSM
3385 06.10 RPE-LTP lossy speech compression algorithm.")
3386 (home-page "http://quut.com/gsm/")
3387 (license (license:non-copyleft "file://COPYRIGHT"))))
3388
3389 (define-public python-pyalsaaudio
3390 (package
3391 (name "python-pyalsaaudio")
3392 (version "0.8.4")
3393 (source (origin
3394 (method url-fetch)
3395 (uri (pypi-uri "pyalsaaudio" version))
3396 (sha256
3397 (base32
3398 "1180ypn9596rq4b7y7dyv627j1q0fqilmkkrckclnzsdakdgis44"))))
3399 (build-system python-build-system)
3400 (arguments
3401 `(#:tests? #f)) ; tests require access to ALSA devices.
3402 (inputs
3403 `(("alsa-lib" ,alsa-lib)))
3404 (home-page "https://larsimmisch.github.io/pyalsaaudio/")
3405 (synopsis "ALSA wrappers for Python")
3406 (description
3407 "This package contains wrappers for accessing the ALSA API from Python.
3408 It is currently fairly complete for PCM devices, and has some support for
3409 mixers.")
3410 (license license:psfl)))
3411
3412 (define-public python2-pyalsaaudio
3413 (package-with-python2 python-pyalsaaudio))
3414
3415 (define-public bluez-alsa
3416 (package
3417 (name "bluez-alsa")
3418 (version "2.0.0")
3419 (source (origin
3420 ;; The tarballs are mere snapshots and don't contain a
3421 ;; bootstrapped build system.
3422 (method git-fetch)
3423 (uri (git-reference
3424 (url "https://github.com/Arkq/bluez-alsa.git")
3425 (commit (string-append "v" version))))
3426 (file-name (git-file-name name version))
3427 (sha256
3428 (base32
3429 "08mppgnjf1j2733bk9yf0cny6rfxxwiys0s62lz2zd2lpdl6d9lz"))))
3430 (build-system gnu-build-system)
3431 (arguments
3432 `(#:configure-flags
3433 (list (string-append "--with-alsaplugindir="
3434 (assoc-ref %outputs "out")
3435 "/lib/alsa-lib")
3436 (string-append "--with-dbusconfdir="
3437 (assoc-ref %outputs "out")
3438 "/etc/dbus-1/system.d"))))
3439 (native-inputs
3440 `(("autoconf" ,autoconf)
3441 ("automake" ,automake)
3442 ("libtool" ,libtool)
3443 ("pkg-config" ,pkg-config)))
3444 (inputs
3445 `(("alsa-lib" ,alsa-lib)
3446 ("bluez" ,bluez)
3447 ("dbus" ,dbus)
3448 ("glib" ,glib)
3449 ("libbsd" ,libbsd)
3450 ("ncurses" ,ncurses)
3451 ("ortp" ,ortp)
3452 ("sbc" ,sbc)))
3453 (home-page "https://github.com/Arkq/bluez-alsa")
3454 (synopsis "Bluetooth ALSA backend")
3455 (description "This project is a rebirth of a direct integration between
3456 Bluez and ALSA. Since Bluez >= 5, the build-in integration has been removed
3457 in favor of 3rd party audio applications. From now on, Bluez acts as a
3458 middleware between an audio application, which implements Bluetooth audio
3459 profile, and a Bluetooth audio device. BlueALSA registers all known Bluetooth
3460 audio profiles in Bluez, so in theory every Bluetooth device (with audio
3461 capabilities) can be connected. In order to access the audio stream, one has
3462 to connect to the ALSA PCM device called @code{bluealsa}. The device is based
3463 on the ALSA software PCM plugin.")
3464 (license license:expat)))
3465
3466 (define-public snd
3467 (package
3468 (name "snd")
3469 (version "19.9")
3470 (source (origin
3471 (method url-fetch)
3472 (uri (string-append "ftp://ccrma-ftp.stanford.edu/pub/Lisp/"
3473 "snd-" version ".tar.gz"))
3474 (sha256
3475 (base32
3476 "13s8fahpsjygjdrcwmprcrz23ny3klaj2rh2xzdv3bfs69gxvhys"))))
3477 (build-system glib-or-gtk-build-system)
3478 (arguments
3479 `(#:tests? #f ; no tests
3480 #:out-of-source? #f ; for the 'install-doc' phase
3481 #:configure-flags
3482 (let* ((out (assoc-ref %outputs "out"))
3483 (docdir (string-append out "/share/doc/"
3484 ,name "-" ,version)))
3485 (list "--with-alsa" "--with-jack" "--with-gmp"
3486 (string-append "--with-doc-dir=" docdir)))
3487 #:phases
3488 (modify-phases %standard-phases
3489 (add-after 'install 'install-doc
3490 (lambda* (#:key outputs #:allow-other-keys)
3491 (let* ((out (assoc-ref outputs "out"))
3492 (doc (string-append out "/share/doc/"
3493 ,name "-" ,version)))
3494 (for-each
3495 (lambda (f)
3496 (install-file f doc))
3497 (find-files "." "\\.html$"))
3498 (copy-recursively "pix" (string-append doc "/pix"))
3499 #t))))))
3500 (native-inputs
3501 `(("pkg-config" ,pkg-config)))
3502 (inputs
3503 `(("alsa-lib" ,alsa-lib)
3504 ("fftw" ,fftw)
3505 ("flac" ,flac)
3506 ("gmp" ,gmp)
3507 ("gsl" ,gsl)
3508 ("gtk+" ,gtk+)
3509 ("jack" ,jack-1)
3510 ("libsamplerate" ,libsamplerate)
3511 ("mpc" ,mpc)
3512 ("mpfr" ,mpfr)
3513 ("mpg123" ,mpg123)
3514 ("speex" ,speex)
3515 ("timidity++" ,timidity++)
3516 ("vorbis-tools" ,vorbis-tools)
3517 ("wavpack" ,wavpack)))
3518 (synopsis "Sound editor")
3519 (home-page "https://ccrma.stanford.edu/software/snd/")
3520 (description
3521 "Snd is a sound editor modelled loosely after Emacs. It can be
3522 customized and extended using either the s7 Scheme implementation (included in
3523 the Snd sources), Ruby, or Forth.")
3524 (license (license:non-copyleft "file://COPYING"))))
3525
3526 (define-public noise-repellent
3527 (package
3528 (name "noise-repellent")
3529 (version "0.1.5")
3530 (source (origin
3531 (method git-fetch)
3532 (uri (git-reference
3533 (url "https://github.com/lucianodato/noise-repellent.git")
3534 (commit version)))
3535 (file-name (string-append name "-" version "-checkout"))
3536 (sha256
3537 (base32
3538 "0hb89x9i2knzan46q4nwscf5zmnb2nwf4w13xl2c0y1mx1ls1mwl"))))
3539 (build-system meson-build-system)
3540 (arguments
3541 `(#:configure-flags
3542 (list (string-append "--prefix=" (assoc-ref %outputs "out")
3543 "/lib/lv2"))))
3544 (inputs
3545 `(("lv2" ,lv2)
3546 ("fftwf" ,fftwf)))
3547 (native-inputs
3548 `(("pkg-config" ,pkg-config)))
3549 (home-page "https://github.com/lucianodato/noise-repellent")
3550 (synopsis "LV2 plugin for broadband noise reduction")
3551 (description "Noise Repellent is an LV2 plugin to reduce noise. It has
3552 the following features:
3553
3554 @enumerate
3555 @item Spectral gating and spectral subtraction suppression rule
3556 @item Adaptive and manual noise thresholds estimation
3557 @item Adjustable noise floor
3558 @item Adjustable offset of thresholds to perform over-subtraction
3559 @item Time smoothing and a masking estimation to reduce artifacts
3560 @item Basic onset detector to avoid transients suppression
3561 @item Whitening of the noise floor to mask artifacts and to recover higher
3562 frequencies
3563 @item Option to listen to the residual signal
3564 @item Soft bypass
3565 @item Noise profile saved with the session
3566 @end enumerate
3567 ")
3568 (license license:lgpl3+)))
3569
3570 (define-public cli-visualizer
3571 (package
3572 (name "cli-visualizer")
3573 (version "1.8")
3574 (source
3575 (origin
3576 (method git-fetch)
3577 (uri (git-reference
3578 (url "https://github.com/dpayne/cli-visualizer.git")
3579 (commit (string-append "v" version))))
3580 (file-name (git-file-name name version))
3581 (sha256
3582 (base32 "003mbbwsz43mg3d7llphpypqa9g7rs1p1cdbqi1mbc2bfrc1gcq2"))))
3583 (build-system cmake-build-system)
3584 (native-inputs
3585 ;; TODO: Try using the latest googletest for versions > 1.8.
3586 `( ;; ("googletest" ,googletest-1.8)
3587 ("which" ,which)))
3588 (inputs
3589 `(("fftw" ,fftw)
3590 ("ncurses" ,ncurses)
3591 ("pulseaudio" ,pulseaudio)))
3592 (arguments
3593 '(#:tests? #f
3594 ;; XXX Enable tests after patching them to use the system googletest.
3595 ;; #:configure-flags (list "-DVIS_WITH_TESTS=true")
3596 #:phases
3597 (modify-phases %standard-phases
3598 (add-after 'install 'install-examples
3599 (lambda* (#:key outputs #:allow-other-keys)
3600 (with-directory-excursion "../source/examples"
3601 (delete-file "mac_osx_config")
3602 (for-each (lambda (file)
3603 (install-file file
3604 (string-append
3605 (assoc-ref outputs "out")
3606 "/share/doc")))
3607 (find-files ".")))
3608 #t)))))
3609 (home-page "https://github.com/dpayne/cli-visualizer/")
3610 (synopsis "Command-line audio visualizer")
3611 (description "@code{cli-visualizer} displays fast-Fourier
3612 transforms (FFTs) of the sound being played, as well as other graphical
3613 representations.")
3614 (license license:expat)))
3615
3616 (define-public cava
3617 (package
3618 (name "cava")
3619 (version "0.6.1")
3620 (source (origin
3621 (method git-fetch)
3622 (uri (git-reference
3623 (url "https://github.com/karlstav/cava.git")
3624 (commit version)))
3625 (file-name (git-file-name name version))
3626 (sha256
3627 (base32
3628 "1kvhqgijs29909w3sq9m0bslx2zxxn4b3i07kdz4hb0dqkppxpjy"))))
3629 (build-system gnu-build-system)
3630 (native-inputs
3631 `(("autoconf" ,autoconf)
3632 ("automake" ,automake)
3633 ("libtool" ,libtool)))
3634 (inputs
3635 `(("fftw" ,fftw)
3636 ("ncurses" ,ncurses)
3637 ("pulseaudio" ,pulseaudio)))
3638 (arguments
3639 `(#:configure-flags
3640 (list (string-append "PREFIX=" %output)
3641 (string-append "FONT_DIR=" %output "/share/consolefonts"))
3642 #:make-flags
3643 (let ((lib (string-append %output "/lib")))
3644 (list (string-append "cava_LDFLAGS = -L" lib " -Wl,-rpath " lib)))
3645 #:phases
3646 (modify-phases %standard-phases
3647 (replace 'bootstrap
3648 (lambda* (#:key outputs #:allow-other-keys)
3649 (setenv "HOME" (getcwd))
3650 (invoke "sh" "autogen.sh")))
3651 (add-before 'build 'make-cava-ldflags
3652 (lambda* (#:key outputs #:allow-other-keys)
3653 (mkdir-p (string-append (assoc-ref outputs "out") "/lib"))
3654 #t))
3655 (add-after 'install 'data
3656 (lambda* (#:key outputs #:allow-other-keys)
3657 (for-each (lambda (file)
3658 (install-file file
3659 (string-append (assoc-ref outputs "out")
3660 "/share/doc/examples")))
3661 (find-files "example_files"))
3662 #t)))))
3663 (home-page "https://karlstav.github.io/cava/")
3664 (synopsis "Console audio visualizer for ALSA, MPD, and PulseAudio")
3665 (description "C.A.V.A. is a bar audio spectrum visualizer for the terminal
3666 using ALSA, MPD, PulseAudio, or a FIFO buffer as its input.")
3667 (license license:expat)))
3668
3669 (define-public fluid-3
3670 (let ((commit "871c8ce2002e8b3c198f532fdb4fbcce7914f951"))
3671 (package
3672 (name "fluid-3")
3673 (version "2.1")
3674 (source
3675 (origin
3676 (method url-fetch)
3677 ;; Only one file is required, but the release bundles the whole
3678 ;; software which is 50MiB as tar and 200MiB unpacked. The website
3679 ;; directly links the soundfont release to the github file download.
3680 (uri (string-append "https://github.com/musescore/MuseScore/raw/"
3681 commit "/share/sound/FluidR3Mono_GM.sf3"))
3682 (file-name (string-append name "-" version ".sf3"))
3683 (sha256
3684 (base32
3685 "1hjfg5i15bw9279007xs92zsggjgn4s4k9pc00s851l3kvc6dkfg"))))
3686 (build-system trivial-build-system)
3687 (arguments
3688 `(#:modules ((guix build utils))
3689 #:builder
3690 (begin
3691 (use-modules (guix build utils))
3692 (let ((file (assoc-ref %build-inputs "source"))
3693 (out (string-append %output "/share/soundfonts")))
3694 (mkdir-p out)
3695 (copy-file file (string-append out "/FluidR3Mono_GM.sf3"))
3696 #t))))
3697 (home-page "https://github.com/musescore/MuseScore/tree/master/share/sound")
3698 (synopsis "Pro-quality GM soundfont")
3699 (description "Fluid-3 is Frank Wen's pro-quality GM soundfont.")
3700 (license license:expat))))
3701
3702 (define-public libfdk
3703 (package
3704 (name "libfdk")
3705 (version "2.0.1")
3706 (source
3707 (origin
3708 (method git-fetch)
3709 (uri (git-reference
3710 (url "https://github.com/mstorsjo/fdk-aac")
3711 (commit (string-append "v" version))))
3712 (file-name (git-file-name name version))
3713 (sha256
3714 (base32
3715 "1fkrnzs78fmj11n9z3l0w53i2fl16jcfiyavwidck9bzmkmsf486"))))
3716 (build-system gnu-build-system)
3717 (native-inputs
3718 `(("autoconf" ,autoconf)
3719 ("automake" ,automake)
3720 ("libtool" ,libtool)))
3721 (home-page "https://github.com/mstorsjo/fdk-aac")
3722 (synopsis "Fraunhofer FDK AAC library")
3723 (description "FDK is a library for encoding and decoding Advanced Audio
3724 Coding (AAC) format audio, developed by Fraunhofer IIS, and included as part of
3725 Android. It supports several Audio Object Types including MPEG-2 and MPEG-4 AAC
3726 LC, HE-AAC (AAC LC + SBR), HE-AACv2 (LC + SBR + PS) as well AAC-LD (low delay)
3727 and AAC-ELD (enhanced low delay) for real-time communication. The encoding
3728 library supports sample rates up to 96 kHz and up to eight channels (7.1
3729 surround).")
3730 (license (license:fsf-free "https://github.com/mstorsjo/fdk-aac/blob/master/NOTICE"
3731 "https://www.gnu.org/licenses/license-list.html#fdk"))))
3732
3733 (define-public libopenshot-audio
3734 (package
3735 (name "libopenshot-audio")
3736 (version "0.2.0")
3737 (source (origin
3738 (method git-fetch)
3739 (uri (git-reference
3740 (url "https://github.com/OpenShot/libopenshot-audio")
3741 (commit (string-append "v" version))))
3742 (file-name (git-file-name name version))
3743 (sha256
3744 (base32
3745 "13if0m5mvlqly8gmbhschzb9papkgp3yqivklhb949dhy16m8zgf"))))
3746 (build-system cmake-build-system)
3747 (inputs
3748 `(("alsa-lib" ,alsa-lib)
3749 ;; The following are for JUCE GUI components:
3750 ("libx11" ,libx11)
3751 ("freetype" ,freetype)
3752 ("libxrandr" ,libxrandr)
3753 ("libxinerama" ,libxinerama)
3754 ("libxcursor" ,libxcursor)))
3755 (arguments
3756 `(#:tests? #f ;there are no tests
3757 #:configure-flags
3758 (list (string-append "-DCMAKE_CXX_FLAGS=-I"
3759 (assoc-ref %build-inputs "freetype")
3760 "/include/freetype2"))))
3761 (home-page "https://openshot.org")
3762 (synopsis "Audio editing and playback for OpenShot")
3763 (description "OpenShot Audio Library (libopenshot-audio) allows
3764 high-quality editing and playback of audio, and is based on the JUCE
3765 library.")
3766 (license license:lgpl3+)))
3767
3768 (define-public faudio
3769 (package
3770 (name "faudio")
3771 (version "19.11")
3772 (source
3773 (origin
3774 (method git-fetch)
3775 (uri (git-reference
3776 (url "https://github.com/FNA-XNA/FAudio.git")
3777 (commit version)))
3778 (file-name (git-file-name name version))
3779 (sha256
3780 (base32 "0ckpr6ffz8ssfh1y850dhip5s5jv0j6n90qz5yx1v9d6gpwf08rp"))))
3781 (arguments
3782 '(#:tests? #f ; No tests.
3783 #:configure-flags '("-DFFMPEG=ON")))
3784 (build-system cmake-build-system)
3785 (native-inputs `(("pkg-config" ,pkg-config)))
3786 (inputs `(("ffmpeg" ,ffmpeg)
3787 ("sdl2" ,sdl2)))
3788 (home-page "https://github.com/FNA-XNA/FAudio")
3789 (synopsis "XAudio reimplementation")
3790 (description "FAudio is an XAudio reimplementation that focuses solely on
3791 developing fully accurate DirectX Audio runtime libraries.")
3792 (license license:zlib)))
3793
3794 (define-public gnaural
3795 (package
3796 (name "gnaural")
3797 (version "20110606")
3798 (source
3799 (origin
3800 (method url-fetch)
3801 (uri (string-append "mirror://sourceforge/gnaural/Gnaural/gnaural_"
3802 version ".tar.xz"))
3803 (sha256
3804 (base32
3805 "1gq519c0imsh57zklyi0f8h64l3ai48lh672c834470z8c6kvbfi"))))
3806 (build-system gnu-build-system)
3807 (inputs
3808 `(("alsa-lib" ,alsa-lib)
3809 ("gtk+" ,gtk+-2)
3810 ("libsndfile" ,libsndfile)
3811 ("portaudio" ,portaudio)))
3812 (native-inputs
3813 `(("pkg-config" ,pkg-config)))
3814 (home-page "http://gnaural.sourceforge.net/")
3815 (synopsis "Binaural beat synthesizer")
3816 (description "Gnaural is a programmable auditory binaural beat synthesizer
3817 intended to be used for brainwave entrainment. Gnaural supports creation of
3818 binaural beat tracks of different frequencies and exporting of tracks into
3819 different audio formats. Gnaural can also be linked over the internet with
3820 other Gnaural instances, allowing synchronous sessions between many users.")
3821 (license license:gpl2+)))
3822
3823 (define-public darkice
3824 (package
3825 (name "darkice")
3826 (version "1.3")
3827 (source (origin
3828 (method url-fetch)
3829 (uri (string-append "mirror://sourceforge/darkice/darkice/"
3830 version "/darkice-" version ".tar.gz"))
3831 (sha256
3832 (base32 "1rlxds7ssq7nk2in4s46xws7xy9ylxsqgcz85hxjgh17lsm0y39c"))
3833 (patches
3834 (search-patches "darkice-workaround-fpermissive-error.patch"))))
3835 (build-system gnu-build-system)
3836 (native-inputs `(("pkg-config" ,pkg-config)))
3837 (inputs `(("lame" ,lame)
3838 ("libvorbis" ,libvorbis)
3839 ("opus" ,opus)
3840 ("twolame" ,twolame)
3841 ("alsa-lib" ,alsa-lib)
3842 ("pulseaudio" ,pulseaudio)
3843 ("jack" ,jack-1)
3844 ("libsamplerate" ,libsamplerate)))
3845 (arguments
3846 `(#:configure-flags
3847 (list (string-append "--with-lame-prefix="
3848 (assoc-ref %build-inputs "lame")))))
3849 (home-page "http://www.darkice.org/")
3850 (synopsis "Live audio streamer")
3851 (description "DarkIce is a live audio streamer. It takes audio input from
3852 a sound card, encodes it into Ogg Vorbis and/or mp3, and sends the audio
3853 stream to one or more IceCast and/or ShoutCast servers.")
3854 (license license:gpl3+)))
3855
3856 (define-public libltc
3857 (package
3858 (name "libltc")
3859 (version "1.3.1")
3860 (source
3861 (origin
3862 (method url-fetch)
3863 (uri
3864 (string-append "https://github.com/x42/libltc/releases/download/v"
3865 version "/libltc-" version ".tar.gz"))
3866 (sha256
3867 (base32
3868 "173h9dgmain3nyrwk6q2d7yl4fnh4vacag4s2p01n5b7nyrkxrjh"))))
3869 (build-system gnu-build-system)
3870 (arguments
3871 `(#:parallel-tests? #f)) ;tests fail otherwise
3872 (native-inputs
3873 `(("doxygen" ,doxygen)
3874 ("pkg-config" ,pkg-config)))
3875 (synopsis "Encode or decode Linear/Longitudinal Time Code (LTC) audio")
3876 (description "Libltc is a POSIX-C Library for handling
3877 @dfn{Linear/Longitudinal Time Code} (LTC) data.")
3878 (home-page "https://x42.github.io/libltc/")
3879 (license license:lgpl3+)))
3880
3881 (define-public redkite
3882 (package
3883 (name "redkite")
3884 (version "0.6.2")
3885 (source
3886 (origin
3887 (method git-fetch)
3888 (uri (git-reference
3889 (url "https://gitlab.com/geontime/redkite.git")
3890 (commit (string-append "v" version))))
3891 (file-name (git-file-name name version))
3892 (sha256
3893 (base32
3894 "1i874izajbdhlfacwwj84qrsxf7g4y6nblzxalrkzaap9sa7d1r6"))))
3895 (build-system cmake-build-system)
3896 (arguments
3897 `(#:tests? #f)) ;no tests included
3898 (inputs
3899 `(("cairo" ,cairo)))
3900 (native-inputs
3901 `(("pkg-config", pkg-config)))
3902 (synopsis "Small GUI toolkit")
3903 (description "Redkite is a small GUI toolkit developed in C++17 and
3904 inspired from other well known GUI toolkits such as Qt and GTK. It is
3905 minimal on purpose and is intended to be statically linked to applications,
3906 therefore satisfying any requirements they may have to be self contained,
3907 as is the case with audio plugins.")
3908 (home-page "https://gitlab.com/geontime/redkite")
3909 (license license:gpl3+)))
3910
3911 (define-public carla
3912 (package
3913 (name "carla")
3914 (version "2.0.0")
3915 (source
3916 (origin
3917 (method git-fetch)
3918 (uri
3919 (git-reference
3920 (url "https://github.com/falkTX/Carla.git")
3921 (commit (string-append "v" version))))
3922 (file-name (git-file-name name version))
3923 (sha256
3924 (base32
3925 "0fqgncqlr86n38yy7pa118mswfacmfczj7w9xx6c6k0jav3wk29k"))))
3926 (build-system gnu-build-system)
3927 (arguments
3928 `(#:tests? #f ; no "check" target
3929 #:make-flags
3930 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3931 #:phases
3932 (modify-phases %standard-phases
3933 (delete 'configure) ; no configure script
3934 (add-before 'build 'set-CC-variable-and-show-features
3935 (lambda _
3936 (setenv "CC" "gcc")
3937 (invoke "make" "features")))
3938 (add-after 'install 'make-carla-executable
3939 (lambda* (#:key outputs #:allow-other-keys)
3940 (let ((out (assoc-ref outputs "out")))
3941 (chmod (string-append out "/share/carla/carla") #o555)
3942 #t)))
3943 (add-after 'install 'wrap-executables
3944 (lambda* (#:key outputs #:allow-other-keys)
3945 (let ((out (assoc-ref outputs "out")))
3946 (wrap-script (string-append out "/bin/carla")
3947 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))
3948 #t))))))
3949 (inputs
3950 `(("alsa-lib" ,alsa-lib)
3951 ("ffmpeg" ,ffmpeg)
3952 ("fluidsynth" ,fluidsynth)
3953 ("file" ,file)
3954 ("liblo" ,liblo)
3955 ("libsndfile" ,libsndfile)
3956 ("gtk+" ,gtk+)
3957 ("python-pyliblo" ,python-pyliblo)
3958 ("python-pyqt" ,python-pyqt)
3959 ("python-rdflib" ,python-rdflib)
3960 ;; python-pyqt shows the following error without python-wrapper:
3961 ;; Error while finding module specification for 'PyQt5.uic.pyuic'
3962 ;; (ModuleNotFoundError: No module named 'PyQt5')
3963 ("python-wrapper" ,python-wrapper)
3964 ("libx11" ,libx11)
3965 ("qtbase" ,qtbase)
3966 ("zlib" ,zlib)
3967
3968 ;; For WRAP-SCRIPT above.
3969 ("guile" ,guile-2.2)))
3970 (native-inputs
3971 `(("pkg-config" ,pkg-config)))
3972 (home-page "https://kx.studio/Applications:Carla")
3973 (synopsis "Audio plugin host")
3974 (description "Carla is a modular audio plugin host, with features like
3975 transport control, automation of parameters via MIDI CC and remote control
3976 over OSC. Carla currently supports LADSPA (including LRDF), DSSI, LV2, VST2,
3977 and VST3 plugin formats, plus SF2 and SFZ file support. It uses JACK as the
3978 default and preferred audio driver but also supports native drivers like ALSA.")
3979 (license license:gpl2+)))
3980
3981 (define-public ecasound
3982 (package
3983 (name "ecasound")
3984 (version "2.9.3")
3985 (source (origin
3986 (method url-fetch)
3987 (uri (string-append "https://nosignal.fi/download/ecasound-"
3988 version ".tar.gz"))
3989 (sha256
3990 (base32 "1m7njfjdb7sqf0lhgc4swihgdr4snkg8v02wcly08wb5ar2fr2s6"))))
3991 (build-system gnu-build-system)
3992 (native-inputs `(("pkg-config" ,pkg-config)))
3993 ;; It would be nice to add mikmod to inputs if that gets packaged
3994 ;; eventually.
3995 (inputs `(("alsa-lib" ,alsa-lib)
3996 ("jack" ,jack-1)
3997 ("mpg123" ,mpg123)
3998 ("lame" ,lame)
3999 ("vorbis-tools" ,vorbis-tools)
4000 ("faad2" ,faad2)
4001 ("flac" ,flac)
4002 ("timidity++" ,timidity++)
4003 ("libsndfile" ,libsndfile)
4004 ("libsamplerate" ,libsamplerate)
4005 ("ncurses" ,ncurses)
4006 ("ladspa" ,ladspa)
4007 ("lilv" ,lilv)))
4008 (home-page "https://nosignal.fi/ecasound/index.php")
4009 (synopsis "Multitrack audio processing")
4010 (description "Ecasound is a software package designed for multitrack audio
4011 processing. It can be used for simple tasks like audio playback, recording and
4012 format conversions, as well as for multitrack effect processing, mixing,
4013 recording and signal recycling. Ecasound supports a wide range of audio inputs,
4014 outputs and effect algorithms. Effects and audio objects can be combined in
4015 various ways, and their parameters can be controlled by operator objects like
4016 oscillators and MIDI-CCs. A versatile console mode user-interface is included
4017 in the package.")
4018 ;; As an exception to the above, the C, C++ and python implementations
4019 ;; of the Ecasound Control Interface (ECI) are licensed under the LGPL
4020 ;; (see the file 'COPYING.LGPL'). This allows writing ECI applications
4021 ;; that are not licensed under GPL.
4022 (license (list license:gpl2 license:lgpl2.1))))
4023
4024 (define-public libaudec
4025 (package
4026 (name "libaudec")
4027 (version "0.2")
4028 (source
4029 (origin
4030 (method git-fetch)
4031 (uri (git-reference
4032 (url "https://git.zrythm.org/git/libaudec")
4033 (commit (string-append "v" version))))
4034 (file-name (git-file-name name version))
4035 (sha256
4036 (base32
4037 "0lfydvs92b0hr72z71ci3yi356rjzi162pgms8dphgg18bz8dazv"))))
4038 (build-system meson-build-system)
4039 (arguments
4040 `(#:configure-flags `("-Denable_tests=true -Denable_ffmpeg=true")))
4041 (inputs
4042 `(("libsamplerate" ,libsamplerate)
4043 ("libsndfile" ,libsndfile)
4044 ("ffmpeg" ,ffmpeg)))
4045 (native-inputs
4046 `(("pkg-config", pkg-config)))
4047 (synopsis "Library for reading and resampling audio files")
4048 (description "libaudec is a wrapper library over ffmpeg, sndfile and
4049 libsamplerate for reading and resampling audio files, based on Robin Gareus'
4050 @code{audio_decoder} code.")
4051 (home-page "https://git.zrythm.org/cgit/libaudec")
4052 (license license:agpl3+)))
4053
4054 (define-public lv2lint
4055 (package
4056 (name "lv2lint")
4057 (version "0.4.0")
4058 (source
4059 (origin
4060 (method git-fetch)
4061 (uri (git-reference
4062 (url "https://git.open-music-kontrollers.ch/lv2/lv2lint")
4063 (commit version)))
4064 (file-name (git-file-name name version))
4065 (sha256
4066 (base32
4067 "1pspwqpzl2dw1hd9ra9yr53arqbbqjn7d7j0f7p9g3iqa76vblpi"))))
4068 (build-system meson-build-system)
4069 (arguments
4070 `(#:configure-flags
4071 `("-Delf-tests=true" ; for checking symbol visibility
4072 "-Donline-tests=true"))) ; for checking URI existence
4073 (inputs
4074 `(("curl", curl)
4075 ("libelf", libelf)
4076 ("lilv", lilv)))
4077 (native-inputs
4078 `(("pkg-config", pkg-config)))
4079 (synopsis "LV2 plugin lint tool")
4080 (description "lv2lint is an LV2 lint-like tool that checks whether a
4081 given plugin and its UI(s) match up with the provided metadata and adhere
4082 to well-known best practices.")
4083 (home-page "https://open-music-kontrollers.ch/lv2/lv2lint/")
4084 (license license:artistic2.0)))
4085
4086 (define-public lv2toweb
4087 (package
4088 (name "lv2toweb")
4089 (version "0.4")
4090 (source
4091 (origin
4092 (method git-fetch)
4093 (uri (git-reference
4094 (url "https://github.com/x42/lv2toweb")
4095 (commit (string-append "v" version))))
4096 (file-name (git-file-name name version))
4097 (sha256
4098 (base32
4099 "007aysqvgkf25za8nkmyd5g9kp1zla460dcpidlj5xg1zc3fcdfi"))))
4100 (build-system gnu-build-system)
4101 (arguments
4102 `(#:tests? #f ; no "check" target
4103 #:make-flags (list "CC=gcc"
4104 (string-append "PREFIX=" (assoc-ref %outputs "out")))
4105 #:phases
4106 (modify-phases %standard-phases
4107 (delete 'configure))))
4108 (inputs
4109 `(("jalv", jalv)
4110 ("lilv", lilv)))
4111 (native-inputs
4112 `(("help2man", help2man)
4113 ("pkg-config", pkg-config)))
4114 (synopsis "Documentation generator for LV2 plugins")
4115 (description
4116 "lv2toweb allows the user to create an xhtml page with information
4117 about the given LV2 plugin, provided that the plugin and its UI(s) match up
4118 with the provided metadata and adhere to well-known best practices.")
4119 (home-page "https://github.com/x42/lv2toweb")
4120 (license (list license:isc license:gpl2))))