1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
3 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
4 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
5 ;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
7 ;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com>
9 ;;; Copyright © 2016 ng0 <ng0@n0.is>
10 ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
11 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
12 ;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com>
13 ;;; Copyright © 2018 okapi <okapi@firemail.cc>
14 ;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
15 ;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
16 ;;; Copyright © 2018 Brett Gilio <brettg@gnu.org>
17 ;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
18 ;;; Copyright © 2018 Thorsten Wilms <t_w_@freenet.de>
19 ;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
20 ;;; Copyright © 2018 Brendan Tildesley <mail@brendan.scot>
21 ;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
22 ;;; Copyright © 2019 Leo Famulari <leo@famulari.name>
23 ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
24 ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
25 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
26 ;;; Copyright © 2019, 2020 Alexandros Theodotou <alex@zrythm.org>
27 ;;; Copyright © 2019 Christopher Lemmer Webber <cwebber@dustycloud.org>
28 ;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
29 ;;; Copyright © 2019 Hartmt Goebel <h.goebel@crazy-compilers.com>
30 ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
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 meson)
58 #:use-module (guix build-system python)
59 #:use-module (guix build-system glib-or-gtk)
60 #:use-module (gnu packages)
61 #:use-module (gnu packages algebra)
62 #:use-module (gnu packages autotools)
63 #:use-module (gnu packages avahi)
64 #:use-module (gnu packages boost)
65 #:use-module (gnu packages backup)
66 #:use-module (gnu packages base)
67 #:use-module (gnu packages bison)
68 #:use-module (gnu packages check)
69 #:use-module (gnu packages compression)
70 #:use-module (gnu packages curl)
71 #:use-module (gnu packages dbm)
72 #:use-module (gnu packages documentation)
73 #:use-module (gnu packages emacs)
74 #:use-module (gnu packages file)
75 #:use-module (gnu packages flex)
76 #:use-module (gnu packages fltk)
77 #:use-module (gnu packages fontutils)
78 #:use-module (gnu packages gcc)
79 #:use-module (gnu packages gettext)
80 #:use-module (gnu packages glib)
81 #:use-module (gnu packages gtk)
82 #:use-module (gnu packages gnome)
83 #:use-module (gnu packages gnunet) ; libmicrohttpd
84 #:use-module (gnu packages gperf)
85 #:use-module (gnu packages icu4c)
86 #:use-module (gnu packages image)
87 #:use-module (gnu packages ncurses)
88 #:use-module (gnu packages onc-rpc)
89 #:use-module (gnu packages qt)
90 #:use-module (gnu packages libbsd)
91 #:use-module (gnu packages linux)
92 #:use-module (gnu packages libusb)
93 #:use-module (gnu packages llvm)
94 #:use-module (gnu packages mp3) ;taglib
95 #:use-module (gnu packages perl)
96 #:use-module (gnu packages pkg-config)
97 #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
98 #:use-module (gnu packages python)
99 #:use-module (gnu packages python-xyz)
100 #:use-module (gnu packages rdf)
101 #:use-module (gnu packages readline)
102 #:use-module (gnu packages sdl)
103 #:use-module (gnu packages serialization)
104 #:use-module (gnu packages telephony)
105 #:use-module (gnu packages tls)
106 #:use-module (gnu packages video)
107 #:use-module (gnu packages vim) ;xxd
108 #:use-module (gnu packages webkit)
109 #:use-module (gnu packages wxwidgets)
110 #:use-module (gnu packages xiph)
111 #:use-module (gnu packages xml)
112 #:use-module (gnu packages xorg)
113 #:use-module (gnu packages maths)
114 #:use-module (gnu packages multiprecision)
115 #:use-module (gnu packages music)
116 #:use-module (srfi srfi-1)
117 #:use-module (srfi srfi-26))
119 (define-public alsa-modular-synth
121 (name "alsa-modular-synth")
125 (uri (string-append "mirror://sourceforge/alsamodular/alsamodular"
126 "/" version "/ams-" version ".tar.bz2"))
129 "1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0"))))
130 (build-system gnu-build-system)
134 "CXXFLAGS=-std=gnu++11")
136 (modify-phases %standard-phases
137 ;; Insert an extra space between linker flags.
138 (add-before 'configure 'add-missing-space
140 (substitute* "configure"
141 (("LIBS\\+=\\$LIBSsave") "LIBS+=\" $LIBSsave\"")
142 (("CFLAGS\\+=\\$CFLAGSsave") "CFLAGS+=\" $CFLAGSsave\""))
145 `(("alsa-lib" ,alsa-lib)
146 ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to
147 ;; license incompatibility.
148 ("clalsadrv" ,clalsadrv)
154 ("qttools" ,qttools)))
156 `(("pkg-config" ,pkg-config)
158 (home-page "http://alsamodular.sourceforge.net/")
159 (synopsis "Realtime modular synthesizer and effect processor")
161 "AlsaModularSynth is a digital implementation of a classical analog
162 modular synthesizer system. It uses virtual control voltages to control the
163 parameters of the modules. The control voltages which control the frequency
164 e.g. of the VCO (Voltage Controlled Oscillator) and VCF (Voltage Controlled
165 Filter) modules follow the convention of 1V / Octave.")
166 (license license:gpl2)))
175 "https://aubio.org/pub/aubio-" version ".tar.bz2"))
178 "1npks71ljc48w6858l9bq30kaf5nph8z0v61jkfb70xb9np850nl"))))
179 (build-system waf-build-system)
181 `(#:tests? #f ; no check target
184 (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib")
188 "--enable-samplerate"
193 ("libsndfile" ,libsndfile)
194 ("libsamplerate" ,libsamplerate)
196 ("ffmpeg" ,ffmpeg))) ; for libavcodec
198 `(("pkg-config" ,pkg-config)))
199 (home-page "https://aubio.org/")
200 (synopsis "Library for audio labelling")
202 "aubio is a tool designed for the extraction of annotations from audio
203 signals. Its features include segmenting a sound file before each of its
204 attacks, performing pitch detection, tapping the beat and producing MIDI
205 streams from live audio.")
206 (license license:gpl3+)))
208 (define (ardour-rpath-phase major-version)
209 `(lambda* (#:key outputs #:allow-other-keys)
210 (let ((libdir (string-append (assoc-ref outputs "out")
211 "/lib/ardour" ,major-version)))
212 (substitute* "wscript"
213 (("linker_flags = \\[\\]")
214 (string-append "linker_flags = [\""
217 libdir "/backends" ":"
218 libdir "/engines" ":"
219 libdir "/panners" ":"
220 libdir "/surfaces" ":"
221 libdir "/vamp" "\"]"))))
224 (define-public ardour
231 (url "https://git.ardour.org/ardour/ardour.git")
234 ;; Ardour expects this file to exist at build time. The revision
236 ;; git describe HEAD | sed 's/^[A-Za-z]*+//'
237 `(call-with-output-file
238 "libs/ardour/revision.cc"
240 (format port ,(string-append "#include \"ardour/revision.h\"
241 namespace ARDOUR { const char* revision = \"" version "\" ; }"))
245 "0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr"))
246 (file-name (string-append name "-" version))))
247 (build-system waf-build-system)
249 `(#:configure-flags '("--cxx11" ; required by gtkmm
250 "--no-phone-home" ; don't contact ardour.org
251 "--freedesktop" ; build .desktop file
252 "--test") ; build unit tests
254 (modify-phases %standard-phases
255 (add-after 'unpack 'set-rpath-in-LDFLAGS
256 ,(ardour-rpath-phase (version-major version)))
257 (add-after 'install 'install-freedesktop-files
258 (lambda* (#:key outputs #:allow-other-keys)
259 (let* ((out (assoc-ref outputs "out"))
260 (share (string-append out "/share"))
261 (ver ,(version-major version)))
264 (let ((dir (string-append share "/icons/hicolor/"
265 size "x" size "/apps")))
268 (string-append "gtk2_ardour/resources/Ardour-icon_"
270 (string-append dir "/ardour" ver ".png"))))
271 '("16" "22" "32" "48" "256"))
272 (install-file (string-append "build/gtk2_ardour/ardour"
274 (string-append share "/applications/"))
275 (install-file (string-append "build/gtk2_ardour/ardour"
277 (string-append share "/appdata/")))
282 `(("alsa-lib" ,alsa-lib)
295 ("libarchive" ,libarchive)
296 ("libart-lgpl" ,libart-lgpl)
297 ("libgnomecanvasmm" ,libgnomecanvasmm)
300 ("libsamplerate" ,libsamplerate)
301 ("libsndfile" ,libsndfile)
303 ("libvorbis" ,libvorbis)
309 ("python-rdflib" ,python-rdflib)
310 ("readline" ,readline)
312 ("rubberband" ,rubberband)
320 `(("cppunit" ,cppunit)
321 ("gettext" ,gettext-minimal)
324 ("pkg-config" ,pkg-config)))
325 (home-page "http://ardour.org")
326 (synopsis "Digital audio workstation")
328 "Ardour is a multi-channel digital audio workstation, allowing users to
329 record, edit, mix and master audio and MIDI projects. It is targeted at audio
330 engineers, musicians, soundtrack editors and composers.")
331 (license license:gpl2+)))
333 (define-public audacity
341 (url "https://github.com/audacity/audacity.git")
342 (commit (string-append "Audacity-" version))))
343 (file-name (git-file-name name version))
346 "0707fsnrl4vjalsi21w4blwgz024qhd0w8rdd5j5vpxf5lyk2rbk"))
347 (patches (search-patches "audacity-build-with-system-portaudio.patch"))
348 (modules '((guix build utils)))
350 ;; Remove bundled libraries.
354 (delete-file-recursively (string-append "lib-src/" dir)))
355 '("expat" "ffmpeg" "lame" "libflac" "libid3tag" "libmad" "libogg"
356 "libsndfile" "libsoxr" "libvamp" "libvorbis" "lv2"
357 "portaudio-v19" "portmidi" "soundtouch" "twolame"
358 ;; FIXME: these libraries have not been packaged yet:
366 ;; FIXME: we have this library, but it differs in that the Slide
367 ;; class does not have a member "getInverseStretchedTime".
371 (build-system glib-or-gtk-build-system)
373 `(("wxwidgets" ,wxwidgets)
375 ("alsa-lib" ,alsa-lib)
381 ("libid3tag" ,libid3tag)
383 ;;("libsbsms" ,libsbsms) ;bundled version is modified
384 ("libsndfile" ,libsndfile)
385 ("soundtouch" ,soundtouch)
386 ("soxr" ,soxr) ;replaces libsamplerate
389 ("libvorbis" ,libvorbis)
391 ("lilv" ,lilv) ;for lv2
392 ("suil" ,suil) ;for lv2
393 ("portaudio" ,portaudio)
394 ("portmidi" ,portmidi)))
396 `(("autoconf" ,autoconf)
397 ("automake" ,automake)
398 ("gettext" ,gettext-minimal) ;for msgfmt
400 ("pkg-config" ,pkg-config)
405 (let ((libid3tag (assoc-ref %build-inputs "libid3tag"))
406 (libmad (assoc-ref %build-inputs "libmad"))
407 (portmidi (assoc-ref %build-inputs "portmidi")))
409 ;; Loading FFmpeg dynamically is problematic.
410 "--disable-dynamic-loading"
411 ;; SSE instructions are available on Intel systems only.
412 ,@(if (any (cute string-prefix? <> (or (%current-target-system)
416 '("--enable-sse=no"))
417 ;; portmidi, libid3tag and libmad provide no .pc files, so
418 ;; pkg-config fails to find them. Force their inclusion.
419 (string-append "ID3TAG_CFLAGS=-I" libid3tag "/include")
420 (string-append "ID3TAG_LIBS=-L" libid3tag "/lib -lid3tag -lz")
421 (string-append "LIBMAD_CFLAGS=-I" libmad "/include")
422 (string-append "LIBMAD_LIBS=-L" libmad "/lib -lmad")
423 (string-append "PORTMIDI_CFLAGS=-I" portmidi "/include")
424 (string-append "PORTMIDI_LIBS=-L" portmidi "/lib -lportmidi")
425 "EXPAT_USE_SYSTEM=yes"
426 "FFMPEG_USE_SYSTEM=yes"
427 "LAME_USE_SYSTEM=yes"
428 "LIBFLAC_USE_SYSTEM=yes"
429 "LIBID3TAG_USE_SYSTEM=yes"
430 "LIBMAD_USE_SYSTEM=yes"
431 "USE_LOCAL_LIBNYQUIST=" ;not packaged yet
432 ;;"LIBSBSMS_USE_SYSTEM=yes" ;bundled version is patched
433 "LIBSNDFILE_USE_SYSTEM=yes"
434 "LIBSOUNDTOUCH_USE_SYSTEM=yes"
435 "LIBSOXR_USE_SYSTEM=yes"
436 "LIBTWOLAME_USE_SYSTEM=yes"
437 "LIBVAMP_USE_SYSTEM=yes"
438 "LIBVORBIS_USE_SYSTEM=yes"
440 "PORTAUDIO_USE_SYSTEM=yes"))
442 (modify-phases %standard-phases
443 (add-after 'unpack 'fix-sbsms-check
445 ;; This check is wrong: there is no 2.2.0 release; not even the
446 ;; bundled sources match this release string.
447 (substitute* '("m4/audacity_checklib_libsbsms.m4"
449 (("sbsms >= 2.2.0") "sbsms >= 2.0.0"))
451 (add-after 'unpack 'use-upstream-headers
452 (lambda* (#:key inputs #:allow-other-keys)
453 (substitute* '("src/NoteTrack.cpp"
456 "src/AudioIOBase.cpp")
457 (("../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h")
458 (("../lib-src/portmidi/porttime/porttime.h") "porttime.h"))
459 (substitute* "src/prefs/MidiIOPrefs.cpp"
460 (("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h"))
462 ;; The test suite is not "well exercised" according to the developers,
463 ;; and fails with various errors. See
464 ;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>.
466 (home-page "https://www.audacityteam.org/")
467 (synopsis "Software for recording and editing sounds")
469 "Audacity is a multi-track audio editor designed for recording, playing
470 and editing digital audio. It features digital effects and spectrum analysis
472 (license license:gpl2+)))
474 (define-public audiofile
482 "https://audiofile.68k.org/audiofile-" version ".tar.gz"))
484 (base32 "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind"))
486 ;; CVE references according to nixpgs
488 "audiofile-fix-datatypes-in-tests.patch"
489 "audiofile-fix-sign-conversion.patch"
490 "audiofile-hurd.patch"
491 "audiofile-CVE-2015-7747.patch"
493 "audiofile-Fix-index-overflow-in-IMA.cpp.patch"
494 ;; CVE-2017-6827, CVE-2017-6828, CVE-2017-6832, CVE-2017-6835,
496 "audiofile-Check-the-number-of-coefficients.patch"
498 "audiofile-Fix-overflow-in-MSADPCM-decodeSam.patch"
499 ;; CVE-2017-6830, CVE-2017-6834, CVE-2017-6836, CVE-2017-6838:
500 "audiofile-Fix-multiply-overflow-sfconvert.patch"
501 "audiofile-signature-of-multiplyCheckOverflow.patch"
503 "audiofile-Fail-on-error-in-parseFormat.patch"
505 "audiofile-division-by-zero-BlockCodec-runPull.patch"
506 "audiofile-CVE-2018-13440.patch"
507 "audiofile-CVE-2018-17095.patch"))))
508 (build-system gnu-build-system)
510 `(("alsa-lib" ,alsa-lib)))
511 (home-page "https://audiofile.68k.org/")
512 (synopsis "Library to handle various audio file formats")
513 (description "This is an open-source version of SGI's audiofile library.
514 It provides a uniform programming interface for processing of audio data to
515 and from audio files of many common formats.
517 Currently supported file formats include AIFF/AIFF-C, WAVE, and NeXT/Sun
518 .snd/.au, BICS, and raw data. Supported compression formats are currently
519 G.711 mu-law and A-law.")
520 (license license:lgpl2.1+)))
522 (define-public autotalent
528 (uri (string-append "http://tombaran.info/autotalent-"
532 "1n04qm66f14195ly6gsy3ra7v2j7zad5n19d8dwfmh0qs6h9hphh"))))
533 (build-system gnu-build-system)
535 `(#:tests? #f ; no check target
537 (modify-phases %standard-phases
538 ;; no configure script
540 (add-before 'install 'prepare-target-directory
541 (lambda* (#:key outputs #:allow-other-keys)
542 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
544 (add-after 'unpack 'override-target-directory
545 (lambda* (#:key outputs #:allow-other-keys)
546 (substitute* "Makefile"
547 (("/usr/lib64/ladspa")
548 (string-append (assoc-ref outputs "out") "/lib/ladspa")))
551 `(("ladspa" ,ladspa)))
552 (home-page "http://tombaran.info/autotalent.html")
553 (synopsis "Pitch-correction LADSPA audio plugin")
555 "Autotalent is a LADSPA plugin for real-time pitch-correction. Among its
556 controls are allowable notes, strength of correction, LFO for vibrato and
558 ;; All code except the FFT routine is licensed under GPLv2+.
559 ;; The FFT routine is under BSD-3.
560 (license license:gpl2+)))
568 (uri (string-append "mirror://savannah/ll-plugins/azr3-jack-"
573 "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc"))
574 (patches (search-patches "azr3.patch"))))
575 (build-system gnu-build-system)
577 `(#:tests? #f ; no check target
580 (string-append "prefix=" %output)
581 (string-append "pkgdatadir=" %output "/share/azr3-jack"))
583 (modify-phases %standard-phases
584 (add-before 'install 'fix-timestamp
586 (let ((early-1980 315619200)) ; 1980-01-02 UTC
587 (utime "azr3.1" early-1980 early-1980))
595 `(("pkg-config" ,pkg-config)))
596 (home-page "http://ll-plugins.nongnu.org/azr3/")
597 (synopsis "Tonewheel organ synthesizer")
599 "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ
600 with drawbars, distortion and rotating speakers. The organ has three
601 sections, two polyphonic sections with nine drawbars each and one monophonic
602 bass section with five drawbars. A standalone JACK application and LV2
603 plugins are provided.")
604 (license license:gpl2)))
612 (uri (string-append "https://calf-studio-gear.org/files/calf-"
616 "17x4hylgq4dn9qycsdacfxy64f5cv57n2qgkvsdp524gnqzw4az3"))))
617 (build-system gnu-build-system)
619 `(("fluidsynth" ,fluidsynth)
630 `(("pkg-config" ,pkg-config)))
632 (list (search-path-specification
633 (variable "LV2_PATH")
634 (files '("lib/lv2")))))
635 (home-page "http://calf.sourceforge.net/")
636 (synopsis "Audio plug-in pack for LV2 and JACK environments")
638 "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments.
639 The suite contains lots of effects (delay, modulation, signal processing,
640 filters, equalizers, dynamics, distortion and mastering effects),
641 instruments (SF2 player, organ simulator and a monophonic synthesizer) and
642 tools (analyzer, mono/stereo tools, crossovers).")
643 ;; calfjackhost is released under GPLv2+
644 ;; The plugins are released under LGPLv2.1+
645 (license (list license:lgpl2.1+ license:gpl2+))))
647 (define-public caps-plugins-lv2
649 (name "caps-plugins-lv2")
650 (version "0.9.24") ; version that has been ported.
653 ;; The Github project hasn't tagged a release.
656 ;; Actually https://github.com/moddevices/caps-lv2.git, but it's
657 ;; missing fixes for newer glibc, so using the origin of a pull
658 ;; request regarding this issue:
659 (url "https://github.com/jujudusud/caps-lv2.git")
660 (commit "9c9478b7fbd8f9714f552ebe2a6866398b0babfb")))
661 (file-name (git-file-name name version))
664 "1idfnazin3cca41zw1a8vwgnxjnkrap7bxxjamjqvgpmvydgcam1"))))
665 (build-system gnu-build-system)
667 `(#:tests? #f ; no check target
669 (modify-phases %standard-phases
670 ;; no configure script
672 (add-after 'unpack 'override-target-directory
673 (lambda* (#:key outputs #:allow-other-keys)
674 (substitute* (find-files "plugins" "Makefile")
675 (("/usr/local")(assoc-ref outputs "out")))
679 ;; home-page of the original LADSPA version: http://quitte.de/dsp/caps.html
680 (home-page "https://github.com/moddevices/caps-lv2")
681 (synopsis "LV2 port of the CAPS audio plugin colection")
683 "LV2 port of CAPS, a collection of audio plugins comprising basic virtual
684 guitar amplification and a small range of classic effects, signal processors and
685 generators of mostly elementary and occasionally exotic nature.")
686 (license license:gpl3+)))
688 (define-public infamous-plugins
690 (name "infamous-plugins")
695 (url "https://github.com/ssj71/infamousPlugins.git")
696 (commit (string-append "v" version))))
697 (file-name (git-file-name name version))
700 "0hmqk80w4qxq09iag7b7srf2g0wigkyhzq0ywxvhz2iz0hq9k0dh"))))
701 (build-system cmake-build-system)
703 `(#:tests? #f ; there are no tests
705 (modify-phases %standard-phases
706 (add-after 'unpack 'remove-compiler-flags
708 (substitute* (find-files "." "CMakeLists.txt")
709 (("-msse2 -mfpmath=sse") ""))
716 ("zita-resampler" ,zita-resampler)))
718 `(("pkg-config" ,pkg-config)))
719 (home-page "https://ssj71.github.io/infamousPlugins")
720 (synopsis "LV2 plugins for live use")
722 "The infamous plugins are a collection of LV2 audio plugins for live
723 performances. The plugins include a cellular automaton synthesizer, an
724 envelope follower, distortion effects, tape effects and more.")
725 (license license:gpl2+)))
727 (define-public swh-plugins
734 (url "https://github.com/swh/ladspa.git")
735 (commit (string-append "v" version))))
736 (file-name (git-file-name name version))
739 "1c98z2xxz9pgcb4dg99gz8qrylh5cnag0j18a52d88ifsy24isvq"))))
741 `(("autoconf" ,autoconf)
742 ("automake" ,automake)
743 ("gettext" ,gettext-minimal) ;for autopoint
746 ("pkg-config" ,pkg-config)
750 ("perl-xml-parser" ,perl-xml-parser)))
751 (build-system gnu-build-system)
752 (home-page "http://plugin.org.uk")
753 (synopsis "The SWH Plugins package for the LADSPA plugin system")
754 (description "This package provides Steve Harris's LADSPA plugins.")
755 (license license:gpl2+)))
757 (define-public swh-plugins-lv2
759 (name "swh-plugins-lv2")
764 (url "https://github.com/swh/lv2.git")
765 (commit (string-append "v" version))))
766 (file-name (git-file-name name version))
769 "0y7nnww864mm4k6ayy2lhcws3wlbhb2gkyjbrwk921fvc18qk9mz"))))
770 (build-system gnu-build-system)
772 `(#:tests? #f ; no check target
773 #:make-flags (list "CC=gcc"
774 (string-append "PREFIX="
775 (assoc-ref %outputs "out")))
777 (modify-phases %standard-phases
778 ;; no configure script
780 (add-after 'unpack 'patch-makefile-and-enter-directory
781 ;; The default install target doesn't install, but the
782 ;; "install-system" target does.
784 (substitute* "Makefile"
785 (("install:") "install: install-system"))
791 `(("libxslt" ,libxslt)
792 ("pkg-config" ,pkg-config)))
793 (home-page "http://plugin.org.uk")
794 (synopsis "SWH plugins in LV2 format")
796 "Swh-plugins-lv2 is a collection of audio plugins in LV2 format. Plugin
797 classes include: dynamics (compressor, limiter), time (delay, chorus,
798 flanger), ringmodulator, distortion, filters, pitchshift, oscillators,
799 emulation (valve, tape), bit fiddling (decimator, pointer-cast), etc.")
800 (license license:gpl3+)))
802 (define-public csound
809 (url "https://github.com/csound/csound.git")
811 (file-name (git-file-name name version))
814 "14822ybqyp31z18gky2y9zadr9dkbhabg97y139py73w7v3af1bh"))))
815 (build-system cmake-build-system)
817 `(("alsa-lib" ,alsa-lib)
819 ("pulseaudio" ,pulseaudio)
820 ("libsndfile" ,libsndfile)
824 ("gettext" ,gettext-minimal)))
829 (home-page "https://csound.com/")
830 (synopsis "Sound and music computing system")
832 "Csound is a user-programmable and user-extensible sound processing
833 language and software synthesizer.")
834 (license license:lgpl2.1+)))
836 (define-public clalsadrv
843 "http://kokkinizita.linuxaudio.org"
844 "/linuxaudio/downloads/clalsadrv-"
848 "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq"))))
849 (build-system gnu-build-system)
851 `(#:tests? #f ; no "check" target
852 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
854 (modify-phases %standard-phases
855 (add-after 'unpack 'patch-makefile-and-enter-directory
857 (substitute* "libs/Makefile"
858 (("/sbin/ldconfig") "true")
859 (("^LIBDIR =.*") "LIBDIR = lib\n"))
862 (add-after 'install 'install-symlink
864 (symlink "libclalsadrv.so"
865 (string-append (assoc-ref %outputs "out")
866 "/lib/libclalsadrv.so.2"))
868 ;; no configure script
869 (delete 'configure))))
871 `(("alsa-lib" ,alsa-lib)
873 (home-page "https://kokkinizita.linuxaudio.org")
874 (synopsis "C++ wrapper around the ALSA API")
876 "clalsadrv is a C++ wrapper around the ALSA API simplifying access to
878 (license license:gpl2+)))
880 (define-public amb-plugins
887 "http://kokkinizita.linuxaudio.org"
888 "/linuxaudio/downloads/AMB-plugins-"
892 "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl"))))
893 (build-system gnu-build-system)
895 `(#:tests? #f ; no "check" target
897 (modify-phases %standard-phases
898 ;; no configure script
900 (add-before 'install 'prepare-target-directory
901 (lambda* (#:key outputs #:allow-other-keys)
902 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
904 (add-after 'unpack 'override-target-directory-and-tool-paths
905 (lambda* (#:key outputs #:allow-other-keys)
906 (substitute* "Makefile"
908 (string-append (assoc-ref outputs "out") "/lib/ladspa"))
909 (("/usr/bin/install") (which "install"))
912 (home-page "https://kokkinizita.linuxaudio.org")
913 (synopsis "LADSPA ambisonics plugins")
915 "The AMB plugins are a set of LADSPA ambisonics plugins, mainly to be
916 used within Ardour. Features include: mono and stereo to B-format panning,
917 horizontal rotator, square, hexagon and cube decoders.")
918 (license license:gpl2+)))
920 (define-public mcp-plugins
927 "http://kokkinizita.linuxaudio.org"
928 "/linuxaudio/downloads/MCP-plugins-"
932 "06a9r1l85jmg7l1cvc3788mk8ra0xagjfy1rmhw3b80y4n0vlnvc"))))
933 (build-system gnu-build-system)
935 `(#:tests? #f ; no "check" target
937 (modify-phases %standard-phases
938 ;; no configure script
940 (add-before 'install 'prepare-target-directory
941 (lambda* (#:key outputs #:allow-other-keys)
942 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
944 (add-after 'unpack 'override-target-directory
945 (lambda* (#:key outputs #:allow-other-keys)
946 (substitute* "Makefile"
947 (("/usr") (assoc-ref outputs "out")))
949 (home-page "https://kokkinizita.linuxaudio.org")
950 (synopsis "Chorus, phaser, and vintage high-pass and low-pass filters")
952 "This package provides various LADSPA plugins. @code{cs_chorus} and
953 @code{cs_phaser} provide chorus and phaser effects, respectively;
954 @code{mvclpf24} provides four implementations of the low-pass filter used in
955 vintage Moog synthesizers; @code{mvchpf24} is based on the voltage-controlled
956 high-pass filter by Robert Moog. The filters attempt to accurately emulate
957 the non-linear circuit elements of their original analog counterparts.")
958 (license license:gpl2+)))
960 (define-public rev-plugins
967 "http://kokkinizita.linuxaudio.org"
968 "/linuxaudio/downloads/REV-plugins-"
972 "1ikpinxm00pkfi259bnkzhsy3miagrjgdihaaf5x4v7zac29j3g7"))))
973 (build-system gnu-build-system)
975 `(#:tests? #f ; no "check" target
977 (modify-phases %standard-phases
978 ;; no configure script
980 (add-before 'install 'prepare-target-directory
981 (lambda* (#:key outputs #:allow-other-keys)
982 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
984 (add-after 'unpack 'override-target-directory
985 (lambda* (#:key outputs #:allow-other-keys)
986 (substitute* "Makefile"
987 (("/usr") (assoc-ref outputs "out")))
989 (home-page "https://kokkinizita.linuxaudio.org")
990 (synopsis "LADSPA reverb plugin")
992 "This package provides a stereo reverb LADSPA plugin based on the
993 well-known greverb.")
994 (license license:gpl2+)))
996 (define-public fil-plugins
1003 "http://kokkinizita.linuxaudio.org"
1004 "/linuxaudio/downloads/FIL-plugins-"
1005 version ".tar.bz2"))
1008 "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw"))))
1009 (build-system gnu-build-system)
1011 `(#:tests? #f ; no "check" target
1013 (modify-phases %standard-phases
1014 ;; no configure script
1016 (add-before 'install 'prepare-target-directory
1017 (lambda* (#:key outputs #:allow-other-keys)
1018 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1020 (add-after 'unpack 'override-target-directory
1021 (lambda* (#:key outputs #:allow-other-keys)
1022 (substitute* "Makefile"
1023 (("/usr") (assoc-ref outputs "out")))
1025 (home-page "https://kokkinizita.linuxaudio.org")
1026 (synopsis "LADSPA four-band parametric equalizer plugin")
1028 "This package provides a LADSPA plugin for a four-band parametric
1029 equalizer. Each section has an active/bypass switch, frequency, bandwidth and
1030 gain controls. There is also a global bypass switch and gain control.
1032 The 2nd order resonant filters are implemented using a Mitra-Regalia style
1033 lattice filter, which is stable even while parameters are being changed.
1035 All switches and controls are internally smoothed, so they can be used @code{live}
1036 without any clicks or zipper noises. This makes this plugin suitable for use
1037 in systems that allow automation of plugin control ports, such as Ardour, or
1039 (license license:gpl2+)))
1041 (define-public ste-plugins
1043 (name "ste-plugins")
1048 "http://kokkinizita.linuxaudio.org"
1049 "/linuxaudio/downloads/STE-plugins-"
1050 version ".tar.bz2"))
1053 "0s3c9w5xihs87cnd1lh9xgj3maabjdyh6bl766qp5lhkg3ax8zy6"))))
1054 (build-system gnu-build-system)
1056 `(#:tests? #f ; no "check" target
1058 (modify-phases %standard-phases
1059 ;; no configure script
1061 (add-before 'install 'prepare-target-directory
1062 (lambda* (#:key outputs #:allow-other-keys)
1063 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1065 (add-after 'unpack 'override-target-directory
1066 (lambda* (#:key outputs #:allow-other-keys)
1067 (substitute* "Makefile"
1068 (("/usr") (assoc-ref outputs "out")))
1070 (home-page "https://kokkinizita.linuxaudio.org")
1071 (synopsis "LADSPA stereo width plugin")
1073 "This package provides a LADSPA plugin to manipulate the stereo width of
1075 (license license:gpl2+)))
1077 (define-public vco-plugins
1079 (name "vco-plugins")
1084 "http://kokkinizita.linuxaudio.org"
1085 "/linuxaudio/downloads/VCO-plugins-"
1086 version ".tar.bz2"))
1089 "1xzqdg3b07r7zww05y9bb737l9dxvfkv28m3fyak1aazaci3rsgl"))))
1090 (build-system gnu-build-system)
1092 `(#:tests? #f ; no "check" target
1094 (modify-phases %standard-phases
1095 ;; no configure script
1097 (add-before 'install 'prepare-target-directory
1098 (lambda* (#:key outputs #:allow-other-keys)
1099 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1101 (add-after 'unpack 'override-target-directory
1102 (lambda* (#:key outputs #:allow-other-keys)
1103 (substitute* "Makefile"
1104 (("/usr") (assoc-ref outputs "out"))
1105 (("/bin/cp") (which "cp")))
1107 (home-page "https://kokkinizita.linuxaudio.org")
1108 (synopsis "LADSPA plugin for synthesizer oscillators")
1110 "The @code{blvco} LADSPA plugin provides three anti-aliased oscillators:
1113 @item Pulse-VCO, a dirac pulse oscillator with flat amplitude spectrum
1114 @item Saw-VCO, a sawtooth oscillator with 1/F amplitude spectrum
1115 @item Rec-VCO, a square / rectangle oscillator
1118 All oscillators are low-pass filtered to provide waveforms similar to the
1119 output of analog synthesizers such as the Moog Voyager.")
1120 (license license:gpl2+)))
1122 (define-public wah-plugins
1124 (name "wah-plugins")
1129 "http://kokkinizita.linuxaudio.org"
1130 "/linuxaudio/downloads/WAH-plugins-"
1131 version ".tar.bz2"))
1134 "1wkbjarxdhjixkh7d5abralj11dj2xxg644fz3ycd7qyfgfvjfgd"))))
1135 (build-system gnu-build-system)
1137 `(#:tests? #f ; no "check" target
1139 (modify-phases %standard-phases
1140 ;; no configure script
1142 (add-before 'install 'prepare-target-directory
1143 (lambda* (#:key outputs #:allow-other-keys)
1144 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1146 (add-after 'unpack 'override-target-directory
1147 (lambda* (#:key outputs #:allow-other-keys)
1148 (substitute* "Makefile"
1149 (("/usr") (assoc-ref outputs "out")))
1151 (home-page "https://kokkinizita.linuxaudio.org")
1152 (synopsis "LADSPA Autowah effect plugin")
1154 "This package provides a LADSPA plugin for a Wah effect with envelope
1156 (license license:gpl2+)))
1158 (define-public g2reverb
1165 "http://kokkinizita.linuxaudio.org"
1166 "/linuxaudio/downloads/g2reverb-"
1167 version ".tar.bz2"))
1170 "18wb8vj1kky5glr76s34awbi8qzplsmf3wjbd7a12hfv4j0bkwrj"))))
1171 (build-system gnu-build-system)
1173 `(#:tests? #f ; no "check" target
1175 (modify-phases %standard-phases
1176 ;; no configure script
1178 (add-before 'install 'prepare-target-directory
1179 (lambda* (#:key outputs #:allow-other-keys)
1180 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1182 (add-after 'unpack 'override-target-directory
1183 (lambda* (#:key outputs #:allow-other-keys)
1184 (substitute* "Makefile"
1185 (("/usr") (assoc-ref outputs "out")))
1187 (home-page "https://kokkinizita.linuxaudio.org")
1188 (synopsis "LADSPA stereo reverb plugin")
1190 "This package provides a LADSPA plugin for a stereo reverb effect.")
1191 (license license:gpl2+)))
1193 (define-public fluidsynth
1200 (url "https://github.com/FluidSynth/fluidsynth.git")
1201 (commit (string-append "v" version))))
1202 (file-name (git-file-name name version))
1205 "0jhla1641rx77va4b6n4shn8srj87rpwvp170byj1bg8z8g89ji1"))))
1206 (build-system cmake-build-system)
1208 '(#:tests? #f ; no check target
1210 (modify-phases %standard-phases
1211 (add-after 'unpack 'fix-libdir
1213 ;; Install libraries to /lib, not /lib64.
1214 (substitute* "CMakeLists.txt"
1215 (("LIB_SUFFIX \\$\\{_init_lib_suffix\\}")
1219 `(("libsndfile" ,libsndfile)
1220 ("alsa-lib" ,alsa-lib)
1224 ("readline" ,readline)
1227 `(("pkg-config" ,pkg-config)))
1228 (home-page "http://www.fluidsynth.org/")
1229 (synopsis "SoundFont synthesizer")
1231 "FluidSynth is a real-time software synthesizer based on the SoundFont 2
1232 specifications. FluidSynth reads and handles MIDI events from the MIDI input
1233 device. It is the software analogue of a MIDI synthesizer. FluidSynth can
1234 also play midifiles using a Soundfont.")
1235 (license license:lgpl2.1+)))
1237 ;; gzdoom@3.3.0 and lmms@1.1.3 requires this version. Remove once no longer
1239 (define-public fluidsynth-1
1241 (inherit fluidsynth)
1244 (inherit (package-source fluidsynth))
1246 (url "https://github.com/FluidSynth/fluidsynth")
1247 (commit (string-append "v" version))))
1248 (file-name (git-file-name "fluidsynth" version))
1251 "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh"))))))
1253 (define-public faad2
1259 (uri (string-append "mirror://sourceforge/faac/faad2-src/faad2-"
1260 (version-major+minor version) ".0/"
1261 "faad2-" version ".tar.gz"))
1264 "089zqykqgmmysznvk0bi2pfvdqwclnn540d0zks83sv2pynpfjb5"))))
1265 (build-system gnu-build-system)
1266 (home-page "https://www.audiocoding.com/faad2.html")
1267 (synopsis "MPEG-4 and MPEG-2 AAC decoder")
1269 "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR,
1271 (license license:gpl2)))
1273 (define-public faust
1280 (url "https://github.com/grame-cncm/faust.git")
1281 (commit (string-append "v"
1282 (string-map (lambda (c)
1283 (if (char=? c #\.) #\- c))
1285 (file-name (string-append "faust-" version "-checkout"))
1288 "0qc6iwjd3i80jdyjc186c6ywipmjzl8wlsp4050pbr56q4rlkd4z"))))
1289 (build-system gnu-build-system)
1291 `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
1294 (modify-phases %standard-phases
1295 ;; no "configure" script
1297 ;; Files appear under $out/share/faust that are read-only. The
1298 ;; install phase tries to overwrite them and fails, so we change
1299 ;; the permissions first.
1300 (add-before 'install 'fix-permissions
1302 (for-each (lambda (file)
1304 (find-files "architecture/max-msp" ".*"))
1307 `(("unzip" ,unzip)))
1308 (home-page "http://faust.grame.fr/")
1309 (synopsis "Signal processing language")
1311 "Faust is a programming language for realtime audio signal processing.")
1312 (license license:gpl2+)))
1314 (define-public faust-2
1320 (uri (string-append "https://github.com/grame-cncm/faust/"
1321 "releases/download/" version
1322 "/faust-" version ".tar.gz"))
1325 "1yz5jnr76hh7rmxkpdi7gyrw1wp4gyqfpq8zyl97qdi5ga5gjznq"))))
1326 (build-system gnu-build-system)
1328 (substitute-keyword-arguments (package-arguments faust)
1329 ((#:make-flags flags)
1330 `(list (string-append "prefix=" (assoc-ref %outputs "out"))
1333 `(("llvm" ,llvm-3.8)
1336 ("ctags" ,emacs-minimal) ; for ctags
1337 ("pkg-config" ,pkg-config)))
1339 `(("libsndfile" ,libsndfile)
1340 ("libmicrohttpd" ,libmicrohttpd)
1341 ("ncurses" ,ncurses)
1342 ("openssl" ,openssl)
1345 (define-public freepats
1348 (version "20060219")
1351 (uri (string-append "http://freepats.zenvoid.org/freepats-"
1352 version ".tar.bz2"))
1355 "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82"))))
1356 (build-system trivial-build-system)
1358 `(#:modules ((guix build utils))
1360 (use-modules (guix build utils))
1361 (let ((out (string-append %output "/share/freepats")))
1362 (setenv "PATH" (string-append
1363 (assoc-ref %build-inputs "bzip2") "/bin:"
1364 (assoc-ref %build-inputs "tar") "/bin"))
1365 (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
1367 ;; Use absolute pattern references
1368 (substitute* "freepats.cfg"
1369 (("Tone_000") (string-append out "/Tone_000"))
1370 (("Drum_000") (string-append out "/Drum_000")))
1372 (copy-recursively "." out)
1377 (home-page "http://freepats.zenvoid.org")
1378 (synopsis "GUS compatible patches for MIDI players")
1380 "FreePats is a project to create a free and open set of GUS compatible
1381 patches that can be used with softsynths such as Timidity and WildMidi.")
1382 ;; GPLv2+ with exception for compositions using these patches.
1383 (license license:gpl2+)))
1385 (define-public guitarix
1392 "mirror://sourceforge/guitarix/guitarix/guitarix2-"
1396 "0bw7xnrx062nwb1bfj9x660h7069ncmz77szcs8icpqxrvhs7z80"))))
1397 (build-system waf-build-system)
1399 `(#:tests? #f ; no "check" target
1403 ;; Add the output lib directory to the RUNPATH.
1404 (string-append "--ldflags=-Wl,-rpath=" %output "/lib"))
1406 (modify-phases %standard-phases
1407 (add-after 'unpack 'fix-boost-includes
1409 (substitute* "src/headers/gx_internal_plugins.h"
1410 (("namespace gx_jack" m)
1411 (string-append "#include <boost/noncopyable.hpp>\n" m)))
1412 (substitute* '("src/headers/gx_system.h"
1413 "src/headers/gx_parameter.h"
1414 "src/headers/gx_json.h")
1415 (("namespace gx_system" m)
1416 (string-append "#include <boost/noncopyable.hpp>\n" m)))
1419 `(("libsndfile" ,libsndfile)
1432 ("zita-resampler" ,zita-resampler)
1433 ("zita-convolver" ,zita-convolver)))
1437 ("intltool" ,intltool)
1438 ("gettext" ,gettext-minimal)
1439 ("pkg-config" ,pkg-config)))
1440 (native-search-paths
1441 (list (search-path-specification
1442 (variable "LV2_PATH")
1443 (files '("lib/lv2")))))
1444 (home-page "http://guitarix.org/")
1445 (synopsis "Virtual guitar amplifier")
1446 (description "Guitarix is a virtual guitar amplifier running JACK.
1447 Guitarix takes the signal from your guitar as a mono-signal from your sound
1448 card. The input is processed by a main amp and a rack-section. Both can be
1449 routed separately and deliver a processed stereo-signal via JACK. You may
1450 fill the rack with effects from more than 25 built-in modules including stuff
1451 from a simple noise gate to modulation effects like flanger, phaser or
1453 (license license:gpl2+)))
1455 (define-public guitarix-lv2
1456 (package (inherit guitarix)
1457 (name "guitarix-lv2")
1459 (substitute-keyword-arguments (package-arguments guitarix)
1460 ((#:configure-flags flags)
1461 `(cons "--no-standalone" ,flags))))))
1463 (define-public rakarrack
1469 (uri (string-append "mirror://sourceforge/rakarrack/rakarrack/"
1470 "rakarrack-" version "/rakarrack-"
1471 version ".tar.bz2"))
1474 "1rpf63pdn54c4yg13k7cb1w1c7zsvl97c4qxcpz41c8l91xd55kn"))
1475 (modules '((guix build utils)))
1478 (substitute* '("src/process.C"
1480 (("#include <Fl/") "#include <FL/"))
1482 (build-system gnu-build-system)
1484 `(("alsa-utils" ,alsa-utils)
1487 ("libxext" ,libxext)
1488 ("libxfixes" ,libxfixes)
1490 ("libxrender" ,libxrender)
1492 ("fontconfig" ,fontconfig)
1493 ("freetype" ,freetype)
1495 ("alsa-lib" ,alsa-lib)
1496 ("libsndfile" ,libsndfile)
1497 ("libsamplerate" ,libsamplerate)
1499 (home-page "http://rakarrack.sourceforge.net/")
1500 (synopsis "Audio effects processor")
1502 "Rakarrack is a richly featured multi-effects processor emulating a
1503 guitar effects pedalboard. Effects include compressor, expander, noise gate,
1504 equalizers, exciter, flangers, chorus, various delay and reverb effects,
1505 distortion modules and many more. Most of the effects engine is built from
1506 modules found in the excellent software synthesizer ZynAddSubFX. Presets and
1507 user interface are optimized for guitar, but Rakarrack processes signals in
1508 stereo while it does not apply internal band-limiting filtering, and thus is
1509 well suited to all musical instruments and vocals.")
1510 ;; The code is explicitly licensed under the GPL version 2 only.
1511 (license license:gpl2)))
1520 (url "https://github.com/tomszilagyi/ir.lv2")
1522 (file-name (git-file-name name version))
1525 "0svmjhg4r6wy5ci5rwz43ybll7yxjv7nnj7nyqscbzhr3gi5aib0"))))
1526 (build-system gnu-build-system)
1528 `(#:tests? #f ; no tests
1530 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
1531 (string-append "INSTDIR="
1532 (assoc-ref %outputs "out") "/lib/lv2"))
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 (home-page "https://tomszilagyi.github.io/plugins/ir.lv2")
1549 (synopsis "LV2 convolution reverb")
1551 "IR is a low-latency, real-time, high performance signal convolver
1552 especially for creating reverb effects. It supports impulse responses with 1,
1553 2 or 4 channels, in any soundfile format supported by libsndfile.")
1554 (license license:gpl2+)))
1556 (define-public jack-1
1563 "http://jackaudio.org/downloads/jack-audio-connection-kit-"
1568 "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"))))
1569 (build-system gnu-build-system)
1571 `(#:phases (modify-phases %standard-phases
1572 (add-after 'unpack 'patch-configure
1574 (substitute* "configure"
1575 ;; Install to <out/lib> regardless of platform.
1576 (("libnn=lib64") "libnn=lib"))
1579 `(("alsa-lib" ,alsa-lib)
1580 ("readline" ,readline)))
1581 ;; uuid.h is included in the JACK type headers
1582 ;; db.h is included in the libjack metadata headers
1584 `(("libuuid" ,util-linux)
1587 `(("pkg-config" ,pkg-config)))
1588 (home-page "http://jackaudio.org/")
1589 (synopsis "JACK audio connection kit")
1591 "JACK is a low-latency audio server. It can connect a number of
1592 different applications to an audio device, as well as allowing them to share
1593 audio between themselves. JACK is different from other audio server efforts
1594 in that it has been designed from the ground up to be suitable for
1595 professional audio work. This means that it focuses on two key areas:
1596 synchronous execution of all clients, and low latency operation.")
1597 ;; Most files are licensed under the GPL. However, the libjack/ tree is
1598 ;; licensed under the LGPL in order to allow for proprietary usage.
1599 (license (list license:gpl2+ license:lgpl2.1+))))
1601 ;; Packages depending on JACK should always prefer jack-1. Both jack-1 and
1602 ;; jack-2 implement the same API. JACK2 is provided primarily as a client
1603 ;; program for users who might benefit from the D-BUS features.
1604 (define-public jack-2
1605 (package (inherit jack-1)
1610 (uri (string-append "https://github.com/jackaudio/jack2/releases/"
1611 "download/v" version "/jack2-"
1613 (file-name (string-append name "-" version ".tar.gz"))
1616 "1d1d403jn4366mqig6g8ghr8057b3rn7gs26b5p3rkal34j20qw2"))))
1617 (build-system waf-build-system)
1619 `(#:tests? #f ; no check target
1620 #:configure-flags '("--dbus"
1623 (modify-phases %standard-phases
1624 (add-before 'configure 'set-linkflags
1626 ;; Add $libdir to the RUNPATH of all the binaries.
1627 (substitute* "wscript"
1628 ((".*CFLAGS.*-Wall.*" m)
1630 " conf.env.append_unique('LINKFLAGS',"
1631 "'-Wl,-rpath=" %output "/lib')\n")))
1633 (add-after 'install 'wrap-python-scripts
1634 (lambda* (#:key inputs outputs #:allow-other-keys)
1635 ;; Make sure 'jack_control' runs with the correct PYTHONPATH.
1636 (let* ((out (assoc-ref outputs "out"))
1637 (path (getenv "PYTHONPATH")))
1638 (wrap-program (string-append out "/bin/jack_control")
1639 `("PYTHONPATH" ":" prefix (,path))))
1642 `(("alsa-lib" ,alsa-lib)
1645 ("libsamplerate" ,libsamplerate)
1647 ("python-dbus" ,python-dbus)
1648 ("readline" ,readline)))
1650 `(("pkg-config" ,pkg-config)))
1651 ;; Most files are under GPLv2+, but some headers are under LGPLv2.1+
1652 (license (list license:gpl2+ license:lgpl2.1+))))
1660 (uri (string-append "https://download.drobilla.net/jalv-"
1661 version ".tar.bz2"))
1664 "1wwfn7yzbs37s2rdlfjgks63svd5g14yyzd2gdl7h0z12qncwsy2"))))
1665 (build-system waf-build-system)
1667 `(#:tests? #f ; no check target
1668 #:python ,python-2))
1679 `(("pkg-config" ,pkg-config)))
1680 (home-page "https://drobilla.net/software/jalv/")
1681 (synopsis "Simple LV2 host for JACK")
1683 "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2
1684 plugins and exposes their ports as JACK ports, essentially making any LV2
1685 plugin function as a JACK application.")
1686 (license license:isc)))
1688 (define-public ladspa
1695 ;; Since the official link is dead,
1696 ;; we download the tarball from Debian or Internet Archive.
1697 (uri (list (string-append "http://http.debian.net"
1698 "/debian/pool/main/l/ladspa-sdk/ladspa-sdk_"
1699 version ".orig.tar.gz")
1700 (string-append "https://web.archive.org/web/20140717172251/"
1701 "http://www.ladspa.org/download/ladspa_sdk_"
1705 "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
1706 (build-system gnu-build-system)
1708 `(#:tests? #f ; the "test" target is a listening test only
1710 (modify-phases %standard-phases
1712 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
1714 (let ((out (assoc-ref outputs "out")))
1715 (substitute* "makefile"
1716 (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/"))
1717 (("/usr/include/") (string-append out "/include/"))
1718 (("/usr/bin/") (string-append out "/bin/"))
1719 (("-mkdirhier") "mkdir -p")
1720 (("^CC.*") "CC = gcc\n")
1721 (("^CPP.*") "CPP = g++\n")))
1724 ;; Since the home page is gone, we provide a link to the archived version.
1726 "https://web.archive.org/web/20140729190945/http://www.ladspa.org/")
1727 (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)")
1729 "LADSPA is a standard that allows software audio processors and effects
1730 to be plugged into a wide range of audio synthesis and recording packages.")
1731 (license license:lgpl2.1+)))
1736 (version "0.6.0-rc2")
1739 ;; The tilde is not permitted in the builder name, but is used
1742 "mirror://savannah/lash/lash-"
1743 (string-join (string-split version #\-) "~")
1745 (file-name (string-append name "-" version ".tar.bz2"))
1748 "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw"))))
1749 (build-system gnu-build-system)
1751 '(;; Glibc no longer includes Sun RPC support, so tell the build system
1752 ;; to use libtirpc instead.
1753 #:make-flags (list (string-append "CFLAGS=-I"
1754 (assoc-ref %build-inputs "libtirpc")
1755 "/include/tirpc -ltirpc"))
1757 (modify-phases %standard-phases
1758 ;; lashd embeds an ancient version of sigsegv so we just skip it
1759 (add-after 'unpack 'skip-lashd
1761 (substitute* '("Makefile.am" "Makefile.in")
1764 #:configure-flags '("--disable-static")))
1769 ("libtirpc" ,libtirpc)
1770 ("readline" ,readline)
1771 ("python" ,python-2)))
1772 ;; According to pkg-config, packages depending on lash also need to have
1773 ;; at least the following packages declared as inputs.
1775 `(("alsa-lib" ,alsa-lib)
1777 ("libxml2" ,libxml2)))
1779 `(("pkg-config" ,pkg-config)))
1780 (home-page "https://www.nongnu.org/lash/")
1781 (synopsis "Audio application session manager")
1783 "LASH is a session management system for audio applications. It allows
1784 you to save and restore audio sessions consisting of multiple interconneced
1785 applications, restoring program state (i.e. loaded patches) and the
1786 connections between them.")
1787 (license license:gpl2+)))
1789 (define-public libbs2b
1795 (uri (string-append "mirror://sourceforge/bs2b/libbs2b/" version
1796 "/libbs2b-" version ".tar.lzma"))
1799 "1mcc4gjkmphczjybnsrip3gq1f974knzys7x49bv197xk3fn8wdr"))))
1800 (build-system gnu-build-system)
1801 (native-inputs `(("pkg-config" ,pkg-config)))
1802 (inputs `(("libsndfile" ,libsndfile)))
1803 (home-page "https://sourceforge.net/projects/bs2b/")
1804 (synopsis "Bauer stereophonic-to-binaural DSP")
1806 "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is
1807 designed to improve headphone listening of stereo audio records. Recommended
1808 for headphone prolonged listening to disable superstereo fatigue without
1809 essential distortions.")
1810 (license license:expat)))
1812 (define-public liblo
1818 (uri (string-append "mirror://sourceforge/liblo/liblo/" version
1819 "/liblo-" version ".tar.gz"))
1822 "06wdjzxjdshr6hyl4c94yvg3jixiylap8yjs8brdfpm297gck9rh"))))
1823 (build-system gnu-build-system)
1825 `(;; liblo test FAILED
1826 ;; liblo server error 19 in setsockopt(IP_ADD_MEMBERSHIP): No such device
1828 (home-page "http://liblo.sourceforge.net")
1829 (synopsis "Implementation of the Open Sound Control protocol")
1831 "liblo is a lightweight library that provides an easy to use
1832 implementation of the Open Sound Control (@dfn{OSC}) protocol.")
1833 (license license:lgpl2.1+)))
1835 (define-public python-pyaudio
1837 (name "python-pyaudio")
1842 (uri (pypi-uri "PyAudio" version))
1845 "0x7vdsigm7xgvyg3shd3lj113m8zqj2pxmrgdyj66kmnw0qdxgwk"))))
1846 (build-system python-build-system)
1848 `(("portaudio" ,portaudio)))
1849 (home-page "https://people.csail.mit.edu/hubert/pyaudio/")
1850 (synopsis "Bindings for PortAudio v19")
1851 (description "This package provides bindings for PortAudio v19, the
1852 cross-platform audio input/output stream library.")
1853 (license license:expat)))
1855 (define-public python2-pyaudio
1856 (package-with-python2 python-pyaudio))
1858 (define-public python-pyliblo
1860 (name "python-pyliblo")
1864 (uri (string-append "http://das.nasophon.de/download/pyliblo-"
1868 "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw"))))
1869 (build-system python-build-system)
1870 (arguments `(#:tests? #f)) ;no tests
1872 `(("python-cython" ,python-cython)))
1874 `(("liblo" ,liblo)))
1875 (home-page "http://das.nasophon.de/pyliblo/")
1876 (synopsis "Python bindings for liblo")
1878 "Pyliblo is a Python wrapper for the liblo Open Sound Control (OSC)
1879 library. It supports almost the complete functionality of liblo, allowing you
1880 to send and receive OSC messages using a nice and simple Python API. Also
1881 included are the command line utilities @code{send_osc} and @code{dump_osc}.")
1882 (license license:lgpl2.1+)))
1884 (define-public python2-pyliblo
1885 (package-with-python2 python-pyliblo))
1893 (uri (string-append "https://download.drobilla.net/lilv-"
1894 version ".tar.bz2"))
1897 "1p3hafsxgs5d4za7n66lf5nz74qssfqpmk520cm7iq2njvvlqm2z"))))
1898 (build-system waf-build-system)
1900 `(#:tests? #f ; no check target
1902 (modify-phases %standard-phases
1903 (add-before 'configure 'set-ldflags
1904 (lambda* (#:key outputs #:allow-other-keys)
1906 (string-append "-Wl,-rpath="
1907 (assoc-ref outputs "out") "/lib"))
1909 (add-after 'unpack 'full-store-path-to-shared-library
1910 (lambda* (#:key outputs #:allow-other-keys)
1911 (with-directory-excursion "bindings/python"
1912 (substitute* "lilv.py"
1913 (("liblilv-0.so") (string-append (assoc-ref outputs "out")
1914 "/lib/liblilv-0.so"))))
1916 ;; Required by lilv-0.pc.
1921 ("sratom" ,sratom)))
1923 `(("python" ,python)
1924 ("pkg-config" ,pkg-config)))
1925 (home-page "https://drobilla.net/software/lilv")
1926 (synopsis "Library to simplify use of LV2 plugins in applications")
1928 "Lilv is a C library to make the use of LV2 plugins as simple as possible
1929 for applications. Lilv is the successor to SLV2, rewritten to be
1930 significantly faster and have minimal dependencies.")
1931 (license license:isc)))
1939 (uri (string-append "http://lv2plug.in/spec/lv2-"
1940 version ".tar.bz2"))
1943 "1ppippbpdpv13ibs06b0bixnazwfhiw0d0ja6hx42jnkgdyp5hyy"))))
1944 (build-system waf-build-system)
1946 `(#:tests? #f ; no check target
1947 #:configure-flags '("--no-plugins")))
1949 ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
1950 `(("libsndfile" ,libsndfile)))
1952 `(("pkg-config" ,pkg-config)))
1953 (home-page "http://lv2plug.in/")
1954 (synopsis "LV2 audio plugin specification")
1956 "LV2 is an open specification for audio plugins and host applications.
1957 At its core, LV2 is a simple stable interface, accompanied by extensions which
1958 add functionality to support the needs of increasingly powerful audio
1960 (license license:isc)))
1962 (define-public lv2-mda-piano
1964 (name "lv2-mda-piano")
1969 (url "http://git.elephly.net/software/lv2-mdametapiano.git")
1971 (file-name (git-file-name name version))
1974 "07lywf6lpfpndg3i9w752mmlg2hgn1bwp23h8b0mdj6awh67abqd"))))
1975 (build-system gnu-build-system)
1977 `(#:make-flags (list
1979 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1980 #:tests? #f ; no check target
1981 #:phases (modify-phases %standard-phases (delete 'configure))))
1986 `(("pkg-config" ,pkg-config)))
1987 (native-search-paths
1988 (list (search-path-specification
1989 (variable "LV2_PATH")
1990 (files '("lib/lv2")))))
1991 (home-page "http://elephly.net/lv2/mdapiano.html")
1992 (synopsis "LV2 port of the mda Piano plugin")
1993 (description "An LV2 port of the mda Piano VSTi.")
1994 (license license:gpl3+)))
1996 (define-public lv2-mda-epiano
1997 (package (inherit lv2-mda-piano)
1998 (name "lv2-mda-epiano")
2000 `(#:make-flags (list
2002 (string-append "PREFIX=" (assoc-ref %outputs "out")))
2003 #:tests? #f ; no check target
2004 #:phases (modify-phases %standard-phases (delete 'configure))))
2005 (home-page "http://elephly.net/lv2/mdaepiano.html")
2006 (synopsis "LV2 port of the mda EPiano plugin")
2007 (description "An LV2 port of the mda EPiano VSTi.")))
2016 (url "https://github.com/lvtk/lvtk.git")
2018 (file-name (git-file-name name version))
2021 "1b01zvzl70ana6l1kn8fgyr7msnn3c7x61cgw7fdpp50322352p8"))))
2022 (build-system waf-build-system)
2024 `(#:tests? #f ; no check target
2027 (list (string-append "--boost-includes="
2028 (assoc-ref %build-inputs "boost")
2035 `(("pkg-config" ,pkg-config)))
2036 (home-page "https://github.com/lvtk/lvtk")
2037 (synopsis "C++ libraries for LV2 plugins")
2039 "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and
2040 extensions into easy to use C++ classes. It is the successor of
2042 (license license:gpl3+)))
2044 (define-public openal
2051 "https://openal-soft.org/openal-releases/openal-soft-"
2052 version ".tar.bz2"))
2055 "0vax0b1lgd4212bpxa1rciz52d4mv3dkfvcbbhzw4cjp698v1kmn"))))
2056 (build-system cmake-build-system)
2058 `(#:tests? #f ; no check target
2060 (modify-phases %standard-phases
2062 'unpack 'use-full-library-paths
2063 (lambda* (#:key inputs #:allow-other-keys)
2064 (substitute* "alc/backends/pulseaudio.cpp"
2065 (("#define PALIB \"libpulse\\.so\\.0\"")
2066 (string-append "#define PALIB \""
2067 (assoc-ref inputs "pulseaudio")
2068 "/lib/libpulse.so.0"
2070 (substitute* "alc/backends/alsa.cpp"
2071 (("LoadLib\\(\"libasound\\.so\\.2\"\\)")
2072 (string-append "LoadLib(\""
2073 (assoc-ref inputs "alsa-lib")
2074 "/lib/libasound.so.2"
2078 `(("alsa-lib" ,alsa-lib)
2079 ("pulseaudio" ,pulseaudio)))
2080 (synopsis "3D audio API")
2082 "OpenAL provides capabilities for playing audio in a virtual 3D
2083 environment. Distance attenuation, doppler shift, and directional sound
2084 emitters are among the features handled by the API. More advanced effects,
2085 including air absorption, occlusion, and environmental reverb, are available
2086 through the EFX extension. It also facilitates streaming audio, multi-channel
2087 buffers, and audio capture.")
2088 (home-page "https://openal-soft.org/")
2089 (license license:lgpl2.0+)))
2091 (define-public freealut
2097 ;; Upstream url is unclear, many systems use Fedora, there is also
2098 ;; https://github.com/vancegroup/freealut though the status of it
2099 ;; (official? unofficial?) is not clear.
2101 "https://pkgs.fedoraproject.org/repo/pkgs/" name "/" name "-"
2102 version ".tar.gz" "/e089b28a0267faabdb6c079ee173664a/" name
2103 "-" version ".tar.gz"))
2106 "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0"))))
2107 (build-system cmake-build-system)
2109 `(#:tests? #f)) ; no check target
2111 `(("openal" ,openal)))
2112 (synopsis "Free implementation of OpenAL's ALUT standard")
2113 (description "freealut is the OpenAL Utility Toolkit.")
2114 (home-page "http://kcat.strangesoft.net/openal.html")
2115 (license license:lgpl2.0)))
2117 (define-public patchage
2123 (uri (string-append "https://download.drobilla.net/patchage-"
2128 "1agdpwwi42176l4mxj0c4fsvdiv1ig56bfnnx0msckxmy57df8bb"))))
2129 (build-system waf-build-system)
2131 `(#:tests? #f ; no check target
2132 #:python ,python-2))
2134 `(("alsa-lib" ,alsa-lib)
2140 ("dbus-glib" ,dbus-glib)))
2142 `(("pkg-config" ,pkg-config)))
2143 (home-page "https://drobilla.net/software/patchage/")
2144 (synopsis "Modular patch bay for audio and MIDI systems")
2146 "Patchage is a modular patch bay for audio and MIDI systems based on JACK
2148 (license license:gpl3+)))
2150 (define-public pcaudiolib
2154 (home-page "https://github.com/espeak-ng/pcaudiolib")
2157 (uri (git-reference (url home-page) (commit version)))
2158 (file-name (git-file-name name version))
2161 "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0"))))
2162 (build-system gnu-build-system)
2164 `(#:configure-flags '("--disable-static")))
2166 `(("autoconf" ,autoconf)
2167 ("automake" ,automake)
2168 ("libtool" ,libtool)
2169 ("pkg-config" ,pkg-config)
2172 `(("alsa-lib" ,alsa-lib)
2173 ("pulseaudio" ,pulseaudio)))
2174 (synopsis "Portable C audio library")
2176 "The Portable C Audio Library (pcaudiolib) provides a C@tie{}API to
2177 different audio devices such as ALSA or PulseAudio.")
2178 (license (list license:gpl3+
2179 ;; The bundled TPCircularBuffer uses a custom license.
2180 (license:non-copyleft
2181 "file://src/TPCircularBuffer/README.markdown")))))
2183 (define-public qjackctl
2189 (uri (string-append "mirror://sourceforge/qjackctl/qjackctl/"
2190 version "/qjackctl-" version ".tar.gz"))
2193 "1saywsda9m124rmjp7i3n0llryaliabjxhqhvqr6dm983qy7pypk"))))
2194 (build-system gnu-build-system)
2196 '(#:tests? #f)) ; no check target
2199 ("alsa-lib" ,alsa-lib)
2201 ("qtx11extras" ,qtx11extras)))
2203 `(("pkg-config" ,pkg-config)
2204 ("qttools" ,qttools)))
2205 (home-page "https://qjackctl.sourceforge.io/")
2206 (synopsis "Jack server control application")
2207 (description "Control a Jack server. Allows you to plug various sources
2208 into various outputs and to start, stop and configure jackd")
2209 (license license:gpl2+)))
2211 (define-public qjackrcd
2218 (url "https://github.com/orouits/qjackrcd.git")
2219 (commit (string-append "v" version))))
2220 (file-name (git-file-name name version))
2223 "1l5iq2mkqd4gn9yr8xbh9qlpp1clcflazychl4vhdbz0bzq4c6al"))))
2224 (build-system gnu-build-system)
2227 (modify-phases %standard-phases
2229 (lambda* (#:key outputs #:allow-other-keys)
2231 (string-append "PREFIX="
2232 (assoc-ref outputs "out"))))))))
2234 `(("qtbase" ,qtbase))) ; for qmake
2237 ("libsndfile" ,libsndfile)
2238 ("qtbase" ,qtbase)))
2239 (home-page "https://sourceforge.net/projects/qjackrcd/")
2240 (synopsis "Stereo audio recorder for JACK")
2241 (description "QJackRcd is a simple graphical stereo recorder for JACK
2242 supporting silence processing for automatic pause, file splitting, and
2243 background file post-processing.")
2244 (license license:gpl2+)))
2246 (define-public supercollider
2248 (name "supercollider")
2253 "https://github.com/supercollider/supercollider"
2254 "/releases/download/Version-" version
2255 "/SuperCollider-" version "-Source-linux.tar.bz2"))
2258 "0x11g3pfw11m6v18qfpfl5w99dbmf73g4z7wvwhrj1a4qv2dn084"))))
2259 (build-system cmake-build-system)
2261 `(#:configure-flags '("-DSYSTEM_BOOST=on" "-DSYSTEM_YAMLCPP=on"
2263 "-DSC_EL=off") ;scel is packaged individually as
2265 #:modules ((guix build utils)
2266 (guix build cmake-build-system)
2269 (modify-phases %standard-phases
2270 (add-after 'unpack 'rm-bundled-libs
2272 ;; The build system doesn't allow us to unbundle the following
2273 ;; libraries. hidapi is also heavily patched.
2274 (let ((keep-dirs '("nova-simd" "nova-tt" "hidapi" "TLSF-2.4.6"
2275 "oscpack_1_1_0" "." "..")))
2276 (with-directory-excursion "./external_libraries"
2278 delete-file-recursively
2281 (and (eq? (stat:type (stat x)) 'directory)
2282 (not (member (basename x) keep-dirs))))))))
2284 ;; Some tests are broken (see:
2285 ;; https://github.com/supercollider/supercollider/issues/3555 and
2286 ;; https://github.com/supercollider/supercollider/issues/1736
2287 (add-after 'rm-bundled-libs 'disable-broken-tests
2289 (substitute* "testsuite/server/supernova/CMakeLists.txt"
2290 (("server_test.cpp")
2292 (("perf_counter_test.cpp")
2294 (delete-file "testsuite/server/supernova/server_test.cpp")
2295 (delete-file "testsuite/server/supernova/perf_counter_test.cpp")
2296 (substitute* "testsuite/CMakeLists.txt"
2297 (("add_subdirectory\\(sclang\\)")
2299 (delete-file "testsuite/sclang/CMakeLists.txt")
2302 `(("pkg-config" ,pkg-config)))
2305 ("libsndfile" ,libsndfile)
2308 ("readline" ,readline) ;readline support for sclang's CLI
2309 ("alsa" ,alsa-lib) ;for sclang's MIDI interface
2310 ("eudev" ,eudev) ;for user interactions with devices
2311 ("avahi" ,avahi) ;zeroconf service discovery support
2314 ("boost-sync" ,boost-sync)
2315 ("yaml-cpp" ,yaml-cpp)))
2316 (home-page "https://github.com/supercollider/supercollider")
2317 (synopsis "Synthesis engine and programming language")
2318 (description "SuperCollider is a synthesis engine (@code{scsynth} or
2319 @code{supernova}) and programming language (@code{sclang}). It can be used
2320 for experimenting with sound synthesis and algorithmic composition.
2322 SuperCollider requires jackd to be installed in your user profile and your
2323 user must be allowed to access the realtime features of the kernel. Search
2324 for \"realtime\" in the index of the Guix manual to learn how to achieve this
2325 using Guix System.")
2326 (license license:gpl2+)))
2334 (uri (string-append "https://download.drobilla.net/raul-"
2335 version ".tar.bz2"))
2338 "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b"))))
2339 (build-system waf-build-system)
2341 `(#:python ,python-2
2342 #:tests? #f)) ; no check target
2347 `(("pkg-config" ,pkg-config)))
2348 (home-page "https://drobilla.net/software/raul/")
2349 (synopsis "Real-time audio utility library")
2351 "Raul (Real-time Audio Utility Library) is a C++ utility library primarily
2352 aimed at audio/musical applications.")
2353 (license license:gpl2+)))
2355 (define-public raul-devel
2356 (let ((commit "4db870b2b20b0a608ec0283139056b836c5b1624")
2358 (package (inherit raul)
2360 (version (string-append "0.8.9-" revision "."
2361 (string-take commit 9)))
2365 (url "https://git.drobilla.net/raul.git")
2367 (file-name (string-append name "-" version "-checkout"))
2370 "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr")))))))
2372 (define-public resample
2378 (uri (string-append "https://ccrma.stanford.edu/~jos/gz/resample-"
2382 "074zj8ydp05yy1hjcglfv3hkvj4cm50f9nralka1992pm6yf8yvy"))))
2383 (build-system gnu-build-system)
2385 `(("autoconf" ,autoconf)
2386 ("automake" ,automake)
2387 ("pkg-config" ,pkg-config)
2388 ("libtool" ,libtool)))
2389 (synopsis "Real-time library for sampling rate conversion")
2390 (description "The @command{resample} software package contains free
2391 sampling-rate conversion and filter design utilities.")
2392 (home-page "https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html")
2393 (license license:lgpl2.1+)))
2395 (define-public rubberband
2402 (string-append "https://bitbucket.org/breakfastquay/rubberband/get/v"
2405 (file-name (string-append name "-" version ".tar.bz2"))
2408 "0462fmjnfqpv2qi0s6ny42drqarkr0xy9lw8frjmfgzyzl5n9294"))))
2409 (build-system gnu-build-system)
2411 `(#:tests? #f ; no check target
2413 (modify-phases %standard-phases
2414 (add-after 'unpack 'skip-jni-installation
2415 ;; ‘make install’ unconditionally installs librubberband-jni.so,
2416 ;; which is never built by ‘make all’. Skip it.
2418 (substitute* "Makefile.in"
2419 ((".*cp -f \\$\\(JNI_TARGET\\).*") ""))
2422 `(("ladspa" ,ladspa)
2423 ("libsamplerate" ,libsamplerate)
2426 `(("pkg-config" ,pkg-config)))
2427 (home-page "https://breakfastquay.com/rubberband/")
2428 (synopsis "Audio time-stretching and pitch-shifting library")
2430 "Rubber Band is a library and utility program that permits changing the
2431 tempo and pitch of an audio recording independently of one another.")
2432 (license license:gpl2+)))
2434 (define-public rtmidi
2440 (uri (string-append "https://www.music.mcgill.ca/~gary/rtmidi"
2441 "/release/rtmidi-" version ".tar.gz"))
2442 (file-name (string-append "rtmidi-" version ".tar.gz"))
2445 "1k962ljpnwyjw9jjiky2372khhri1wqvrj5qsalfpys31xqzw31p"))))
2446 (build-system gnu-build-system)
2449 (modify-phases %standard-phases
2450 (add-before 'bootstrap 'noconfigure
2452 (setenv "NOCONFIGURE" "yes")
2456 ("alsa-lib" ,alsa-lib)))
2458 `(("autoconf" ,autoconf)
2459 ("automake" ,automake)
2460 ("libtool" ,libtool)
2461 ("pkg-config" ,pkg-config)))
2462 (home-page "https://www.music.mcgill.ca/~gary/rtmidi")
2463 (synopsis "Cross-platform MIDI library for C++")
2465 "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
2466 classes) that provide a common cross-platform API for realtime MIDI
2468 (license license:expat)))
2470 (define-public sratom
2476 (uri (string-append "https://download.drobilla.net/sratom-"
2477 version ".tar.bz2"))
2480 "0vh0biy3ngpzzgdml309c2mqz8xq9q0hlblczb4c6alhp0a8yv0l"))))
2481 (build-system waf-build-system)
2482 (arguments `(#:tests? #f)) ;no check target
2484 ;; In Requires of sratom-0.pc.
2489 `(("pkg-config" ,pkg-config)))
2490 (home-page "https://drobilla.net/software/sratom/")
2491 (synopsis "Library for serialising LV2 atoms to/from RDF")
2493 "Sratom is a library for serialising LV2 atoms to/from RDF, particularly
2494 the Turtle syntax.")
2495 (license license:isc)))
2503 (uri (string-append "https://download.drobilla.net/suil-"
2504 version ".tar.bz2"))
2507 "0z4v01pjw4wh65x38w6icn28wdwxz13ayl8hvn4p1g9kmamp1z06"))))
2508 (build-system waf-build-system)
2510 `(#:tests? #f)) ;no check target
2517 `(("pkg-config" ,pkg-config)))
2518 (home-page "https://drobilla.net/software/suil/")
2519 (synopsis "Library for loading and wrapping LV2 plugin UIs")
2521 "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
2523 Suil makes it possible to load a UI of a toolkit in a host using another
2524 toolkit. The API is designed such that hosts do not need to explicitly
2525 support specific toolkits – if Suil supports a particular toolkit, then UIs in
2526 that toolkit will work in all hosts that use Suil automatically.
2528 Suil currently supports every combination of Gtk, Qt, and X11.")
2529 (license license:isc)))
2531 (define-public timidity++
2537 (uri (string-append "mirror://sourceforge/timidity/TiMidity++"
2538 "/TiMidity++-" version
2539 "/TiMidity++-" version ".tar.bz2"))
2542 "0xk41w4qbk23z1fvqdyfblbz10mmxsllw0svxzjw5sa9y11vczzr"))))
2543 (build-system gnu-build-system)
2546 (list "--enable-audio=alsa,flac,jack,ao,vorbis,speex"
2550 (string-append "--with-default-path="
2551 (assoc-ref %outputs "out") "/etc/timidity"))
2553 (modify-phases %standard-phases
2554 (add-after 'install 'install-config
2556 (let ((out (string-append (assoc-ref %outputs "out")
2559 (call-with-output-file
2560 (string-append out "/timidity.cfg")
2562 (format port (string-append "source "
2563 (assoc-ref %build-inputs "freepats")
2564 "/share/freepats/freepats.cfg")))))
2567 `(("alsa-lib" ,alsa-lib)
2572 ("libvorbis" ,libvorbis)
2574 ("ncurses" ,ncurses)
2575 ("freepats" ,freepats)))
2577 `(("pkg-config" ,pkg-config)))
2578 (home-page "http://timidity.sourceforge.net/")
2579 (synopsis "Software synthesizer for playing MIDI files")
2581 "TiMidity++ is a software synthesizer. It can play MIDI files by
2582 converting them into PCM waveform data; give it a MIDI data along with digital
2583 instrument data files, then it synthesizes them in real-time, and plays. It
2584 can not only play sounds, but also can save the generated waveforms into hard
2585 disks as various audio file formats.")
2586 (license license:gpl2+)))
2595 "https://code.soundsoftware.ac.uk"
2596 "/attachments/download/1520/vamp-plugin-sdk-"
2600 "0pzq0yy2kdl3jgfc2aqmh5m55nk1ild0hq8mydiiw35c6y0mglyh"))))
2601 (build-system gnu-build-system)
2603 `(#:tests? #f ; no check target
2605 (modify-phases %standard-phases
2606 (add-after 'install 'remove-libvamp-hostsdk.la
2607 (lambda* (#:key outputs #:allow-other-keys)
2608 ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656
2609 (for-each delete-file
2610 (let ((out (assoc-ref outputs "out")))
2611 (list (string-append out "/lib/libvamp-sdk.la")
2612 (string-append out "/lib/libvamp-hostsdk.la"))))
2615 `(("libsndfile" ,libsndfile)))
2617 `(("pkg-config" ,pkg-config)))
2618 (home-page "https://vamp-plugins.org")
2619 (synopsis "Modular and extensible audio processing system")
2621 "Vamp is an audio processing plugin system for plugins that extract
2622 descriptive information from audio data — typically referred to as audio
2623 analysis plugins or audio feature extraction plugins.")
2626 "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING"))))
2628 (define-public libsbsms
2635 (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version
2636 "/libsbsms-" version ".tar.gz"))
2638 (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf"))))
2639 (build-system gnu-build-system)
2640 (native-inputs `(("automake" ,automake)))
2643 ;; Disable the use of SSE unless on x86_64.
2644 ,(if (not (string-prefix? "x86_64" (or (%current-target-system)
2645 (%current-system))))
2649 (modify-phases %standard-phases
2651 'unpack 'fix-ar-lib-path
2652 (lambda* (#:key inputs #:allow-other-keys)
2653 ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
2654 (delete-file "ar-lib")
2656 (string-append (assoc-ref inputs "automake") "/share/automake-"
2657 ,(package-version automake) "/ar-lib")
2660 (home-page "http://sbsms.sourceforge.net/")
2661 (synopsis "Library for time stretching and pitch scaling of audio")
2663 "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time
2664 stretching and pitch scaling of audio. This package contains the library.")
2665 ;; There is no explicit declaration of a license, but a COPYING file
2667 (license license:gpl2)))
2669 (define-public wavpack
2675 (uri (string-append "http://www.wavpack.com/"
2676 "wavpack-" version ".tar.xz"))
2679 "1qvpvfx30kvrkw7y1g6r8xj109wszg1z0qmkfm17wf3flb7v3rbp"))))
2680 (build-system gnu-build-system)
2682 '(#:configure-flags '("--disable-static")))
2683 (home-page "http://www.wavpack.com/")
2684 (synopsis "Hybrid lossless audio codec")
2686 "WavPack is an audio compression format with lossless, lossy and hybrid
2687 compression modes. This package contains command-line programs and library to
2688 encode and decode wavpack files.")
2689 (license license:bsd-3)))
2691 (define-public libmodplug
2698 "mirror://sourceforge/modplug-xmms/"
2699 name "/" version "/" name "-" version ".tar.gz"))
2702 "1pnri98a603xk47smnxr551svbmgbzcw018mq1k6srbrq6kaaz25"))))
2703 (build-system gnu-build-system)
2704 (home-page "http://modplug-xmms.sourceforge.net/")
2705 (synopsis "Mod file playing library")
2707 "Libmodplug renders mod music files as raw audio data, for playing or
2708 conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are
2709 supported. Optional features include high-quality resampling, bass expansion,
2710 surround and reverb.")
2711 (license license:public-domain)))
2713 (define-public libxmp
2719 (uri (string-append "mirror://sourceforge/xmp/libxmp/" version "/"
2720 name "-" version ".tar.gz"))
2723 "1kycz4jsyvmf7ny9227b497wc7y5ligydi6fvvldmkf8hk63ad9m"))))
2724 (build-system gnu-build-system)
2725 (home-page "http://xmp.sourceforge.net/")
2726 (synopsis "Module player library")
2728 "Libxmp is a library that renders module files to PCM data. It supports
2729 over 90 mainstream and obscure module formats including Protracker (MOD),
2730 Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).")
2731 (license license:lgpl2.1+)))
2739 (uri (string-append "mirror://sourceforge/xmp/xmp/" version "/"
2740 name "-" version ".tar.gz"))
2743 "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x"))))
2744 (build-system gnu-build-system)
2746 `(("pkg-config" ,pkg-config)))
2748 `(("libxmp" ,libxmp)
2749 ("pulseaudio" ,pulseaudio)))
2750 (home-page "http://xmp.sourceforge.net/")
2751 (synopsis "Extended module player")
2753 "Xmp is a portable module player that plays over 90 mainstream and
2754 obscure module formats, including Protracker MOD, Fasttracker II XM, Scream
2755 Tracker 3 S3M and Impulse Tracker IT files.")
2756 (license license:gpl2+)))
2758 (define-public soundtouch
2766 (url "https://gitlab.com/soundtouch/soundtouch.git")
2768 (file-name (git-file-name name version))
2770 (base32 "174wgm3s0inmbnkrlnspxjwm2014qhjhkbdqa5r8rbfi0nzqxzsz"))))
2771 (build-system gnu-build-system)
2773 `(("autoconf" ,autoconf)
2774 ("automake" ,automake)
2775 ("libtool" ,libtool)
2777 (home-page "https://www.surina.net/soundtouch/")
2779 "Audio processing library for changing tempo, pitch and playback rate")
2781 "SoundTouch is an audio processing library for changing the tempo, pitch
2782 and playback rates of audio streams or audio files. It is intended for
2783 application developers writing sound processing tools that require tempo/pitch
2784 control functionality, or just for playing around with the sound effects.")
2785 (license license:lgpl2.1+)))
2793 (uri (string-append "mirror://sourceforge/sox/sox/" version "/"
2794 name "-" version ".tar.bz2"))
2797 "170lx90r1nlnb2j6lg00524iwvqy72p48vii4xc5prrh8dnrb9l1"))))
2798 (build-system gnu-build-system)
2801 ;; The upstream asks to identify the distribution to diagnose SoX
2803 '("--with-distro=Guix System Distribution")))
2805 `(("pkg-config" ,pkg-config)))
2807 `(("alsa-lib" ,alsa-lib)
2811 ("libid3tag" ,libid3tag)
2812 ("libltdl" ,libltdl)
2815 ("libvorbis" ,libvorbis)
2816 ("pulseaudio" ,pulseaudio)))
2817 (home-page "http://sox.sourceforge.net")
2818 (synopsis "Sound processing utility")
2820 "SoX (Sound eXchange) is a command line utility that can convert
2821 various formats of computer audio files to other formats. It can also
2822 apply various effects to these sound files, and, as an added bonus, SoX
2823 can play and record audio files.")
2824 ;; sox.c is distributed under GPL, while the files that make up
2825 ;; libsox are licensed under LGPL.
2826 (license (list license:gpl2+ license:lgpl2.1+))))
2836 (string-append "mirror://sourceforge/soxr/soxr-" version
2839 (base32 "12aql6svkplxq5fjycar18863hcq84c5kx8g6f4rj0lcvigw24di"))))
2840 (build-system cmake-build-system)
2841 (arguments '(#:tests? #f)) ;no 'check' target
2842 (home-page "https://sourceforge.net/p/soxr/wiki/Home/")
2843 (synopsis "One-dimensional sample-rate conversion library")
2845 "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
2846 conversion. It may be used, for example, to resample PCM-encoded audio.")
2847 (license license:lgpl2.1+)))
2849 (define-public twolame
2856 (uri (string-append "mirror://sourceforge/twolame/twolame/" version
2857 "/twolame-" version ".tar.gz"))
2859 (base32 "0zf8sxqb02w07ah55b1y7ab643zmpbhn62spa9pqra0rc17l4dfc"))))
2860 (build-system gnu-build-system)
2862 `(("libsndfile" ,libsndfile)))
2865 ("which" ,which))) ;used in tests/test.pl
2866 (home-page "http://www.twolame.org/")
2867 (synopsis "MPEG Audio Layer 2 (MP2) encoder")
2869 "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
2870 tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
2872 (license license:lgpl2.1+)))
2874 (define-public portaudio
2877 (version "190600.20161030")
2882 "http://www.portaudio.com/archives/pa_stable_v"
2883 (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
2886 (base32 "04qmin6nj144b8qb9kkd9a52xfvm0qdgm8bg8jbl7s3frmyiv8pm"))
2887 (patches (search-patches "portaudio-audacity-compat.patch"))))
2888 (build-system gnu-build-system)
2890 ;; TODO: Add ASIHPI.
2891 `(("alsa-lib" ,alsa-lib)
2893 ;; Autoreconf is necessary because the audacity-compat patch modifies .in
2896 `(("autoconf" ,autoconf)
2897 ("automake" ,automake)
2898 ("libtool" ,libtool)
2899 ("pkg-config" ,pkg-config)))
2901 '(#:tests? #f ;no 'check' target
2902 #:parallel-build? #f ;fails on some systems
2903 #:configure-flags '("--with-pic"
2905 ;; XXX: The following prevents a build error
2906 ;; because of missing depcomp when C++ bindings are
2908 "--disable-dependency-tracking")
2910 (modify-phases %standard-phases
2911 ;; This is needed for linking the static libraries
2912 (add-after 'unpack 'build-only-position-independent-code
2914 (substitute* "configure.in"
2915 (("AC_PROG_LIBTOOL" m)
2916 (string-append m "\nAM_PROG_AR\nLT_INIT([pic-only])")))
2917 (delete-file "configure")
2919 ;; Some headers are not installed by default, but are needed by
2920 ;; packages like Kaldi.
2921 (add-after 'install 'install-missing-headers
2922 (lambda* (#:key outputs #:allow-other-keys)
2923 (install-file "src/common/pa_ringbuffer.h"
2924 (string-append (assoc-ref outputs "out") "/include"))
2926 (home-page "http://www.portaudio.com/")
2927 (synopsis "Audio I/O library")
2929 "PortAudio is a portable C/C++ audio I/O library providing a simple API
2930 to record and/or play sound using a callback function or a blocking read/write
2932 (license license:expat)))
2934 (define-public qsynth
2941 (uri (string-append "mirror://sourceforge/qsynth/qsynth/" version
2942 "/qsynth-" version ".tar.gz"))
2944 (base32 "18im4w8agj60nkppwbkxqnhpp13z5li3w30kklv4lgs20rvgbvl6"))))
2945 (build-system gnu-build-system)
2947 `(#:tests? #f)) ; no "check" phase
2949 `(("qttools" ,qttools)
2950 ("pkg-config" ,pkg-config)))
2952 `(("fluidsynth" ,fluidsynth)
2954 ("qtx11extras" ,qtx11extras)))
2955 (home-page "https://qsynth.sourceforge.io")
2956 (synopsis "Graphical user interface for FluidSynth")
2958 "Qsynth is a GUI front-end application for the FluidSynth SoundFont
2959 synthesizer written in C++.")
2960 (license license:gpl2+)))
2962 (define-public rsound
2970 (url "https://github.com/Themaister/RSound.git")
2971 (commit (string-append "v" version))))
2972 (file-name (git-file-name name version))
2974 (base32 "0gspmr3klwnq98h17p5hc6ifygya4p80g4g8r7a1qavm3mv19waf"))))
2975 (build-system gnu-build-system)
2977 `(("alsa-lib" ,alsa-lib)
2980 ("libsamplerate" ,libsamplerate)
2982 ("portaudio" ,portaudio)
2983 ("pulseaudio" ,pulseaudio)))
2986 (modify-phases %standard-phases
2988 (lambda* (#:key outputs #:allow-other-keys)
2990 (invoke "./configure"
2991 (string-append "--prefix=" (assoc-ref outputs "out"))))))
2992 ;; No 'check' target.
2994 (home-page "http://themaister.net/rsound.html")
2995 (synopsis "Networked audio system")
2997 "RSound allows you to send audio from an application and transfer it
2998 directly to a different computer on your LAN network. It is an audio daemon
2999 with a much different focus than most other audio daemons.")
3000 (license license:gpl3+)))
3002 (define-public xjackfreak
3009 (url "https://github.com/johnhldavis/xjackfreak.git")
3010 (commit (string-append "v" version))))
3011 (file-name (git-file-name name version))
3014 "18c546qidbrj0f5wfiq5llii2192xpln0ab3r4vpr7i3wybxqjfz"))))
3015 (build-system gnu-build-system)
3018 (list (string-append "docdir=" (assoc-ref %outputs "out")
3019 "/share/doc/xjackfreak"))))
3024 ("libxext" ,libxext)))
3026 `(("pkg-config" ,pkg-config)))
3027 (home-page "https://github.com/johnhldavis/xjackfreak")
3028 (synopsis "JACK audio frequency analyzer and display")
3030 "XJackFreak is an audio analysis and equalizing tool for the Jack Audio
3031 Connection Kit. It can display the FFT of any input, modify it and output the
3033 (license license:gpl3+)))
3035 (define-public zita-convolver
3037 (name "zita-convolver")
3042 "http://kokkinizita.linuxaudio.org"
3043 "/linuxaudio/downloads/zita-convolver-"
3044 version ".tar.bz2"))
3046 ;; Don't optimize for a specific processor architecture.
3048 (substitute* "source/Makefile"
3049 (("^CXXFLAGS \\+= -march=native") ""))
3051 (modules '((guix build utils)))
3054 "0prji66p86z2bzminywkwchr5bfgxcg2i8y803pydd1hzf2198cs"))))
3055 (build-system gnu-build-system)
3057 `(#:tests? #f ; no "check" target
3059 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
3060 (string-append "SUFFIX="))
3062 (modify-phases %standard-phases
3063 (add-after 'unpack 'patch-makefile-and-enter-directory
3065 (substitute* "source/Makefile"
3066 (("ldconfig") "true")
3067 (("^LIBDIR =.*") "LIBDIR = lib\n"))
3070 (add-after 'install 'install-symlink
3072 (symlink "libzita-convolver.so"
3073 (string-append (assoc-ref %outputs "out")
3074 "/lib/libzita-convolver.so.4"))
3076 ;; no configure script
3077 (delete 'configure))))
3078 (inputs `(("fftwf" ,fftwf)))
3079 (home-page "https://kokkinizita.linuxaudio.org")
3080 (synopsis "Fast, partitioned convolution engine library")
3082 "Zita convolver is a C++ library providing a real-time convolution
3084 (license license:gpl3+)))
3086 (define-public zita-resampler
3088 (name "zita-resampler")
3093 "http://kokkinizita.linuxaudio.org"
3094 "/linuxaudio/downloads/zita-resampler-"
3095 version ".tar.bz2"))
3097 ;; Don't optimize for a specific processor architecture.
3099 (substitute* '("apps/Makefile" "libs/Makefile")
3100 (("^CXXFLAGS \\+= -march=native") ""))
3102 (modules '((guix build utils)))
3105 "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
3106 (build-system gnu-build-system)
3108 `(#:tests? #f ; no "check" target
3109 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3111 (modify-phases %standard-phases
3113 'unpack 'patch-makefile-and-enter-directory
3115 (substitute* "libs/Makefile"
3116 (("ldconfig") "true")
3117 (("^LIBDIR =.*") "LIBDIR = lib\n"))
3121 'install 'install-symlink
3123 (symlink "libzita-resampler.so"
3124 (string-append (assoc-ref %outputs "out")
3125 "/lib/libzita-resampler.so.1"))
3127 ;; no configure script
3128 (delete 'configure))))
3129 (home-page "https://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html")
3130 (synopsis "C++ library for resampling audio signals")
3132 "Libzita-resampler is a C++ library for resampling audio signals. It is
3133 designed to be used within a real-time processing context, to be fast, and to
3134 provide high-quality sample rate conversion.")
3135 (license license:gpl3+)))
3137 (define-public zita-alsa-pcmi
3139 (name "zita-alsa-pcmi")
3144 "http://kokkinizita.linuxaudio.org"
3145 "/linuxaudio/downloads/zita-alsa-pcmi-"
3146 version ".tar.bz2"))
3149 "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
3150 (build-system gnu-build-system)
3152 `(#:tests? #f ; no "check" target
3153 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3155 (modify-phases %standard-phases
3156 (add-after 'unpack 'patch-makefile-and-enter-directory
3158 (substitute* "libs/Makefile"
3159 (("ldconfig") "true")
3160 (("^LIBDIR =.*") "LIBDIR = lib\n"))
3163 (add-after 'install 'install-symlink
3165 (symlink "libzita-alsa-pcmi.so"
3166 (string-append (assoc-ref %outputs "out")
3167 "/lib/libzita-alsa-pcmi.so.0"))
3169 ;; no configure script
3170 (delete 'configure))))
3172 `(("alsa-lib" ,alsa-lib)
3174 (home-page "https://kokkinizita.linuxaudio.org")
3175 (synopsis "C++ wrapper around the ALSA API")
3177 "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy
3178 access to ALSA PCM devices, taking care of the many functions required to
3179 open, initialise and use a hw: device in mmap mode, and providing floating
3181 (license license:gpl3+)))
3183 (define-public cuetools
3190 (url "https://github.com/svend/cuetools.git")
3192 (file-name (git-file-name name version))
3195 "02ksv1ahf1v4cr2xbclsfv5x17m9ivzbssb5r8xjm97yh8a7spa3"))))
3196 (build-system gnu-build-system)
3197 ;; The source checkout is not bootstrapped.
3199 `(("autoconf" ,autoconf)
3200 ("automake" ,automake)
3203 (synopsis "Cue and toc file parsers and utilities")
3204 (description "Cuetools is a set of programs that are useful for manipulating
3205 and using CUE sheet (cue) files and Table of Contents (toc) files. CUE and TOC
3206 files are a way to represent the layout of a data or audio CD in a
3207 machine-readable ASCII format.")
3208 (home-page "https://github.com/svend/cuetools")
3209 (license license:gpl2+)))
3211 (define-public shntool
3217 (uri (string-append "http://etree.org/shnutils/shntool/dist/src/"
3218 "shntool-" version ".tar.gz"))
3221 "00i1rbjaaws3drkhiczaign3lnbhr161b7rbnjr8z83w8yn2wc3l"))))
3222 (build-system gnu-build-system)
3223 (synopsis "WAVE audio data processing tool")
3224 (description "shntool is a multi-purpose WAVE data processing and reporting
3225 utility. File formats are abstracted from its core, so it can process any file
3226 that contains WAVE data, compressed or not---provided there exists a format
3227 module to handle that particular file type. It can also generate CUE files, and
3228 use them split WAVE data into multiple files.")
3229 (home-page "http://etree.org/shnutils/shntool/")
3230 ;; 'install-sh' bears the x11 license
3231 (license (list license:gpl2+ license:x11))))
3233 (define-public dcadec
3240 (url "https://github.com/foo86/dcadec.git")
3241 (commit (string-append "v" version))))
3242 (file-name (git-file-name name version))
3245 "07nd0ajizrp1w02bsyfcv18431r8m8rq8gjfmz9wmckpg7cxj2hs"))))
3246 (build-system gnu-build-system)
3248 ;; Test files are missing: https://github.com/foo86/dcadec/issues/53
3252 ;; Build shared library.
3254 (string-append "PREFIX=" (assoc-ref %outputs "out"))
3255 ;; Set proper runpath.
3256 (string-append "LDFLAGS=-Wl,-rpath="
3257 (assoc-ref %outputs "out")
3260 (modify-phases %standard-phases
3261 ;; No configure script, just a hand-written Makefile.
3262 (delete 'configure))))
3263 (synopsis "DTS Coherent Acoustics decoder")
3264 (description "Dcadec is a DTS Coherent Acoustics surround sound decoder
3265 with support for HD extensions.")
3266 (home-page "https://github.com/foo86/dcadec")
3267 (license license:lgpl2.1+)))
3269 (define-public bs1770gain
3276 (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/"
3277 version "/bs1770gain-" version ".tar.gz"))
3279 (base32 "15nvlh9bg0a52cpg2mii17mlzmxszwivjjalbb4np1v5nj8l5fk6"))
3280 (modules '((guix build utils)))
3284 (substitute* (find-files "." "\\.[ch]$")
3285 (("^ \\* N..o.*") ""))
3286 (substitute* "libbg/bgx.c"
3287 (("#define BG.* ") "#define BS ")
3288 (("BG.*NO?.*N.*S.*E.*N.*SE?") "NO")
3289 (("\"( #|N).*\"") "\"\""))
3290 (substitute* (list "config.h"
3293 (("https?://bs1770gain[^/]*/")
3294 "https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html"))
3296 (build-system gnu-build-system)
3297 (inputs `(("ffmpeg" ,ffmpeg)
3299 (home-page "https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html")
3300 (synopsis "Tool to adjust loudness of media files")
3302 "BS1770GAIN is a loudness scanner compliant with ITU-R BS.1770 and its
3303 flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the
3304 loudness of audio and video files to the same level.")
3305 (license license:gpl2+)))
3307 (define-public filteraudio
3308 (let ((revision "1")
3309 (commit "2fc669581e2a0ff87fba8de85861b49133306094"))
3311 (name "filteraudio")
3312 (version (string-append "0.0.0-" revision "."
3313 (string-take commit 7)))
3318 (url "https://github.com/irungentoo/filter_audio.git")
3320 (file-name (string-append name "-" version "-checkout"))
3323 "0hbb290n3wb23f2k692a6bhc23nnqmxqi9sc9j15pnya8wifw64g"))))
3324 (build-system gnu-build-system)
3326 '(#:make-flags (list (string-append "PREFIX=" %output)
3328 #:tests? #f ; No tests
3330 (modify-phases %standard-phases
3331 ;; No configure script
3332 (delete 'configure))))
3333 (synopsis "Lightweight audio filtering library")
3334 (description "An easy to use audio filtering library made from webrtc
3335 code, used in @code{libtoxcore}.")
3336 (home-page "https://github.com/irungentoo/filter_audio")
3337 (license license:bsd-3))))
3347 (string-append "http://www.quut.com/" name "/" name
3348 "-" version ".tar.gz"))
3351 "041amvpz8cvxykl3pwqldrzxligmmzcg8ncdnxbg32rlqf3q1xh4"))))
3352 (build-system gnu-build-system)
3354 `(#:test-target "tst"
3356 (modify-phases %standard-phases
3357 (add-before 'install 'pre-install
3359 (let ((out (assoc-ref %outputs "out")))
3360 (substitute* "Makefile"
3361 (("INSTALL_ROOT\t=")
3362 (string-append "INSTALL_ROOT\t=\t" out)))
3363 (mkdir-p (string-append out "/inc"))
3364 (mkdir-p (string-append out "/man"))
3365 (mkdir-p (string-append out "/man/man1"))
3366 (mkdir-p (string-append out "/man/man3"))
3367 (mkdir-p (string-append out "/bin"))
3368 (mkdir-p (string-append out "/lib")))
3370 (add-after 'install 'post-install
3372 (let ((out (assoc-ref %outputs "out")))
3373 (rename-file (string-append out "/inc")
3374 (string-append out "/include"))
3375 (mkdir-p (string-append out "/include/gsm"))
3376 (copy-recursively "inc"
3377 (string-append out "/include/gsm")))
3379 (delete 'configure)))) ; no configure script
3380 (synopsis "GSM 06.10 lossy speech compression library")
3381 (description "This C library provides an encoder and a decoder for the GSM
3382 06.10 RPE-LTP lossy speech compression algorithm.")
3383 (home-page "http://quut.com/gsm/")
3384 (license (license:non-copyleft "file://COPYRIGHT"))))
3386 (define-public python-pyalsaaudio
3388 (name "python-pyalsaaudio")
3392 (uri (pypi-uri "pyalsaaudio" version))
3395 "1180ypn9596rq4b7y7dyv627j1q0fqilmkkrckclnzsdakdgis44"))))
3396 (build-system python-build-system)
3398 `(#:tests? #f)) ; tests require access to ALSA devices.
3400 `(("alsa-lib" ,alsa-lib)))
3401 (home-page "http://larsimmisch.github.io/pyalsaaudio/")
3402 (synopsis "ALSA wrappers for Python")
3404 "This package contains wrappers for accessing the ALSA API from Python.
3405 It is currently fairly complete for PCM devices, and has some support for
3407 (license license:psfl)))
3409 (define-public python2-pyalsaaudio
3410 (package-with-python2 python-pyalsaaudio))
3412 (define-public bluez-alsa
3417 ;; The tarballs are mere snapshots and don't contain a
3418 ;; bootstrapped build system.
3421 (url "https://github.com/Arkq/bluez-alsa.git")
3422 (commit (string-append "v" version))))
3423 (file-name (git-file-name name version))
3426 "08mppgnjf1j2733bk9yf0cny6rfxxwiys0s62lz2zd2lpdl6d9lz"))))
3427 (build-system gnu-build-system)
3430 (list (string-append "--with-alsaplugindir="
3431 (assoc-ref %outputs "out")
3433 (string-append "--with-dbusconfdir="
3434 (assoc-ref %outputs "out")
3435 "/etc/dbus-1/system.d"))))
3437 `(("autoconf" ,autoconf)
3438 ("automake" ,automake)
3439 ("libtool" ,libtool)
3440 ("pkg-config" ,pkg-config)))
3442 `(("alsa-lib" ,alsa-lib)
3447 ("ncurses" ,ncurses)
3450 (home-page "https://github.com/Arkq/bluez-alsa")
3451 (synopsis "Bluetooth ALSA backend")
3452 (description "This project is a rebirth of a direct integration between
3453 Bluez and ALSA. Since Bluez >= 5, the build-in integration has been removed
3454 in favor of 3rd party audio applications. From now on, Bluez acts as a
3455 middleware between an audio application, which implements Bluetooth audio
3456 profile, and a Bluetooth audio device. BlueALSA registers all known Bluetooth
3457 audio profiles in Bluez, so in theory every Bluetooth device (with audio
3458 capabilities) can be connected. In order to access the audio stream, one has
3459 to connect to the ALSA PCM device called @code{bluealsa}. The device is based
3460 on the ALSA software PCM plugin.")
3461 (license license:expat)))
3469 (uri (string-append "ftp://ccrma-ftp.stanford.edu/pub/Lisp/"
3470 "snd-" version ".tar.gz"))
3473 "13s8fahpsjygjdrcwmprcrz23ny3klaj2rh2xzdv3bfs69gxvhys"))))
3474 (build-system glib-or-gtk-build-system)
3476 `(#:tests? #f ; no tests
3477 #:out-of-source? #f ; for the 'install-doc' phase
3479 (let* ((out (assoc-ref %outputs "out"))
3480 (docdir (string-append out "/share/doc/"
3481 ,name "-" ,version)))
3482 (list "--with-alsa" "--with-jack" "--with-gmp"
3483 (string-append "--with-doc-dir=" docdir)))
3485 (modify-phases %standard-phases
3486 (add-after 'install 'install-doc
3487 (lambda* (#:key outputs #:allow-other-keys)
3488 (let* ((out (assoc-ref outputs "out"))
3489 (doc (string-append out "/share/doc/"
3490 ,name "-" ,version)))
3493 (install-file f doc))
3494 (find-files "." "\\.html$"))
3495 (copy-recursively "pix" (string-append doc "/pix"))
3498 `(("pkg-config" ,pkg-config)))
3500 `(("alsa-lib" ,alsa-lib)
3507 ("libsamplerate" ,libsamplerate)
3512 ("timidity++" ,timidity++)
3513 ("vorbis-tools" ,vorbis-tools)
3514 ("wavpack" ,wavpack)))
3515 (synopsis "Sound editor")
3516 (home-page "https://ccrma.stanford.edu/software/snd/")
3518 "Snd is a sound editor modelled loosely after Emacs. It can be
3519 customized and extended using either the s7 Scheme implementation (included in
3520 the Snd sources), Ruby, or Forth.")
3521 (license (license:non-copyleft "file://COPYING"))))
3523 (define-public noise-repellent
3525 (name "noise-repellent")
3530 (url "https://github.com/lucianodato/noise-repellent.git")
3532 (file-name (string-append name "-" version "-checkout"))
3535 "0rd3dlmk3vivjmcr6x2x860y0j1d49c2j95j6ny50v184mwvn11j"))))
3536 (build-system gnu-build-system)
3540 (string-append "PREFIX=" (assoc-ref %outputs "out")))
3541 #:tests? #f ; there are none
3543 (modify-phases %standard-phases
3544 (delete 'configure))))
3549 `(("pkg-config" ,pkg-config)))
3550 (home-page "https://github.com/lucianodato/noise-repellent")
3551 (synopsis "LV2 plugin for broadband noise reduction")
3552 (description "Noise Repellent is an LV2 plugin to reduce noise. It has
3553 the following features:
3556 @item Spectral gating and spectral subtraction suppression rule
3557 @item Adaptive and manual noise thresholds estimation
3558 @item Adjustable noise floor
3559 @item Adjustable offset of thresholds to perform over-subtraction
3560 @item Time smoothing and a masking estimation to reduce artifacts
3561 @item Basic onset detector to avoid transients suppression
3562 @item Whitening of the noise floor to mask artifacts and to recover higher
3564 @item Option to listen to the residual signal
3566 @item Noise profile saved with the session
3569 (license license:lgpl3+)))
3571 (define-public cli-visualizer
3573 (name "cli-visualizer")
3579 (url "https://github.com/dpayne/cli-visualizer.git")
3580 (commit (string-append "v" version))))
3581 (file-name (git-file-name name version))
3583 (base32 "003mbbwsz43mg3d7llphpypqa9g7rs1p1cdbqi1mbc2bfrc1gcq2"))))
3584 (build-system cmake-build-system)
3586 ;; TODO: Try using the latest googletest for versions > 1.8.
3587 `( ;; ("googletest" ,googletest-1.8)
3591 ("ncurses" ,ncurses)
3592 ("pulseaudio" ,pulseaudio)))
3595 ;; XXX Enable tests after patching them to use the system googletest.
3596 ;; #:configure-flags (list "-DVIS_WITH_TESTS=true")
3598 (modify-phases %standard-phases
3599 (add-after 'install 'install-examples
3600 (lambda* (#:key outputs #:allow-other-keys)
3601 (with-directory-excursion "../source/examples"
3602 (delete-file "mac_osx_config")
3603 (for-each (lambda (file)
3606 (assoc-ref outputs "out")
3610 (home-page "https://github.com/dpayne/cli-visualizer/")
3611 (synopsis "Command-line audio visualizer")
3612 (description "@code{cli-visualizer} displays fast-Fourier
3613 transforms (FFTs) of the sound being played, as well as other graphical
3615 (license license:expat)))
3624 (url "https://github.com/karlstav/cava.git")
3626 (file-name (git-file-name name version))
3629 "1kvhqgijs29909w3sq9m0bslx2zxxn4b3i07kdz4hb0dqkppxpjy"))))
3630 (build-system gnu-build-system)
3632 `(("autoconf" ,autoconf)
3633 ("automake" ,automake)
3634 ("libtool" ,libtool)))
3637 ("ncurses" ,ncurses)
3638 ("pulseaudio" ,pulseaudio)))
3641 (list (string-append "PREFIX=" %output)
3642 (string-append "FONT_DIR=" %output "/share/consolefonts"))
3644 (let ((lib (string-append %output "/lib")))
3645 (list (string-append "cava_LDFLAGS = -L" lib " -Wl,-rpath " lib)))
3647 (modify-phases %standard-phases
3649 (lambda* (#:key outputs #:allow-other-keys)
3650 (setenv "HOME" (getcwd))
3651 (invoke "sh" "autogen.sh")))
3652 (add-before 'build 'make-cava-ldflags
3653 (lambda* (#:key outputs #:allow-other-keys)
3654 (mkdir-p (string-append (assoc-ref outputs "out") "/lib"))
3656 (add-after 'install 'data
3657 (lambda* (#:key outputs #:allow-other-keys)
3658 (for-each (lambda (file)
3660 (string-append (assoc-ref outputs "out")
3661 "/share/doc/examples")))
3662 (find-files "example_files"))
3664 (home-page "https://karlstav.github.io/cava/")
3665 (synopsis "Console audio visualizer for ALSA, MPD, and PulseAudio")
3666 (description "C.A.V.A. is a bar audio spectrum visualizer for the terminal
3667 using ALSA, MPD, PulseAudio, or a FIFO buffer as its input.")
3668 (license license:expat)))
3670 (define-public fluid-3
3671 (let ((commit "871c8ce2002e8b3c198f532fdb4fbcce7914f951"))
3678 ;; Only one file is required, but the release bundles the whole
3679 ;; software which is 50MiB as tar and 200MiB unpacked. The website
3680 ;; directly links the soundfont release to the github file download.
3681 (uri (string-append "https://github.com/musescore/MuseScore/raw/"
3682 commit "/share/sound/FluidR3Mono_GM.sf3"))
3683 (file-name (string-append name "-" version ".sf3"))
3686 "1hjfg5i15bw9279007xs92zsggjgn4s4k9pc00s851l3kvc6dkfg"))))
3687 (build-system trivial-build-system)
3689 `(#:modules ((guix build utils))
3692 (use-modules (guix build utils))
3693 (let ((file (assoc-ref %build-inputs "source"))
3694 (out (string-append %output "/share/soundfonts")))
3696 (copy-file file (string-append out "/FluidR3Mono_GM.sf3"))
3698 (home-page "https://github.com/musescore/MuseScore/tree/master/share/sound")
3699 (synopsis "Pro-quality GM soundfont")
3700 (description "Fluid-3 is Frank Wen's pro-quality GM soundfont.")
3701 (license license:expat))))
3703 (define-public libfdk
3704 (let ((commit "2326faaf8f2cdf2c3a9108ccdaf1d7551aec543e")
3708 ;; The latest upstream revision, with many bug fixes.
3709 (version (git-version "0.1.6" revision commit))
3714 (url "https://github.com/mstorsjo/fdk-aac")
3716 (file-name (git-file-name name version))
3719 "0yy6ndd9d61bwl283vl1r5kva2a4acc0f4r9g0sza156f2abr9ws"))))
3720 (build-system gnu-build-system)
3722 `(("autoconf" ,autoconf)
3723 ("automake" ,automake)
3724 ("libtool" ,libtool)))
3725 (home-page "https://github.com/mstorsjo/fdk-aac")
3726 (synopsis "Fraunhofer FDK AAC library")
3727 (description "FDK is a library for encoding and decoding Advanced Audio
3728 Coding (AAC) format audio, developed by Fraunhofer IIS, and included as part of
3729 Android. It supports several Audio Object Types including MPEG-2 and MPEG-4 AAC
3730 LC, HE-AAC (AAC LC + SBR), HE-AACv2 (LC + SBR + PS) as well AAC-LD (low delay)
3731 and AAC-ELD (enhanced low delay) for real-time communication. The encoding
3732 library supports sample rates up to 96 kHz and up to eight channels (7.1
3734 (license (license:fsf-free "https://github.com/mstorsjo/fdk-aac/blob/master/NOTICE"
3735 "https://www.gnu.org/licenses/license-list.html#fdk")))))
3737 (define-public libopenshot-audio
3739 (name "libopenshot-audio")
3744 (url "https://github.com/OpenShot/libopenshot-audio")
3745 (commit (string-append "v" version))))
3746 (file-name (git-file-name name version))
3749 "1fvp6nmf30xzkmcznakh8dv5vn9d7nq051pqcqv638hsfppkmcrl"))))
3750 (build-system cmake-build-system)
3752 `(("alsa-lib" ,alsa-lib)
3753 ;; The following are for JUCE GUI components:
3755 ("freetype" ,freetype)
3756 ("libxrandr" ,libxrandr)
3757 ("libxinerama" ,libxinerama)
3758 ("libxcursor" ,libxcursor)))
3760 `(#:tests? #f ;there are no tests
3762 (list (string-append "-DCMAKE_CXX_FLAGS=-I"
3763 (assoc-ref %build-inputs "freetype")
3764 "/include/freetype2"))))
3765 (home-page "https://openshot.org")
3766 (synopsis "Audio editing and playback for OpenShot")
3767 (description "OpenShot Audio Library (libopenshot-audio) allows
3768 high-quality editing and playback of audio, and is based on the JUCE
3770 (license license:lgpl3+)))
3772 (define-public faudio
3780 (url "https://github.com/FNA-XNA/FAudio.git")
3782 (file-name (git-file-name name version))
3784 (base32 "0ckpr6ffz8ssfh1y850dhip5s5jv0j6n90qz5yx1v9d6gpwf08rp"))))
3786 '(#:tests? #f ; No tests.
3787 #:configure-flags '("-DFFMPEG=ON")))
3788 (build-system cmake-build-system)
3789 (native-inputs `(("pkg-config" ,pkg-config)))
3790 (inputs `(("ffmpeg" ,ffmpeg)
3792 (home-page "https://github.com/FNA-XNA/FAudio")
3793 (synopsis "XAudio reimplementation")
3794 (description "FAudio is an XAudio reimplementation that focuses solely on
3795 developing fully accurate DirectX Audio runtime libraries.")
3796 (license license:zlib)))
3798 (define-public gnaural
3801 (version "20110606")
3805 (uri (string-append "mirror://sourceforge/gnaural/Gnaural/gnaural_"
3809 "1gq519c0imsh57zklyi0f8h64l3ai48lh672c834470z8c6kvbfi"))))
3810 (build-system gnu-build-system)
3812 `(("alsa-lib" ,alsa-lib)
3814 ("libsndfile" ,libsndfile)
3815 ("portaudio" ,portaudio)))
3817 `(("pkg-config" ,pkg-config)))
3818 (home-page "http://gnaural.sourceforge.net/")
3819 (synopsis "Binaural beat synthesizer")
3820 (description "Gnaural is a programmable auditory binaural beat synthesizer
3821 intended to be used for brainwave entrainment. Gnaural supports creation of
3822 binaural beat tracks of different frequencies and exporting of tracks into
3823 different audio formats. Gnaural can also be linked over the internet with
3824 other Gnaural instances, allowing synchronous sessions between many users.")
3825 (license license:gpl2+)))
3827 (define-public darkice
3833 (uri (string-append "mirror://sourceforge/darkice/darkice/"
3834 version "/darkice-" version ".tar.gz"))
3836 (base32 "1rlxds7ssq7nk2in4s46xws7xy9ylxsqgcz85hxjgh17lsm0y39c"))
3838 (search-patches "darkice-workaround-fpermissive-error.patch"))))
3839 (build-system gnu-build-system)
3840 (native-inputs `(("pkg-config" ,pkg-config)))
3841 (inputs `(("lame" ,lame)
3842 ("libvorbis" ,libvorbis)
3844 ("twolame" ,twolame)
3845 ("alsa-lib" ,alsa-lib)
3846 ("pulseaudio" ,pulseaudio)
3848 ("libsamplerate" ,libsamplerate)))
3851 (list (string-append "--with-lame-prefix="
3852 (assoc-ref %build-inputs "lame")))))
3853 (home-page "http://www.darkice.org/")
3854 (synopsis "Live audio streamer")
3855 (description "DarkIce is a live audio streamer. It takes audio input from
3856 a sound card, encodes it into Ogg Vorbis and/or mp3, and sends the audio
3857 stream to one or more IceCast and/or ShoutCast servers.")
3858 (license license:gpl3+)))
3860 (define-public libltc
3868 (string-append "https://github.com/x42/libltc/releases/download/v"
3869 version "/libltc-" version ".tar.gz"))
3872 "173h9dgmain3nyrwk6q2d7yl4fnh4vacag4s2p01n5b7nyrkxrjh"))))
3873 (build-system gnu-build-system)
3875 `(#:parallel-tests? #f)) ;tests fail otherwise
3877 `(("doxygen" ,doxygen)
3878 ("pkg-config" ,pkg-config)))
3879 (synopsis "Encode or decode Linear/Longitudinal Time Code (LTC) audio")
3880 (description "Libltc is a POSIX-C Library for handling
3881 @dfn{Linear/Longitudinal Time Code} (LTC) data.")
3882 (home-page "https://x42.github.io/libltc/")
3883 (license license:lgpl3+)))
3885 (define-public redkite
3893 (url "https://gitlab.com/geontime/redkite.git")
3894 (commit (string-append "v" version))))
3895 (file-name (git-file-name name version))
3898 "1i874izajbdhlfacwwj84qrsxf7g4y6nblzxalrkzaap9sa7d1r6"))))
3899 (build-system cmake-build-system)
3901 `(#:tests? #f)) ;no tests included
3903 `(("cairo" ,cairo)))
3905 `(("pkg-config", pkg-config)))
3906 (synopsis "Small GUI toolkit")
3907 (description "Redkite is a small GUI toolkit developed in C++17 and
3908 inspired from other well known GUI toolkits such as Qt and GTK. It is
3909 minimal on purpose and is intended to be statically linked to applications,
3910 therefore satisfying any requirements they may have to be self contained,
3911 as is the case with audio plugins.")
3912 (home-page "https://gitlab.com/geontime/redkite")
3913 (license license:gpl3+)))
3915 (define-public carla
3924 (url "https://github.com/falkTX/Carla.git")
3925 (commit (string-append "v" version))))
3926 (file-name (git-file-name name version))
3929 "0fqgncqlr86n38yy7pa118mswfacmfczj7w9xx6c6k0jav3wk29k"))))
3930 (build-system gnu-build-system)
3932 `(#:tests? #f ; no "check" target
3934 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3936 (modify-phases %standard-phases
3937 (add-before 'build 'set-CC-variable-and-show-features
3940 (invoke "make" "features")))
3941 (delete 'configure))))
3943 `(("alsa-lib" ,alsa-lib)
3945 ("fluidsynth" ,fluidsynth)
3948 ("libsndfile" ,libsndfile)
3950 ("python-pyliblo" ,python-pyliblo)
3951 ("python-pyqt" ,python-pyqt)
3952 ("python-rdflib" ,python-rdflib)
3953 ;; python-pyqt shows the following error without python-wrapper:
3954 ;; Error while finding module specification for 'PyQt5.uic.pyuic'
3955 ;; (ModuleNotFoundError: No module named 'PyQt5')
3956 ("python-wrapper" ,python-wrapper)
3961 `(("pkg-config" ,pkg-config)))
3962 (home-page "https://kx.studio/Applications:Carla")
3963 (synopsis "Audio plugin host")
3964 (description "Carla is a modular audio plugin host, with features like
3965 transport control, automation of parameters via MIDI CC and remote control
3966 over OSC. Carla currently supports LADSPA (including LRDF), DSSI, LV2, VST2,
3967 and VST3 plugin formats, plus SF2 and SFZ file support. It uses JACK as the
3968 default and preferred audio driver but also supports native drivers like ALSA.")
3969 (license license:gpl2+)))
3971 (define-public ecasound
3977 (uri (string-append "https://nosignal.fi/download/ecasound-"
3980 (base32 "1m7njfjdb7sqf0lhgc4swihgdr4snkg8v02wcly08wb5ar2fr2s6"))))
3981 (build-system gnu-build-system)
3982 (native-inputs `(("pkg-config" ,pkg-config)))
3983 ;; It would be nice to add mikmod to inputs if that gets packaged
3985 (inputs `(("alsa-lib" ,alsa-lib)
3989 ("vorbis-tools" ,vorbis-tools)
3992 ("timidity++" ,timidity++)
3993 ("libsndfile" ,libsndfile)
3994 ("libsamplerate" ,libsamplerate)
3995 ("ncurses" ,ncurses)
3998 (home-page "https://nosignal.fi/ecasound/index.php")
3999 (synopsis "Multitrack audio processing")
4000 (description "Ecasound is a software package designed for multitrack audio
4001 processing. It can be used for simple tasks like audio playback, recording and
4002 format conversions, as well as for multitrack effect processing, mixing,
4003 recording and signal recycling. Ecasound supports a wide range of audio inputs,
4004 outputs and effect algorithms. Effects and audio objects can be combined in
4005 various ways, and their parameters can be controlled by operator objects like
4006 oscillators and MIDI-CCs. A versatile console mode user-interface is included
4008 ;; As an exception to the above, the C, C++ and python implementations
4009 ;; of the Ecasound Control Interface (ECI) are licensed under the LGPL
4010 ;; (see the file 'COPYING.LGPL'). This allows writing ECI applications
4011 ;; that are not licensed under GPL.
4012 (license (list license:gpl2 license:lgpl2.1))))
4014 (define-public libaudec
4022 (url "https://git.zrythm.org/git/libaudec")
4023 (commit (string-append "v" version))))
4024 (file-name (git-file-name name version))
4027 "0lfydvs92b0hr72z71ci3yi356rjzi162pgms8dphgg18bz8dazv"))))
4028 (build-system meson-build-system)
4030 `(#:configure-flags `("-Denable_tests=true -Denable_ffmpeg=true")))
4032 `(("libsamplerate" ,libsamplerate)
4033 ("libsndfile" ,libsndfile)
4034 ("ffmpeg" ,ffmpeg)))
4036 `(("pkg-config", pkg-config)))
4037 (synopsis "Library for reading and resampling audio files")
4038 (description "libaudec is a wrapper library over ffmpeg, sndfile and
4039 libsamplerate for reading and resampling audio files, based on Robin Gareus'
4040 @code{audio_decoder} code.")
4041 (home-page "https://git.zrythm.org/cgit/libaudec")
4042 (license license:agpl3+)))