1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 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 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>
32 ;;; This file is part of GNU Guix.
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.
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.
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/>.
47 (define-module (gnu packages audio)
48 #:use-module (guix packages)
49 #:use-module (guix download)
50 #:use-module (guix git-download)
51 #:use-module (guix utils)
52 #:use-module ((guix licenses) #:prefix license:)
53 #:use-module (guix build-system gnu)
54 #:use-module (guix build-system waf)
55 #:use-module (guix build-system trivial)
56 #:use-module (guix build-system cmake)
57 #:use-module (guix build-system python)
58 #:use-module (guix build-system glib-or-gtk)
59 #:use-module (gnu packages)
60 #:use-module (gnu packages algebra)
61 #:use-module (gnu packages autotools)
62 #:use-module (gnu packages avahi)
63 #:use-module (gnu packages boost)
64 #:use-module (gnu packages backup)
65 #:use-module (gnu packages base)
66 #:use-module (gnu packages bison)
67 #:use-module (gnu packages check)
68 #:use-module (gnu packages compression)
69 #:use-module (gnu packages curl)
70 #:use-module (gnu packages dbm)
71 #:use-module (gnu packages documentation)
72 #:use-module (gnu packages emacs)
73 #:use-module (gnu packages file)
74 #:use-module (gnu packages flex)
75 #:use-module (gnu packages fltk)
76 #:use-module (gnu packages fontutils)
77 #:use-module (gnu packages gcc)
78 #:use-module (gnu packages gettext)
79 #:use-module (gnu packages glib)
80 #:use-module (gnu packages gtk)
81 #:use-module (gnu packages gnome)
82 #:use-module (gnu packages gnunet) ; libmicrohttpd
83 #:use-module (gnu packages gperf)
84 #:use-module (gnu packages icu4c)
85 #:use-module (gnu packages image)
86 #:use-module (gnu packages ncurses)
87 #:use-module (gnu packages onc-rpc)
88 #:use-module (gnu packages qt)
89 #:use-module (gnu packages libbsd)
90 #:use-module (gnu packages linux)
91 #:use-module (gnu packages libusb)
92 #:use-module (gnu packages llvm)
93 #:use-module (gnu packages mp3) ;taglib
94 #:use-module (gnu packages perl)
95 #:use-module (gnu packages pkg-config)
96 #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
97 #:use-module (gnu packages python)
98 #:use-module (gnu packages python-xyz)
99 #:use-module (gnu packages rdf)
100 #:use-module (gnu packages readline)
101 #:use-module (gnu packages sdl)
102 #:use-module (gnu packages serialization)
103 #:use-module (gnu packages telephony)
104 #:use-module (gnu packages tls)
105 #:use-module (gnu packages video)
106 #:use-module (gnu packages vim) ;xxd
107 #:use-module (gnu packages webkit)
108 #:use-module (gnu packages wxwidgets)
109 #:use-module (gnu packages xiph)
110 #:use-module (gnu packages xml)
111 #:use-module (gnu packages xorg)
112 #:use-module (gnu packages maths)
113 #:use-module (gnu packages multiprecision)
114 #:use-module (gnu packages music)
115 #:use-module (srfi srfi-1)
116 #:use-module (srfi srfi-26))
118 (define-public alsa-modular-synth
120 (name "alsa-modular-synth")
124 (uri (string-append "mirror://sourceforge/alsamodular/alsamodular"
125 "/" version "/ams-" version ".tar.bz2"))
128 "1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0"))))
129 (build-system gnu-build-system)
133 "CXXFLAGS=-std=gnu++11")
135 (modify-phases %standard-phases
136 ;; Insert an extra space between linker flags.
137 (add-before 'configure 'add-missing-space
139 (substitute* "configure"
140 (("LIBS\\+=\\$LIBSsave") "LIBS+=\" $LIBSsave\"")
141 (("CFLAGS\\+=\\$CFLAGSsave") "CFLAGS+=\" $CFLAGSsave\""))
144 `(("alsa-lib" ,alsa-lib)
145 ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to
146 ;; license incompatibility.
147 ("clalsadrv" ,clalsadrv)
153 ("qttools" ,qttools)))
155 `(("pkg-config" ,pkg-config)
157 (home-page "http://alsamodular.sourceforge.net/")
158 (synopsis "Realtime modular synthesizer and effect processor")
160 "AlsaModularSynth is a digital implementation of a classical analog
161 modular synthesizer system. It uses virtual control voltages to control the
162 parameters of the modules. The control voltages which control the frequency
163 e.g. of the VCO (Voltage Controlled Oscillator) and VCF (Voltage Controlled
164 Filter) modules follow the convention of 1V / Octave.")
165 (license license:gpl2)))
174 "https://aubio.org/pub/aubio-" version ".tar.bz2"))
177 "1npks71ljc48w6858l9bq30kaf5nph8z0v61jkfb70xb9np850nl"))))
178 (build-system waf-build-system)
180 `(#:tests? #f ; no check target
183 (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib")
187 "--enable-samplerate"
192 ("libsndfile" ,libsndfile)
193 ("libsamplerate" ,libsamplerate)
195 ("ffmpeg" ,ffmpeg))) ; for libavcodec
197 `(("pkg-config" ,pkg-config)))
198 (home-page "https://aubio.org/")
199 (synopsis "Library for audio labelling")
201 "aubio is a tool designed for the extraction of annotations from audio
202 signals. Its features include segmenting a sound file before each of its
203 attacks, performing pitch detection, tapping the beat and producing MIDI
204 streams from live audio.")
205 (license license:gpl3+)))
207 (define (ardour-rpath-phase major-version)
208 `(lambda* (#:key outputs #:allow-other-keys)
209 (let ((libdir (string-append (assoc-ref outputs "out")
210 "/lib/ardour" ,major-version)))
211 (substitute* "wscript"
212 (("linker_flags = \\[\\]")
213 (string-append "linker_flags = [\""
216 libdir "/backends" ":"
217 libdir "/engines" ":"
218 libdir "/panners" ":"
219 libdir "/surfaces" ":"
220 libdir "/vamp" "\"]"))))
223 (define-public ardour
230 (url "https://git.ardour.org/ardour/ardour.git")
233 ;; Ardour expects this file to exist at build time. The revision
235 ;; git describe HEAD | sed 's/^[A-Za-z]*+//'
236 `(call-with-output-file
237 "libs/ardour/revision.cc"
239 (format port ,(string-append "#include \"ardour/revision.h\"
240 namespace ARDOUR { const char* revision = \"" version "\" ; }"))
244 "0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr"))
245 (file-name (string-append name "-" version))))
246 (build-system waf-build-system)
248 `(#:configure-flags '("--cxx11" ; required by gtkmm
249 "--no-phone-home" ; don't contact ardour.org
250 "--freedesktop" ; build .desktop file
251 "--test") ; build unit tests
253 (modify-phases %standard-phases
254 (add-after 'unpack 'set-rpath-in-LDFLAGS
255 ,(ardour-rpath-phase (version-major version)))
256 (add-after 'install 'install-freedesktop-files
257 (lambda* (#:key outputs #:allow-other-keys)
258 (let* ((out (assoc-ref outputs "out"))
259 (share (string-append out "/share"))
260 (ver ,(version-major version)))
263 (let ((dir (string-append share "/icons/hicolor/"
264 size "x" size "/apps")))
267 (string-append "gtk2_ardour/resources/Ardour-icon_"
269 (string-append dir "/ardour" ver ".png"))))
270 '("16" "22" "32" "48" "256"))
271 (install-file (string-append "build/gtk2_ardour/ardour"
273 (string-append share "/applications/"))
274 (install-file (string-append "build/gtk2_ardour/ardour"
276 (string-append share "/appdata/")))
281 `(("alsa-lib" ,alsa-lib)
294 ("libarchive" ,libarchive)
295 ("libart-lgpl" ,libart-lgpl)
296 ("libgnomecanvasmm" ,libgnomecanvasmm)
299 ("libsamplerate" ,libsamplerate)
300 ("libsndfile" ,libsndfile)
302 ("libvorbis" ,libvorbis)
308 ("python-rdflib" ,python-rdflib)
309 ("readline" ,readline)
311 ("rubberband" ,rubberband)
319 `(("cppunit" ,cppunit)
320 ("gettext" ,gettext-minimal)
323 ("pkg-config" ,pkg-config)))
324 (home-page "http://ardour.org")
325 (synopsis "Digital audio workstation")
327 "Ardour is a multi-channel digital audio workstation, allowing users to
328 record, edit, mix and master audio and MIDI projects. It is targeted at audio
329 engineers, musicians, soundtrack editors and composers.")
330 (license license:gpl2+)))
332 (define-public audacity
340 (url "https://github.com/audacity/audacity.git")
341 (commit (string-append "Audacity-" version))))
342 (file-name (git-file-name name version))
345 "08w96124vv8k4myd4vifq73ningq6404x889wvg2sk016kc4dfv1"))
346 (patches (search-patches "audacity-build-with-system-portaudio.patch"))
347 (modules '((guix build utils)))
349 ;; Remove bundled libraries.
353 (delete-file-recursively (string-append "lib-src/" dir)))
354 '("expat" "ffmpeg" "libflac" "libid3tag" "libmad" "libogg"
355 "libsndfile" "libsoxr" "libvamp" "libvorbis" "lv2"
356 "portaudio-v19" "portmidi" "soundtouch" "twolame"
357 ;; FIXME: these libraries have not been packaged yet:
365 ;; FIXME: we have this library, but it differs in that the Slide
366 ;; class does not have a member "getInverseStretchedTime".
370 (build-system glib-or-gtk-build-system)
372 `(("wxwidgets" ,wxwidgets)
374 ("alsa-lib" ,alsa-lib)
380 ("libid3tag" ,libid3tag)
382 ;;("libsbsms" ,libsbsms) ;bundled version is modified
383 ("libsndfile" ,libsndfile)
384 ("soundtouch" ,soundtouch)
385 ("soxr" ,soxr) ;replaces libsamplerate
388 ("libvorbis" ,libvorbis)
390 ("lilv" ,lilv) ;for lv2
391 ("suil" ,suil) ;for lv2
392 ("portaudio" ,portaudio)
393 ("portmidi" ,portmidi)))
395 `(("autoconf" ,autoconf)
396 ("automake" ,automake)
397 ("gettext" ,gettext-minimal) ;for msgfmt
399 ("pkg-config" ,pkg-config)
404 (let ((libid3tag (assoc-ref %build-inputs "libid3tag"))
405 (libmad (assoc-ref %build-inputs "libmad"))
406 (portmidi (assoc-ref %build-inputs "portmidi")))
408 ;; Loading FFmpeg dynamically is problematic.
409 "--disable-dynamic-loading"
410 ;; SSE instructions are available on Intel systems only.
411 ,@(if (any (cute string-prefix? <> (or (%current-target-system)
415 '("--enable-sse=no"))
416 ;; portmidi, libid3tag and libmad provide no .pc files, so
417 ;; pkg-config fails to find them. Force their inclusion.
418 (string-append "ID3TAG_CFLAGS=-I" libid3tag "/include")
419 (string-append "ID3TAG_LIBS=-L" libid3tag "/lib -lid3tag -lz")
420 (string-append "LIBMAD_CFLAGS=-I" libmad "/include")
421 (string-append "LIBMAD_LIBS=-L" libmad "/lib -lmad")
422 (string-append "PORTMIDI_CFLAGS=-I" portmidi "/include")
423 (string-append "PORTMIDI_LIBS=-L" portmidi "/lib -lportmidi")
424 "EXPAT_USE_SYSTEM=yes"
425 "FFMPEG_USE_SYSTEM=yes"
426 "LAME_USE_SYSTEM=yes"
427 "LIBFLAC_USE_SYSTEM=yes"
428 "LIBID3TAG_USE_SYSTEM=yes"
429 "LIBMAD_USE_SYSTEM=yes"
430 "USE_LOCAL_LIBNYQUIST=" ;not packaged yet
431 ;;"LIBSBSMS_USE_SYSTEM=yes" ;bundled version is patched
432 "LIBSNDFILE_USE_SYSTEM=yes"
433 "LIBSOUNDTOUCH_USE_SYSTEM=yes"
434 "LIBSOXR_USE_SYSTEM=yes"
435 "LIBTWOLAME_USE_SYSTEM=yes"
436 "LIBVAMP_USE_SYSTEM=yes"
437 "LIBVORBIS_USE_SYSTEM=yes"
439 "PORTAUDIO_USE_SYSTEM=yes"))
441 (modify-phases %standard-phases
442 (add-after 'unpack 'fix-sbsms-check
444 ;; This check is wrong: there is no 2.2.0 release; not even the
445 ;; bundled sources match this release string.
446 (substitute* '("m4/audacity_checklib_libsbsms.m4"
448 (("sbsms >= 2.2.0") "sbsms >= 2.0.0"))
450 (add-after 'unpack 'use-upstream-headers
451 (lambda* (#:key inputs #:allow-other-keys)
452 (substitute* '("src/NoteTrack.cpp"
455 (("../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h")
456 (("../lib-src/portmidi/porttime/porttime.h") "porttime.h"))
457 (substitute* "src/prefs/MidiIOPrefs.cpp"
458 (("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h"))
460 ;; The test suite is not "well exercised" according to the developers,
461 ;; and fails with various errors. See
462 ;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>.
464 (home-page "https://www.audacityteam.org/")
465 (synopsis "Software for recording and editing sounds")
467 "Audacity is a multi-track audio editor designed for recording, playing
468 and editing digital audio. It features digital effects and spectrum analysis
470 (license license:gpl2+)))
472 (define-public audiofile
480 "https://audiofile.68k.org/audiofile-" version ".tar.gz"))
482 (base32 "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind"))
484 ;; CVE references according to nixpgs
486 "audiofile-fix-datatypes-in-tests.patch"
487 "audiofile-fix-sign-conversion.patch"
488 "audiofile-hurd.patch"
489 "audiofile-CVE-2015-7747.patch"
491 "audiofile-Fix-index-overflow-in-IMA.cpp.patch"
492 ;; CVE-2017-6827, CVE-2017-6828, CVE-2017-6832, CVE-2017-6835,
494 "audiofile-Check-the-number-of-coefficients.patch"
496 "audiofile-Fix-overflow-in-MSADPCM-decodeSam.patch"
497 ;; CVE-2017-6830, CVE-2017-6834, CVE-2017-6836, CVE-2017-6838:
498 "audiofile-Fix-multiply-overflow-sfconvert.patch"
499 "audiofile-signature-of-multiplyCheckOverflow.patch"
501 "audiofile-Fail-on-error-in-parseFormat.patch"
503 "audiofile-division-by-zero-BlockCodec-runPull.patch"
504 "audiofile-CVE-2018-13440.patch"
505 "audiofile-CVE-2018-17095.patch"))))
506 (build-system gnu-build-system)
508 `(("alsa-lib" ,alsa-lib)))
509 (home-page "https://audiofile.68k.org/")
510 (synopsis "Library to handle various audio file formats")
511 (description "This is an open-source version of SGI's audiofile library.
512 It provides a uniform programming interface for processing of audio data to
513 and from audio files of many common formats.
515 Currently supported file formats include AIFF/AIFF-C, WAVE, and NeXT/Sun
516 .snd/.au, BICS, and raw data. Supported compression formats are currently
517 G.711 mu-law and A-law.")
518 (license license:lgpl2.1+)))
520 (define-public autotalent
526 (uri (string-append "http://tombaran.info/autotalent-"
530 "1n04qm66f14195ly6gsy3ra7v2j7zad5n19d8dwfmh0qs6h9hphh"))))
531 (build-system gnu-build-system)
533 `(#:tests? #f ; no check target
535 (modify-phases %standard-phases
536 ;; no configure script
538 (add-before 'install 'prepare-target-directory
539 (lambda* (#:key outputs #:allow-other-keys)
540 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
542 (add-after 'unpack 'override-target-directory
543 (lambda* (#:key outputs #:allow-other-keys)
544 (substitute* "Makefile"
545 (("/usr/lib64/ladspa")
546 (string-append (assoc-ref outputs "out") "/lib/ladspa")))
549 `(("ladspa" ,ladspa)))
550 (home-page "http://tombaran.info/autotalent.html")
551 (synopsis "Pitch-correction LADSPA audio plugin")
553 "Autotalent is a LADSPA plugin for real-time pitch-correction. Among its
554 controls are allowable notes, strength of correction, LFO for vibrato and
556 ;; All code except the FFT routine is licensed under GPLv2+.
557 ;; The FFT routine is under BSD-3.
558 (license license:gpl2+)))
566 (uri (string-append "mirror://savannah/ll-plugins/azr3-jack-"
571 "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc"))
572 (patches (search-patches "azr3.patch"))))
573 (build-system gnu-build-system)
575 `(#:tests? #f ; no check target
578 (string-append "prefix=" %output)
579 (string-append "pkgdatadir=" %output "/share/azr3-jack"))
581 (modify-phases %standard-phases
582 (add-before 'install 'fix-timestamp
584 (let ((early-1980 315619200)) ; 1980-01-02 UTC
585 (utime "azr3.1" early-1980 early-1980))
593 `(("pkg-config" ,pkg-config)))
594 (home-page "http://ll-plugins.nongnu.org/azr3/")
595 (synopsis "Tonewheel organ synthesizer")
597 "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ
598 with drawbars, distortion and rotating speakers. The organ has three
599 sections, two polyphonic sections with nine drawbars each and one monophonic
600 bass section with five drawbars. A standalone JACK application and LV2
601 plugins are provided.")
602 (license license:gpl2)))
610 (uri (string-append "https://calf-studio-gear.org/files/calf-"
614 "17x4hylgq4dn9qycsdacfxy64f5cv57n2qgkvsdp524gnqzw4az3"))))
615 (build-system gnu-build-system)
617 `(("fluidsynth" ,fluidsynth)
628 `(("pkg-config" ,pkg-config)))
630 (list (search-path-specification
631 (variable "LV2_PATH")
632 (files '("lib/lv2")))))
633 (home-page "http://calf.sourceforge.net/")
634 (synopsis "Audio plug-in pack for LV2 and JACK environments")
636 "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments.
637 The suite contains lots of effects (delay, modulation, signal processing,
638 filters, equalizers, dynamics, distortion and mastering effects),
639 instruments (SF2 player, organ simulator and a monophonic synthesizer) and
640 tools (analyzer, mono/stereo tools, crossovers).")
641 ;; calfjackhost is released under GPLv2+
642 ;; The plugins are released under LGPLv2.1+
643 (license (list license:lgpl2.1+ license:gpl2+))))
645 (define-public caps-plugins-lv2
647 (name "caps-plugins-lv2")
648 (version "0.9.24") ; version that has been ported.
651 ;; The Github project hasn't tagged a release.
654 ;; Actually https://github.com/moddevices/caps-lv2.git, but it's
655 ;; missing fixes for newer glibc, so using the origin of a pull
656 ;; request regarding this issue:
657 (url "https://github.com/jujudusud/caps-lv2.git")
658 (commit "9c9478b7fbd8f9714f552ebe2a6866398b0babfb")))
659 (file-name (git-file-name name version))
662 "1idfnazin3cca41zw1a8vwgnxjnkrap7bxxjamjqvgpmvydgcam1"))))
663 (build-system gnu-build-system)
665 `(#:tests? #f ; no check target
667 (modify-phases %standard-phases
668 ;; no configure script
670 (add-after 'unpack 'override-target-directory
671 (lambda* (#:key outputs #:allow-other-keys)
672 (substitute* (find-files "plugins" "Makefile")
673 (("/usr/local")(assoc-ref outputs "out")))
677 ;; home-page of the original LADSPA version: http://quitte.de/dsp/caps.html
678 (home-page "https://github.com/moddevices/caps-lv2")
679 (synopsis "LV2 port of the CAPS audio plugin colection")
681 "LV2 port of CAPS, a collection of audio plugins comprising basic virtual
682 guitar amplification and a small range of classic effects, signal processors and
683 generators of mostly elementary and occasionally exotic nature.")
684 (license license:gpl3+)))
686 (define-public infamous-plugins
688 (name "infamous-plugins")
693 (url "https://github.com/ssj71/infamousPlugins.git")
694 (commit (string-append "v" version))))
695 (file-name (git-file-name name version))
698 "0hmqk80w4qxq09iag7b7srf2g0wigkyhzq0ywxvhz2iz0hq9k0dh"))))
699 (build-system cmake-build-system)
701 `(#:tests? #f ; there are no tests
703 (modify-phases %standard-phases
704 (add-after 'unpack 'remove-compiler-flags
706 (substitute* (find-files "." "CMakeLists.txt")
707 (("-msse2 -mfpmath=sse") ""))
714 ("zita-resampler" ,zita-resampler)))
716 `(("pkg-config" ,pkg-config)))
717 (home-page "https://ssj71.github.io/infamousPlugins")
718 (synopsis "LV2 plugins for live use")
720 "The infamous plugins are a collection of LV2 audio plugins for live
721 performances. The plugins include a cellular automaton synthesizer, an
722 envelope follower, distortion effects, tape effects and more.")
723 (license license:gpl2+)))
725 (define-public swh-plugins
732 (url "https://github.com/swh/ladspa.git")
733 (commit (string-append "v" version))))
734 (file-name (git-file-name name version))
737 "1c98z2xxz9pgcb4dg99gz8qrylh5cnag0j18a52d88ifsy24isvq"))))
739 `(("autoconf" ,autoconf)
740 ("automake" ,automake)
741 ("gettext" ,gettext-minimal) ;for autopoint
744 ("pkg-config" ,pkg-config)
748 ("perl-xml-parser" ,perl-xml-parser)))
749 (build-system gnu-build-system)
750 (home-page "http://plugin.org.uk")
751 (synopsis "The SWH Plugins package for the LADSPA plugin system")
752 (description "This package provides Steve Harris's LADSPA plugins.")
753 (license license:gpl2+)))
755 (define-public swh-plugins-lv2
757 (name "swh-plugins-lv2")
762 (url "https://github.com/swh/lv2.git")
763 (commit (string-append "v" version))))
764 (file-name (git-file-name name version))
767 "0y7nnww864mm4k6ayy2lhcws3wlbhb2gkyjbrwk921fvc18qk9mz"))))
768 (build-system gnu-build-system)
770 `(#:tests? #f ; no check target
771 #:make-flags (list "CC=gcc"
772 (string-append "PREFIX="
773 (assoc-ref %outputs "out")))
775 (modify-phases %standard-phases
776 ;; no configure script
778 (add-after 'unpack 'patch-makefile-and-enter-directory
779 ;; The default install target doesn't install, but the
780 ;; "install-system" target does.
782 (substitute* "Makefile"
783 (("install:") "install: install-system"))
789 `(("libxslt" ,libxslt)
790 ("pkg-config" ,pkg-config)))
791 (home-page "http://plugin.org.uk")
792 (synopsis "SWH plugins in LV2 format")
794 "Swh-plugins-lv2 is a collection of audio plugins in LV2 format. Plugin
795 classes include: dynamics (compressor, limiter), time (delay, chorus,
796 flanger), ringmodulator, distortion, filters, pitchshift, oscillators,
797 emulation (valve, tape), bit fiddling (decimator, pointer-cast), etc.")
798 (license license:gpl3+)))
800 (define-public csound
807 (url "https://github.com/csound/csound.git")
809 (file-name (git-file-name name version))
812 "14822ybqyp31z18gky2y9zadr9dkbhabg97y139py73w7v3af1bh"))))
813 (build-system cmake-build-system)
815 `(("alsa-lib" ,alsa-lib)
817 ("pulseaudio" ,pulseaudio)
818 ("libsndfile" ,libsndfile)
822 ("gettext" ,gettext-minimal)))
827 (home-page "https://csound.com/")
828 (synopsis "Sound and music computing system")
830 "Csound is a user-programmable and user-extensible sound processing
831 language and software synthesizer.")
832 (license license:lgpl2.1+)))
834 (define-public clalsadrv
841 "http://kokkinizita.linuxaudio.org"
842 "/linuxaudio/downloads/clalsadrv-"
846 "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq"))))
847 (build-system gnu-build-system)
849 `(#:tests? #f ; no "check" target
850 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
852 (modify-phases %standard-phases
853 (add-after 'unpack 'patch-makefile-and-enter-directory
855 (substitute* "libs/Makefile"
856 (("/sbin/ldconfig") "true")
857 (("^LIBDIR =.*") "LIBDIR = lib\n"))
860 (add-after 'install 'install-symlink
862 (symlink "libclalsadrv.so"
863 (string-append (assoc-ref %outputs "out")
864 "/lib/libclalsadrv.so.2"))
866 ;; no configure script
867 (delete 'configure))))
869 `(("alsa-lib" ,alsa-lib)
871 (home-page "https://kokkinizita.linuxaudio.org")
872 (synopsis "C++ wrapper around the ALSA API")
874 "clalsadrv is a C++ wrapper around the ALSA API simplifying access to
876 (license license:gpl2+)))
878 (define-public amb-plugins
885 "http://kokkinizita.linuxaudio.org"
886 "/linuxaudio/downloads/AMB-plugins-"
890 "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl"))))
891 (build-system gnu-build-system)
893 `(#:tests? #f ; no "check" target
895 (modify-phases %standard-phases
896 ;; no configure script
898 (add-before 'install 'prepare-target-directory
899 (lambda* (#:key outputs #:allow-other-keys)
900 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
902 (add-after 'unpack 'override-target-directory-and-tool-paths
903 (lambda* (#:key outputs #:allow-other-keys)
904 (substitute* "Makefile"
906 (string-append (assoc-ref outputs "out") "/lib/ladspa"))
907 (("/usr/bin/install") (which "install"))
910 (home-page "https://kokkinizita.linuxaudio.org")
911 (synopsis "LADSPA ambisonics plugins")
913 "The AMB plugins are a set of LADSPA ambisonics plugins, mainly to be
914 used within Ardour. Features include: mono and stereo to B-format panning,
915 horizontal rotator, square, hexagon and cube decoders.")
916 (license license:gpl2+)))
918 (define-public mcp-plugins
925 "http://kokkinizita.linuxaudio.org"
926 "/linuxaudio/downloads/MCP-plugins-"
930 "06a9r1l85jmg7l1cvc3788mk8ra0xagjfy1rmhw3b80y4n0vlnvc"))))
931 (build-system gnu-build-system)
933 `(#:tests? #f ; no "check" target
935 (modify-phases %standard-phases
936 ;; no configure script
938 (add-before 'install 'prepare-target-directory
939 (lambda* (#:key outputs #:allow-other-keys)
940 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
942 (add-after 'unpack 'override-target-directory
943 (lambda* (#:key outputs #:allow-other-keys)
944 (substitute* "Makefile"
945 (("/usr") (assoc-ref outputs "out")))
947 (home-page "https://kokkinizita.linuxaudio.org")
948 (synopsis "Chorus, phaser, and vintage high-pass and low-pass filters")
950 "This package provides various LADSPA plugins. @code{cs_chorus} and
951 @code{cs_phaser} provide chorus and phaser effects, respectively;
952 @code{mvclpf24} provides four implementations of the low-pass filter used in
953 vintage Moog synthesizers; @code{mvchpf24} is based on the voltage-controlled
954 high-pass filter by Robert Moog. The filters attempt to accurately emulate
955 the non-linear circuit elements of their original analog counterparts.")
956 (license license:gpl2+)))
958 (define-public rev-plugins
965 "http://kokkinizita.linuxaudio.org"
966 "/linuxaudio/downloads/REV-plugins-"
970 "1ikpinxm00pkfi259bnkzhsy3miagrjgdihaaf5x4v7zac29j3g7"))))
971 (build-system gnu-build-system)
973 `(#:tests? #f ; no "check" target
975 (modify-phases %standard-phases
976 ;; no configure script
978 (add-before 'install 'prepare-target-directory
979 (lambda* (#:key outputs #:allow-other-keys)
980 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
982 (add-after 'unpack 'override-target-directory
983 (lambda* (#:key outputs #:allow-other-keys)
984 (substitute* "Makefile"
985 (("/usr") (assoc-ref outputs "out")))
987 (home-page "https://kokkinizita.linuxaudio.org")
988 (synopsis "LADSPA reverb plugin")
990 "This package provides a stereo reverb LADSPA plugin based on the
991 well-known greverb.")
992 (license license:gpl2+)))
994 (define-public fil-plugins
1001 "http://kokkinizita.linuxaudio.org"
1002 "/linuxaudio/downloads/FIL-plugins-"
1003 version ".tar.bz2"))
1006 "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw"))))
1007 (build-system gnu-build-system)
1009 `(#:tests? #f ; no "check" target
1011 (modify-phases %standard-phases
1012 ;; no configure script
1014 (add-before 'install 'prepare-target-directory
1015 (lambda* (#:key outputs #:allow-other-keys)
1016 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1018 (add-after 'unpack 'override-target-directory
1019 (lambda* (#:key outputs #:allow-other-keys)
1020 (substitute* "Makefile"
1021 (("/usr") (assoc-ref outputs "out")))
1023 (home-page "https://kokkinizita.linuxaudio.org")
1024 (synopsis "LADSPA four-band parametric equalizer plugin")
1026 "This package provides a LADSPA plugin for a four-band parametric
1027 equalizer. Each section has an active/bypass switch, frequency, bandwidth and
1028 gain controls. There is also a global bypass switch and gain control.
1030 The 2nd order resonant filters are implemented using a Mitra-Regalia style
1031 lattice filter, which is stable even while parameters are being changed.
1033 All switches and controls are internally smoothed, so they can be used @code{live}
1034 without any clicks or zipper noises. This makes this plugin suitable for use
1035 in systems that allow automation of plugin control ports, such as Ardour, or
1037 (license license:gpl2+)))
1039 (define-public ste-plugins
1041 (name "ste-plugins")
1046 "http://kokkinizita.linuxaudio.org"
1047 "/linuxaudio/downloads/STE-plugins-"
1048 version ".tar.bz2"))
1051 "0s3c9w5xihs87cnd1lh9xgj3maabjdyh6bl766qp5lhkg3ax8zy6"))))
1052 (build-system gnu-build-system)
1054 `(#:tests? #f ; no "check" target
1056 (modify-phases %standard-phases
1057 ;; no configure script
1059 (add-before 'install 'prepare-target-directory
1060 (lambda* (#:key outputs #:allow-other-keys)
1061 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1063 (add-after 'unpack 'override-target-directory
1064 (lambda* (#:key outputs #:allow-other-keys)
1065 (substitute* "Makefile"
1066 (("/usr") (assoc-ref outputs "out")))
1068 (home-page "https://kokkinizita.linuxaudio.org")
1069 (synopsis "LADSPA stereo width plugin")
1071 "This package provides a LADSPA plugin to manipulate the stereo width of
1073 (license license:gpl2+)))
1075 (define-public vco-plugins
1077 (name "vco-plugins")
1082 "http://kokkinizita.linuxaudio.org"
1083 "/linuxaudio/downloads/VCO-plugins-"
1084 version ".tar.bz2"))
1087 "1xzqdg3b07r7zww05y9bb737l9dxvfkv28m3fyak1aazaci3rsgl"))))
1088 (build-system gnu-build-system)
1090 `(#:tests? #f ; no "check" target
1092 (modify-phases %standard-phases
1093 ;; no configure script
1095 (add-before 'install 'prepare-target-directory
1096 (lambda* (#:key outputs #:allow-other-keys)
1097 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1099 (add-after 'unpack 'override-target-directory
1100 (lambda* (#:key outputs #:allow-other-keys)
1101 (substitute* "Makefile"
1102 (("/usr") (assoc-ref outputs "out"))
1103 (("/bin/cp") (which "cp")))
1105 (home-page "https://kokkinizita.linuxaudio.org")
1106 (synopsis "LADSPA plugin for synthesizer oscillators")
1108 "The @code{blvco} LADSPA plugin provides three anti-aliased oscillators:
1111 @item Pulse-VCO, a dirac pulse oscillator with flat amplitude spectrum
1112 @item Saw-VCO, a sawtooth oscillator with 1/F amplitude spectrum
1113 @item Rec-VCO, a square / rectangle oscillator
1116 All oscillators are low-pass filtered to provide waveforms similar to the
1117 output of analog synthesizers such as the Moog Voyager.")
1118 (license license:gpl2+)))
1120 (define-public wah-plugins
1122 (name "wah-plugins")
1127 "http://kokkinizita.linuxaudio.org"
1128 "/linuxaudio/downloads/WAH-plugins-"
1129 version ".tar.bz2"))
1132 "1wkbjarxdhjixkh7d5abralj11dj2xxg644fz3ycd7qyfgfvjfgd"))))
1133 (build-system gnu-build-system)
1135 `(#:tests? #f ; no "check" target
1137 (modify-phases %standard-phases
1138 ;; no configure script
1140 (add-before 'install 'prepare-target-directory
1141 (lambda* (#:key outputs #:allow-other-keys)
1142 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1144 (add-after 'unpack 'override-target-directory
1145 (lambda* (#:key outputs #:allow-other-keys)
1146 (substitute* "Makefile"
1147 (("/usr") (assoc-ref outputs "out")))
1149 (home-page "https://kokkinizita.linuxaudio.org")
1150 (synopsis "LADSPA Autowah effect plugin")
1152 "This package provides a LADSPA plugin for a Wah effect with envelope
1154 (license license:gpl2+)))
1156 (define-public g2reverb
1163 "http://kokkinizita.linuxaudio.org"
1164 "/linuxaudio/downloads/g2reverb-"
1165 version ".tar.bz2"))
1168 "18wb8vj1kky5glr76s34awbi8qzplsmf3wjbd7a12hfv4j0bkwrj"))))
1169 (build-system gnu-build-system)
1171 `(#:tests? #f ; no "check" target
1173 (modify-phases %standard-phases
1174 ;; no configure script
1176 (add-before 'install 'prepare-target-directory
1177 (lambda* (#:key outputs #:allow-other-keys)
1178 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1180 (add-after 'unpack 'override-target-directory
1181 (lambda* (#:key outputs #:allow-other-keys)
1182 (substitute* "Makefile"
1183 (("/usr") (assoc-ref outputs "out")))
1185 (home-page "https://kokkinizita.linuxaudio.org")
1186 (synopsis "LADSPA stereo reverb plugin")
1188 "This package provides a LADSPA plugin for a stereo reverb effect.")
1189 (license license:gpl2+)))
1191 (define-public fluidsynth
1198 (url "https://github.com/FluidSynth/fluidsynth.git")
1199 (commit (string-append "v" version))))
1200 (file-name (git-file-name name version))
1203 "0jhla1641rx77va4b6n4shn8srj87rpwvp170byj1bg8z8g89ji1"))))
1204 (build-system cmake-build-system)
1206 '(#:tests? #f ; no check target
1208 (modify-phases %standard-phases
1209 (add-after 'unpack 'fix-libdir
1211 ;; Install libraries to /lib, not /lib64.
1212 (substitute* "CMakeLists.txt"
1213 (("LIB_SUFFIX \\$\\{_init_lib_suffix\\}")
1217 `(("libsndfile" ,libsndfile)
1218 ("alsa-lib" ,alsa-lib)
1222 ("readline" ,readline)
1225 `(("pkg-config" ,pkg-config)))
1226 (home-page "http://www.fluidsynth.org/")
1227 (synopsis "SoundFont synthesizer")
1229 "FluidSynth is a real-time software synthesizer based on the SoundFont 2
1230 specifications. FluidSynth reads and handles MIDI events from the MIDI input
1231 device. It is the software analogue of a MIDI synthesizer. FluidSynth can
1232 also play midifiles using a Soundfont.")
1233 (license license:lgpl2.1+)))
1235 ;; gzdoom@3.3.0 and lmms@1.1.3 requires this version. Remove once no longer
1237 (define-public fluidsynth-1
1239 (inherit fluidsynth)
1242 (inherit (package-source fluidsynth))
1244 (url "https://github.com/FluidSynth/fluidsynth")
1245 (commit (string-append "v" version))))
1246 (file-name (git-file-name "fluidsynth" version))
1249 "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh"))))))
1251 (define-public faad2
1257 (uri (string-append "mirror://sourceforge/faac/faad2-src/faad2-"
1258 (version-major+minor version) ".0/"
1259 "faad2-" version ".tar.gz"))
1262 "089zqykqgmmysznvk0bi2pfvdqwclnn540d0zks83sv2pynpfjb5"))))
1263 (build-system gnu-build-system)
1264 (home-page "https://www.audiocoding.com/faad2.html")
1265 (synopsis "MPEG-4 and MPEG-2 AAC decoder")
1267 "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR,
1269 (license license:gpl2)))
1271 (define-public faust
1278 (url "https://github.com/grame-cncm/faust.git")
1279 (commit (string-append "v"
1280 (string-map (lambda (c)
1281 (if (char=? c #\.) #\- c))
1283 (file-name (string-append "faust-" version "-checkout"))
1286 "0qc6iwjd3i80jdyjc186c6ywipmjzl8wlsp4050pbr56q4rlkd4z"))))
1287 (build-system gnu-build-system)
1289 `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
1292 (modify-phases %standard-phases
1293 ;; no "configure" script
1295 ;; Files appear under $out/share/faust that are read-only. The
1296 ;; install phase tries to overwrite them and fails, so we change
1297 ;; the permissions first.
1298 (add-before 'install 'fix-permissions
1300 (for-each (lambda (file)
1302 (find-files "architecture/max-msp" ".*"))
1305 `(("unzip" ,unzip)))
1306 (home-page "http://faust.grame.fr/")
1307 (synopsis "Signal processing language")
1309 "Faust is a programming language for realtime audio signal processing.")
1310 (license license:gpl2+)))
1312 (define-public faust-2
1318 (uri (string-append "https://github.com/grame-cncm/faust/"
1319 "releases/download/" version
1320 "/faust-" version ".tar.gz"))
1323 "1yz5jnr76hh7rmxkpdi7gyrw1wp4gyqfpq8zyl97qdi5ga5gjznq"))))
1324 (build-system gnu-build-system)
1326 (substitute-keyword-arguments (package-arguments faust)
1327 ((#:make-flags flags)
1328 `(list (string-append "prefix=" (assoc-ref %outputs "out"))
1331 `(("llvm" ,llvm-3.8)
1334 ("ctags" ,emacs-minimal) ; for ctags
1335 ("pkg-config" ,pkg-config)))
1337 `(("libsndfile" ,libsndfile)
1338 ("libmicrohttpd" ,libmicrohttpd)
1339 ("ncurses" ,ncurses)
1340 ("openssl" ,openssl)
1343 (define-public freepats
1346 (version "20060219")
1349 (uri (string-append "http://freepats.zenvoid.org/freepats-"
1350 version ".tar.bz2"))
1353 "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82"))))
1354 (build-system trivial-build-system)
1356 `(#:modules ((guix build utils))
1358 (use-modules (guix build utils))
1359 (let ((out (string-append %output "/share/freepats")))
1360 (setenv "PATH" (string-append
1361 (assoc-ref %build-inputs "bzip2") "/bin:"
1362 (assoc-ref %build-inputs "tar") "/bin"))
1363 (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
1365 ;; Use absolute pattern references
1366 (substitute* "freepats.cfg"
1367 (("Tone_000") (string-append out "/Tone_000"))
1368 (("Drum_000") (string-append out "/Drum_000")))
1370 (copy-recursively "." out)
1375 (home-page "http://freepats.zenvoid.org")
1376 (synopsis "GUS compatible patches for MIDI players")
1378 "FreePats is a project to create a free and open set of GUS compatible
1379 patches that can be used with softsynths such as Timidity and WildMidi.")
1380 ;; GPLv2+ with exception for compositions using these patches.
1381 (license license:gpl2+)))
1383 (define-public guitarix
1390 "mirror://sourceforge/guitarix/guitarix/guitarix2-"
1394 "0bw7xnrx062nwb1bfj9x660h7069ncmz77szcs8icpqxrvhs7z80"))))
1395 (build-system waf-build-system)
1397 `(#:tests? #f ; no "check" target
1401 ;; Add the output lib directory to the RUNPATH.
1402 (string-append "--ldflags=-Wl,-rpath=" %output "/lib"))
1404 (modify-phases %standard-phases
1405 (add-after 'unpack 'fix-boost-includes
1407 (substitute* "src/headers/gx_internal_plugins.h"
1408 (("namespace gx_jack" m)
1409 (string-append "#include <boost/noncopyable.hpp>\n" m)))
1410 (substitute* '("src/headers/gx_system.h"
1411 "src/headers/gx_parameter.h"
1412 "src/headers/gx_json.h")
1413 (("namespace gx_system" m)
1414 (string-append "#include <boost/noncopyable.hpp>\n" m)))
1417 `(("libsndfile" ,libsndfile)
1430 ("zita-resampler" ,zita-resampler)
1431 ("zita-convolver" ,zita-convolver)))
1435 ("intltool" ,intltool)
1436 ("gettext" ,gettext-minimal)
1437 ("pkg-config" ,pkg-config)))
1438 (native-search-paths
1439 (list (search-path-specification
1440 (variable "LV2_PATH")
1441 (files '("lib/lv2")))))
1442 (home-page "http://guitarix.org/")
1443 (synopsis "Virtual guitar amplifier")
1444 (description "Guitarix is a virtual guitar amplifier running JACK.
1445 Guitarix takes the signal from your guitar as a mono-signal from your sound
1446 card. The input is processed by a main amp and a rack-section. Both can be
1447 routed separately and deliver a processed stereo-signal via JACK. You may
1448 fill the rack with effects from more than 25 built-in modules including stuff
1449 from a simple noise gate to modulation effects like flanger, phaser or
1451 (license license:gpl2+)))
1453 (define-public guitarix-lv2
1454 (package (inherit guitarix)
1455 (name "guitarix-lv2")
1457 (substitute-keyword-arguments (package-arguments guitarix)
1458 ((#:configure-flags flags)
1459 `(cons "--no-standalone" ,flags))))))
1461 (define-public rakarrack
1467 (uri (string-append "mirror://sourceforge/rakarrack/rakarrack/"
1468 "rakarrack-" version "/rakarrack-"
1469 version ".tar.bz2"))
1472 "1rpf63pdn54c4yg13k7cb1w1c7zsvl97c4qxcpz41c8l91xd55kn"))
1473 (modules '((guix build utils)))
1476 (substitute* '("src/process.C"
1478 (("#include <Fl/") "#include <FL/"))
1480 (build-system gnu-build-system)
1482 `(("alsa-utils" ,alsa-utils)
1485 ("libxext" ,libxext)
1486 ("libxfixes" ,libxfixes)
1488 ("libxrender" ,libxrender)
1490 ("fontconfig" ,fontconfig)
1491 ("freetype" ,freetype)
1493 ("alsa-lib" ,alsa-lib)
1494 ("libsndfile" ,libsndfile)
1495 ("libsamplerate" ,libsamplerate)
1497 (home-page "http://rakarrack.sourceforge.net/")
1498 (synopsis "Audio effects processor")
1500 "Rakarrack is a richly featured multi-effects processor emulating a
1501 guitar effects pedalboard. Effects include compressor, expander, noise gate,
1502 equalizers, exciter, flangers, chorus, various delay and reverb effects,
1503 distortion modules and many more. Most of the effects engine is built from
1504 modules found in the excellent software synthesizer ZynAddSubFX. Presets and
1505 user interface are optimized for guitar, but Rakarrack processes signals in
1506 stereo while it does not apply internal band-limiting filtering, and thus is
1507 well suited to all musical instruments and vocals.")
1508 ;; The code is explicitly licensed under the GPL version 2 only.
1509 (license license:gpl2)))
1517 ;; The original home-page is gone. Download the tarball from an
1518 ;; archive mirror instead.
1519 (uri (list (string-append
1520 "https://web.archive.org/web/20150803095032/"
1521 "http://factorial.hu/system/files/ir.lv2-"
1524 "https://mirrors.kernel.org/gentoo/distfiles/ir.lv2-"
1525 version ".tar.gz")))
1528 "1jh2z01l9m4ar7yz0n911df07dygc7n4cl59p7qdjbh0nvkm747g"))))
1529 (build-system gnu-build-system)
1531 `(#:tests? #f ; no tests
1532 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1533 #:phases (modify-phases %standard-phases
1534 (delete 'configure)))) ; no configure script
1536 `(("libsndfile" ,libsndfile)
1537 ("libsamplerate" ,libsamplerate)
1541 ("zita-convolver" ,zita-convolver)))
1543 `(("pkg-config" ,pkg-config)))
1544 (native-search-paths
1545 (list (search-path-specification
1546 (variable "LV2_PATH")
1547 (files '("lib/lv2")))))
1548 ;; Link to an archived copy of the home-page since the original is gone.
1549 (home-page (string-append "https://web.archive.org/web/20150803095032/"
1550 "http://factorial.hu/plugins/lv2/ir"))
1551 (synopsis "LV2 convolution reverb")
1553 "IR is a low-latency, real-time, high performance signal convolver
1554 especially for creating reverb effects. It supports impulse responses with 1,
1555 2 or 4 channels, in any soundfile format supported by libsndfile.")
1556 (license license:gpl2+)))
1558 (define-public jack-1
1565 "http://jackaudio.org/downloads/jack-audio-connection-kit-"
1570 "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"))))
1571 (build-system gnu-build-system)
1573 `(#:phases (modify-phases %standard-phases
1574 (add-after 'unpack 'patch-configure
1576 (substitute* "configure"
1577 ;; Install to <out/lib> regardless of platform.
1578 (("libnn=lib64") "libnn=lib"))
1581 `(("alsa-lib" ,alsa-lib)
1582 ("readline" ,readline)))
1583 ;; uuid.h is included in the JACK type headers
1584 ;; db.h is included in the libjack metadata headers
1586 `(("libuuid" ,util-linux)
1589 `(("pkg-config" ,pkg-config)))
1590 (home-page "http://jackaudio.org/")
1591 (synopsis "JACK audio connection kit")
1593 "JACK is a low-latency audio server. It can connect a number of
1594 different applications to an audio device, as well as allowing them to share
1595 audio between themselves. JACK is different from other audio server efforts
1596 in that it has been designed from the ground up to be suitable for
1597 professional audio work. This means that it focuses on two key areas:
1598 synchronous execution of all clients, and low latency operation.")
1599 ;; Most files are licensed under the GPL. However, the libjack/ tree is
1600 ;; licensed under the LGPL in order to allow for proprietary usage.
1601 (license (list license:gpl2+ license:lgpl2.1+))))
1603 ;; Packages depending on JACK should always prefer jack-1. Both jack-1 and
1604 ;; jack-2 implement the same API. JACK2 is provided primarily as a client
1605 ;; program for users who might benefit from the D-BUS features.
1606 (define-public jack-2
1607 (package (inherit jack-1)
1612 (uri (string-append "https://github.com/jackaudio/jack2/releases/"
1613 "download/v" version "/jack2-"
1615 (file-name (string-append name "-" version ".tar.gz"))
1618 "1d1d403jn4366mqig6g8ghr8057b3rn7gs26b5p3rkal34j20qw2"))))
1619 (build-system waf-build-system)
1621 `(#:tests? #f ; no check target
1622 #:configure-flags '("--dbus"
1625 (modify-phases %standard-phases
1626 (add-before 'configure 'set-linkflags
1628 ;; Add $libdir to the RUNPATH of all the binaries.
1629 (substitute* "wscript"
1630 ((".*CFLAGS.*-Wall.*" m)
1632 " conf.env.append_unique('LINKFLAGS',"
1633 "'-Wl,-rpath=" %output "/lib')\n")))
1635 (add-after 'install 'wrap-python-scripts
1636 (lambda* (#:key inputs outputs #:allow-other-keys)
1637 ;; Make sure 'jack_control' runs with the correct PYTHONPATH.
1638 (let* ((out (assoc-ref outputs "out"))
1639 (path (getenv "PYTHONPATH")))
1640 (wrap-program (string-append out "/bin/jack_control")
1641 `("PYTHONPATH" ":" prefix (,path))))
1644 `(("alsa-lib" ,alsa-lib)
1647 ("libsamplerate" ,libsamplerate)
1649 ("python-dbus" ,python-dbus)
1650 ("readline" ,readline)))
1652 `(("pkg-config" ,pkg-config)))
1653 ;; Most files are under GPLv2+, but some headers are under LGPLv2.1+
1654 (license (list license:gpl2+ license:lgpl2.1+))))
1662 (uri (string-append "https://download.drobilla.net/jalv-"
1663 version ".tar.bz2"))
1666 "1wwfn7yzbs37s2rdlfjgks63svd5g14yyzd2gdl7h0z12qncwsy2"))))
1667 (build-system waf-build-system)
1669 `(#:tests? #f ; no check target
1670 #:python ,python-2))
1681 `(("pkg-config" ,pkg-config)))
1682 (home-page "https://drobilla.net/software/jalv/")
1683 (synopsis "Simple LV2 host for JACK")
1685 "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2
1686 plugins and exposes their ports as JACK ports, essentially making any LV2
1687 plugin function as a JACK application.")
1688 (license license:isc)))
1690 (define-public ladspa
1697 ;; Since the official link is dead,
1698 ;; we download the tarball from Debian or Internet Archive.
1699 (uri (list (string-append "http://http.debian.net"
1700 "/debian/pool/main/l/ladspa-sdk/ladspa-sdk_"
1701 version ".orig.tar.gz")
1702 (string-append "https://web.archive.org/web/20140717172251/"
1703 "http://www.ladspa.org/download/ladspa_sdk_"
1707 "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
1708 (build-system gnu-build-system)
1710 `(#:tests? #f ; the "test" target is a listening test only
1712 (modify-phases %standard-phases
1714 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
1716 (let ((out (assoc-ref outputs "out")))
1717 (substitute* "makefile"
1718 (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/"))
1719 (("/usr/include/") (string-append out "/include/"))
1720 (("/usr/bin/") (string-append out "/bin/"))
1721 (("-mkdirhier") "mkdir -p")
1722 (("^CC.*") "CC = gcc\n")
1723 (("^CPP.*") "CPP = g++\n")))
1726 ;; Since the home page is gone, we provide a link to the archived version.
1728 "https://web.archive.org/web/20140729190945/http://www.ladspa.org/")
1729 (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)")
1731 "LADSPA is a standard that allows software audio processors and effects
1732 to be plugged into a wide range of audio synthesis and recording packages.")
1733 (license license:lgpl2.1+)))
1738 (version "0.6.0-rc2")
1741 ;; The tilde is not permitted in the builder name, but is used
1744 "mirror://savannah/lash/lash-"
1745 (string-join (string-split version #\-) "~")
1747 (file-name (string-append name "-" version ".tar.bz2"))
1750 "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw"))))
1751 (build-system gnu-build-system)
1753 '(;; Glibc no longer includes Sun RPC support, so tell the build system
1754 ;; to use libtirpc instead.
1755 #:make-flags (list (string-append "CFLAGS=-I"
1756 (assoc-ref %build-inputs "libtirpc")
1757 "/include/tirpc -ltirpc"))
1759 (modify-phases %standard-phases
1760 ;; lashd embeds an ancient version of sigsegv so we just skip it
1761 (add-after 'unpack 'skip-lashd
1763 (substitute* '("Makefile.am" "Makefile.in")
1766 #:configure-flags '("--disable-static")))
1771 ("libtirpc" ,libtirpc)
1772 ("readline" ,readline)
1773 ("python" ,python-2)))
1774 ;; According to pkg-config, packages depending on lash also need to have
1775 ;; at least the following packages declared as inputs.
1777 `(("alsa-lib" ,alsa-lib)
1779 ("libxml2" ,libxml2)))
1781 `(("pkg-config" ,pkg-config)))
1782 (home-page "https://www.nongnu.org/lash/")
1783 (synopsis "Audio application session manager")
1785 "LASH is a session management system for audio applications. It allows
1786 you to save and restore audio sessions consisting of multiple interconneced
1787 applications, restoring program state (i.e. loaded patches) and the
1788 connections between them.")
1789 (license license:gpl2+)))
1791 (define-public libbs2b
1797 (uri (string-append "mirror://sourceforge/bs2b/libbs2b/" version
1798 "/libbs2b-" version ".tar.lzma"))
1801 "1mcc4gjkmphczjybnsrip3gq1f974knzys7x49bv197xk3fn8wdr"))))
1802 (build-system gnu-build-system)
1803 (native-inputs `(("pkg-config" ,pkg-config)))
1804 (inputs `(("libsndfile" ,libsndfile)))
1805 (home-page "https://sourceforge.net/projects/bs2b/")
1806 (synopsis "Bauer stereophonic-to-binaural DSP")
1808 "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is
1809 designed to improve headphone listening of stereo audio records. Recommended
1810 for headphone prolonged listening to disable superstereo fatigue without
1811 essential distortions.")
1812 (license license:expat)))
1814 (define-public liblo
1820 (uri (string-append "mirror://sourceforge/liblo/liblo/" version
1821 "/liblo-" version ".tar.gz"))
1824 "06wdjzxjdshr6hyl4c94yvg3jixiylap8yjs8brdfpm297gck9rh"))))
1825 (build-system gnu-build-system)
1827 `(;; liblo test FAILED
1828 ;; liblo server error 19 in setsockopt(IP_ADD_MEMBERSHIP): No such device
1830 (home-page "http://liblo.sourceforge.net")
1831 (synopsis "Implementation of the Open Sound Control protocol")
1833 "liblo is a lightweight library that provides an easy to use
1834 implementation of the Open Sound Control (@dfn{OSC}) protocol.")
1835 (license license:lgpl2.1+)))
1837 (define-public python-pyaudio
1839 (name "python-pyaudio")
1844 (uri (pypi-uri "PyAudio" version))
1847 "0x7vdsigm7xgvyg3shd3lj113m8zqj2pxmrgdyj66kmnw0qdxgwk"))))
1848 (build-system python-build-system)
1850 `(("portaudio" ,portaudio)))
1851 (home-page "https://people.csail.mit.edu/hubert/pyaudio/")
1852 (synopsis "Bindings for PortAudio v19")
1853 (description "This package provides bindings for PortAudio v19, the
1854 cross-platform audio input/output stream library.")
1855 (license license:expat)))
1857 (define-public python2-pyaudio
1858 (package-with-python2 python-pyaudio))
1860 (define-public python-pyliblo
1862 (name "python-pyliblo")
1866 (uri (string-append "http://das.nasophon.de/download/pyliblo-"
1870 "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw"))))
1871 (build-system python-build-system)
1872 (arguments `(#:tests? #f)) ;no tests
1874 `(("python-cython" ,python-cython)))
1876 `(("liblo" ,liblo)))
1877 (home-page "http://das.nasophon.de/pyliblo/")
1878 (synopsis "Python bindings for liblo")
1880 "Pyliblo is a Python wrapper for the liblo Open Sound Control (OSC)
1881 library. It supports almost the complete functionality of liblo, allowing you
1882 to send and receive OSC messages using a nice and simple Python API. Also
1883 included are the command line utilities @code{send_osc} and @code{dump_osc}.")
1884 (license license:lgpl2.1+)))
1886 (define-public python2-pyliblo
1887 (package-with-python2 python-pyliblo))
1895 (uri (string-append "https://download.drobilla.net/lilv-"
1896 version ".tar.bz2"))
1899 "1p3hafsxgs5d4za7n66lf5nz74qssfqpmk520cm7iq2njvvlqm2z"))))
1900 (build-system waf-build-system)
1902 `(#:tests? #f ; no check target
1904 (modify-phases %standard-phases
1905 (add-before 'configure 'set-ldflags
1906 (lambda* (#:key outputs #:allow-other-keys)
1908 (string-append "-Wl,-rpath="
1909 (assoc-ref outputs "out") "/lib"))
1911 (add-after 'unpack 'full-store-path-to-shared-library
1912 (lambda* (#:key outputs #:allow-other-keys)
1913 (with-directory-excursion "bindings/python"
1914 (substitute* "lilv.py"
1915 (("liblilv-0.so") (string-append (assoc-ref outputs "out")
1916 "/lib/liblilv-0.so"))))
1918 ;; Required by lilv-0.pc.
1923 ("sratom" ,sratom)))
1925 `(("python" ,python)
1926 ("pkg-config" ,pkg-config)))
1927 (home-page "https://drobilla.net/software/lilv")
1928 (synopsis "Library to simplify use of LV2 plugins in applications")
1930 "Lilv is a C library to make the use of LV2 plugins as simple as possible
1931 for applications. Lilv is the successor to SLV2, rewritten to be
1932 significantly faster and have minimal dependencies.")
1933 (license license:isc)))
1941 (uri (string-append "http://lv2plug.in/spec/lv2-"
1942 version ".tar.bz2"))
1945 "1ppippbpdpv13ibs06b0bixnazwfhiw0d0ja6hx42jnkgdyp5hyy"))))
1946 (build-system waf-build-system)
1948 `(#:tests? #f ; no check target
1949 #:configure-flags '("--no-plugins")))
1951 ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
1952 `(("libsndfile" ,libsndfile)))
1954 `(("pkg-config" ,pkg-config)))
1955 (home-page "http://lv2plug.in/")
1956 (synopsis "LV2 audio plugin specification")
1958 "LV2 is an open specification for audio plugins and host applications.
1959 At its core, LV2 is a simple stable interface, accompanied by extensions which
1960 add functionality to support the needs of increasingly powerful audio
1962 (license license:isc)))
1964 (define-public lv2-mda-piano
1966 (name "lv2-mda-piano")
1971 (url "http://git.elephly.net/software/lv2-mdametapiano.git")
1973 (file-name (git-file-name name version))
1976 "07lywf6lpfpndg3i9w752mmlg2hgn1bwp23h8b0mdj6awh67abqd"))))
1977 (build-system gnu-build-system)
1979 `(#:make-flags (list
1981 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1982 #:tests? #f ; no check target
1983 #:phases (modify-phases %standard-phases (delete 'configure))))
1988 `(("pkg-config" ,pkg-config)))
1989 (native-search-paths
1990 (list (search-path-specification
1991 (variable "LV2_PATH")
1992 (files '("lib/lv2")))))
1993 (home-page "http://elephly.net/lv2/mdapiano.html")
1994 (synopsis "LV2 port of the mda Piano plugin")
1995 (description "An LV2 port of the mda Piano VSTi.")
1996 (license license:gpl3+)))
1998 (define-public lv2-mda-epiano
1999 (package (inherit lv2-mda-piano)
2000 (name "lv2-mda-epiano")
2002 `(#:make-flags (list
2004 (string-append "PREFIX=" (assoc-ref %outputs "out")))
2005 #:tests? #f ; no check target
2006 #:phases (modify-phases %standard-phases (delete 'configure))))
2007 (home-page "http://elephly.net/lv2/mdaepiano.html")
2008 (synopsis "LV2 port of the mda EPiano plugin")
2009 (description "An LV2 port of the mda EPiano VSTi.")))
2018 (url "https://github.com/lvtk/lvtk.git")
2020 (file-name (git-file-name name version))
2023 "1b01zvzl70ana6l1kn8fgyr7msnn3c7x61cgw7fdpp50322352p8"))))
2024 (build-system waf-build-system)
2026 `(#:tests? #f ; no check target
2029 (list (string-append "--boost-includes="
2030 (assoc-ref %build-inputs "boost")
2037 `(("pkg-config" ,pkg-config)))
2038 (home-page "https://github.com/lvtk/lvtk")
2039 (synopsis "C++ libraries for LV2 plugins")
2041 "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and
2042 extensions into easy to use C++ classes. It is the successor of
2044 (license license:gpl3+)))
2046 (define-public openal
2053 "https://openal-soft.org/openal-releases/openal-soft-"
2054 version ".tar.bz2"))
2057 "03p6s5gap0lvig2fs0a8nib5rxsc24dbqjsydpwvlm5l49wlk2f0"))))
2058 (build-system cmake-build-system)
2060 `(#:tests? #f ; no check target
2062 (modify-phases %standard-phases
2064 'unpack 'use-full-library-paths
2065 (lambda* (#:key inputs #:allow-other-keys)
2066 (substitute* "alc/backends/pulseaudio.cpp"
2067 (("#define PALIB \"libpulse\\.so\\.0\"")
2068 (string-append "#define PALIB \""
2069 (assoc-ref inputs "pulseaudio")
2070 "/lib/libpulse.so.0"
2072 (substitute* "alc/backends/alsa.cpp"
2073 (("LoadLib\\(\"libasound\\.so\\.2\"\\)")
2074 (string-append "LoadLib(\""
2075 (assoc-ref inputs "alsa-lib")
2076 "/lib/libasound.so.2"
2080 `(("alsa-lib" ,alsa-lib)
2081 ("pulseaudio" ,pulseaudio)))
2082 (synopsis "3D audio API")
2084 "OpenAL provides capabilities for playing audio in a virtual 3D
2085 environment. Distance attenuation, doppler shift, and directional sound
2086 emitters are among the features handled by the API. More advanced effects,
2087 including air absorption, occlusion, and environmental reverb, are available
2088 through the EFX extension. It also facilitates streaming audio, multi-channel
2089 buffers, and audio capture.")
2090 (home-page "https://openal-soft.org/")
2091 (license license:lgpl2.0+)))
2093 (define-public freealut
2099 ;; Upstream url is unclear, many systems use Fedora, there is also
2100 ;; https://github.com/vancegroup/freealut though the status of it
2101 ;; (official? unofficial?) is not clear.
2103 "https://pkgs.fedoraproject.org/repo/pkgs/" name "/" name "-"
2104 version ".tar.gz" "/e089b28a0267faabdb6c079ee173664a/" name
2105 "-" version ".tar.gz"))
2108 "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0"))))
2109 (build-system cmake-build-system)
2111 `(#:tests? #f)) ; no check target
2113 `(("openal" ,openal)))
2114 (synopsis "Free implementation of OpenAL's ALUT standard")
2115 (description "freealut is the OpenAL Utility Toolkit.")
2116 (home-page "http://kcat.strangesoft.net/openal.html")
2117 (license license:lgpl2.0)))
2119 (define-public patchage
2125 (uri (string-append "https://download.drobilla.net/patchage-"
2130 "1agdpwwi42176l4mxj0c4fsvdiv1ig56bfnnx0msckxmy57df8bb"))))
2131 (build-system waf-build-system)
2133 `(#:tests? #f ; no check target
2134 #:python ,python-2))
2136 `(("alsa-lib" ,alsa-lib)
2142 ("dbus-glib" ,dbus-glib)))
2144 `(("pkg-config" ,pkg-config)))
2145 (home-page "https://drobilla.net/software/patchage/")
2146 (synopsis "Modular patch bay for audio and MIDI systems")
2148 "Patchage is a modular patch bay for audio and MIDI systems based on JACK
2150 (license license:gpl3+)))
2152 (define-public pcaudiolib
2156 (home-page "https://github.com/espeak-ng/pcaudiolib")
2159 (uri (git-reference (url home-page) (commit version)))
2160 (file-name (git-file-name name version))
2163 "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0"))))
2164 (build-system gnu-build-system)
2166 `(#:configure-flags '("--disable-static")))
2168 `(("autoconf" ,autoconf)
2169 ("automake" ,automake)
2170 ("libtool" ,libtool)
2171 ("pkg-config" ,pkg-config)
2174 `(("alsa-lib" ,alsa-lib)
2175 ("pulseaudio" ,pulseaudio)))
2176 (synopsis "Portable C audio library")
2178 "The Portable C Audio Library (pcaudiolib) provides a C@tie{}API to
2179 different audio devices such as ALSA or PulseAudio.")
2180 (license (list license:gpl3+
2181 ;; The bundled TPCircularBuffer uses a custom license.
2182 (license:non-copyleft
2183 "file://src/TPCircularBuffer/README.markdown")))))
2185 (define-public qjackctl
2191 (uri (string-append "mirror://sourceforge/qjackctl/qjackctl/"
2192 version "/qjackctl-" version ".tar.gz"))
2195 "1saywsda9m124rmjp7i3n0llryaliabjxhqhvqr6dm983qy7pypk"))))
2196 (build-system gnu-build-system)
2198 '(#:tests? #f)) ; no check target
2201 ("alsa-lib" ,alsa-lib)
2203 ("qtx11extras" ,qtx11extras)))
2205 `(("pkg-config" ,pkg-config)
2206 ("qttools" ,qttools)))
2207 (home-page "https://qjackctl.sourceforge.io/")
2208 (synopsis "Jack server control application")
2209 (description "Control a Jack server. Allows you to plug various sources
2210 into various outputs and to start, stop and configure jackd")
2211 (license license:gpl2+)))
2213 (define-public qjackrcd
2220 (url "https://github.com/orouits/qjackrcd.git")
2221 (commit (string-append "v" version))))
2222 (file-name (git-file-name name version))
2225 "1l5iq2mkqd4gn9yr8xbh9qlpp1clcflazychl4vhdbz0bzq4c6al"))))
2226 (build-system gnu-build-system)
2229 (modify-phases %standard-phases
2231 (lambda* (#:key outputs #:allow-other-keys)
2233 (string-append "PREFIX="
2234 (assoc-ref outputs "out"))))))))
2236 `(("qtbase" ,qtbase))) ; for qmake
2239 ("libsndfile" ,libsndfile)
2240 ("qtbase" ,qtbase)))
2241 (home-page "https://sourceforge.net/projects/qjackrcd/")
2242 (synopsis "Stereo audio recorder for JACK")
2243 (description "QJackRcd is a simple graphical stereo recorder for JACK
2244 supporting silence processing for automatic pause, file splitting, and
2245 background file post-processing.")
2246 (license license:gpl2+)))
2248 (define-public supercollider
2250 (name "supercollider")
2255 "https://github.com/supercollider/supercollider"
2256 "/releases/download/Version-" version
2257 "/SuperCollider-" version "-Source-linux.tar.bz2"))
2259 (search-patches "supercollider-boost-1.70-build-fix.patch"))
2262 "0srm6wbazidkrd4ckjy4ypyhkdwcnx2i7k9msjyngalh0mrc9zz1"))))
2263 (build-system cmake-build-system)
2265 `(#:configure-flags '("-DSYSTEM_BOOST=on" "-DSYSTEM_YAMLCPP=on"
2267 "-DSC_EL=off") ;scel is packaged individually as
2269 #:modules ((guix build utils)
2270 (guix build cmake-build-system)
2273 (modify-phases %standard-phases
2274 (add-after 'unpack 'rm-bundled-libs
2276 ;; The build system doesn't allow us to unbundle the following
2277 ;; libraries. hidapi is also heavily patched and upstream not
2278 ;; actively maintained.
2279 (let ((keep-dirs '("nova-simd" "nova-tt" "hidapi" "TLSF-2.4.6"
2280 "oscpack_1_1_0" "." "..")))
2281 (with-directory-excursion "./external_libraries"
2283 delete-file-recursively
2286 (and (eq? (stat:type (stat x)) 'directory)
2287 (not (member (basename x) keep-dirs))))))))
2289 ;; Some tests are broken (see:
2290 ;; https://github.com/supercollider/supercollider/issues/3555 and
2291 ;; https://github.com/supercollider/supercollider/issues/1736
2292 (add-after 'rm-bundled-libs 'disable-broken-tests
2294 (substitute* "testsuite/server/supernova/CMakeLists.txt"
2295 (("server_test.cpp")
2297 (("perf_counter_test.cpp")
2299 (delete-file "testsuite/server/supernova/server_test.cpp")
2300 (delete-file "testsuite/server/supernova/perf_counter_test.cpp")
2301 (substitute* "testsuite/CMakeLists.txt"
2302 (("add_subdirectory\\(sclang\\)")
2304 (delete-file "testsuite/sclang/CMakeLists.txt")
2307 `(("pkg-config" ,pkg-config)))
2310 ("libsndfile" ,libsndfile)
2313 ("readline" ,readline) ;readline support for sclang's CLI
2314 ("alsa" ,alsa-lib) ;for sclang's MIDI interface
2315 ("eudev" ,eudev) ;for user interactions with devices
2316 ("avahi" ,avahi) ;zeroconf service discovery support
2319 ("boost-sync" ,boost-sync)
2320 ("yaml-cpp" ,yaml-cpp)))
2321 (home-page "https://github.com/supercollider/supercollider")
2322 (synopsis "Synthesis engine and programming language")
2323 (description "SuperCollider is a synthesis engine (@code{scsynth} or
2324 @code{supernova}) and programming language (@code{sclang}). It can be used
2325 for experimenting with sound synthesis and algorithmic composition.
2327 SuperCollider requires jackd to be installed in your user profile and your
2328 user must be allowed to access the realtime features of the kernel. Search
2329 for \"realtime\" in the index of the Guix manual to learn how to achieve this
2330 using Guix System.")
2331 (license license:gpl2+)))
2339 (uri (string-append "https://download.drobilla.net/raul-"
2340 version ".tar.bz2"))
2343 "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b"))))
2344 (build-system waf-build-system)
2346 `(#:python ,python-2
2347 #:tests? #f)) ; no check target
2352 `(("pkg-config" ,pkg-config)))
2353 (home-page "https://drobilla.net/software/raul/")
2354 (synopsis "Real-time audio utility library")
2356 "Raul (Real-time Audio Utility Library) is a C++ utility library primarily
2357 aimed at audio/musical applications.")
2358 (license license:gpl2+)))
2360 (define-public raul-devel
2361 (let ((commit "4db870b2b20b0a608ec0283139056b836c5b1624")
2363 (package (inherit raul)
2365 (version (string-append "0.8.9-" revision "."
2366 (string-take commit 9)))
2370 (url "https://git.drobilla.net/raul.git")
2372 (file-name (string-append name "-" version "-checkout"))
2375 "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr")))))))
2377 (define-public resample
2383 (uri (string-append "https://ccrma.stanford.edu/~jos/gz/resample-"
2387 "074zj8ydp05yy1hjcglfv3hkvj4cm50f9nralka1992pm6yf8yvy"))))
2388 (build-system gnu-build-system)
2390 `(("autoconf" ,autoconf)
2391 ("automake" ,automake)
2392 ("pkg-config" ,pkg-config)
2393 ("libtool" ,libtool)))
2394 (synopsis "Real-time library for sampling rate conversion")
2395 (description "The @command{resample} software package contains free
2396 sampling-rate conversion and filter design utilities.")
2397 (home-page "https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html")
2398 (license license:lgpl2.1+)))
2400 (define-public rubberband
2407 (string-append "https://bitbucket.org/breakfastquay/rubberband/get/v"
2410 (file-name (string-append name "-" version ".tar.bz2"))
2413 "0462fmjnfqpv2qi0s6ny42drqarkr0xy9lw8frjmfgzyzl5n9294"))))
2414 (build-system gnu-build-system)
2416 `(#:tests? #f ; no check target
2418 (modify-phases %standard-phases
2419 (add-after 'unpack 'skip-jni-installation
2420 ;; ‘make install’ unconditionally installs librubberband-jni.so,
2421 ;; which is never built by ‘make all’. Skip it.
2423 (substitute* "Makefile.in"
2424 ((".*cp -f \\$\\(JNI_TARGET\\).*") ""))
2427 `(("ladspa" ,ladspa)
2428 ("libsamplerate" ,libsamplerate)
2431 `(("pkg-config" ,pkg-config)))
2432 (home-page "https://breakfastquay.com/rubberband/")
2433 (synopsis "Audio time-stretching and pitch-shifting library")
2435 "Rubber Band is a library and utility program that permits changing the
2436 tempo and pitch of an audio recording independently of one another.")
2437 (license license:gpl2+)))
2439 (define-public rtmidi
2445 (uri (string-append "https://www.music.mcgill.ca/~gary/rtmidi"
2446 "/release/rtmidi-" version ".tar.gz"))
2447 (file-name (string-append "rtmidi-" version ".tar.gz"))
2450 "1k962ljpnwyjw9jjiky2372khhri1wqvrj5qsalfpys31xqzw31p"))))
2451 (build-system gnu-build-system)
2454 (modify-phases %standard-phases
2455 (add-before 'bootstrap 'noconfigure
2457 (setenv "NOCONFIGURE" "yes")
2461 ("alsa-lib" ,alsa-lib)))
2463 `(("autoconf" ,autoconf)
2464 ("automake" ,automake)
2465 ("libtool" ,libtool)
2466 ("pkg-config" ,pkg-config)))
2467 (home-page "https://www.music.mcgill.ca/~gary/rtmidi")
2468 (synopsis "Cross-platform MIDI library for C++")
2470 "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
2471 classes) that provide a common cross-platform API for realtime MIDI
2473 (license license:expat)))
2475 (define-public sratom
2481 (uri (string-append "https://download.drobilla.net/sratom-"
2482 version ".tar.bz2"))
2485 "0vh0biy3ngpzzgdml309c2mqz8xq9q0hlblczb4c6alhp0a8yv0l"))))
2486 (build-system waf-build-system)
2487 (arguments `(#:tests? #f)) ;no check target
2489 ;; In Requires of sratom-0.pc.
2494 `(("pkg-config" ,pkg-config)))
2495 (home-page "https://drobilla.net/software/sratom/")
2496 (synopsis "Library for serialising LV2 atoms to/from RDF")
2498 "Sratom is a library for serialising LV2 atoms to/from RDF, particularly
2499 the Turtle syntax.")
2500 (license license:isc)))
2508 (uri (string-append "https://download.drobilla.net/suil-"
2509 version ".tar.bz2"))
2512 "0z4v01pjw4wh65x38w6icn28wdwxz13ayl8hvn4p1g9kmamp1z06"))))
2513 (build-system waf-build-system)
2515 `(#:tests? #f)) ;no check target
2522 `(("pkg-config" ,pkg-config)))
2523 (home-page "https://drobilla.net/software/suil/")
2524 (synopsis "Library for loading and wrapping LV2 plugin UIs")
2526 "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
2528 Suil makes it possible to load a UI of a toolkit in a host using another
2529 toolkit. The API is designed such that hosts do not need to explicitly
2530 support specific toolkits – if Suil supports a particular toolkit, then UIs in
2531 that toolkit will work in all hosts that use Suil automatically.
2533 Suil currently supports every combination of Gtk, Qt, and X11.")
2534 (license license:isc)))
2536 (define-public timidity++
2542 (uri (string-append "mirror://sourceforge/timidity/TiMidity++"
2543 "/TiMidity++-" version
2544 "/TiMidity++-" version ".tar.bz2"))
2547 "0xk41w4qbk23z1fvqdyfblbz10mmxsllw0svxzjw5sa9y11vczzr"))))
2548 (build-system gnu-build-system)
2551 (list "--enable-audio=alsa,flac,jack,ao,vorbis,speex"
2555 (string-append "--with-default-path="
2556 (assoc-ref %outputs "out") "/etc/timidity"))
2558 (modify-phases %standard-phases
2559 (add-after 'install 'install-config
2561 (let ((out (string-append (assoc-ref %outputs "out")
2564 (call-with-output-file
2565 (string-append out "/timidity.cfg")
2567 (format port (string-append "source "
2568 (assoc-ref %build-inputs "freepats")
2569 "/share/freepats/freepats.cfg")))))
2572 `(("alsa-lib" ,alsa-lib)
2578 ("ncurses" ,ncurses)
2579 ("freepats" ,freepats)))
2581 `(("pkg-config" ,pkg-config)))
2582 (home-page "http://timidity.sourceforge.net/")
2583 (synopsis "Software synthesizer for playing MIDI files")
2585 "TiMidity++ is a software synthesizer. It can play MIDI files by
2586 converting them into PCM waveform data; give it a MIDI data along with digital
2587 instrument data files, then it synthesizes them in real-time, and plays. It
2588 can not only play sounds, but also can save the generated waveforms into hard
2589 disks as various audio file formats.")
2590 (license license:gpl2+)))
2599 "https://code.soundsoftware.ac.uk"
2600 "/attachments/download/1520/vamp-plugin-sdk-"
2604 "0pzq0yy2kdl3jgfc2aqmh5m55nk1ild0hq8mydiiw35c6y0mglyh"))))
2605 (build-system gnu-build-system)
2607 `(#:tests? #f ; no check target
2609 (modify-phases %standard-phases
2610 (add-after 'install 'remove-libvamp-hostsdk.la
2611 (lambda* (#:key outputs #:allow-other-keys)
2612 ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656
2613 (for-each delete-file
2614 (let ((out (assoc-ref outputs "out")))
2615 (list (string-append out "/lib/libvamp-sdk.la")
2616 (string-append out "/lib/libvamp-hostsdk.la"))))
2619 `(("libsndfile" ,libsndfile)))
2621 `(("pkg-config" ,pkg-config)))
2622 (home-page "http://vamp-plugins.org")
2623 (synopsis "Modular and extensible audio processing system")
2625 "Vamp is an audio processing plugin system for plugins that extract
2626 descriptive information from audio data — typically referred to as audio
2627 analysis plugins or audio feature extraction plugins.")
2630 "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING"))))
2632 (define-public libsbsms
2639 (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version
2640 "/libsbsms-" version ".tar.gz"))
2642 (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf"))))
2643 (build-system gnu-build-system)
2644 (native-inputs `(("automake" ,automake)))
2647 ;; Disable the use of SSE unless on x86_64.
2648 ,(if (not (string-prefix? "x86_64" (or (%current-target-system)
2649 (%current-system))))
2653 (modify-phases %standard-phases
2655 'unpack 'fix-ar-lib-path
2656 (lambda* (#:key inputs #:allow-other-keys)
2657 ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
2658 (delete-file "ar-lib")
2660 (string-append (assoc-ref inputs "automake") "/share/automake-"
2661 ,(package-version automake) "/ar-lib")
2664 (home-page "http://sbsms.sourceforge.net/")
2665 (synopsis "Library for time stretching and pitch scaling of audio")
2667 "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time
2668 stretching and pitch scaling of audio. This package contains the library.")
2669 ;; There is no explicit declaration of a license, but a COPYING file
2671 (license license:gpl2)))
2673 (define-public wavpack
2679 (uri (string-append "http://www.wavpack.com/"
2680 name "-" version ".tar.bz2"))
2681 (patches (search-patches "wavpack-CVE-2018-6767.patch"
2682 "wavpack-CVE-2018-7253.patch"
2683 "wavpack-CVE-2018-7254.patch"))
2686 "0i19c6krc0p9krwrqy9s5xahaafigqzxcn31piidmlaqadyn4f8r"))))
2687 (build-system gnu-build-system)
2688 (home-page "http://www.wavpack.com/")
2689 (synopsis "Hybrid lossless audio codec")
2691 "WavPack is an audio compression format with lossless, lossy and hybrid
2692 compression modes. This package contains command-line programs and library to
2693 encode and decode wavpack files.")
2694 (license license:bsd-3)))
2696 (define-public libmodplug
2703 "mirror://sourceforge/modplug-xmms/"
2704 name "/" version "/" name "-" version ".tar.gz"))
2707 "1pnri98a603xk47smnxr551svbmgbzcw018mq1k6srbrq6kaaz25"))))
2708 (build-system gnu-build-system)
2709 (home-page "http://modplug-xmms.sourceforge.net/")
2710 (synopsis "Mod file playing library")
2712 "Libmodplug renders mod music files as raw audio data, for playing or
2713 conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are
2714 supported. Optional features include high-quality resampling, bass expansion,
2715 surround and reverb.")
2716 (license license:public-domain)))
2718 (define-public libxmp
2724 (uri (string-append "mirror://sourceforge/xmp/libxmp/" version "/"
2725 name "-" version ".tar.gz"))
2728 "1kycz4jsyvmf7ny9227b497wc7y5ligydi6fvvldmkf8hk63ad9m"))))
2729 (build-system gnu-build-system)
2730 (home-page "http://xmp.sourceforge.net/")
2731 (synopsis "Module player library")
2733 "Libxmp is a library that renders module files to PCM data. It supports
2734 over 90 mainstream and obscure module formats including Protracker (MOD),
2735 Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).")
2736 (license license:lgpl2.1+)))
2744 (uri (string-append "mirror://sourceforge/xmp/xmp/" version "/"
2745 name "-" version ".tar.gz"))
2748 "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x"))))
2749 (build-system gnu-build-system)
2751 `(("pkg-config" ,pkg-config)))
2753 `(("libxmp" ,libxmp)
2754 ("pulseaudio" ,pulseaudio)))
2755 (home-page "http://xmp.sourceforge.net/")
2756 (synopsis "Extended module player")
2758 "Xmp is a portable module player that plays over 90 mainstream and
2759 obscure module formats, including Protracker MOD, Fasttracker II XM, Scream
2760 Tracker 3 S3M and Impulse Tracker IT files.")
2761 (license license:gpl2+)))
2763 (define-public soundtouch
2771 (url "https://gitlab.com/soundtouch/soundtouch.git")
2773 (file-name (git-file-name name version))
2775 (base32 "174wgm3s0inmbnkrlnspxjwm2014qhjhkbdqa5r8rbfi0nzqxzsz"))))
2776 (build-system gnu-build-system)
2778 `(("autoconf" ,autoconf)
2779 ("automake" ,automake)
2780 ("libtool" ,libtool)
2782 (home-page "https://www.surina.net/soundtouch/")
2784 "Audio processing library for changing tempo, pitch and playback rate")
2786 "SoundTouch is an audio processing library for changing the tempo, pitch
2787 and playback rates of audio streams or audio files. It is intended for
2788 application developers writing sound processing tools that require tempo/pitch
2789 control functionality, or just for playing around with the sound effects.")
2790 (license license:lgpl2.1+)))
2798 (uri (string-append "mirror://sourceforge/sox/sox/" version "/"
2799 name "-" version ".tar.bz2"))
2802 "170lx90r1nlnb2j6lg00524iwvqy72p48vii4xc5prrh8dnrb9l1"))))
2803 (build-system gnu-build-system)
2806 ;; The upstream asks to identify the distribution to diagnose SoX
2808 '("--with-distro=Guix System Distribution")))
2810 `(("pkg-config" ,pkg-config)))
2812 `(("alsa-lib" ,alsa-lib)
2816 ("libid3tag" ,libid3tag)
2817 ("libltdl" ,libltdl)
2820 ("libvorbis" ,libvorbis)
2821 ("pulseaudio" ,pulseaudio)))
2822 (home-page "http://sox.sourceforge.net")
2823 (synopsis "Sound processing utility")
2825 "SoX (Sound eXchange) is a command line utility that can convert
2826 various formats of computer audio files to other formats. It can also
2827 apply various effects to these sound files, and, as an added bonus, SoX
2828 can play and record audio files.")
2829 ;; sox.c is distributed under GPL, while the files that make up
2830 ;; libsox are licensed under LGPL.
2831 (license (list license:gpl2+ license:lgpl2.1+))))
2841 (string-append "mirror://sourceforge/soxr/soxr-" version
2844 (base32 "12aql6svkplxq5fjycar18863hcq84c5kx8g6f4rj0lcvigw24di"))))
2845 (build-system cmake-build-system)
2846 (arguments '(#:tests? #f)) ;no 'check' target
2847 (home-page "https://sourceforge.net/p/soxr/wiki/Home/")
2848 (synopsis "One-dimensional sample-rate conversion library")
2850 "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
2851 conversion. It may be used, for example, to resample PCM-encoded audio.")
2852 (license license:lgpl2.1+)))
2854 (define-public twolame
2861 (uri (string-append "mirror://sourceforge/twolame/twolame/" version
2862 "/twolame-" version ".tar.gz"))
2864 (base32 "0zf8sxqb02w07ah55b1y7ab643zmpbhn62spa9pqra0rc17l4dfc"))))
2865 (build-system gnu-build-system)
2867 `(("libsndfile" ,libsndfile)))
2870 ("which" ,which))) ;used in tests/test.pl
2871 (home-page "http://www.twolame.org/")
2872 (synopsis "MPEG Audio Layer 2 (MP2) encoder")
2874 "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
2875 tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
2877 (license license:lgpl2.1+)))
2879 (define-public portaudio
2882 (version "190600.20161030")
2887 "http://www.portaudio.com/archives/pa_stable_v"
2888 (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
2891 (base32 "04qmin6nj144b8qb9kkd9a52xfvm0qdgm8bg8jbl7s3frmyiv8pm"))
2892 (patches (search-patches "portaudio-audacity-compat.patch"))))
2893 (build-system gnu-build-system)
2895 ;; TODO: Add ASIHPI.
2896 `(("alsa-lib" ,alsa-lib)
2898 ;; Autoreconf is necessary because the audacity-compat patch modifies .in
2901 `(("autoconf" ,autoconf)
2902 ("automake" ,automake)
2903 ("libtool" ,libtool)
2904 ("pkg-config" ,pkg-config)))
2906 '(#:tests? #f ;no 'check' target
2907 #:parallel-build? #f ;fails on some systems
2908 #:configure-flags '("--with-pic"
2910 ;; XXX: The following prevents a build error
2911 ;; because of missing depcomp when C++ bindings are
2913 "--disable-dependency-tracking")
2915 (modify-phases %standard-phases
2916 ;; This is needed for linking the static libraries
2917 (add-after 'unpack 'build-only-position-independent-code
2919 (substitute* "configure.in"
2920 (("AC_PROG_LIBTOOL" m)
2921 (string-append m "\nAM_PROG_AR\nLT_INIT([pic-only])")))
2922 (delete-file "configure")
2924 ;; Some headers are not installed by default, but are needed by
2925 ;; packages like Kaldi.
2926 (add-after 'install 'install-missing-headers
2927 (lambda* (#:key outputs #:allow-other-keys)
2928 (install-file "src/common/pa_ringbuffer.h"
2929 (string-append (assoc-ref outputs "out") "/include"))
2931 (home-page "http://www.portaudio.com/")
2932 (synopsis "Audio I/O library")
2934 "PortAudio is a portable C/C++ audio I/O library providing a simple API
2935 to record and/or play sound using a callback function or a blocking read/write
2937 (license license:expat)))
2939 (define-public qsynth
2946 (uri (string-append "mirror://sourceforge/qsynth/qsynth/" version
2947 "/qsynth-" version ".tar.gz"))
2949 (base32 "18im4w8agj60nkppwbkxqnhpp13z5li3w30kklv4lgs20rvgbvl6"))))
2950 (build-system gnu-build-system)
2952 `(#:tests? #f)) ; no "check" phase
2954 `(("qttools" ,qttools)
2955 ("pkg-config" ,pkg-config)))
2957 `(("fluidsynth" ,fluidsynth)
2959 ("qtx11extras" ,qtx11extras)))
2960 (home-page "https://qsynth.sourceforge.io")
2961 (synopsis "Graphical user interface for FluidSynth")
2963 "Qsynth is a GUI front-end application for the FluidSynth SoundFont
2964 synthesizer written in C++.")
2965 (license license:gpl2+)))
2967 (define-public rsound
2975 (url "https://github.com/Themaister/RSound.git")
2976 (commit (string-append "v" version))))
2977 (file-name (git-file-name name version))
2979 (base32 "0gspmr3klwnq98h17p5hc6ifygya4p80g4g8r7a1qavm3mv19waf"))))
2980 (build-system gnu-build-system)
2982 `(("alsa-lib" ,alsa-lib)
2985 ("libsamplerate" ,libsamplerate)
2987 ("portaudio" ,portaudio)
2988 ("pulseaudio" ,pulseaudio)))
2991 (modify-phases %standard-phases
2993 (lambda* (#:key outputs #:allow-other-keys)
2995 (invoke "./configure"
2996 (string-append "--prefix=" (assoc-ref outputs "out"))))))
2997 ;; No 'check' target.
2999 (home-page "http://themaister.net/rsound.html")
3000 (synopsis "Networked audio system")
3002 "RSound allows you to send audio from an application and transfer it
3003 directly to a different computer on your LAN network. It is an audio daemon
3004 with a much different focus than most other audio daemons.")
3005 (license license:gpl3+)))
3007 (define-public xjackfreak
3014 (url "https://github.com/johnhldavis/xjackfreak.git")
3015 (commit (string-append "v" version))))
3016 (file-name (git-file-name name version))
3019 "18c546qidbrj0f5wfiq5llii2192xpln0ab3r4vpr7i3wybxqjfz"))))
3020 (build-system gnu-build-system)
3023 (list (string-append "docdir=" (assoc-ref %outputs "out")
3024 "/share/doc/xjackfreak"))))
3029 ("libxext" ,libxext)))
3031 `(("pkg-config" ,pkg-config)))
3032 (home-page "https://github.com/johnhldavis/xjackfreak")
3033 (synopsis "JACK audio frequency analyzer and display")
3035 "XJackFreak is an audio analysis and equalizing tool for the Jack Audio
3036 Connection Kit. It can display the FFT of any input, modify it and output the
3038 (license license:gpl3+)))
3040 (define-public zita-convolver
3042 (name "zita-convolver")
3047 "http://kokkinizita.linuxaudio.org"
3048 "/linuxaudio/downloads/zita-convolver-"
3049 version ".tar.bz2"))
3051 ;; Don't optimize for a specific processor architecture.
3053 (substitute* "source/Makefile"
3054 (("^CXXFLAGS \\+= -march=native") ""))
3056 (modules '((guix build utils)))
3059 "0prji66p86z2bzminywkwchr5bfgxcg2i8y803pydd1hzf2198cs"))))
3060 (build-system gnu-build-system)
3062 `(#:tests? #f ; no "check" target
3064 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3065 (string-append "SUFFIX="))
3067 (modify-phases %standard-phases
3068 (add-after 'unpack 'patch-makefile-and-enter-directory
3070 (substitute* "source/Makefile"
3071 (("ldconfig") "true")
3072 (("^LIBDIR =.*") "LIBDIR = lib\n"))
3075 (add-after 'install 'install-symlink
3077 (symlink "libzita-convolver.so"
3078 (string-append (assoc-ref %outputs "out")
3079 "/lib/libzita-convolver.so.4"))
3081 ;; no configure script
3082 (delete 'configure))))
3083 (inputs `(("fftwf" ,fftwf)))
3084 (home-page "https://kokkinizita.linuxaudio.org")
3085 (synopsis "Fast, partitioned convolution engine library")
3087 "Zita convolver is a C++ library providing a real-time convolution
3089 (license license:gpl3+)))
3091 (define-public zita-resampler
3093 (name "zita-resampler")
3098 "http://kokkinizita.linuxaudio.org"
3099 "/linuxaudio/downloads/zita-resampler-"
3100 version ".tar.bz2"))
3102 ;; Don't optimize for a specific processor architecture.
3104 (substitute* '("apps/Makefile" "libs/Makefile")
3105 (("^CXXFLAGS \\+= -march=native") ""))
3107 (modules '((guix build utils)))
3110 "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
3111 (build-system gnu-build-system)
3113 `(#:tests? #f ; no "check" target
3114 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3116 (modify-phases %standard-phases
3118 'unpack 'patch-makefile-and-enter-directory
3120 (substitute* "libs/Makefile"
3121 (("ldconfig") "true")
3122 (("^LIBDIR =.*") "LIBDIR = lib\n"))
3126 'install 'install-symlink
3128 (symlink "libzita-resampler.so"
3129 (string-append (assoc-ref %outputs "out")
3130 "/lib/libzita-resampler.so.1"))
3132 ;; no configure script
3133 (delete 'configure))))
3134 (home-page "https://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html")
3135 (synopsis "C++ library for resampling audio signals")
3137 "Libzita-resampler is a C++ library for resampling audio signals. It is
3138 designed to be used within a real-time processing context, to be fast, and to
3139 provide high-quality sample rate conversion.")
3140 (license license:gpl3+)))
3142 (define-public zita-alsa-pcmi
3144 (name "zita-alsa-pcmi")
3149 "http://kokkinizita.linuxaudio.org"
3150 "/linuxaudio/downloads/zita-alsa-pcmi-"
3151 version ".tar.bz2"))
3154 "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
3155 (build-system gnu-build-system)
3157 `(#:tests? #f ; no "check" target
3158 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3160 (modify-phases %standard-phases
3161 (add-after 'unpack 'patch-makefile-and-enter-directory
3163 (substitute* "libs/Makefile"
3164 (("ldconfig") "true")
3165 (("^LIBDIR =.*") "LIBDIR = lib\n"))
3168 (add-after 'install 'install-symlink
3170 (symlink "libzita-alsa-pcmi.so"
3171 (string-append (assoc-ref %outputs "out")
3172 "/lib/libzita-alsa-pcmi.so.0"))
3174 ;; no configure script
3175 (delete 'configure))))
3177 `(("alsa-lib" ,alsa-lib)
3179 (home-page "https://kokkinizita.linuxaudio.org")
3180 (synopsis "C++ wrapper around the ALSA API")
3182 "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy
3183 access to ALSA PCM devices, taking care of the many functions required to
3184 open, initialise and use a hw: device in mmap mode, and providing floating
3186 (license license:gpl3+)))
3188 (define-public cuetools
3195 (url "https://github.com/svend/cuetools.git")
3197 (file-name (git-file-name name version))
3200 "02ksv1ahf1v4cr2xbclsfv5x17m9ivzbssb5r8xjm97yh8a7spa3"))))
3201 (build-system gnu-build-system)
3202 ;; The source checkout is not bootstrapped.
3204 `(("autoconf" ,autoconf)
3205 ("automake" ,automake)
3208 (synopsis "Cue and toc file parsers and utilities")
3209 (description "Cuetools is a set of programs that are useful for manipulating
3210 and using CUE sheet (cue) files and Table of Contents (toc) files. CUE and TOC
3211 files are a way to represent the layout of a data or audio CD in a
3212 machine-readable ASCII format.")
3213 (home-page "https://github.com/svend/cuetools")
3214 (license license:gpl2+)))
3216 (define-public shntool
3222 (uri (string-append "http://etree.org/shnutils/shntool/dist/src/"
3223 "shntool-" version ".tar.gz"))
3226 "00i1rbjaaws3drkhiczaign3lnbhr161b7rbnjr8z83w8yn2wc3l"))))
3227 (build-system gnu-build-system)
3228 (synopsis "WAVE audio data processing tool")
3229 (description "shntool is a multi-purpose WAVE data processing and reporting
3230 utility. File formats are abstracted from its core, so it can process any file
3231 that contains WAVE data, compressed or not---provided there exists a format
3232 module to handle that particular file type. It can also generate CUE files, and
3233 use them split WAVE data into multiple files.")
3234 (home-page "http://etree.org/shnutils/shntool/")
3235 ;; 'install-sh' bears the x11 license
3236 (license (list license:gpl2+ license:x11))))
3238 (define-public dcadec
3245 (url "https://github.com/foo86/dcadec.git")
3246 (commit (string-append "v" version))))
3247 (file-name (git-file-name name version))
3250 "07nd0ajizrp1w02bsyfcv18431r8m8rq8gjfmz9wmckpg7cxj2hs"))))
3251 (build-system gnu-build-system)
3253 ;; Test files are missing: https://github.com/foo86/dcadec/issues/53
3257 ;; Build shared library.
3259 (string-append "PREFIX=" (assoc-ref %outputs "out"))
3260 ;; Set proper runpath.
3261 (string-append "LDFLAGS=-Wl,-rpath="
3262 (assoc-ref %outputs "out")
3265 (modify-phases %standard-phases
3266 ;; No configure script, just a hand-written Makefile.
3267 (delete 'configure))))
3268 (synopsis "DTS Coherent Acoustics decoder")
3269 (description "Dcadec is a DTS Coherent Acoustics surround sound decoder
3270 with support for HD extensions.")
3271 (home-page "https://github.com/foo86/dcadec")
3272 (license license:lgpl2.1+)))
3274 (define-public bs1770gain
3281 (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/"
3282 version "/bs1770gain-" version ".tar.gz"))
3284 (base32 "15nvlh9bg0a52cpg2mii17mlzmxszwivjjalbb4np1v5nj8l5fk6"))
3285 (modules '((guix build utils)))
3289 (substitute* (find-files "." "\\.[ch]$")
3290 (("^ \\* N..o.*") ""))
3291 (substitute* "libbg/bgx.c"
3292 (("#define BG.* ") "#define BS ")
3293 (("BG.*NO?.*N.*S.*E.*N.*SE?") "NO")
3294 (("\"( #|N).*\"") "\"\""))
3295 (substitute* (list "config.h"
3298 (("https?://bs1770gain[^/]*/")
3299 "https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html"))
3301 (build-system gnu-build-system)
3302 (inputs `(("ffmpeg" ,ffmpeg)
3304 (home-page "https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html")
3305 (synopsis "Tool to adjust loudness of media files")
3307 "BS1770GAIN is a loudness scanner compliant with ITU-R BS.1770 and its
3308 flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the
3309 loudness of audio and video files to the same level.")
3310 (license license:gpl2+)))
3312 (define-public filteraudio
3313 (let ((revision "1")
3314 (commit "2fc669581e2a0ff87fba8de85861b49133306094"))
3316 (name "filteraudio")
3317 (version (string-append "0.0.0-" revision "."
3318 (string-take commit 7)))
3323 (url "https://github.com/irungentoo/filter_audio.git")
3325 (file-name (string-append name "-" version "-checkout"))
3328 "0hbb290n3wb23f2k692a6bhc23nnqmxqi9sc9j15pnya8wifw64g"))))
3329 (build-system gnu-build-system)
3331 '(#:make-flags (list (string-append "PREFIX=" %output)
3333 #:tests? #f ; No tests
3335 (modify-phases %standard-phases
3336 ;; No configure script
3337 (delete 'configure))))
3338 (synopsis "Lightweight audio filtering library")
3339 (description "An easy to use audio filtering library made from webrtc
3340 code, used in @code{libtoxcore}.")
3341 (home-page "https://github.com/irungentoo/filter_audio")
3342 (license license:bsd-3))))
3352 (string-append "http://www.quut.com/" name "/" name
3353 "-" version ".tar.gz"))
3356 "041amvpz8cvxykl3pwqldrzxligmmzcg8ncdnxbg32rlqf3q1xh4"))))
3357 (build-system gnu-build-system)
3359 `(#:test-target "tst"
3361 (modify-phases %standard-phases
3362 (add-before 'install 'pre-install
3364 (let ((out (assoc-ref %outputs "out")))
3365 (substitute* "Makefile"
3366 (("INSTALL_ROOT\t=")
3367 (string-append "INSTALL_ROOT\t=\t" out)))
3368 (mkdir-p (string-append out "/inc"))
3369 (mkdir-p (string-append out "/man"))
3370 (mkdir-p (string-append out "/man/man1"))
3371 (mkdir-p (string-append out "/man/man3"))
3372 (mkdir-p (string-append out "/bin"))
3373 (mkdir-p (string-append out "/lib")))
3375 (add-after 'install 'post-install
3377 (let ((out (assoc-ref %outputs "out")))
3378 (rename-file (string-append out "/inc")
3379 (string-append out "/include"))
3380 (mkdir-p (string-append out "/include/gsm"))
3381 (copy-recursively "inc"
3382 (string-append out "/include/gsm")))
3384 (delete 'configure)))) ; no configure script
3385 (synopsis "GSM 06.10 lossy speech compression library")
3386 (description "This C library provides an encoder and a decoder for the GSM
3387 06.10 RPE-LTP lossy speech compression algorithm.")
3388 (home-page "http://quut.com/gsm/")
3389 (license (license:non-copyleft "file://COPYRIGHT"))))
3391 (define-public python-pyalsaaudio
3393 (name "python-pyalsaaudio")
3397 (uri (pypi-uri "pyalsaaudio" version))
3400 "1180ypn9596rq4b7y7dyv627j1q0fqilmkkrckclnzsdakdgis44"))))
3401 (build-system python-build-system)
3403 `(#:tests? #f)) ; tests require access to ALSA devices.
3405 `(("alsa-lib" ,alsa-lib)))
3406 (home-page "http://larsimmisch.github.io/pyalsaaudio/")
3407 (synopsis "ALSA wrappers for Python")
3409 "This package contains wrappers for accessing the ALSA API from Python.
3410 It is currently fairly complete for PCM devices, and has some support for
3412 (license license:psfl)))
3414 (define-public python2-pyalsaaudio
3415 (package-with-python2 python-pyalsaaudio))
3417 (define-public bluez-alsa
3422 ;; The tarballs are mere snapshots and don't contain a
3423 ;; bootstrapped build system.
3426 (url "https://github.com/Arkq/bluez-alsa.git")
3427 (commit (string-append "v" version))))
3428 (file-name (git-file-name name version))
3431 "08mppgnjf1j2733bk9yf0cny6rfxxwiys0s62lz2zd2lpdl6d9lz"))))
3432 (build-system gnu-build-system)
3435 (list (string-append "--with-alsaplugindir="
3436 (assoc-ref %outputs "out")
3438 (string-append "--with-dbusconfdir="
3439 (assoc-ref %outputs "out")
3440 "/etc/dbus-1/system.d"))))
3442 `(("autoconf" ,autoconf)
3443 ("automake" ,automake)
3444 ("libtool" ,libtool)
3445 ("pkg-config" ,pkg-config)))
3447 `(("alsa-lib" ,alsa-lib)
3452 ("ncurses" ,ncurses)
3455 (home-page "https://github.com/Arkq/bluez-alsa")
3456 (synopsis "Bluetooth ALSA backend")
3457 (description "This project is a rebirth of a direct integration between
3458 Bluez and ALSA. Since Bluez >= 5, the build-in integration has been removed
3459 in favor of 3rd party audio applications. From now on, Bluez acts as a
3460 middleware between an audio application, which implements Bluetooth audio
3461 profile, and a Bluetooth audio device. BlueALSA registers all known Bluetooth
3462 audio profiles in Bluez, so in theory every Bluetooth device (with audio
3463 capabilities) can be connected. In order to access the audio stream, one has
3464 to connect to the ALSA PCM device called @code{bluealsa}. The device is based
3465 on the ALSA software PCM plugin.")
3466 (license license:expat)))
3474 (uri (string-append "ftp://ccrma-ftp.stanford.edu/pub/Lisp/"
3475 "snd-" version ".tar.gz"))
3478 "13s8fahpsjygjdrcwmprcrz23ny3klaj2rh2xzdv3bfs69gxvhys"))))
3479 (build-system glib-or-gtk-build-system)
3481 `(#:tests? #f ; no tests
3482 #:out-of-source? #f ; for the 'install-doc' phase
3484 (let* ((out (assoc-ref %outputs "out"))
3485 (docdir (string-append out "/share/doc/"
3486 ,name "-" ,version)))
3487 (list "--with-alsa" "--with-jack" "--with-gmp"
3488 (string-append "--with-doc-dir=" docdir)))
3490 (modify-phases %standard-phases
3491 (add-after 'install 'install-doc
3492 (lambda* (#:key outputs #:allow-other-keys)
3493 (let* ((out (assoc-ref outputs "out"))
3494 (doc (string-append out "/share/doc/"
3495 ,name "-" ,version)))
3498 (install-file f doc))
3499 (find-files "." "\\.html$"))
3500 (copy-recursively "pix" (string-append doc "/pix"))
3503 `(("pkg-config" ,pkg-config)))
3505 `(("alsa-lib" ,alsa-lib)
3512 ("libsamplerate" ,libsamplerate)
3517 ("timidity++" ,timidity++)
3518 ("vorbis-tools" ,vorbis-tools)
3519 ("wavpack" ,wavpack)))
3520 (synopsis "Sound editor")
3521 (home-page "https://ccrma.stanford.edu/software/snd/")
3523 "Snd is a sound editor modelled loosely after Emacs. It can be
3524 customized and extended using either the s7 Scheme implementation (included in
3525 the Snd sources), Ruby, or Forth.")
3526 (license (license:non-copyleft "file://COPYING"))))
3528 (define-public noise-repellent
3530 (name "noise-repellent")
3535 (url "https://github.com/lucianodato/noise-repellent.git")
3537 (file-name (string-append name "-" version "-checkout"))
3540 "0rd3dlmk3vivjmcr6x2x860y0j1d49c2j95j6ny50v184mwvn11j"))))
3541 (build-system gnu-build-system)
3545 (string-append "PREFIX=" (assoc-ref %outputs "out")))
3546 #:tests? #f ; there are none
3548 (modify-phases %standard-phases
3549 (delete 'configure))))
3554 `(("pkg-config" ,pkg-config)))
3555 (home-page "https://github.com/lucianodato/noise-repellent")
3556 (synopsis "LV2 plugin for broadband noise reduction")
3557 (description "Noise Repellent is an LV2 plugin to reduce noise. It has
3558 the following features:
3561 @item Spectral gating and spectral subtraction suppression rule
3562 @item Adaptive and manual noise thresholds estimation
3563 @item Adjustable noise floor
3564 @item Adjustable offset of thresholds to perform over-subtraction
3565 @item Time smoothing and a masking estimation to reduce artifacts
3566 @item Basic onset detector to avoid transients suppression
3567 @item Whitening of the noise floor to mask artifacts and to recover higher
3569 @item Option to listen to the residual signal
3571 @item Noise profile saved with the session
3574 (license license:lgpl3+)))
3576 (define-public cli-visualizer
3578 (name "cli-visualizer")
3584 (url "https://github.com/dpayne/cli-visualizer.git")
3586 (file-name (git-file-name name version))
3589 "0mirp8bk398di5xyq95iprmdyvplfghxqmrfj7jdnpy554vx7ppc"))))
3590 (build-system gnu-build-system)
3592 `(("which" ,which)))
3595 ;; TODO: Try using the latest googletest for versions > 1.6.
3596 ("googletest" ,googletest-1.8)
3597 ("ncurses" ,ncurses)
3598 ("pulseaudio" ,pulseaudio)))
3600 '(#:test-target "test"
3602 (list (string-append "PREFIX=" %output "/bin/") "ENABLE_PULSE=1")
3604 (modify-phases %standard-phases
3605 (add-after 'unpack 'remove-sudo
3607 (substitute* "install.sh" (("sudo") ""))
3609 (add-before 'check 'set-check-environment
3611 (setenv "CXX" "g++")
3614 (add-before 'install 'make-prefix
3616 (mkdir-p (string-append (assoc-ref %outputs "out") "/bin"))
3618 (add-after 'install 'data
3620 (for-each (lambda (file)
3622 (string-append (assoc-ref %outputs "out")
3624 (find-files "examples"))
3626 (home-page "https://github.com/dpayne/cli-visualizer/")
3627 (synopsis "Command-line audio visualizer")
3628 (description "@code{cli-visualizer} displays fast-Fourier
3629 transforms (FFTs) of the sound being played, as well as other graphical
3631 (license license:expat)))
3640 (url "https://github.com/karlstav/cava.git")
3642 (file-name (git-file-name name version))
3645 "1kvhqgijs29909w3sq9m0bslx2zxxn4b3i07kdz4hb0dqkppxpjy"))))
3646 (build-system gnu-build-system)
3648 `(("autoconf" ,autoconf)
3649 ("automake" ,automake)
3650 ("libtool" ,libtool)))
3653 ("ncurses" ,ncurses)
3654 ("pulseaudio" ,pulseaudio)))
3657 (list (string-append "PREFIX=" %output)
3658 (string-append "FONT_DIR=" %output "/share/consolefonts"))
3660 (let ((lib (string-append %output "/lib")))
3661 (list (string-append "cava_LDFLAGS = -L" lib " -Wl,-rpath " lib)))
3663 (modify-phases %standard-phases
3665 (lambda* (#:key outputs #:allow-other-keys)
3666 (setenv "HOME" (getcwd))
3667 (invoke "sh" "autogen.sh")))
3668 (add-before 'build 'make-cava-ldflags
3669 (lambda* (#:key outputs #:allow-other-keys)
3670 (mkdir-p (string-append (assoc-ref outputs "out") "/lib"))
3672 (add-after 'install 'data
3673 (lambda* (#:key outputs #:allow-other-keys)
3674 (for-each (lambda (file)
3676 (string-append (assoc-ref outputs "out")
3677 "/share/doc/examples")))
3678 (find-files "example_files"))
3680 (home-page "https://karlstav.github.io/cava/")
3681 (synopsis "Console audio visualizer for ALSA, MPD, and PulseAudio")
3682 (description "C.A.V.A. is a bar audio spectrum visualizer for the terminal
3683 using ALSA, MPD, PulseAudio, or a FIFO buffer as its input.")
3684 (license license:expat)))
3686 (define-public fluid-3
3687 (let ((commit "871c8ce2002e8b3c198f532fdb4fbcce7914f951"))
3694 ;; Only one file is required, but the release bundles the whole
3695 ;; software which is 50MiB as tar and 200MiB unpacked. The website
3696 ;; directly links the soundfont release to the github file download.
3697 (uri (string-append "https://github.com/musescore/MuseScore/raw/"
3698 commit "/share/sound/FluidR3Mono_GM.sf3"))
3699 (file-name (string-append name "-" version ".sf3"))
3702 "1hjfg5i15bw9279007xs92zsggjgn4s4k9pc00s851l3kvc6dkfg"))))
3703 (build-system trivial-build-system)
3705 `(#:modules ((guix build utils))
3708 (use-modules (guix build utils))
3709 (let ((file (assoc-ref %build-inputs "source"))
3710 (out (string-append %output "/share/soundfonts")))
3712 (copy-file file (string-append out "/FluidR3Mono_GM.sf3"))
3714 (home-page "https://github.com/musescore/MuseScore/tree/master/share/sound")
3715 (synopsis "Pro-quality GM soundfont")
3716 (description "Fluid-3 is Frank Wen's pro-quality GM soundfont.")
3717 (license license:expat))))
3719 (define-public libfdk
3720 (let ((commit "2326faaf8f2cdf2c3a9108ccdaf1d7551aec543e")
3724 ;; The latest upstream revision, with many bug fixes.
3725 (version (git-version "0.1.6" revision commit))
3730 (url "https://github.com/mstorsjo/fdk-aac")
3732 (file-name (git-file-name name version))
3735 "0yy6ndd9d61bwl283vl1r5kva2a4acc0f4r9g0sza156f2abr9ws"))))
3736 (build-system gnu-build-system)
3738 `(("autoconf" ,autoconf)
3739 ("automake" ,automake)
3740 ("libtool" ,libtool)))
3741 (home-page "https://github.com/mstorsjo/fdk-aac")
3742 (synopsis "Fraunhofer FDK AAC library")
3743 (description "FDK is a library for encoding and decoding Advanced Audio
3744 Coding (AAC) format audio, developed by Fraunhofer IIS, and included as part of
3745 Android. It supports several Audio Object Types including MPEG-2 and MPEG-4 AAC
3746 LC, HE-AAC (AAC LC + SBR), HE-AACv2 (LC + SBR + PS) as well AAC-LD (low delay)
3747 and AAC-ELD (enhanced low delay) for real-time communication. The encoding
3748 library supports sample rates up to 96 kHz and up to eight channels (7.1
3750 (license (license:fsf-free "https://github.com/mstorsjo/fdk-aac/blob/master/NOTICE"
3751 "https://www.gnu.org/licenses/license-list.html#fdk")))))
3753 (define-public libopenshot-audio
3755 (name "libopenshot-audio")
3760 (url "https://github.com/OpenShot/libopenshot-audio")
3761 (commit (string-append "v" version))))
3762 (file-name (git-file-name name version))
3765 "1fvp6nmf30xzkmcznakh8dv5vn9d7nq051pqcqv638hsfppkmcrl"))))
3766 (build-system cmake-build-system)
3768 `(("alsa-lib" ,alsa-lib)
3769 ;; The following are for JUCE GUI components:
3771 ("freetype" ,freetype)
3772 ("libxrandr" ,libxrandr)
3773 ("libxinerama" ,libxinerama)
3774 ("libxcursor" ,libxcursor)))
3776 `(#:tests? #f ;there are no tests
3778 (list (string-append "-DCMAKE_CXX_FLAGS=-I"
3779 (assoc-ref %build-inputs "freetype")
3780 "/include/freetype2"))))
3781 (home-page "https://openshot.org")
3782 (synopsis "Audio editing and playback for OpenShot")
3783 (description "OpenShot Audio Library (libopenshot-audio) allows
3784 high-quality editing and playback of audio, and is based on the JUCE
3786 (license license:lgpl3+)))
3788 (define-public faudio
3796 (url "https://github.com/FNA-XNA/FAudio.git")
3798 (file-name (git-file-name name version))
3800 (base32 "0ckpr6ffz8ssfh1y850dhip5s5jv0j6n90qz5yx1v9d6gpwf08rp"))))
3802 '(#:tests? #f ; No tests.
3803 #:configure-flags '("-DFFMPEG=ON")))
3804 (build-system cmake-build-system)
3805 (native-inputs `(("pkg-config" ,pkg-config)))
3806 (inputs `(("ffmpeg" ,ffmpeg)
3808 (home-page "https://github.com/FNA-XNA/FAudio")
3809 (synopsis "XAudio reimplementation")
3810 (description "FAudio is an XAudio reimplementation that focuses solely on
3811 developing fully accurate DirectX Audio runtime libraries.")
3812 (license license:zlib)))
3814 (define-public gnaural
3817 (version "20110606")
3821 (uri (string-append "mirror://sourceforge/gnaural/Gnaural/gnaural_"
3825 "1gq519c0imsh57zklyi0f8h64l3ai48lh672c834470z8c6kvbfi"))))
3826 (build-system gnu-build-system)
3828 `(("alsa-lib" ,alsa-lib)
3830 ("libsndfile" ,libsndfile)
3831 ("portaudio" ,portaudio)))
3833 `(("pkg-config" ,pkg-config)))
3834 (home-page "http://gnaural.sourceforge.net/")
3835 (synopsis "Binaural beat synthesizer")
3836 (description "Gnaural is a programmable auditory binaural beat synthesizer
3837 intended to be used for brainwave entrainment. Gnaural supports creation of
3838 binaural beat tracks of different frequencies and exporting of tracks into
3839 different audio formats. Gnaural can also be linked over the internet with
3840 other Gnaural instances, allowing synchronous sessions between many users.")
3841 (license license:gpl2+)))
3843 (define-public darkice
3849 (uri (string-append "mirror://sourceforge/darkice/darkice/"
3850 version "/darkice-" version ".tar.gz"))
3852 (base32 "1rlxds7ssq7nk2in4s46xws7xy9ylxsqgcz85hxjgh17lsm0y39c"))
3854 (search-patches "darkice-workaround-fpermissive-error.patch"))))
3855 (build-system gnu-build-system)
3856 (native-inputs `(("pkg-config" ,pkg-config)))
3857 (inputs `(("lame" ,lame)
3858 ("libvorbis" ,libvorbis)
3860 ("twolame" ,twolame)
3861 ("alsa-lib" ,alsa-lib)
3862 ("pulseaudio" ,pulseaudio)
3864 ("libsamplerate" ,libsamplerate)))
3867 (list (string-append "--with-lame-prefix="
3868 (assoc-ref %build-inputs "lame")))))
3869 (home-page "http://www.darkice.org/")
3870 (synopsis "Live audio streamer")
3871 (description "DarkIce is a live audio streamer. It takes audio input from
3872 a sound card, encodes it into Ogg Vorbis and/or mp3, and sends the audio
3873 stream to one or more IceCast and/or ShoutCast servers.")
3874 (license license:gpl3+)))
3876 (define-public libltc
3884 (string-append "https://github.com/x42/libltc/releases/download/v"
3885 version "/libltc-" version ".tar.gz"))
3888 "173h9dgmain3nyrwk6q2d7yl4fnh4vacag4s2p01n5b7nyrkxrjh"))))
3889 (build-system gnu-build-system)
3891 `(#:parallel-tests? #f)) ;tests fail otherwise
3893 `(("doxygen" ,doxygen)
3894 ("pkg-config" ,pkg-config)))
3895 (synopsis "Encode or decode Linear/Longitudinal Time Code (LTC) audio")
3896 (description "Libltc is a POSIX-C Library for handling
3897 @dfn{Linear/Longitudinal Time Code} (LTC) data.")
3898 (home-page "https://x42.github.io/libltc/")
3899 (license license:lgpl3+)))
3901 (define-public redkite
3909 (url "https://gitlab.com/geontime/redkite.git")
3910 (commit (string-append "v" version))))
3911 (file-name (git-file-name name version))
3914 "1i874izajbdhlfacwwj84qrsxf7g4y6nblzxalrkzaap9sa7d1r6"))))
3915 (build-system cmake-build-system)
3917 `(#:tests? #f)) ;no tests included
3919 `(("cairo" ,cairo)))
3921 `(("pkg-config", pkg-config)))
3922 (synopsis "Small GUI toolkit")
3923 (description "Redkite is a small GUI toolkit developed in C++17 and
3924 inspired from other well known GUI toolkits such as Qt and GTK. It is
3925 minimal on purpose and is intended to be statically linked to applications,
3926 therefore satisfying any requirements they may have to be self contained,
3927 as is the case with audio plugins.")
3928 (home-page "https://gitlab.com/geontime/redkite")
3929 (license license:gpl3+)))
3931 (define-public carla
3940 (url "https://github.com/falkTX/Carla.git")
3941 (commit (string-append "v" version))))
3942 (file-name (git-file-name name version))
3945 "0fqgncqlr86n38yy7pa118mswfacmfczj7w9xx6c6k0jav3wk29k"))))
3946 (build-system gnu-build-system)
3948 `(#:tests? #f ; no "check" target
3950 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3952 (modify-phases %standard-phases
3953 (add-before 'build 'set-CC-variable-and-show-features
3956 (invoke "make" "features")))
3957 (delete 'configure))))
3959 `(("alsa-lib" ,alsa-lib)
3961 ("fluidsynth" ,fluidsynth)
3964 ("libsndfile" ,libsndfile)
3966 ("python-pyliblo" ,python-pyliblo)
3967 ("python-pyqt" ,python-pyqt)
3968 ("python-rdflib" ,python-rdflib)
3969 ;; python-pyqt shows the following error without python-wrapper:
3970 ;; Error while finding module specification for 'PyQt5.uic.pyuic'
3971 ;; (ModuleNotFoundError: No module named 'PyQt5')
3972 ("python-wrapper" ,python-wrapper)
3977 `(("pkg-config" ,pkg-config)))
3978 (home-page "https://kx.studio/Applications:Carla")
3979 (synopsis "Audio plugin host")
3980 (description "Carla is a modular audio plugin host, with features like
3981 transport control, automation of parameters via MIDI CC and remote control
3982 over OSC. Carla currently supports LADSPA (including LRDF), DSSI, LV2, VST2,
3983 and VST3 plugin formats, plus SF2 and SFZ file support. It uses JACK as the
3984 default and preferred audio driver but also supports native drivers like ALSA.")
3985 (license license:gpl2+)))
3987 (define-public ecasound
3993 (uri (string-append "http://nosignal.fi/download/ecasound-"
3996 (base32 "15rcs28fq2wfvfs66p5na7adq88b55qszbhshpizgdbyqzgr2jf1"))))
3997 (build-system gnu-build-system)
3998 (native-inputs `(("pkg-config" ,pkg-config)))
3999 ;; would be nice to add mikmod to inputs if that gets packaged
4001 (inputs `(("alsa-lib" ,alsa-lib)
4005 ("vorbis-tools" ,vorbis-tools)
4008 ("timidity++" ,timidity++)
4009 ("libsndfile" ,libsndfile)
4010 ("libsamplerate" ,libsamplerate)
4011 ("ncurses" ,ncurses)
4014 (home-page "http://nosignal.fi/ecasound/index.php")
4015 (synopsis "Multitrack audio processing")
4016 (description "Ecasound is a software package designed for multitrack audio
4017 processing. It can be used for simple tasks like audio playback, recording and
4018 format conversions, as well as for multitrack effect processing, mixing,
4019 recording and signal recycling. Ecasound supports a wide range of audio inputs,
4020 outputs and effect algorithms. Effects and audio objects can be combined in
4021 various ways, and their parameters can be controlled by operator objects like
4022 oscillators and MIDI-CCs. A versatile console mode user-interface is included
4024 ;; As an exception to the above, the C, C++ and python implementations
4025 ;; of the Ecasound Control Interface (ECI) are licensed under the LGPL
4026 ;; (see the file 'COPYING.LGPL'). This allows writing ECI applications
4027 ;; that are not licensed under GPL.
4028 (license (list license:gpl2 license:lgpl2.1))))