1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017 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 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com>
9 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
10 ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
11 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
13 ;;; This file is part of GNU Guix.
15 ;;; GNU Guix is free software; you can redistribute it and/or modify it
16 ;;; under the terms of the GNU General Public License as published by
17 ;;; the Free Software Foundation; either version 3 of the License, or (at
18 ;;; your option) any later version.
20 ;;; GNU Guix is distributed in the hope that it will be useful, but
21 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;;; GNU General Public License for more details.
25 ;;; You should have received a copy of the GNU General Public License
26 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
28 (define-module (gnu packages audio)
29 #:use-module (guix packages)
30 #:use-module (guix download)
31 #:use-module (guix git-download)
32 #:use-module (guix utils)
33 #:use-module ((guix licenses) #:prefix license:)
34 #:use-module (guix build-system gnu)
35 #:use-module (guix build-system waf)
36 #:use-module (guix build-system trivial)
37 #:use-module (guix build-system cmake)
38 #:use-module (guix build-system python)
39 #:use-module (gnu packages)
40 #:use-module (gnu packages algebra)
41 #:use-module (gnu packages autotools)
42 #:use-module (gnu packages avahi)
43 #:use-module (gnu packages boost)
44 #:use-module (gnu packages backup)
45 #:use-module (gnu packages base)
46 #:use-module (gnu packages bison)
47 #:use-module (gnu packages check)
48 #:use-module (gnu packages compression)
49 #:use-module (gnu packages curl)
50 #:use-module (gnu packages databases)
51 #:use-module (gnu packages emacs)
52 #:use-module (gnu packages file)
53 #:use-module (gnu packages flex)
54 #:use-module (gnu packages fltk)
55 #:use-module (gnu packages fontutils)
56 #:use-module (gnu packages gettext)
57 #:use-module (gnu packages glib)
58 #:use-module (gnu packages gtk)
59 #:use-module (gnu packages gnome)
60 #:use-module (gnu packages gnunet) ; libmicrohttpd
61 #:use-module (gnu packages gperf)
62 #:use-module (gnu packages image)
63 #:use-module (gnu packages ncurses)
64 #:use-module (gnu packages qt)
65 #:use-module (gnu packages linux)
66 #:use-module (gnu packages llvm)
67 #:use-module (gnu packages mp3) ;taglib
68 #:use-module (gnu packages perl)
69 #:use-module (gnu packages pkg-config)
70 #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
71 #:use-module (gnu packages python)
72 #:use-module (gnu packages rdf)
73 #:use-module (gnu packages readline)
74 #:use-module (gnu packages tls)
75 #:use-module (gnu packages video)
76 #:use-module (gnu packages vim) ;xxd
77 #:use-module (gnu packages webkit)
78 #:use-module (gnu packages wxwidgets)
79 #:use-module (gnu packages xiph)
80 #:use-module (gnu packages xml)
81 #:use-module (gnu packages xorg)
82 #:use-module (gnu packages zip)
83 #:use-module (srfi srfi-1))
85 (define-public alsa-modular-synth
87 (name "alsa-modular-synth")
91 (uri (string-append "mirror://sourceforge/alsamodular/alsamodular"
92 "/" version "/ams-" version ".tar.bz2"))
95 "1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0"))))
96 (build-system gnu-build-system)
100 "CXXFLAGS=-std=gnu++11")
102 (modify-phases %standard-phases
103 ;; Insert an extra space between linker flags.
104 (add-before 'configure 'add-missing-space
106 (substitute* "configure"
107 (("LIBS\\+=\\$LIBSsave") "LIBS+=\" $LIBSsave\"")
108 (("CFLAGS\\+=\\$CFLAGSsave") "CFLAGS+=\" $CFLAGSsave\""))
111 `(("alsa-lib" ,alsa-lib)
112 ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to
113 ;; license incompatibility.
114 ("clalsadrv" ,clalsadrv)
120 ("qttools" ,qttools)))
122 `(("pkg-config" ,pkg-config)))
123 (home-page "http://alsamodular.sourceforge.net/")
124 (synopsis "Realtime modular synthesizer and effect processor")
126 "AlsaModularSynth is a digital implementation of a classical analog
127 modular synthesizer system. It uses virtual control voltages to control the
128 parameters of the modules. The control voltages which control the frequency
129 e.g. of the VCO (Voltage Controlled Oscillator) and VCF (Voltage Controlled
130 Filter) modules follow the convention of 1V / Octave.")
131 (license license:gpl2)))
140 "http://aubio.org/pub/aubio-" version ".tar.bz2"))
143 "15f6nf76y7iyl2kl4ny7ky0zpxfxr8j3902afvd6ydnnkh5dzmr5"))))
144 (build-system waf-build-system)
146 `(#:tests? #f ; no check target
151 "--enable-samplerate"
152 ;; enable compilation with avcodec once available
157 ("libsndfile" ,libsndfile)
158 ("libsamplerate" ,libsamplerate)
161 `(("pkg-config" ,pkg-config)))
162 (home-page "http://aubio.org/")
163 (synopsis "Library for audio labelling")
165 "aubio is a tool designed for the extraction of annotations from audio
166 signals. Its features include segmenting a sound file before each of its
167 attacks, performing pitch detection, tapping the beat and producing MIDI
168 streams from live audio.")
169 (license license:gpl3+)))
171 (define (ardour-rpath-phase major-version)
172 `(lambda* (#:key outputs #:allow-other-keys)
173 (let ((libdir (string-append (assoc-ref outputs "out")
174 "/lib/ardour" ,major-version)))
175 (substitute* "wscript"
176 (("linker_flags = \\[\\]")
177 (string-append "linker_flags = [\""
180 libdir "/backends" ":"
181 libdir "/engines" ":"
182 libdir "/panners" ":"
183 libdir "/surfaces" ":"
184 libdir "/vamp" "\"]"))))
187 (define-public ardour
194 (url "git://git.ardour.org/ardour/ardour.git")
197 ;; Ardour expects this file to exist at build time. The revision
199 ;; git describe HEAD | sed 's/^[A-Za-z]*+//'
200 `(call-with-output-file
201 "libs/ardour/revision.cc"
203 (format port ,(string-append "#include \"ardour/revision.h\"
204 namespace ARDOUR { const char* revision = \"" version "\" ; }")))))
207 "1lcvslrcw6g4kp9w0h1jx46x6ilz4nzz0k2yrw4gd545k1rwx0c1"))
208 (file-name (string-append name "-" version))))
209 (build-system waf-build-system)
211 `(#:configure-flags '("--cxx11" ; required by gtkmm
212 "--no-phone-home" ; don't contact ardour.org
213 "--freedesktop" ; install .desktop file
214 "--test") ; build unit tests
216 (modify-phases %standard-phases
218 'unpack 'set-rpath-in-LDFLAGS
219 ,(ardour-rpath-phase (version-prefix version 1))))
223 `(("alsa-lib" ,alsa-lib)
232 ("libart-lgpl" ,libart-lgpl)
233 ("libgnomecanvasmm" ,libgnomecanvasmm)
236 ("libsndfile" ,libsndfile)
237 ("libsamplerate" ,libsamplerate)
240 ("libvorbis" ,libvorbis)
253 ("readline" ,readline)
255 ("rubberband" ,rubberband)
256 ("libarchive" ,libarchive)
258 ("python-rdflib" ,python-rdflib)))
263 ("gettext" ,gettext-minimal)
264 ("pkg-config" ,pkg-config)))
265 (home-page "http://ardour.org")
266 (synopsis "Digital audio workstation")
268 "Ardour is a multi-channel digital audio workstation, allowing users to
269 record, edit, mix and master audio and MIDI projects. It is targeted at audio
270 engineers, musicians, soundtrack editors and composers.")
271 (license license:gpl2+)))
273 (define-public audacity
280 (uri (string-append "https://github.com/audacity/audacity/archive"
281 "/Audacity-" version ".tar.gz"))
283 (base32 "11mx7gb4dbqrgfp7hm0154x3m76ddnmhf2675q5zkxn7jc5qfc6b"))))
284 (build-system gnu-build-system)
286 ;; TODO: Add portSMF and libwidgetextra once they're packaged. In-tree
287 ;; versions shipping with Audacity are used for now.
288 `(("wxwidgets" ,wxwidgets-gtk2)
290 ("alsa-lib" ,alsa-lib)
296 ("libid3tag" ,libid3tag)
298 ("libsbsms" ,libsbsms)
299 ("libsndfile" ,libsndfile)
300 ("soundtouch" ,soundtouch)
301 ("soxr" ,soxr) ;replaces libsamplerate
304 ("libvorbis" ,libvorbis)
307 ("portaudio" ,portaudio)))
309 `(("autoconf" ,autoconf)
310 ("automake" ,automake)
311 ("gettext" ,gettext-minimal) ;for msgfmt
313 ("pkg-config" ,pkg-config)
318 (let ((libid3tag (assoc-ref %build-inputs "libid3tag"))
319 (libmad (assoc-ref %build-inputs "libmad")))
321 ;; Loading FFmpeg dynamically is problematic.
322 "--disable-dynamic-loading"
323 ;; libid3tag and libmad provide no .pc files, so pkg-config fails to
324 ;; find them. Force their inclusion.
325 (string-append "ID3TAG_CFLAGS=-I" libid3tag "/include")
326 (string-append "ID3TAG_LIBS=-L" libid3tag "/lib -lid3tag -lz")
327 (string-append "LIBMAD_CFLAGS=-I" libmad "/include")
328 (string-append "LIBMAD_LIBS=-L" libmad "/lib -lmad")))
330 (modify-phases %standard-phases
331 ;; FFmpeg is only detected if autoreconf runs.
332 (add-before 'configure 'autoreconf
334 (zero? (system* "autoreconf" "-vfi")))))
335 ;; The test suite is not "well exercised" according to the developers,
336 ;; and fails with various errors. See
337 ;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>.
339 (home-page "http://audacity.sourceforge.net/")
340 (synopsis "Software for recording and editing sounds")
342 "Audacity is a multi-track audio editor designed for recording, playing
343 and editing digital audio. It features digital effects and spectrum analysis
345 (license license:gpl2+)))
353 (uri (string-append "mirror://savannah/ll-plugins/azr3-jack-"
358 "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc"))
359 (patches (search-patches "azr3.patch"))))
360 (build-system gnu-build-system)
362 `(#:tests? #f ; no check target
365 "CXXFLAGS=-std=gnu++11"
366 "CFLAGS=-std=gnu++11"
367 (string-append "prefix=" %output)
368 (string-append "pkgdatadir=" %output "/share/azr3-jack"))))
375 `(("pkg-config" ,pkg-config)))
376 (home-page "http://ll-plugins.nongnu.org/azr3/")
377 (synopsis "Tonewheel organ synthesizer")
379 "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ
380 with drawbars, distortion and rotating speakers. The organ has three
381 sections, two polyphonic sections with nine drawbars each and one monophonic
382 bass section with five drawbars. A standalone JACK application and LV2
383 plugins are provided.")
384 (license license:gpl2)))
392 (uri (string-append "http://calf-studio-gear.org/files/calf-"
396 "019fwg00jv217a5r767z7szh7vdrarybac0pr2sk26xp81kibrx9"))))
397 (build-system gnu-build-system)
399 `(("fluidsynth" ,fluidsynth)
410 `(("pkg-config" ,pkg-config)))
412 (list (search-path-specification
413 (variable "LV2_PATH")
414 (files '("lib/lv2")))))
415 (home-page "http://calf.sourceforge.net/")
416 (synopsis "Audio plug-in pack for LV2 and JACK environments")
418 "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments.
419 The suite contains lots of effects (delay, modulation, signal processing,
420 filters, equalizers, dynamics, distortion and mastering effects),
421 instruments (SF2 player, organ simulator and a monophonic synthesizer) and
422 tools (analyzer, mono/stereo tools, crossovers).")
423 ;; calfjackhost is released under GPLv2+
424 ;; The plugins are released under LGPLv2.1+
425 (license (list license:lgpl2.1+ license:gpl2+))))
427 (define-public espeak
433 (uri (string-append "mirror://sourceforge/espeak/espeak/"
434 "espeak-" (version-major+minor version)
435 "/espeak-" version "-source.zip"))
438 "0n86gwh9pw0jqqpdz7mxggllfr8k0r7pc67ayy7w5z6z79kig6mz"))
439 (modules '((guix build utils)))
441 ;; remove prebuilt binaries
442 '(delete-file-recursively "linux_32bit"))))
443 (build-system gnu-build-system)
445 `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
446 (string-append "DATADIR="
447 (assoc-ref %outputs "out")
448 "/share/espeak-data")
449 (string-append "LDFLAGS=-Wl,-rpath="
450 (assoc-ref %outputs "out")
453 #:tests? #f ; no check target
455 (modify-phases %standard-phases
459 ;; We use version 19 of the PortAudio library, so we must copy the
460 ;; corresponding file to be sure that espeak compiles correctly.
461 (copy-file "portaudio19.h" "portaudio.h")
462 (substitute* "Makefile"
466 `(("portaudio" ,portaudio)
467 ("pulseaudio" ,pulseaudio)))
468 (native-inputs `(("unzip" ,unzip)))
469 (home-page "http://espeak.sourceforge.net/")
470 (synopsis "Software speech synthesizer")
471 (description "eSpeak is a software speech synthesizer for English and
472 other languages. eSpeak uses a \"formant synthesis\" method. This allows many
473 languages to be provided in a small size. The speech is clear, and can be used
474 at high speeds, but is not as natural or smooth as larger synthesizers which are
475 based on human speech recordings.")
476 (license license:gpl3+)))
478 (define-public infamous-plugins
480 (name "infamous-plugins")
484 (uri (string-append "https://github.com/ssj71/infamousPlugins/"
485 "archive/v" version ".tar.gz"))
486 (file-name (string-append name "-" version ".tar.gz"))
489 "0qm3ak07vc1l3f5c3c2lq9gkfknlxwn8ks03cysw1pk8hj7dwnv6"))))
490 (build-system cmake-build-system)
492 `(#:tests? #f ; There are no tests
494 (modify-phases %standard-phases
495 (add-after 'unpack 'remove-compiler-flags
497 (substitute* '("src/casynth/CMakeLists.txt"
498 "src/cheapdist/CMakeLists.txt"
499 "src/duffer/CMakeLists.txt"
500 "src/envfollower/CMakeLists.txt"
501 "src/ewham/CMakeLists.txt"
502 "src/hip2b/CMakeLists.txt"
503 "src/lushlife/CMakeLists.txt"
504 "src/powercut/CMakeLists.txt"
505 "src/powerup/CMakeLists.txt"
506 "src/stuck/CMakeLists.txt")
507 (("-msse2 -mfpmath=sse") ""))
514 ("zita-resampler" ,zita-resampler)))
516 `(("pkg-config" ,pkg-config)))
517 (home-page "http://ssj71.github.io/infamousPlugins")
518 (synopsis "LV2 plugins for live use")
520 "The infamous plugins are a collection of LV2 audio plugins for live
521 performances. The plugins include a cellular automaton synthesizer, an
522 envelope follower, distortion effects, tape effects and more.")
523 (license license:gpl2+)))
525 (define-public swh-plugins-lv2
527 (name "swh-plugins-lv2")
531 (uri (string-append "https://github.com/swh/"
532 "lv2/archive/v" version ".tar.gz"))
533 (file-name (string-append name "-" version ".tar.gz"))
536 "0j1mih0lp4fds07knp5i32in515sh0df1qi6694pmyz2wqnm295w"))))
537 (build-system gnu-build-system)
539 `(#:tests? #f ; no check target
540 #:make-flags (list "CC=gcc"
541 (string-append "PREFIX="
542 (assoc-ref %outputs "out")))
544 (modify-phases %standard-phases
545 ;; no configure script
547 (add-after 'unpack 'patch-makefile-and-enter-directory
548 ;; The default install target doesn't install, but the
549 ;; "install-system" target does.
551 (substitute* "Makefile"
552 (("install:") "install: install-system"))
558 `(("libxslt" ,libxslt)
559 ("pkg-config" ,pkg-config)))
560 (home-page "http://plugin.org.uk")
561 (synopsis "SWH plugins in LV2 format")
563 "Swh-plugins-lv2 is a collection of audio plugins in LV2 format. Plugin
564 classes include: dynamics (compressor, limiter), time (delay, chorus,
565 flanger), ringmodulator, distortion, filters, pitchshift, oscillators,
566 emulation (valve, tape), bit fiddling (decimator, pointer-cast), etc.")
567 (license license:gpl3+)))
569 (define-public csound
576 "mirror://sourceforge/csound/csound6/Csound"
577 version "/Csound" version ".tar.gz"))
580 "0a1sni6lr7qpwywpggbkp0ia3h9bwwgf9i87gsag8ra2h30v82hd"))
581 (patches (search-patches "csound-header-ordering.patch"))))
582 (build-system cmake-build-system)
584 ;; Work around this error on x86_64 with libc 2.22+:
585 ;; libmvec.so.1: error adding symbols: DSO missing from command line
586 (if (string-prefix? "x86_64" (or (%current-target-system) (%current-system)))
587 '(#:configure-flags '("-DCMAKE_EXE_LINKER_FLAGS=-lmvec"))
590 `(("alsa-lib" ,alsa-lib)
592 ("pulseaudio" ,pulseaudio)
593 ("libsndfile" ,libsndfile)
597 ("gettext" ,gettext-minimal)))
602 (home-page "http://csound.github.io/")
603 (synopsis "Sound and music computing system")
605 "Csound is a user-programmable and user-extensible sound processing
606 language and software synthesizer.")
607 (license license:lgpl2.1+)))
609 (define-public clalsadrv
616 "http://kokkinizita.linuxaudio.org"
617 "/linuxaudio/downloads/clalsadrv-"
621 "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq"))))
622 (build-system gnu-build-system)
624 `(#:tests? #f ; no "check" target
625 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
628 'unpack 'patch-makefile-and-enter-directory
630 (substitute* "libs/Makefile"
631 (("/sbin/ldconfig") "true")
632 (("^LIBDIR =.*") "LIBDIR = lib\n"))
639 (symlink "libclalsadrv.so"
640 (string-append (assoc-ref %outputs "out")
641 "/lib/libclalsadrv.so.2")))
642 ;; no configure script
643 (alist-delete 'configure %standard-phases)))))
645 `(("alsa-lib" ,alsa-lib)
647 (home-page "http://kokkinizita.linuxaudio.org")
648 (synopsis "C++ wrapper around the ALSA API")
650 "clalsadrv is a C++ wrapper around the ALSA API simplifying access to
652 (license license:gpl2+)))
654 (define-public amb-plugins
661 "http://kokkinizita.linuxaudio.org"
662 "/linuxaudio/downloads/AMB-plugins-"
666 "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl"))))
667 (build-system gnu-build-system)
669 `(#:tests? #f ; no "check" target
671 (modify-phases %standard-phases
672 ;; no configure script
674 (add-before 'install 'prepare-target-directory
675 (lambda* (#:key outputs #:allow-other-keys)
676 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
678 (add-after 'unpack 'override-target-directory-and-tool-paths
679 (lambda* (#:key outputs #:allow-other-keys)
680 (substitute* "Makefile"
682 (string-append (assoc-ref outputs "out") "/lib/ladspa"))
683 (("/usr/bin/install") (which "install"))
686 (home-page "http://kokkinizita.linuxaudio.org")
687 (synopsis "LADSPA ambisonics plugins")
689 "The AMB plugins are a set of LADSPA ambisonics plugins, mainly to be
690 used within Ardour. Features include: mono and stereo to B-format panning,
691 horizontal rotator, square, hexagon and cube decoders.")
692 (license license:gpl2+)))
694 (define-public mcp-plugins
701 "http://kokkinizita.linuxaudio.org"
702 "/linuxaudio/downloads/MCP-plugins-"
706 "06a9r1l85jmg7l1cvc3788mk8ra0xagjfy1rmhw3b80y4n0vlnvc"))))
707 (build-system gnu-build-system)
709 `(#:tests? #f ; no "check" target
711 (modify-phases %standard-phases
712 ;; no configure script
714 (add-before 'install 'prepare-target-directory
715 (lambda* (#:key outputs #:allow-other-keys)
716 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
718 (add-after 'unpack 'override-target-directory
719 (lambda* (#:key outputs #:allow-other-keys)
720 (substitute* "Makefile"
721 (("/usr") (assoc-ref outputs "out")))
723 (home-page "http://kokkinizita.linuxaudio.org")
724 (synopsis "Chorus, phaser, and vintage high-pass and low-pass filters")
726 "This package provides various LADSPA plugins. @code{cs_chorus} and
727 @code{cs_phaser} provide chorus and phaser effects, respectively;
728 @code{mvclpf24} provides four implementations of the low-pass filter used in
729 vintage Moog synthesizers; @code{mvchpf24} is based on the voltage-controlled
730 high-pass filter by Robert Moog. The filters attempt to accurately emulate
731 the non-linear circuit elements of their original analog counterparts.")
732 (license license:gpl2+)))
734 (define-public rev-plugins
741 "http://kokkinizita.linuxaudio.org"
742 "/linuxaudio/downloads/REV-plugins-"
746 "1ikpinxm00pkfi259bnkzhsy3miagrjgdihaaf5x4v7zac29j3g7"))))
747 (build-system gnu-build-system)
749 `(#:tests? #f ; no "check" target
751 (modify-phases %standard-phases
752 ;; no configure script
754 (add-before 'install 'prepare-target-directory
755 (lambda* (#:key outputs #:allow-other-keys)
756 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
758 (add-after 'unpack 'override-target-directory
759 (lambda* (#:key outputs #:allow-other-keys)
760 (substitute* "Makefile"
761 (("/usr") (assoc-ref outputs "out")))
763 (home-page "http://kokkinizita.linuxaudio.org")
764 (synopsis "LADSPA reverb plugin")
766 "This package provides a stereo reverb LADSPA plugin based on the
767 well-known greverb.")
768 (license license:gpl2+)))
770 (define-public fil-plugins
777 "http://kokkinizita.linuxaudio.org"
778 "/linuxaudio/downloads/FIL-plugins-"
782 "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw"))))
783 (build-system gnu-build-system)
785 `(#:tests? #f ; no "check" target
787 (modify-phases %standard-phases
788 ;; no configure script
790 (add-before 'install 'prepare-target-directory
791 (lambda* (#:key outputs #:allow-other-keys)
792 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
794 (add-after 'unpack 'override-target-directory
795 (lambda* (#:key outputs #:allow-other-keys)
796 (substitute* "Makefile"
797 (("/usr") (assoc-ref outputs "out")))
799 (home-page "http://kokkinizita.linuxaudio.org")
800 (synopsis "LADSPA four-band parametric equalizer plugin")
802 "This package provides a LADSPA plugin for a four-band parametric
803 equalizer. Each section has an active/bypass switch, frequency, bandwidth and
804 gain controls. There is also a global bypass switch and gain control.
806 The 2nd order resonant filters are implemented using a Mitra-Regalia style
807 lattice filter, which is stable even while parameters are being changed.
809 All switches and controls are internally smoothed, so they can be used 'live'
810 without any clicks or zipper noises. This makes this plugin suitable for use
811 in systems that allow automation of plugin control ports, such as Ardour, or
813 (license license:gpl2+)))
815 (define-public ste-plugins
822 "http://kokkinizita.linuxaudio.org"
823 "/linuxaudio/downloads/STE-plugins-"
827 "0s3c9w5xihs87cnd1lh9xgj3maabjdyh6bl766qp5lhkg3ax8zy6"))))
828 (build-system gnu-build-system)
830 `(#:tests? #f ; no "check" target
832 (modify-phases %standard-phases
833 ;; no configure script
835 (add-before 'install 'prepare-target-directory
836 (lambda* (#:key outputs #:allow-other-keys)
837 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
839 (add-after 'unpack 'override-target-directory
840 (lambda* (#:key outputs #:allow-other-keys)
841 (substitute* "Makefile"
842 (("/usr") (assoc-ref outputs "out")))
844 (home-page "http://kokkinizita.linuxaudio.org")
845 (synopsis "LADSPA stereo width plugin")
847 "This package provides a LADSPA plugin to manipulate the stereo width of
849 (license license:gpl2+)))
851 (define-public vco-plugins
858 "http://kokkinizita.linuxaudio.org"
859 "/linuxaudio/downloads/VCO-plugins-"
863 "1xzqdg3b07r7zww05y9bb737l9dxvfkv28m3fyak1aazaci3rsgl"))))
864 (build-system gnu-build-system)
866 `(#:tests? #f ; no "check" target
868 (modify-phases %standard-phases
869 ;; no configure script
871 (add-before 'install 'prepare-target-directory
872 (lambda* (#:key outputs #:allow-other-keys)
873 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
875 (add-after 'unpack 'override-target-directory
876 (lambda* (#:key outputs #:allow-other-keys)
877 (substitute* "Makefile"
878 (("/usr") (assoc-ref outputs "out"))
879 (("/bin/cp") (which "cp")))
881 (home-page "http://kokkinizita.linuxaudio.org")
882 (synopsis "LADSPA plugin for synthesizer oscillators")
884 "The @code{blvco} LADSPA plugin provides three anti-aliased oscillators:
887 @item Pulse-VCO, a dirac pulse oscillator with flat amplitude spectrum
888 @item Saw-VCO, a sawtooth oscillator with 1/F amplitude spectrum
889 @item Rec-VCO, a square / rectange oscillator
892 All oscillators are low-pass filtered to provide waveforms similar to the
893 output of analog synthesizers such as the Moog Voyager.")
894 (license license:gpl2+)))
896 (define-public wah-plugins
903 "http://kokkinizita.linuxaudio.org"
904 "/linuxaudio/downloads/WAH-plugins-"
908 "1wkbjarxdhjixkh7d5abralj11dj2xxg644fz3ycd7qyfgfvjfgd"))))
909 (build-system gnu-build-system)
911 `(#:tests? #f ; no "check" target
913 (modify-phases %standard-phases
914 ;; no configure script
916 (add-before 'install 'prepare-target-directory
917 (lambda* (#:key outputs #:allow-other-keys)
918 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
920 (add-after 'unpack 'override-target-directory
921 (lambda* (#:key outputs #:allow-other-keys)
922 (substitute* "Makefile"
923 (("/usr") (assoc-ref outputs "out")))
925 (home-page "http://kokkinizita.linuxaudio.org")
926 (synopsis "LADSPA Autowah effect plugin")
928 "This package provides a LADSPA plugin for a Wah effect with envelope
930 (license license:gpl2+)))
932 (define-public g2reverb
939 "http://kokkinizita.linuxaudio.org"
940 "/linuxaudio/downloads/g2reverb-"
944 "18wb8vj1kky5glr76s34awbi8qzplsmf3wjbd7a12hfv4j0bkwrj"))))
945 (build-system gnu-build-system)
947 `(#:tests? #f ; no "check" target
949 (modify-phases %standard-phases
950 ;; no configure script
952 (add-before 'install 'prepare-target-directory
953 (lambda* (#:key outputs #:allow-other-keys)
954 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
956 (add-after 'unpack 'override-target-directory
957 (lambda* (#:key outputs #:allow-other-keys)
958 (substitute* "Makefile"
959 (("/usr") (assoc-ref outputs "out")))
961 (home-page "http://kokkinizita.linuxaudio.org")
962 (synopsis "LADSPA stereo reverb plugin")
964 "This package provides a LADSPA plugin for a stereo reverb effect.")
965 (license license:gpl2+)))
967 (define-public fluidsynth
974 "mirror://sourceforge/fluidsynth/fluidsynth-"
975 version "/fluidsynth-" version ".tar.gz"))
978 "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah"))))
979 (build-system gnu-build-system)
984 'remove-broken-symlinks
985 (lambda _ (delete-file-recursively "m4") #t)
988 `(("libsndfile" ,libsndfile)
989 ("alsa-lib" ,alsa-lib)
993 ("readline" ,readline)
996 `(("pkg-config" ,pkg-config)))
997 (home-page "http://www.fluidsynth.org/")
998 (synopsis "SoundFont synthesizer")
1000 "FluidSynth is a real-time software synthesizer based on the SoundFont 2
1001 specifications. FluidSynth reads and handles MIDI events from the MIDI input
1002 device. It is the software analogue of a MIDI synthesizer. FluidSynth can
1003 also play midifiles using a Soundfont.")
1004 (license license:gpl2+)))
1006 (define-public faad2
1012 (uri (string-append "mirror://sourceforge/faac/faad2-src/faad2-"
1013 version "/faad2-" version ".zip"))
1016 "16f3l16c00sg0wkrkm3vzv0gy3g97x309vw788igs0cap2x1ak3z"))))
1017 (build-system gnu-build-system)
1019 `(("autoconf" ,autoconf)
1020 ("automake" ,automake)
1021 ("libtool" ,libtool)
1028 (substitute* "bootstrap" (("\r\n") "\n"))
1029 (zero? (system* "sh" "bootstrap")))
1031 (home-page "http://www.audiocoding.com/faad2.html")
1032 (synopsis "MPEG-4 and MPEG-2 AAC decoder")
1034 "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR,
1036 (license license:gpl2)))
1038 (define-public faust
1045 "mirror://sourceforge/faudiostream/faust-" version ".zip"))
1048 "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1"))
1050 ;; Remove prebuilt library
1051 '(delete-file "architecture/android/libs/armeabi-v7a/libfaust_dsp.so"))))
1052 (build-system gnu-build-system)
1054 `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
1057 (modify-phases %standard-phases
1058 ;; no "configure" script
1059 (delete 'configure))))
1061 `(("unzip" ,unzip)))
1062 (home-page "http://faust.grame.fr/")
1063 (synopsis "Signal processing language")
1065 "Faust is a programming language for realtime audio signal processing.")
1066 (license license:gpl2+)))
1068 (define-public faust-2
1075 "mirror://sourceforge/faudiostream/faust-" version ".tgz"))
1078 "1yryjqfqmxs7lxy95hjgmrncvl9kig3rcsmg0v49ghzz7vs7haxf"))))
1079 (build-system gnu-build-system)
1081 (substitute-keyword-arguments (package-arguments faust)
1082 ((#:make-flags flags)
1083 `(list (string-append "prefix=" (assoc-ref %outputs "out"))
1086 `(("llvm" ,llvm-with-rtti)
1089 ("ctags" ,emacs-minimal) ; for ctags
1090 ("pkg-config" ,pkg-config)))
1092 `(("libsndfile" ,libsndfile)
1093 ("libmicrohttpd" ,libmicrohttpd)
1094 ("ncurses" ,ncurses)
1095 ("openssl" ,openssl)
1098 (define-public freepats
1101 (version "20060219")
1104 (uri (string-append "http://freepats.zenvoid.org/freepats-"
1105 version ".tar.bz2"))
1108 "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82"))))
1109 (build-system trivial-build-system)
1111 `(#:modules ((guix build utils))
1113 (use-modules (guix build utils))
1114 (let ((out (string-append %output "/share/freepats")))
1115 (setenv "PATH" (string-append
1116 (assoc-ref %build-inputs "bzip2") "/bin:"
1117 (assoc-ref %build-inputs "tar") "/bin"))
1118 (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
1120 ;; Use absolute pattern references
1121 (substitute* "freepats.cfg"
1122 (("Tone_000") (string-append out "/Tone_000"))
1123 (("Drum_000") (string-append out "/Drum_000")))
1125 (copy-recursively "." out)))))
1129 (home-page "http://freepats.zenvoid.org")
1130 (synopsis "GUS compatible patches for MIDI players")
1132 "FreePats is a project to create a free and open set of GUS compatible
1133 patches that can be used with softsynths such as Timidity and WildMidi.")
1134 ;; GPLv2+ with exception for compositions using these patches.
1135 (license license:gpl2+)))
1137 (define-public guitarix
1144 "mirror://sourceforge/guitarix/guitarix/guitarix2-"
1148 "0pvw4ijkq6lcn45vrif9b4mqmgzi0qg1dp5b33kb5zan6n1aci4j"))))
1149 (build-system waf-build-system)
1151 `(#:tests? #f ; no "check" target
1155 ;; Add the output lib directory to the RUNPATH.
1156 (string-append "--ldflags=-Wl,-rpath=" %output "/lib")
1157 "--cxxflags=-std=c++11")))
1159 `(("libsndfile" ,libsndfile)
1171 ("zita-resampler" ,zita-resampler)
1172 ("zita-convolver" ,zita-convolver)))
1176 ("intltool" ,intltool)
1177 ("gettext" ,gettext-minimal)
1178 ("pkg-config" ,pkg-config)))
1179 (native-search-paths
1180 (list (search-path-specification
1181 (variable "LV2_PATH")
1182 (files '("lib/lv2")))))
1183 (home-page "http://guitarix.org/")
1184 (synopsis "Virtual guitar amplifier")
1185 (description "Guitarix is a virtual guitar amplifier running JACK.
1186 Guitarix takes the signal from your guitar as a mono-signal from your sound
1187 card. The input is processed by a main amp and a rack-section. Both can be
1188 routed separately and deliver a processed stereo-signal via JACK. You may
1189 fill the rack with effects from more than 25 built-in modules including stuff
1190 from a simple noise gate to modulation effects like flanger, phaser or
1192 (license license:gpl2+)))
1194 (define-public guitarix-lv2
1195 (package (inherit guitarix)
1196 (name "guitarix-lv2")
1198 (substitute-keyword-arguments (package-arguments guitarix)
1199 ((#:configure-flags flags)
1200 `(cons "--lv2-only" ,flags))))
1202 (alist-delete "webkitgtk/gtk+-2" (package-inputs guitarix)))))
1204 (define-public rakarrack
1210 (uri (string-append "mirror://sourceforge/rakarrack/rakarrack/"
1211 "rakarrack-" version "/rakarrack-"
1212 version ".tar.bz2"))
1215 "1rpf63pdn54c4yg13k7cb1w1c7zsvl97c4qxcpz41c8l91xd55kn"))
1216 (modules '((guix build utils)))
1219 (substitute* '("src/process.C"
1221 (("#include <Fl/") "#include <FL/"))
1223 (build-system gnu-build-system)
1225 `(("alsa-utils" ,alsa-utils)
1228 ("libxext" ,libxext)
1229 ("libxfixes" ,libxfixes)
1231 ("libxrender" ,libxrender)
1233 ("fontconfig" ,fontconfig)
1234 ("freetype" ,freetype)
1236 ("alsa-lib" ,alsa-lib)
1237 ("libsndfile" ,libsndfile)
1238 ("libsamplerate" ,libsamplerate)
1240 (home-page "http://rakarrack.sourceforge.net/")
1241 (synopsis "Audio effects processor")
1243 "Rakarrack is a richly featured multi-effects processor emulating a
1244 guitar effects pedalboard. Effects include compressor, expander, noise gate,
1245 equalizers, exciter, flangers, chorus, various delay and reverb effects,
1246 distortion modules and many more. Most of the effects engine is built from
1247 modules found in the excellent software synthesizer ZynAddSubFX. Presets and
1248 user interface are optimized for guitar, but Rakarrack processes signals in
1249 stereo while it does not apply internal band-limiting filtering, and thus is
1250 well suited to all musical instruments and vocals.")
1251 ;; The code is explicitly licensed under the GPL version 2 only.
1252 (license license:gpl2)))
1260 ;; The original home-page is gone. Download the tarball from an
1261 ;; archive mirror instead.
1262 (uri (list (string-append
1263 "https://web.archive.org/web/20150803095032/"
1264 "http://factorial.hu/system/files/ir.lv2-"
1267 "https://mirrors.kernel.org/gentoo/distfiles/ir.lv2-"
1268 version ".tar.gz")))
1271 "1jh2z01l9m4ar7yz0n911df07dygc7n4cl59p7qdjbh0nvkm747g"))))
1272 (build-system gnu-build-system)
1274 `(#:tests? #f ; no tests
1275 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1276 #:phases (modify-phases %standard-phases
1277 (delete 'configure)))) ; no configure script
1279 `(("libsndfile" ,libsndfile)
1280 ("libsamplerate" ,libsamplerate)
1284 ("zita-convolver" ,zita-convolver)))
1286 `(("pkg-config" ,pkg-config)))
1287 (native-search-paths
1288 (list (search-path-specification
1289 (variable "LV2_PATH")
1290 (files '("lib/lv2")))))
1291 ;; Link to an archived copy of the home-page since the original is gone.
1292 (home-page (string-append "https://web.archive.org/web/20150803095032/"
1293 "http://factorial.hu/plugins/lv2/ir"))
1294 (synopsis "LV2 convolution reverb")
1296 "IR is a low-latency, real-time, high performance signal convolver
1297 especially for creating reverb effects. It supports impulse responses with 1,
1298 2 or 4 channels, in any soundfile format supported by libsndfile.")
1299 (license license:gpl2+)))
1301 (define-public jack-1
1308 "http://jackaudio.org/downloads/jack-audio-connection-kit-"
1313 "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"))))
1314 (build-system gnu-build-system)
1316 `(("alsa-lib" ,alsa-lib)
1317 ("readline" ,readline)))
1318 ;; uuid.h is included in the JACK type headers
1319 ;; db.h is included in the libjack metadata headers
1321 `(("libuuid" ,util-linux)
1324 `(("pkg-config" ,pkg-config)))
1325 (home-page "http://jackaudio.org/")
1326 (synopsis "JACK audio connection kit")
1328 "JACK is a low-latency audio server. It can connect a number of
1329 different applications to an audio device, as well as allowing them to share
1330 audio between themselves. JACK is different from other audio server efforts
1331 in that it has been designed from the ground up to be suitable for
1332 professional audio work. This means that it focuses on two key areas:
1333 synchronous execution of all clients, and low latency operation.")
1334 ;; Most files are licensed under the GPL. However, the libjack/ tree is
1335 ;; licensed under the LGPL in order to allow for proprietary usage.
1336 (license (list license:gpl2+ license:lgpl2.1+))))
1338 ;; Packages depending on JACK should always prefer jack-1. Both jack-1 and
1339 ;; jack-2 implement the same API. JACK2 is provided primarily as a client
1340 ;; program for users who might benefit from the D-BUS features.
1341 (define-public jack-2
1342 (package (inherit jack-1)
1348 "https://github.com/jackaudio/jack2/archive/v"
1351 (file-name (string-append name "-" version ".tar.gz"))
1354 "03b0iiyk3ng3vh5s8gaqwn565vik7910p56mlbk512bw3dhbdwc8"))))
1355 (build-system waf-build-system)
1357 `(#:python ,python-2
1358 #:tests? #f ; no check target
1359 #:configure-flags '("--dbus"
1362 (modify-phases %standard-phases
1363 (add-after 'unpack 'patch-fast_rand
1365 (substitute* "common/memops.c"
1366 ;; Fixed in upstream commit d3c8e2d8d78899fba40a3e677ed4dbe388d82269
1367 (("^inline unsigned int fast_rand" line)
1368 (string-append "static " line))
1369 ;; Fixed in upstream commit 0279a2d65a36d1378f5bab56d95bf9e99cc8cefb
1370 ((" 96314165") " 196314165"))
1373 'configure 'set-linkflags
1375 ;; Add $libdir to the RUNPATH of all the binaries.
1376 (substitute* "wscript"
1377 ((".*CFLAGS.*-Wall.*" m)
1379 " conf.env.append_unique('LINKFLAGS',"
1380 "'-Wl,-rpath=" %output "/lib')\n")))))
1381 (add-after 'install 'wrap-python-scripts
1382 (lambda* (#:key inputs outputs #:allow-other-keys)
1383 ;; Make sure 'jack_control' runs with the correct PYTHONPATH.
1384 (let* ((out (assoc-ref outputs "out"))
1385 (path (getenv "PYTHONPATH")))
1386 (wrap-program (string-append out "/bin/jack_control")
1387 `("PYTHONPATH" ":" prefix (,path))))
1390 `(("alsa-lib" ,alsa-lib)
1393 ("libsamplerate" ,libsamplerate)
1395 ("python2-dbus" ,python2-dbus)
1396 ("readline" ,readline)))
1398 `(("pkg-config" ,pkg-config)))
1399 ;; Most files are under GPLv2+, but some headers are under LGPLv2.1+
1400 (license (list license:gpl2+ license:lgpl2.1+))))
1408 (uri (string-append "http://download.drobilla.net/jalv-"
1409 version ".tar.bz2"))
1412 "1x2wpzzx2cgvz3dgdcgsj8dr0w3zsasy62mvl199bsdj5fbjaili"))))
1413 (build-system waf-build-system)
1415 `(#:tests? #f ; no check target
1417 (modify-phases %standard-phases
1419 'configure 'set-flags
1421 ;; Compile with C++11, required by gtkmm.
1422 (setenv "CXXFLAGS" "-std=c++11")
1432 `(("pkg-config" ,pkg-config)))
1433 (home-page "http://drobilla.net/software/jalv/")
1434 (synopsis "Simple LV2 host for JACK")
1436 "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2
1437 plugins and exposes their ports as JACK ports, essentially making any LV2
1438 plugin function as a JACK application.")
1439 (license license:isc)))
1441 (define-public ladspa
1448 ;; Since the official link is dead,
1449 ;; we download the tarball from Debian or Internet Archive.
1450 (uri (list (string-append "http://http.debian.net"
1451 "/debian/pool/main/l/ladspa-sdk/ladspa-sdk_"
1452 version ".orig.tar.gz")
1453 (string-append "https://web.archive.org/web/20140717172251/"
1454 "http://www.ladspa.org/download/ladspa_sdk_"
1458 "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
1459 (build-system gnu-build-system)
1461 `(#:tests? #f ; the "test" target is a listening test only
1465 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
1467 (let ((out (assoc-ref outputs "out")))
1468 (substitute* "makefile"
1469 (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/"))
1470 (("/usr/include/") (string-append out "/include/"))
1471 (("/usr/bin/") (string-append out "/bin/"))
1472 (("-mkdirhier") "mkdir -p")
1473 (("^CC.*") "CC = gcc\n")
1474 (("^CPP.*") "CPP = g++\n"))))
1475 (alist-delete 'build %standard-phases))))
1476 ;; Since the home page is gone, we provide a link to the archived version.
1478 "https://web.archive.org/web/20140729190945/http://www.ladspa.org/")
1479 (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)")
1481 "LADSPA is a standard that allows software audio processors and effects
1482 to be plugged into a wide range of audio synthesis and recording packages.")
1483 (license license:lgpl2.1+)))
1488 (version "0.6.0-rc2")
1491 ;; The tilde is not permitted in the builder name, but is used
1494 "mirror://savannah/lash/lash-"
1495 (string-join (string-split version #\-) "~")
1497 (file-name (string-append name "-" version ".tar.bz2"))
1500 "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw"))))
1501 (build-system gnu-build-system)
1506 ("readline" ,readline)
1507 ("python" ,python-2)))
1508 ;; According to pkg-config, packages depending on lash also need to have
1509 ;; at least the following packages declared as inputs.
1511 `(("alsa-lib" ,alsa-lib)
1513 ("libxml2" ,libxml2)))
1515 `(("pkg-config" ,pkg-config)))
1516 (home-page "http://www.nongnu.org/lash/")
1517 (synopsis "Audio application session manager")
1519 "LASH is a session management system for audio applications. It allows
1520 you to save and restore audio sessions consisting of multiple interconneced
1521 applications, restoring program state (i.e. loaded patches) and the
1522 connections between them.")
1523 (license license:gpl2+)))
1525 (define-public libbs2b
1531 (uri (string-append "mirror://sourceforge/bs2b/libbs2b/" version
1532 "/libbs2b-" version ".tar.lzma"))
1535 "1mcc4gjkmphczjybnsrip3gq1f974knzys7x49bv197xk3fn8wdr"))))
1536 (build-system gnu-build-system)
1537 (native-inputs `(("pkg-config" ,pkg-config)))
1538 (inputs `(("libsndfile" ,libsndfile)))
1539 (home-page "https://sourceforge.net/projects/bs2b/")
1540 (synopsis "Bauer stereophonic-to-binaural DSP")
1542 "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is
1543 designed to improve headphone listening of stereo audio records. Recommended
1544 for headphone prolonged listening to disable superstereo fatigue without
1545 essential distortions.")
1546 (license license:expat)))
1548 (define-public liblo
1554 (uri (string-append "mirror://sourceforge/liblo/liblo/" version
1555 "/liblo-" version ".tar.gz"))
1558 "02drgnpirvl2ihvzgsmn02agr5sj3vipzzw9vma56qlkgfvak56s"))))
1559 (build-system gnu-build-system)
1561 `(;; liblo test FAILED
1562 ;; liblo server error 19 in setsockopt(IP_ADD_MEMBERSHIP): No such device
1564 (home-page "http://liblo.sourceforge.net")
1565 (synopsis "Implementation of the Open Sound Control protocol")
1567 "liblo is a lightweight library that provides an easy to use
1568 implementation of the Open Sound Control (OSC) protocol.")
1569 (license license:lgpl2.1+)))
1571 (define-public python-pyliblo
1573 (name "python-pyliblo")
1577 (uri (string-append "http://das.nasophon.de/download/pyliblo-"
1581 "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw"))))
1582 (build-system python-build-system)
1583 (arguments `(#:tests? #f)) ;no tests
1585 `(("python-cython" ,python-cython)))
1587 `(("liblo" ,liblo)))
1588 (home-page "http://das.nasophon.de/pyliblo/")
1589 (synopsis "Python bindings for liblo")
1591 "Pyliblo is a Python wrapper for the liblo Open Sound Control (OSC)
1592 library. It supports almost the complete functionality of liblo, allowing you
1593 to send and receive OSC messages using a nice and simple Python API. Also
1594 included are the command line utilities @code{send_osc} and @code{dump_osc}.")
1595 (license license:lgpl2.1+)))
1597 (define-public python2-pyliblo
1598 (package-with-python2 python-pyliblo))
1606 (uri (string-append "http://download.drobilla.net/lilv-"
1607 version ".tar.bz2"))
1610 "08m5a372pr1l7aii9s3pic5nm68gynx1n1bc7bnlswziq6qnbv7p"))))
1611 (build-system waf-build-system)
1613 `(#:tests? #f ; no check target
1615 (modify-phases %standard-phases
1617 'configure 'set-ldflags
1618 (lambda* (#:key outputs #:allow-other-keys)
1620 (string-append "-Wl,-rpath="
1621 (assoc-ref outputs "out") "/lib")))))))
1622 ;; required by lilv-0.pc
1626 ("sratom" ,sratom)))
1630 `(("pkg-config" ,pkg-config)))
1631 (home-page "http://drobilla.net/software/lilv/")
1632 (synopsis "Library to simplify use of LV2 plugins in applications")
1634 "Lilv is a C library to make the use of LV2 plugins as simple as possible
1635 for applications. Lilv is the successor to SLV2, rewritten to be
1636 significantly faster and have minimal dependencies.")
1637 (license license:isc)))
1645 (uri (string-append "http://lv2plug.in/spec/lv2-"
1646 version ".tar.bz2"))
1649 "0chxwys3vnn3nxc9x2vchm74s9sx0vfra6y893byy12ci61jc1dq"))))
1650 (build-system waf-build-system)
1652 `(#:tests? #f ; no check target
1653 #:configure-flags '("--no-plugins")))
1655 ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
1656 `(("libsndfile" ,libsndfile)))
1658 `(("pkg-config" ,pkg-config)))
1659 (home-page "http://lv2plug.in/")
1660 (synopsis "LV2 audio plugin specification")
1662 "LV2 is an open specification for audio plugins and host applications.
1663 At its core, LV2 is a simple stable interface, accompanied by extensions which
1664 add functionality to support the needs of increasingly powerful audio
1666 (license license:isc)))
1668 (define-public lv2-mda-piano
1670 (name "lv2-mda-piano")
1675 (url "http://git.elephly.net/software/lv2-mdametapiano.git")
1679 "07lywf6lpfpndg3i9w752mmlg2hgn1bwp23h8b0mdj6awh67abqd"))))
1680 (build-system gnu-build-system)
1682 `(#:make-flags (list
1684 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1685 #:tests? #f ; no check target
1686 #:phases (alist-delete 'configure %standard-phases)))
1691 `(("pkg-config" ,pkg-config)))
1692 (native-search-paths
1693 (list (search-path-specification
1694 (variable "LV2_PATH")
1695 (files '("lib/lv2")))))
1696 (home-page "http://elephly.net/lv2/mdapiano.html")
1697 (synopsis "LV2 port of the mda Piano plugin")
1698 (description "An LV2 port of the mda Piano VSTi.")
1699 (license license:gpl3+)))
1701 (define-public lv2-mda-epiano
1702 (package (inherit lv2-mda-piano)
1703 (name "lv2-mda-epiano")
1705 `(#:make-flags (list
1707 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1708 #:tests? #f ; no check target
1709 #:phases (alist-delete 'configure %standard-phases)))
1710 (home-page "http://elephly.net/lv2/mdaepiano.html")
1711 (synopsis "LV2 port of the mda EPiano plugin")
1712 (description "An LV2 port of the mda EPiano VSTi.")))
1720 (uri (string-append "https://github.com/lvtk/lvtk/archive/"
1723 (file-name (string-append name "-" version ".tar.gz"))
1726 "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd"))))
1727 (build-system waf-build-system)
1729 `(#:tests? #f ; no check target
1732 (list (string-append "--boost-includes="
1733 (assoc-ref %build-inputs "boost")
1735 #:phases (modify-phases %standard-phases
1737 'configure 'set-flags
1738 (lambda* (#:key inputs #:allow-other-keys)
1739 ;; See e.g. https://github.com/lvtk/lvtk/issues/21
1742 "-L" (assoc-ref inputs "boost") "/lib "
1745 (substitute* '("src/wscript_build"
1746 "examples/wscript_build")
1747 (("cxxflags.*= \\[" line)
1748 (string-append line "\"-std=c++11\", ")))
1755 `(("pkg-config" ,pkg-config)))
1756 (home-page "https://github.com/lvtk/lvtk")
1757 (synopsis "C++ libraries for LV2 plugins")
1759 "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and
1760 extensions into easy to use C++ classes. It is the successor of
1762 (license license:gpl3+)))
1764 (define-public openal
1771 "http://kcat.strangesoft.net/openal-releases/openal-soft-"
1772 version ".tar.bz2"))
1775 "051k5fy8pk4fd9ha3qaqcv08xwbks09xl5qs4ijqq2qz5xaghhd3"))))
1776 (build-system cmake-build-system)
1778 `(#:tests? #f ; no check target
1780 (modify-phases %standard-phases
1782 'unpack 'use-full-library-paths
1783 (lambda* (#:key inputs #:allow-other-keys)
1784 (substitute* "Alc/backends/pulseaudio.c"
1785 (("#define PALIB \"libpulse\\.so\\.0\"")
1786 (string-append "#define PALIB \""
1787 (assoc-ref inputs "pulseaudio")
1788 "/lib/libpulse.so.0"
1790 (substitute* "Alc/backends/alsa.c"
1791 (("LoadLib\\(\"libasound\\.so\\.2\"\\)")
1792 (string-append "LoadLib(\""
1793 (assoc-ref inputs "alsa-lib")
1794 "/lib/libasound.so.2"
1798 `(("alsa-lib" ,alsa-lib)
1799 ("pulseaudio" ,pulseaudio)))
1800 (synopsis "3D audio API")
1802 "OpenAL provides capabilities for playing audio in a virtual 3D
1803 environment. Distance attenuation, doppler shift, and directional sound
1804 emitters are among the features handled by the API. More advanced effects,
1805 including air absorption, occlusion, and environmental reverb, are available
1806 through the EFX extension. It also facilitates streaming audio, multi-channel
1807 buffers, and audio capture.")
1808 (home-page "http://kcat.strangesoft.net/openal.html")
1809 (license license:lgpl2.0+)))
1811 (define-public freealut
1817 ;; Upstream url is unclear, many systems use Fedora, there is also
1818 ;; https://github.com/vancegroup/freealut though the status of it
1819 ;; (official? unofficial?) is not clear.
1821 "https://pkgs.fedoraproject.org/repo/pkgs/" name "/" name "-"
1822 version ".tar.gz" "/e089b28a0267faabdb6c079ee173664a/" name
1823 "-" version ".tar.gz"))
1826 "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0"))))
1827 (build-system cmake-build-system)
1829 `(#:tests? #f)) ; no check target
1831 `(("openal" ,openal)))
1832 (synopsis "Free implementation of OpenAL's ALUT standard")
1833 (description "freealut is the OpenAL Utility Toolkit.")
1834 (home-page "http://kcat.strangesoft.net/openal.html")
1835 (license license:lgpl2.0)))
1837 (define-public patchage
1843 (uri (string-append "http://download.drobilla.net/patchage-"
1848 "1agdpwwi42176l4mxj0c4fsvdiv1ig56bfnnx0msckxmy57df8bb"))))
1849 (build-system waf-build-system)
1850 (arguments `(#:tests? #f)) ; no check target
1852 `(("alsa-lib" ,alsa-lib)
1858 ("dbus-glib" ,dbus-glib)))
1860 `(("pkg-config" ,pkg-config)))
1861 (home-page "http://drobilla.net/software/patchage/")
1862 (synopsis "Modular patch bay for audio and MIDI systems")
1864 "Patchage is a modular patch bay for audio and MIDI systems based on JACK
1866 (license license:gpl3+)))
1868 (define-public qjackctl
1876 "mirror://sourceforge/qjackctl/qjackctl/"
1877 version "/qjackctl-" version ".tar.gz"))
1880 "19bbljb3iz5ss4s5fmra1dxabg2fnp61sa51d63zsm56xkvv47ak"))))
1881 (build-system gnu-build-system)
1883 '(#:tests? #f)) ; no check target
1885 `(("jack-2" ,jack-2)
1887 ("qtx11extras" ,qtx11extras)))
1889 `(("pkg-config" ,pkg-config)
1890 ("qttools" ,qttools)))
1891 (home-page "https://qjackctl.sourceforge.io/")
1892 (synopsis "Jack server control application")
1893 (description "Control a Jack server. Allows you to plug various sources
1894 into various outputs and to start, stop and configure jackd")
1895 (license license:gpl2+)))
1904 (uri (string-append "http://download.drobilla.net/raul-"
1905 version ".tar.bz2"))
1908 "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b"))))
1909 (build-system waf-build-system)
1911 `(#:python ,python-2
1912 #:tests? #f)) ; no check target
1917 `(("pkg-config" ,pkg-config)))
1918 (home-page "http://drobilla.net/software/raul/")
1919 (synopsis "Real-time audio utility library")
1921 "Raul (Real-time Audio Utility Library) is a C++ utility library primarily
1922 aimed at audio/musical applications.")
1923 (license license:gpl2+)))
1925 (define-public raul-devel
1926 (let ((commit "f8bf77d3c3b77830aedafb9ebb5cdadfea7ed07a")
1928 (package (inherit raul)
1930 (version (string-append "0.8.4-" revision "."
1931 (string-take commit 9)))
1935 (url "http://git.drobilla.net/raul.git")
1937 (file-name (string-append name "-" version "-checkout"))
1940 "1lby508fb0n8ks6iz959sh18fc37br39d6pbapwvbcw5nckdrxwj")))))))
1942 (define-public rubberband
1949 (string-append "https://bitbucket.org/breakfastquay/rubberband/get/v"
1954 "05amrbrxx0da3w7m237q51799r8xgs4ffqabi2qv06hq8dpcj386"))))
1955 (build-system gnu-build-system)
1956 (arguments `(#:tests? #f)) ; no check target
1958 `(("ladspa" ,ladspa)
1959 ("libsamplerate" ,libsamplerate)
1962 `(("pkg-config" ,pkg-config)))
1963 (home-page "http://breakfastquay.com/rubberband/")
1964 (synopsis "Audio time-stretching and pitch-shifting library")
1966 "Rubber Band is a library and utility program that permits changing the
1967 tempo and pitch of an audio recording independently of one another.")
1968 (license license:gpl2+)))
1970 (define-public rtmidi
1977 (string-append "https://github.com/powertab/rtmidi/archive/"
1979 (file-name (string-append name "-" version ".tar.gz"))
1982 "0d49lapnmdgmjxh4vw57h6xk74nn5r0zwysv7jbd7m8kqhpq5rjj"))))
1983 (build-system gnu-build-system)
1985 `(#:tests? #f ;no "check" target
1986 #:phases (modify-phases %standard-phases
1988 'configure 'autoconf
1989 (lambda _ (zero? (system* "autoreconf" "-vfi"))))
1991 'build 'fix-makefile
1993 (substitute* "Makefile"
1995 (("RtMidi.h RtError.h") "RtMidi.h"))
1998 'install 'make-target-dirs
2000 (let ((out (assoc-ref %outputs "out")))
2001 (mkdir-p (string-append out "/bin"))
2002 (mkdir (string-append out "/lib"))
2003 (mkdir (string-append out "/include")))
2007 ("alsa-lib" ,alsa-lib)))
2009 `(("autoconf" ,autoconf)
2010 ("automake" ,automake)
2011 ("libtool" ,libtool)
2012 ("pkg-config" ,pkg-config)))
2013 (home-page "https://github.com/powertab/rtmidi")
2014 (synopsis "Cross-platform MIDI library for C++")
2016 "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
2017 classes) that provide a common cross-platform API for realtime MIDI
2019 (license license:expat)))
2021 (define-public sratom
2027 (uri (string-append "http://download.drobilla.net/sratom-"
2028 version ".tar.bz2"))
2031 "0hrxd9i66s06bpn6i3s9ka95134g3sm8yscmif7qgdzhyjqw42j4"))))
2032 (build-system waf-build-system)
2033 (arguments `(#:tests? #f)) ; no check target
2039 `(("pkg-config" ,pkg-config)))
2040 (home-page "http://drobilla.net/software/sratom/")
2041 (synopsis "Library for serialising LV2 atoms to/from RDF")
2043 "Sratom is a library for serialising LV2 atoms to/from RDF, particularly
2044 the Turtle syntax.")
2045 (license license:isc)))
2053 (uri (string-append "http://download.drobilla.net/suil-"
2054 version ".tar.bz2"))
2057 "1kji3lhha26qr6xm9j8ic5c40zbrrb5qnwm2qxzmsfxgmrz29wkf"))))
2058 (build-system waf-build-system)
2059 (arguments `(#:tests? #f)) ; no check target
2065 `(("pkg-config" ,pkg-config)))
2066 (home-page "http://drobilla.net/software/suil/")
2067 (synopsis "Library for loading and wrapping LV2 plugin UIs")
2069 "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
2071 Suil makes it possible to load a UI of a toolkit in a host using another
2072 toolkit. The API is designed such that hosts do not need to explicitly
2073 support specific toolkits – if Suil supports a particular toolkit, then UIs in
2074 that toolkit will work in all hosts that use Suil automatically.
2076 Suil currently supports every combination of Gtk 2, Qt 4, and X11.")
2077 (license license:isc)))
2079 (define-public timidity++
2085 (uri (string-append "mirror://sourceforge/timidity/TiMidity++"
2086 "/TiMidity++-" version
2087 "/TiMidity++-" version ".tar.bz2"))
2090 "0xk41w4qbk23z1fvqdyfblbz10mmxsllw0svxzjw5sa9y11vczzr"))))
2091 (build-system gnu-build-system)
2094 (list "--enable-audio=alsa,flac,jack,ao,vorbis,speex"
2098 (string-append "--with-default-path="
2099 (assoc-ref %outputs "out") "/etc/timidity"))
2102 'install 'install-config
2104 (let ((out (string-append (assoc-ref %outputs "out")
2107 (call-with-output-file
2108 (string-append out "/timidity.cfg")
2110 (format port (string-append "source "
2111 (assoc-ref %build-inputs "freepats")
2112 "/share/freepats/freepats.cfg"))))))
2115 `(("alsa-lib" ,alsa-lib)
2121 ("ncurses" ,ncurses)
2122 ("freepats" ,freepats)))
2124 `(("pkg-config" ,pkg-config)))
2125 (home-page "http://timidity.sourceforge.net/")
2126 (synopsis "Software synthesizer for playing MIDI files")
2128 "TiMidity++ is a software synthesizer. It can play MIDI files by
2129 converting them into PCM waveform data; give it a MIDI data along with digital
2130 instrument data files, then it synthesizes them in real-time, and plays. It
2131 can not only play sounds, but also can save the generated waveforms into hard
2132 disks as various audio file formats.")
2133 (license license:gpl2+)))
2142 "https://code.soundsoftware.ac.uk"
2143 "/attachments/download/1520/vamp-plugin-sdk-"
2147 "0pzq0yy2kdl3jgfc2aqmh5m55nk1ild0hq8mydiiw35c6y0mglyh"))))
2148 (build-system gnu-build-system)
2150 `(#:tests? #f ; no check target
2153 'install 'remove-libvamp-hostsdk.la
2154 (lambda* (#:key outputs #:allow-other-keys)
2155 ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656
2156 (for-each delete-file
2157 (let ((out (assoc-ref outputs "out")))
2158 (list (string-append out "/lib/libvamp-sdk.la")
2159 (string-append out "/lib/libvamp-hostsdk.la"))))
2163 `(("libsndfile" ,libsndfile)))
2165 `(("pkg-config" ,pkg-config)))
2166 (home-page "http://vamp-plugins.org")
2167 (synopsis "Modular and extensible audio processing system")
2169 "Vamp is an audio processing plugin system for plugins that extract
2170 descriptive information from audio data — typically referred to as audio
2171 analysis plugins or audio feature extraction plugins.")
2174 "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING"))))
2176 (define-public libsbsms
2183 (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version
2184 "/libsbsms-" version ".tar.gz"))
2186 (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf"))))
2187 (build-system gnu-build-system)
2188 (native-inputs `(("automake" ,automake)))
2191 ;; Disable the use of SSE unless on x86_64.
2192 ,(if (not (string-prefix? "x86_64" (or (%current-target-system)
2193 (%current-system))))
2197 (modify-phases %standard-phases
2199 'unpack 'fix-ar-lib-path
2200 (lambda* (#:key inputs #:allow-other-keys)
2201 ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
2202 (delete-file "ar-lib")
2204 (string-append (assoc-ref inputs "automake") "/share/automake-"
2205 ,(package-version automake) "/ar-lib")
2207 (home-page "http://sbsms.sourceforge.net/")
2208 (synopsis "Library for time stretching and pitch scaling of audio")
2210 "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time
2211 stretching and pitch scaling of audio. This package contains the library.")
2212 ;; There is no explicit declaration of a license, but a COPYING file
2214 (license license:gpl2)))
2216 (define-public wavpack
2222 (uri (string-append "http://www.wavpack.com/"
2223 name "-" version ".tar.bz2"))
2226 "0i19c6krc0p9krwrqy9s5xahaafigqzxcn31piidmlaqadyn4f8r"))))
2227 (build-system gnu-build-system)
2228 (home-page "http://www.wavpack.com/")
2229 (synopsis "Hybrid lossless audio codec")
2231 "WavPack is an audio compression format with lossless, lossy and hybrid
2232 compression modes. This package contains command-line programs and library to
2233 encode and decode wavpack files.")
2234 (license license:bsd-3)))
2236 (define-public libmodplug
2243 "mirror://sourceforge/modplug-xmms/"
2244 name "/" version "/" name "-" version ".tar.gz"))
2247 "1bfsladg7h6vnii47dd66f5vh1ir7qv12mfb8n36qiwrxq92sikp"))))
2248 (build-system gnu-build-system)
2249 (home-page "http://modplug-xmms.sourceforge.net/")
2250 (synopsis "Mod file playing library")
2252 "Libmodplug renders mod music files as raw audio data, for playing or
2253 conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are
2254 supported. Optional features include high-quality resampling, bass expansion,
2255 surround and reverb.")
2256 (license license:public-domain)))
2258 (define-public libxmp
2264 (uri (string-append "mirror://sourceforge/xmp/libxmp/" version "/"
2265 name "-" version ".tar.gz"))
2268 "1kycz4jsyvmf7ny9227b497wc7y5ligydi6fvvldmkf8hk63ad9m"))))
2269 (build-system gnu-build-system)
2270 (home-page "http://xmp.sourceforge.net/")
2271 (synopsis "Module player library")
2273 "Libxmp is a library that renders module files to PCM data. It supports
2274 over 90 mainstream and obscure module formats including Protracker (MOD),
2275 Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).")
2276 (license license:lgpl2.1+)))
2284 (uri (string-append "mirror://sourceforge/xmp/xmp/" version "/"
2285 name "-" version ".tar.gz"))
2288 "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x"))))
2289 (build-system gnu-build-system)
2291 `(("pkg-config" ,pkg-config)))
2293 `(("libxmp" ,libxmp)
2294 ("pulseaudio" ,pulseaudio)))
2295 (home-page "http://xmp.sourceforge.net/")
2296 (synopsis "Extended module player")
2298 "Xmp is a portable module player that plays over 90 mainstream and
2299 obscure module formats, including Protracker MOD, Fasttracker II XM, Scream
2300 Tracker 3 S3M and Impulse Tracker IT files.")
2301 (license license:gpl2+)))
2303 (define-public soundtouch
2312 "http://www.surina.net/soundtouch/soundtouch-" version ".tar.gz"))
2314 (base32 "0sqn3wk4qz20vf0vz853l6dl1gnj1yhqxfwxqsc5lp529kbn2h9x"))))
2315 (build-system gnu-build-system)
2317 `(("autoconf" ,autoconf)
2318 ("automake" ,automake)
2319 ("libtool" ,libtool)
2326 (zero? (system* "sh" "bootstrap")))
2328 (home-page "http://www.surina.net/soundtouch/")
2330 "Audio processing library for changing tempo, pitch and playback rate")
2332 "SoundTouch is an audio processing library for changing the tempo, pitch
2333 and playback rates of audio streams or audio files. It is intended for
2334 application developers writing sound processing tools that require tempo/pitch
2335 control functionality, or just for playing around with the sound effects.")
2336 (license license:lgpl2.1+)))
2344 (uri (string-append "mirror://sourceforge/sox/sox/" version "/"
2345 name "-" version ".tar.bz2"))
2348 "170lx90r1nlnb2j6lg00524iwvqy72p48vii4xc5prrh8dnrb9l1"))))
2349 (build-system gnu-build-system)
2352 ;; The upstream asks to identify the distribution to diagnose SoX
2354 '("--with-distro=Guix System Distribution")))
2356 `(("pkg-config" ,pkg-config)))
2358 `(("alsa-lib" ,alsa-lib)
2362 ("libid3tag" ,libid3tag)
2363 ("libltdl" ,libltdl)
2366 ("libvorbis" ,libvorbis)
2367 ("pulseaudio" ,pulseaudio)))
2368 (home-page "http://sox.sourceforge.net")
2369 (synopsis "Sound processing utility")
2371 "SoX (Sound eXchange) is a command line utility that can convert
2372 various formats of computer audio files to other formats. It can also
2373 apply various effects to these sound files, and, as an added bonus, SoX
2374 can play and record audio files.")
2375 ;; sox.c is distributed under GPL, while the files that make up
2376 ;; libsox are licensed under LGPL.
2377 (license (list license:gpl2+ license:lgpl2.1+))))
2387 (string-append "mirror://sourceforge/soxr/soxr-" version
2390 (base32 "0xf2w3piwz9gfr1xqyrj4k685q5dy53kq3igv663i4f4y4sg9rjl"))))
2391 (build-system cmake-build-system)
2392 (arguments '(#:tests? #f)) ;no 'check' target
2393 (home-page "https://sourceforge.net/p/soxr/wiki/Home/")
2394 (synopsis "One-dimensional sample-rate conversion library")
2396 "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
2397 conversion. It may be used, for example, to resample PCM-encoded audio.")
2398 (license license:lgpl2.1+)))
2400 (define-public twolame
2407 (uri (string-append "mirror://sourceforge/twolame/twolame/" version
2408 "/twolame-" version ".tar.gz"))
2410 (base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq"))
2411 (modules '((guix build utils)))
2412 ;; The tests break with Perl 5.24:
2413 ;; https://github.com/njh/twolame/issues/21
2414 ;; TODO: Remove this snippet when upgrading twolame.
2417 (substitute* "tests/test.pl" (("\\(@_\\)") "($_[0])"))
2419 (build-system gnu-build-system)
2421 `(("libsndfile" ,libsndfile)))
2424 ("which" ,which))) ;used in tests/test.pl
2425 (home-page "http://www.twolame.org/")
2426 (synopsis "MPEG Audio Layer 2 (MP2) encoder")
2428 "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
2429 tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
2431 (license license:lgpl2.1+)))
2433 (define-public portaudio
2436 (version "190600.20161030")
2441 "http://www.portaudio.com/archives/pa_stable_v"
2442 (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
2445 (base32 "04qmin6nj144b8qb9kkd9a52xfvm0qdgm8bg8jbl7s3frmyiv8pm"))
2446 (patches (search-patches "portaudio-audacity-compat.patch"))))
2447 (build-system gnu-build-system)
2449 ;; TODO: Add ASIHPI.
2450 `(("alsa-lib" ,alsa-lib)
2453 `(("autoconf" ,autoconf)
2454 ("automake" ,automake)
2455 ("libtool" ,libtool)
2456 ("pkg-config" ,pkg-config)))
2459 ;; Autoreconf is necessary because the audacity-compat patch modifies
2464 (zero? (system* "autoreconf" "-vif")))
2466 #:tests? #f)) ;no 'check' target
2467 (home-page "http://www.portaudio.com/")
2468 (synopsis "Audio I/O library")
2470 "PortAudio is a portable C/C++ audio I/O library providing a simple API
2471 to record and/or play sound using a callback function or a blocking read/write
2473 (license license:expat)))
2475 (define-public qsynth
2482 (uri (string-append "mirror://sourceforge/qsynth/qsynth/" version
2483 "/qsynth-" version ".tar.gz"))
2485 (base32 "1j5hm99fjrnaw8wbmlh4qixkv3rw5dl429mp1ag7js2ydrx0j9yy"))))
2486 (build-system gnu-build-system)
2488 `(#:tests? #f ; no "check" phase
2490 '("CXXFLAGS=-std=gnu++11")))
2492 `(("qttools" ,qttools)
2493 ("pkg-config" ,pkg-config)))
2495 `(("fluidsynth" ,fluidsynth)
2497 ("qtx11extras" ,qtx11extras)))
2498 (home-page "http://qsynth.sourceforge.net")
2499 (synopsis "Graphical user interface for FluidSynth")
2501 "Qsynth is a GUI front-end application for the FluidSynth SoundFont
2502 synthesizer written in C++.")
2503 (license license:gpl2+)))
2505 (define-public rsound
2512 (uri (string-append "https://github.com/Themaister/RSound/archive/v"
2514 (file-name (string-append name "-" version))
2516 (base32 "1wzs40c0k5zpkmm5ffl6c17xmr399sxli7ys0fbb9ib0fd334knx"))))
2517 (build-system gnu-build-system)
2519 `(("alsa-lib" ,alsa-lib)
2522 ("libsamplerate" ,libsamplerate)
2524 ("portaudio" ,portaudio)
2525 ("pulseaudio" ,pulseaudio)))
2530 (lambda* (#:key outputs #:allow-other-keys)
2533 (system* "./configure"
2534 (string-append "--prefix=" (assoc-ref outputs "out")))))
2536 ;; No 'check' target.
2538 (home-page "http://themaister.net/rsound.html")
2539 (synopsis "Networked audio system")
2541 "RSound allows you to send audio from an application and transfer it
2542 directly to a different computer on your LAN network. It is an audio daemon
2543 with a much different focus than most other audio daemons.")
2544 (license license:gpl3+)))
2546 (define-public xjackfreak
2553 "https://github.com/johnhldavis/xjackfreak/archive/v"
2555 (file-name (string-append name "-" version ".tar.gz"))
2558 "0xj6gpxfnw9jbdgwgm0x23xgfvj2kwmwb1nk0drw8lxgcchkq7d9"))))
2559 (build-system gnu-build-system)
2562 (list (string-append "docdir=" (assoc-ref %outputs "out")
2563 "/share/doc/xjackfreak"))))
2568 ("libxext" ,libxext)))
2570 `(("pkg-config" ,pkg-config)))
2571 (home-page "https://github.com/johnhldavis/xjackfreak")
2572 (synopsis "JACK audio frequency analyzer and display")
2574 "XJackFreak is an audio analysis and equalizing tool for the Jack Audio
2575 Connection Kit. It can display the FFT of any input, modify it and output the
2577 (license license:gpl3+)))
2579 (define-public zita-convolver
2581 (name "zita-convolver")
2586 "http://kokkinizita.linuxaudio.org"
2587 "/linuxaudio/downloads/zita-convolver-"
2588 version ".tar.bz2"))
2590 ;; Don't optimize for a specific processor architecture.
2591 '(substitute* "libs/Makefile"
2592 (("^CXXFLAGS \\+= -march=native") "")))
2593 (modules '((guix build utils)))
2596 "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))
2597 (build-system gnu-build-system)
2599 `(#:tests? #f ; no "check" target
2600 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2603 'unpack 'patch-makefile-and-enter-directory
2605 (substitute* "libs/Makefile"
2606 (("ldconfig") "true")
2607 (("^LIBDIR =.*") "LIBDIR = lib\n"))
2613 (symlink "libzita-convolver.so"
2614 (string-append (assoc-ref %outputs "out")
2615 "/lib/libzita-convolver.so.3")))
2616 ;; no configure script
2617 (alist-delete 'configure %standard-phases)))))
2618 (inputs `(("fftwf" ,fftwf)))
2619 (home-page "http://kokkinizita.linuxaudio.org")
2620 (synopsis "Fast, partitioned convolution engine library")
2622 "Zita convolver is a C++ library providing a real-time convolution
2624 (license license:gpl3+)))
2626 (define-public zita-resampler
2628 (name "zita-resampler")
2633 "http://kokkinizita.linuxaudio.org"
2634 "/linuxaudio/downloads/zita-resampler-"
2635 version ".tar.bz2"))
2637 ;; Don't optimize for a specific processor architecture.
2638 '(substitute* '("apps/Makefile" "libs/Makefile")
2639 (("^CXXFLAGS \\+= -march=native") "")))
2640 (modules '((guix build utils)))
2643 "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
2644 (build-system gnu-build-system)
2646 `(#:tests? #f ; no "check" target
2647 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2649 (modify-phases %standard-phases
2651 'unpack 'patch-makefile-and-enter-directory
2653 (substitute* "libs/Makefile"
2654 (("ldconfig") "true")
2655 (("^LIBDIR =.*") "LIBDIR = lib\n"))
2659 'install 'install-symlink
2661 (symlink "libzita-resampler.so"
2662 (string-append (assoc-ref %outputs "out")
2663 "/lib/libzita-resampler.so.1"))))
2664 ;; no configure script
2665 (delete 'configure))))
2666 (home-page "http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html")
2667 (synopsis "C++ library for resampling audio signals")
2669 "Libzita-resampler is a C++ library for resampling audio signals. It is
2670 designed to be used within a real-time processing context, to be fast, and to
2671 provide high-quality sample rate conversion.")
2672 (license license:gpl3+)))
2674 (define-public zita-alsa-pcmi
2676 (name "zita-alsa-pcmi")
2681 "http://kokkinizita.linuxaudio.org"
2682 "/linuxaudio/downloads/zita-alsa-pcmi-"
2683 version ".tar.bz2"))
2686 "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
2687 (build-system gnu-build-system)
2689 `(#:tests? #f ; no "check" target
2690 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2693 'unpack 'patch-makefile-and-enter-directory
2695 (substitute* "libs/Makefile"
2696 (("ldconfig") "true")
2697 (("^LIBDIR =.*") "LIBDIR = lib\n"))
2704 (symlink "libzita-alsa-pcmi.so"
2705 (string-append (assoc-ref %outputs "out")
2706 "/lib/libzita-alsa-pcmi.so.0")))
2707 ;; no configure script
2708 (alist-delete 'configure %standard-phases)))))
2710 `(("alsa-lib" ,alsa-lib)
2712 (home-page "http://kokkinizita.linuxaudio.org")
2713 (synopsis "C++ wrapper around the ALSA API")
2715 "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy
2716 access to ALSA PCM devices, taking care of the many functions required to
2717 open, initialise and use a hw: device in mmap mode, and providing floating
2719 (license license:gpl3+)))
2721 (define-public cuetools
2727 (uri (string-append "https://github.com/svend/cuetools/archive/"
2729 (file-name (string-append name "-" version ".tar.gz"))
2732 "01xi3rvdmil9nawsha04iagjylqr1l9v9vlzk99scs8c207l58i4"))))
2733 (build-system gnu-build-system)
2734 ;; The source tarball is not bootstrapped.
2737 (modify-phases %standard-phases
2738 (add-after 'unpack 'bootstrap
2739 (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
2740 ;; Bootstrapping tools
2742 `(("autoconf" ,autoconf)
2743 ("automake" ,automake)
2746 (synopsis "Cue and toc file parsers and utilities")
2747 (description "Cuetools is a set of programs that are useful for manipulating
2748 and using CUE sheet (cue) files and Table of Contents (toc) files. CUE and TOC
2749 files are a way to represent the layout of a data or audio CD in a
2750 machine-readable ASCII format.")
2751 (home-page "https://github.com/svend/cuetools")
2752 (license license:gpl2+)))
2754 (define-public shntool
2760 (uri (string-append "http://etree.org/shnutils/shntool/dist/src/"
2761 "shntool-" version ".tar.gz"))
2764 "00i1rbjaaws3drkhiczaign3lnbhr161b7rbnjr8z83w8yn2wc3l"))))
2765 (build-system gnu-build-system)
2766 (synopsis "WAVE audio data processing tool")
2767 (description "shntool is a multi-purpose WAVE data processing and reporting
2768 utility. File formats are abstracted from its core, so it can process any file
2769 that contains WAVE data, compressed or not---provided there exists a format
2770 module to handle that particular file type.")
2771 (home-page "http://etree.org/shnutils/shntool/")
2772 ;; 'install-sh' bears the x11 license
2773 (license (list license:gpl2+ license:x11))))
2775 (define-public dcadec
2781 (uri (string-append "https://github.com/foo86/dcadec/archive/v"
2783 (file-name (string-append name "-" version ".tar.gz"))
2786 "0i0dpypgqkhhi4v1fmsp2way6w9kbcix3c7q79pmg39yvrzj17gd"))))
2787 (build-system gnu-build-system)
2789 ;; Test files are missing: https://github.com/foo86/dcadec/issues/53
2793 ;; Build shared library.
2795 (string-append "PREFIX=" (assoc-ref %outputs "out"))
2796 ;; Set proper runpath.
2797 (string-append "LDFLAGS=-Wl,-rpath="
2798 (assoc-ref %outputs "out")
2801 (modify-phases %standard-phases
2802 ;; No configure script, just a hand-written Makefile.
2803 (delete 'configure))))
2804 (synopsis "DTS Coherent Acoustics decoder")
2805 (description "Dcadec is a DTS Coherent Acoustics surround sound decoder
2806 with support for HD extensions.")
2807 (home-page "https://github.com/foo86/dcadec")
2808 (license license:lgpl2.1+)))
2810 (define-public bs1770gain
2817 (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/"
2818 version "/bs1770gain-" version ".tar.gz"))
2821 "0n9skdap1vnl6w52fx0gsrjlk7w3xgdwi62ycyf96h29rx059z6a"))))
2822 (build-system gnu-build-system)
2823 (inputs `(("ffmpeg" ,ffmpeg)
2825 (home-page "http://bs1770gain.sourceforge.net/")
2826 (synopsis "Tool to adjust loudness of media files")
2828 "BS1770GAIN is a loudness scanner compliant with ITU-R BS.1770 and its
2829 flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the
2830 loudness of audio and video files to the same level.")
2831 (license license:gpl2+)))
2833 (define-public filteraudio
2834 (let ((revision "1")
2835 (commit "2fc669581e2a0ff87fba8de85861b49133306094"))
2837 (name "filteraudio")
2838 (version (string-append "0.0.0-" revision "."
2839 (string-take commit 7)))
2844 (url "https://github.com/irungentoo/filter_audio.git")
2846 (file-name (string-append name "-" version "-checkout"))
2849 "0hbb290n3wb23f2k692a6bhc23nnqmxqi9sc9j15pnya8wifw64g"))))
2850 (build-system gnu-build-system)
2852 '(#:make-flags (list (string-append "PREFIX=" %output)
2854 #:tests? #f ; No tests
2856 (modify-phases %standard-phases
2857 ;; No configure script
2858 (delete 'configure))))
2859 (synopsis "Lightweight audio filtering library")
2860 (description "An easy to use audio filtering library made from webrtc
2861 code, used in @code{libtoxcore}.")
2862 (home-page "https://github.com/irungentoo/filter_audio")
2863 (license license:bsd-3))))
2873 (string-append "http://www.quut.com/" name "/" name
2874 "-" version ".tar.gz"))
2877 "0b1mx69jq88wva3wk0hi6fcl5a52qhnq2f9p3f3jdh5k61ma252q"))))
2878 (build-system gnu-build-system)
2880 `(#:test-target "tst"
2882 (modify-phases %standard-phases
2883 (add-before 'install 'pre-install
2885 (let ((out (assoc-ref %outputs "out")))
2886 (substitute* "Makefile"
2887 (("INSTALL_ROOT\t=")
2888 (string-append "INSTALL_ROOT\t=\t" out)))
2889 (mkdir-p (string-append out "/inc"))
2890 (mkdir-p (string-append out "/man"))
2891 (mkdir-p (string-append out "/man/man1"))
2892 (mkdir-p (string-append out "/man/man3"))
2893 (mkdir-p (string-append out "/bin"))
2894 (mkdir-p (string-append out "/lib")))))
2895 (add-after 'install 'post-install
2897 (let ((out (assoc-ref %outputs "out")))
2898 (rename-file (string-append out "/inc")
2899 (string-append out "/include"))
2900 (mkdir-p (string-append out "/include/gsm"))
2901 (copy-recursively "inc"
2902 (string-append out "/include/gsm")))))
2903 (delete 'configure))))
2904 (synopsis "GSM 06.10 lossy speech compression library")
2905 (description "This C library provides an encoder and a decoder for the GSM
2906 06.10 RPE-LTP lossy speech compression algorithm.")
2907 (home-page "http://quut.com/gsm/")
2908 (license (license:non-copyleft "file://COPYRIGHT"))))