1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016 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 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
10 ;;; This file is part of GNU Guix.
12 ;;; GNU Guix is free software; you can redistribute it and/or modify it
13 ;;; under the terms of the GNU General Public License as published by
14 ;;; the Free Software Foundation; either version 3 of the License, or (at
15 ;;; your option) any later version.
17 ;;; GNU Guix is distributed in the hope that it will be useful, but
18 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;;; GNU General Public License for more details.
22 ;;; You should have received a copy of the GNU General Public License
23 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
25 (define-module (gnu packages audio)
26 #:use-module (guix packages)
27 #:use-module (guix download)
28 #:use-module (guix git-download)
29 #:use-module (guix utils)
30 #:use-module ((guix licenses) #:prefix license:)
31 #:use-module (guix build-system gnu)
32 #:use-module (guix build-system waf)
33 #:use-module (guix build-system trivial)
34 #:use-module (guix build-system cmake)
35 #:use-module (guix build-system python)
36 #:use-module (gnu packages)
37 #:use-module (gnu packages algebra)
38 #:use-module (gnu packages autotools)
39 #:use-module (gnu packages avahi)
40 #:use-module (gnu packages boost)
41 #:use-module (gnu packages base)
42 #:use-module (gnu packages bison)
43 #:use-module (gnu packages check)
44 #:use-module (gnu packages compression)
45 #:use-module (gnu packages curl)
46 #:use-module (gnu packages databases)
47 #:use-module (gnu packages file)
48 #:use-module (gnu packages flex)
49 #:use-module (gnu packages fltk)
50 #:use-module (gnu packages fontutils)
51 #:use-module (gnu packages gettext)
52 #:use-module (gnu packages glib)
53 #:use-module (gnu packages gtk)
54 #:use-module (gnu packages gnome)
55 #:use-module (gnu packages gperf)
56 #:use-module (gnu packages image)
57 #:use-module (gnu packages ncurses)
58 #:use-module (gnu packages qt)
59 #:use-module (gnu packages linux)
60 #:use-module (gnu packages mp3) ;taglib
61 #:use-module (gnu packages perl)
62 #:use-module (gnu packages pkg-config)
63 #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
64 #:use-module (gnu packages python)
65 #:use-module (gnu packages rdf)
66 #:use-module (gnu packages readline)
67 #:use-module (gnu packages video)
68 #:use-module (gnu packages webkit)
69 #:use-module (gnu packages xiph)
70 #:use-module (gnu packages xml)
71 #:use-module (gnu packages xorg)
72 #:use-module (gnu packages zip)
73 #:use-module (srfi srfi-1))
75 (define-public alsa-modular-synth
77 (name "alsa-modular-synth")
81 (uri (string-append "mirror://sourceforge/alsamodular/alsamodular"
82 "/" version "/ams-" version ".tar.bz2"))
85 "1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0"))))
86 (build-system gnu-build-system)
90 "CXXFLAGS=-std=gnu++11")
92 (modify-phases %standard-phases
93 ;; Insert an extra space between linker flags.
94 (add-before 'configure 'add-missing-space
96 (substitute* "configure"
97 (("LIBS\\+=\\$LIBSsave") "LIBS+=\" $LIBSsave\"")
98 (("CFLAGS\\+=\\$CFLAGSsave") "CFLAGS+=\" $CFLAGSsave\""))
101 `(("alsa-lib" ,alsa-lib)
102 ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to
103 ;; license incompatibility.
104 ("clalsadrv" ,clalsadrv)
110 ("qttools" ,qttools)))
112 `(("pkg-config" ,pkg-config)))
113 (home-page "http://alsamodular.sourceforge.net/")
114 (synopsis "Realtime modular synthesizer and effect processor")
116 "AlsaModularSynth is a digital implementation of a classical analog
117 modular synthesizer system. It uses virtual control voltages to control the
118 parameters of the modules. The control voltages which control the frequency
119 e.g. of the VCO (Voltage Controlled Oscillator) and VCF (Voltage Controlled
120 Filter) modules follow the convention of 1V / Octave.")
121 (license license:gpl2)))
130 "http://aubio.org/pub/aubio-" version ".tar.bz2"))
133 "15f6nf76y7iyl2kl4ny7ky0zpxfxr8j3902afvd6ydnnkh5dzmr5"))))
134 (build-system waf-build-system)
136 `(#:tests? #f ; no check target
141 "--enable-samplerate"
142 ;; enable compilation with avcodec once available
147 ("libsndfile" ,libsndfile)
148 ("libsamplerate" ,libsamplerate)
151 `(("pkg-config" ,pkg-config)))
152 (home-page "http://aubio.org/")
153 (synopsis "Library for audio labelling")
155 "aubio is a tool designed for the extraction of annotations from audio
156 signals. Its features include segmenting a sound file before each of its
157 attacks, performing pitch detection, tapping the beat and producing MIDI
158 streams from live audio.")
159 (license license:gpl3+)))
161 (define (ardour-rpath-phase major-version)
162 `(lambda* (#:key outputs #:allow-other-keys)
163 (let ((libdir (string-append (assoc-ref outputs "out")
164 "/lib/ardour" ,major-version)))
165 (substitute* "wscript"
166 (("linker_flags = \\[\\]")
167 (string-append "linker_flags = [\""
170 libdir "/backends" ":"
171 libdir "/engines" ":"
172 libdir "/panners" ":"
173 libdir "/surfaces" ":"
174 libdir "/vamp" "\"]"))))
177 (define-public ardour
184 (url "git://git.ardour.org/ardour/ardour.git")
187 ;; Ardour expects this file to exist at build time. The revision
189 ;; git describe HEAD | sed 's/^[A-Za-z]*+//'
190 '(call-with-output-file
191 "libs/ardour/revision.cc"
193 (format port "#include \"ardour/revision.h\"
194 namespace ARDOUR { const char* revision = \"5.0-10-g23d1d1f\" ; }"))))
197 "0ihd6zxha1vvp4jy5s49pqyw09qxxjgrdlslrkz6ll59zdh6x7am"))
198 (file-name (string-append name "-" version))))
199 (build-system waf-build-system)
201 `(#:configure-flags '("--cxx11") ; required by gtkmm
203 (modify-phases %standard-phases
205 'unpack 'set-rpath-in-LDFLAGS
206 ,(ardour-rpath-phase (version-prefix version 1))))
207 #:tests? #f ; no check target
210 `(("alsa-lib" ,alsa-lib)
218 ("libart-lgpl" ,libart-lgpl)
219 ("libgnomecanvasmm" ,libgnomecanvasmm)
222 ("libsndfile" ,libsndfile)
223 ("libsamplerate" ,libsamplerate)
226 ("libvorbis" ,libvorbis)
239 ("readline" ,readline)
241 ("rubberband" ,rubberband)
243 ("python-rdflib" ,python-rdflib)))
247 ("pkg-config" ,pkg-config)))
248 (home-page "http://ardour.org")
249 (synopsis "Digital audio workstation")
251 "Ardour is a multi-channel digital audio workstation, allowing users to
252 record, edit, mix and master audio and MIDI projects. It is targeted at audio
253 engineers, musicians, soundtrack editors and composers.")
254 (license license:gpl2+)))
262 (uri (string-append "mirror://savannah/ll-plugins/azr3-jack-"
267 "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc"))))
268 (build-system gnu-build-system)
270 `(#:tests? #f ; no check target
273 (string-append "prefix=" %output)
274 (string-append "pkgdatadir=" %output "/share/azr3-jack"))))
281 `(("pkg-config" ,pkg-config)))
282 (home-page "http://ll-plugins.nongnu.org/azr3/")
283 (synopsis "Tonewheel organ synthesizer")
285 "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ
286 with drawbars, distortion and rotating speakers. The organ has three
287 sections, two polyphonic sections with nine drawbars each and one monophonic
288 bass section with five drawbars. A standalone JACK application and LV2
289 plugins are provided.")
290 (license license:gpl2)))
298 (uri (string-append "http://calf-studio-gear.org/files/calf-"
302 "019fwg00jv217a5r767z7szh7vdrarybac0pr2sk26xp81kibrx9"))))
303 (build-system gnu-build-system)
305 `(("fluidsynth" ,fluidsynth)
316 `(("pkg-config" ,pkg-config)))
318 (list (search-path-specification
319 (variable "LV2_PATH")
320 (files '("lib/lv2")))))
321 (home-page "http://calf.sourceforge.net/")
322 (synopsis "Audio plug-in pack for LV2 and JACK environments")
324 "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments.
325 The suite contains lots of effects (delay, modulation, signal processing,
326 filters, equalizers, dynamics, distortion and mastering effects),
327 instruments (SF2 player, organ simulator and a monophonic synthesizer) and
328 tools (analyzer, mono/stereo tools, crossovers).")
329 ;; calfjackhost is released under GPLv2+
330 ;; The plugins are released under LGPLv2.1+
331 (license (list license:lgpl2.1+ license:gpl2+))))
333 (define-public csound
340 "mirror://sourceforge/csound/csound6/Csound"
341 version "/Csound" version ".tar.gz"))
344 "0a1sni6lr7qpwywpggbkp0ia3h9bwwgf9i87gsag8ra2h30v82hd"))
345 (patches (search-patches "csound-header-ordering.patch"))))
346 (build-system cmake-build-system)
348 ;; Work around this error on x86_64 with libc 2.22+:
349 ;; libmvec.so.1: error adding symbols: DSO missing from command line
350 (if (string-prefix? "x86_64" (or (%current-target-system) (%current-system)))
351 '(#:configure-flags '("-DCMAKE_EXE_LINKER_FLAGS=-lmvec"))
354 `(("alsa-lib" ,alsa-lib)
356 ("pulseaudio" ,pulseaudio)
357 ("libsndfile" ,libsndfile)
361 ("gettext" ,gnu-gettext)))
366 (home-page "http://csound.github.io/")
367 (synopsis "Sound and music computing system")
369 "Csound is a user-programmable and user-extensible sound processing
370 language and software synthesizer.")
371 (license license:lgpl2.1+)))
373 (define-public clalsadrv
380 "http://kokkinizita.linuxaudio.org"
381 "/linuxaudio/downloads/clalsadrv-"
385 "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq"))))
386 (build-system gnu-build-system)
388 `(#:tests? #f ; no "check" target
389 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
392 'unpack 'patch-makefile-and-enter-directory
394 (substitute* "libs/Makefile"
395 (("/sbin/ldconfig") "true")
396 (("^LIBDIR =.*") "LIBDIR = lib\n"))
403 (symlink "libclalsadrv.so"
404 (string-append (assoc-ref %outputs "out")
405 "/lib/libclalsadrv.so.2")))
406 ;; no configure script
407 (alist-delete 'configure %standard-phases)))))
409 `(("alsa-lib" ,alsa-lib)
411 (home-page "http://kokkinizita.linuxaudio.org")
412 (synopsis "C++ wrapper around the ALSA API")
414 "clalsadrv is a C++ wrapper around the ALSA API simplifying access to
416 (license license:gpl2+)))
418 (define-public amb-plugins
425 "http://kokkinizita.linuxaudio.org"
426 "/linuxaudio/downloads/AMB-plugins-"
430 "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl"))))
431 (build-system gnu-build-system)
433 `(#:tests? #f ; no "check" target
435 (modify-phases %standard-phases
436 ;; no configure script
438 (add-before 'install 'prepare-target-directory
439 (lambda* (#:key outputs #:allow-other-keys)
440 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
442 (add-after 'unpack 'override-target-directory-and-tool-paths
443 (lambda* (#:key outputs #:allow-other-keys)
444 (substitute* "Makefile"
446 (string-append (assoc-ref outputs "out") "/lib/ladspa"))
447 (("/usr/bin/install") (which "install"))
450 (home-page "http://kokkinizita.linuxaudio.org")
451 (synopsis "LADSPA ambisonics plugins")
453 "The AMB plugins are a set of LADSPA ambisonics plugins, mainly to be
454 used within Ardour. Features include: mono and stereo to B-format panning,
455 horizontal rotator, square, hexagon and cube decoders.")
456 (license license:gpl2+)))
458 (define-public mcp-plugins
465 "http://kokkinizita.linuxaudio.org"
466 "/linuxaudio/downloads/MCP-plugins-"
470 "06a9r1l85jmg7l1cvc3788mk8ra0xagjfy1rmhw3b80y4n0vlnvc"))))
471 (build-system gnu-build-system)
473 `(#:tests? #f ; no "check" target
475 (modify-phases %standard-phases
476 ;; no configure script
478 (add-before 'install 'prepare-target-directory
479 (lambda* (#:key outputs #:allow-other-keys)
480 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
482 (add-after 'unpack 'override-target-directory
483 (lambda* (#:key outputs #:allow-other-keys)
484 (substitute* "Makefile"
485 (("/usr") (assoc-ref outputs "out")))
487 (home-page "http://kokkinizita.linuxaudio.org")
488 (synopsis "Chorus, phaser, and vintage high-pass and low-pass filters")
490 "This package provides various LADSPA plugins. @code{cs_chorus} and
491 @code{cs_phaser} provide chorus and phaser effects, respectively;
492 @code{mvclpf24} provides four implementations of the low-pass filter used in
493 vintage Moog synthesizers; @code{mvchpf24} is based on the voltage-controlled
494 high-pass filter by Robert Moog. The filters attempt to accurately emulate
495 the non-linear circuit elements of their original analog counterparts.")
496 (license license:gpl2+)))
498 (define-public rev-plugins
505 "http://kokkinizita.linuxaudio.org"
506 "/linuxaudio/downloads/REV-plugins-"
510 "1ikpinxm00pkfi259bnkzhsy3miagrjgdihaaf5x4v7zac29j3g7"))))
511 (build-system gnu-build-system)
513 `(#:tests? #f ; no "check" target
515 (modify-phases %standard-phases
516 ;; no configure script
518 (add-before 'install 'prepare-target-directory
519 (lambda* (#:key outputs #:allow-other-keys)
520 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
522 (add-after 'unpack 'override-target-directory
523 (lambda* (#:key outputs #:allow-other-keys)
524 (substitute* "Makefile"
525 (("/usr") (assoc-ref outputs "out")))
527 (home-page "http://kokkinizita.linuxaudio.org")
528 (synopsis "LADSPA reverb plugin")
530 "This package provides a stereo reverb LADSPA plugin based on the
531 well-known greverb.")
532 (license license:gpl2+)))
534 (define-public fil-plugins
541 "http://kokkinizita.linuxaudio.org"
542 "/linuxaudio/downloads/FIL-plugins-"
546 "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw"))))
547 (build-system gnu-build-system)
549 `(#:tests? #f ; no "check" target
551 (modify-phases %standard-phases
552 ;; no configure script
554 (add-before 'install 'prepare-target-directory
555 (lambda* (#:key outputs #:allow-other-keys)
556 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
558 (add-after 'unpack 'override-target-directory
559 (lambda* (#:key outputs #:allow-other-keys)
560 (substitute* "Makefile"
561 (("/usr") (assoc-ref outputs "out")))
563 (home-page "http://kokkinizita.linuxaudio.org")
564 (synopsis "LADSPA four-band parametric equalizer plugin")
566 "This package provides a LADSPA plugin for a four-band parametric
567 equalizer. Each section has an active/bypass switch, frequency, bandwidth and
568 gain controls. There is also a global bypass switch and gain control.
570 The 2nd order resonant filters are implemented using a Mitra-Regalia style
571 lattice filter, which is stable even while parameters are being changed.
573 All switches and controls are internally smoothed, so they can be used 'live'
574 without any clicks or zipper noises. This makes this plugin suitable for use
575 in systems that allow automation of plugin control ports, such as Ardour, or
577 (license license:gpl2+)))
579 (define-public ste-plugins
586 "http://kokkinizita.linuxaudio.org"
587 "/linuxaudio/downloads/STE-plugins-"
591 "0s3c9w5xihs87cnd1lh9xgj3maabjdyh6bl766qp5lhkg3ax8zy6"))))
592 (build-system gnu-build-system)
594 `(#:tests? #f ; no "check" target
596 (modify-phases %standard-phases
597 ;; no configure script
599 (add-before 'install 'prepare-target-directory
600 (lambda* (#:key outputs #:allow-other-keys)
601 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
603 (add-after 'unpack 'override-target-directory
604 (lambda* (#:key outputs #:allow-other-keys)
605 (substitute* "Makefile"
606 (("/usr") (assoc-ref outputs "out")))
608 (home-page "http://kokkinizita.linuxaudio.org")
609 (synopsis "LADSPA stereo width plugin")
611 "This package provides a LADSPA plugin to manipulate the stereo width of
613 (license license:gpl2+)))
615 (define-public vco-plugins
622 "http://kokkinizita.linuxaudio.org"
623 "/linuxaudio/downloads/VCO-plugins-"
627 "1xzqdg3b07r7zww05y9bb737l9dxvfkv28m3fyak1aazaci3rsgl"))))
628 (build-system gnu-build-system)
630 `(#:tests? #f ; no "check" target
632 (modify-phases %standard-phases
633 ;; no configure script
635 (add-before 'install 'prepare-target-directory
636 (lambda* (#:key outputs #:allow-other-keys)
637 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
639 (add-after 'unpack 'override-target-directory
640 (lambda* (#:key outputs #:allow-other-keys)
641 (substitute* "Makefile"
642 (("/usr") (assoc-ref outputs "out"))
643 (("/bin/cp") (which "cp")))
645 (home-page "http://kokkinizita.linuxaudio.org")
646 (synopsis "LADSPA plugin for synthesizer oscillators")
648 "The @code{blvco} LADSPA plugin provides three anti-aliased oscillators:
651 @item Pulse-VCO, a dirac pulse oscillator with flat amplitude spectrum
652 @item Saw-VCO, a sawtooth oscillator with 1/F amplitude spectrum
653 @item Rec-VCO, a square / rectange oscillator
656 All oscillators are low-pass filtered to provide waveforms similar to the
657 output of analog synthesizers such as the Moog Voyager.")
658 (license license:gpl2+)))
660 (define-public wah-plugins
667 "http://kokkinizita.linuxaudio.org"
668 "/linuxaudio/downloads/WAH-plugins-"
672 "1wkbjarxdhjixkh7d5abralj11dj2xxg644fz3ycd7qyfgfvjfgd"))))
673 (build-system gnu-build-system)
675 `(#:tests? #f ; no "check" target
677 (modify-phases %standard-phases
678 ;; no configure script
680 (add-before 'install 'prepare-target-directory
681 (lambda* (#:key outputs #:allow-other-keys)
682 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
684 (add-after 'unpack 'override-target-directory
685 (lambda* (#:key outputs #:allow-other-keys)
686 (substitute* "Makefile"
687 (("/usr") (assoc-ref outputs "out")))
689 (home-page "http://kokkinizita.linuxaudio.org")
690 (synopsis "LADSPA Autowah effect plugin")
692 "This package provides a LADSPA plugin for a Wah effect with envelope
694 (license license:gpl2+)))
696 (define-public g2reverb
703 "http://kokkinizita.linuxaudio.org"
704 "/linuxaudio/downloads/g2reverb-"
708 "18wb8vj1kky5glr76s34awbi8qzplsmf3wjbd7a12hfv4j0bkwrj"))))
709 (build-system gnu-build-system)
711 `(#:tests? #f ; no "check" target
713 (modify-phases %standard-phases
714 ;; no configure script
716 (add-before 'install 'prepare-target-directory
717 (lambda* (#:key outputs #:allow-other-keys)
718 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
720 (add-after 'unpack 'override-target-directory
721 (lambda* (#:key outputs #:allow-other-keys)
722 (substitute* "Makefile"
723 (("/usr") (assoc-ref outputs "out")))
725 (home-page "http://kokkinizita.linuxaudio.org")
726 (synopsis "LADSPA stereo reverb plugin")
728 "This package provides a LADSPA plugin for a stereo reverb effect.")
729 (license license:gpl2+)))
731 (define-public fluidsynth
738 "mirror://sourceforge/fluidsynth/fluidsynth-"
739 version "/fluidsynth-" version ".tar.gz"))
742 "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah"))))
743 (build-system gnu-build-system)
748 'remove-broken-symlinks
749 (lambda _ (delete-file-recursively "m4") #t)
752 `(("libsndfile" ,libsndfile)
753 ("alsa-lib" ,alsa-lib)
757 ("readline" ,readline)
760 `(("pkg-config" ,pkg-config)))
761 (home-page "http://www.fluidsynth.org/")
762 (synopsis "SoundFont synthesizer")
764 "FluidSynth is a real-time software synthesizer based on the SoundFont 2
765 specifications. FluidSynth reads and handles MIDI events from the MIDI input
766 device. It is the software analogue of a MIDI synthesizer. FluidSynth can
767 also play midifiles using a Soundfont.")
768 (license license:gpl2+)))
776 (uri (string-append "mirror://sourceforge/faac/faad2-src/faad2-"
777 version "/faad2-" version ".zip"))
780 "16f3l16c00sg0wkrkm3vzv0gy3g97x309vw788igs0cap2x1ak3z"))))
781 (build-system gnu-build-system)
783 `(("autoconf" ,autoconf)
784 ("automake" ,automake)
792 (substitute* "bootstrap" (("\r\n") "\n"))
793 (zero? (system* "sh" "bootstrap")))
795 (home-page "http://www.audiocoding.com/faad2.html")
796 (synopsis "MPEG-4 and MPEG-2 AAC decoder")
798 "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR,
800 (license license:gpl2)))
809 "mirror://sourceforge/faudiostream/faust-" version ".zip"))
812 "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1"))
814 ;; Remove prebuilt library
815 '(delete-file "architecture/android/libs/armeabi-v7a/libfaust_dsp.so"))))
816 (build-system gnu-build-system)
818 `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
821 (modify-phases %standard-phases
822 ;; no "configure" script
823 (delete 'configure))))
826 (home-page "http://faust.grame.fr/")
827 (synopsis "Signal processing language")
829 "Faust is a programming language for realtime audio signal processing.")
830 (license license:gpl2+)))
832 (define-public freepats
838 (uri (string-append "http://freepats.zenvoid.org/freepats-"
842 "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82"))))
843 (build-system trivial-build-system)
845 `(#:modules ((guix build utils))
847 (use-modules (guix build utils))
848 (let ((out (string-append %output "/share/freepats")))
849 (setenv "PATH" (string-append
850 (assoc-ref %build-inputs "bzip2") "/bin:"
851 (assoc-ref %build-inputs "tar") "/bin"))
852 (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
854 ;; Use absolute pattern references
855 (substitute* "freepats.cfg"
856 (("Tone_000") (string-append out "/Tone_000"))
857 (("Drum_000") (string-append out "/Drum_000")))
859 (copy-recursively "." out)))))
863 (home-page "http://freepats.zenvoid.org")
864 (synopsis "GUS compatible patches for MIDI players")
866 "FreePats is a project to create a free and open set of GUS compatible
867 patches that can be used with softsynths such as Timidity and WildMidi.")
868 ;; GPLv2+ with exception for compositions using these patches.
869 (license license:gpl2+)))
871 (define-public guitarix
878 "mirror://sourceforge/guitarix/guitarix/guitarix2-"
882 "10hijqrrl8xil46kgsac10ysfxysisxlibm2rz133zyig5n63jdw"))))
883 (build-system waf-build-system)
885 `(#:tests? #f ; no "check" target
889 ;; Add the output lib directory to the RUNPATH.
890 (string-append "--ldflags=-Wl,-rpath=" %output "/lib")
891 "--cxxflags=-std=c++11")))
893 `(("libsndfile" ,libsndfile)
903 ("webkitgtk/gtk+-2" ,webkitgtk/gtk+-2)
906 ("zita-resampler" ,zita-resampler)
907 ("zita-convolver" ,zita-convolver)))
911 ("intltool" ,intltool)
912 ("gettext" ,gnu-gettext)
913 ("pkg-config" ,pkg-config)))
915 (list (search-path-specification
916 (variable "LV2_PATH")
917 (files '("lib/lv2")))))
918 (home-page "http://guitarix.org/")
919 (synopsis "Virtual guitar amplifier")
920 (description "Guitarix is a virtual guitar amplifier running JACK.
921 Guitarix takes the signal from your guitar as a mono-signal from your sound
922 card. The input is processed by a main amp and a rack-section. Both can be
923 routed separately and deliver a processed stereo-signal via JACK. You may
924 fill the rack with effects from more than 25 built-in modules including stuff
925 from a simple noise gate to modulation effects like flanger, phaser or
927 (license license:gpl2+)))
929 (define-public rakarrack
935 (uri (string-append "mirror://sourceforge/rakarrack/rakarrack/"
936 "rakarrack-" version "/rakarrack-"
940 "1rpf63pdn54c4yg13k7cb1w1c7zsvl97c4qxcpz41c8l91xd55kn"))
941 (modules '((guix build utils)))
944 (substitute* '("src/process.C"
946 (("#include <Fl/") "#include <FL/"))
948 (build-system gnu-build-system)
950 `(("alsa-utils" ,alsa-utils)
954 ("libxfixes" ,libxfixes)
956 ("libxrender" ,libxrender)
958 ("fontconfig" ,fontconfig)
959 ("freetype" ,freetype)
961 ("alsa-lib" ,alsa-lib)
962 ("libsndfile" ,libsndfile)
963 ("libsamplerate" ,libsamplerate)
965 (home-page "http://rakarrack.sourceforge.net/")
966 (synopsis "Audio effects processor")
968 "Rakarrack is a richly featured multi-effects processor emulating a
969 guitar effects pedalboard. Effects include compressor, expander, noise gate,
970 equalizers, exciter, flangers, chorus, various delay and reverb effects,
971 distortion modules and many more. Most of the effects engine is built from
972 modules found in the excellent software synthesizer ZynAddSubFX. Presets and
973 user interface are optimized for guitar, but Rakarrack processes signals in
974 stereo while it does not apply internal band-limiting filtering, and thus is
975 well suited to all musical instruments and vocals.")
976 ;; The code is explicitly licensed under the GPL version 2 only.
977 (license license:gpl2)))
986 "http://factorial.hu/system/files/ir.lv2-"
990 "1jh2z01l9m4ar7yz0n911df07dygc7n4cl59p7qdjbh0nvkm747g"))))
991 (build-system gnu-build-system)
993 `(#:tests? #f ;no "check" target
994 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
996 ;; no configure script
997 (alist-delete 'configure %standard-phases)))
999 `(("libsndfile" ,libsndfile)
1000 ("libsamplerate" ,libsamplerate)
1004 ("zita-convolver" ,zita-convolver)))
1006 `(("pkg-config" ,pkg-config)))
1007 (native-search-paths
1008 (list (search-path-specification
1009 (variable "LV2_PATH")
1010 (files '("lib/lv2")))))
1011 (home-page "http://factorial.hu/plugins/lv2/ir")
1012 (synopsis "LV2 convolution reverb")
1014 "IR is a low-latency, real-time, high performance signal convolver
1015 especially for creating reverb effects. It supports impulse responses with 1,
1016 2 or 4 channels, in any soundfile format supported by libsndfile.")
1017 (license license:gpl2+)))
1019 (define-public jack-1
1026 "http://jackaudio.org/downloads/jack-audio-connection-kit-"
1031 "1mk1wnx33anp6haxfjjkfhwbaknfblsvj35nxvz0hvspcmhdyhpb"))))
1032 (build-system gnu-build-system)
1034 `(("alsa-lib" ,alsa-lib)
1035 ("readline" ,readline)))
1036 ;; uuid.h is included in the JACK type headers
1037 ;; db.h is included in the libjack metadata headers
1039 `(("libuuid" ,util-linux)
1042 `(("pkg-config" ,pkg-config)))
1043 (home-page "http://jackaudio.org/")
1044 (synopsis "JACK audio connection kit")
1046 "JACK is a low-latency audio server. It can connect a number of
1047 different applications to an audio device, as well as allowing them to share
1048 audio between themselves. JACK is different from other audio server efforts
1049 in that it has been designed from the ground up to be suitable for
1050 professional audio work. This means that it focuses on two key areas:
1051 synchronous execution of all clients, and low latency operation.")
1052 ;; Most files are licensed under the GPL. However, the libjack/ tree is
1053 ;; licensed under the LGPL in order to allow for proprietary usage.
1054 (license (list license:gpl2+ license:lgpl2.1+))))
1056 ;; Packages depending on JACK should always prefer jack-1. Both jack-1 and
1057 ;; jack-2 implement the same API. JACK2 is provided primarily as a client
1058 ;; program for users who might benefit from the D-BUS features.
1059 (define-public jack-2
1060 (package (inherit jack-1)
1066 "https://github.com/jackaudio/jack2/archive/v"
1069 (file-name (string-append name "-" version ".tar.gz"))
1072 "03b0iiyk3ng3vh5s8gaqwn565vik7910p56mlbk512bw3dhbdwc8"))))
1073 (build-system waf-build-system)
1075 `(#:python ,python-2
1076 #:tests? #f ; no check target
1077 #:configure-flags '("--dbus"
1080 (modify-phases %standard-phases
1082 'configure 'set-linkflags
1084 ;; Add $libdir to the RUNPATH of all the binaries.
1085 (substitute* "wscript"
1086 ((".*CFLAGS.*-Wall.*" m)
1088 " conf.env.append_unique('LINKFLAGS',"
1089 "'-Wl,-rpath=" %output "/lib')\n")))))
1090 (add-after 'install 'wrap-python-scripts
1091 (lambda* (#:key inputs outputs #:allow-other-keys)
1092 ;; Make sure 'jack_control' runs with the correct PYTHONPATH.
1093 (let* ((out (assoc-ref outputs "out"))
1094 (path (getenv "PYTHONPATH")))
1095 (wrap-program (string-append out "/bin/jack_control")
1096 `("PYTHONPATH" ":" prefix (,path))))
1099 `(("alsa-lib" ,alsa-lib)
1102 ("libsamplerate" ,libsamplerate)
1104 ("python2-dbus" ,python2-dbus)
1105 ("readline" ,readline)))
1107 `(("pkg-config" ,pkg-config)))
1108 ;; Most files are under GPLv2+, but some headers are under LGPLv2.1+
1109 (license (list license:gpl2+ license:lgpl2.1+))))
1117 (uri (string-append "http://download.drobilla.net/jalv-"
1118 version ".tar.bz2"))
1121 "1f1hcq74n3ziw8bk97mn5a1vgw028dxikv3fchaxd430pbbhqgl9"))))
1122 (build-system waf-build-system)
1124 `(#:tests? #f ; no check target
1126 (modify-phases %standard-phases
1128 'configure 'set-flags
1130 ;; Compile with C++11, required by gtkmm.
1131 (setenv "CXXFLAGS" "-std=c++11")
1141 `(("pkg-config" ,pkg-config)))
1142 (home-page "http://drobilla.net/software/jalv/")
1143 (synopsis "Simple LV2 host for JACK")
1145 "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2
1146 plugins and exposes their ports as JACK ports, essentially making any LV2
1147 plugin function as a JACK application.")
1148 (license license:isc)))
1150 (define-public ladspa
1157 ;; Since the official link is dead,
1158 ;; we download the tarball from Debian or Internet Archive.
1159 (uri (list (string-append "http://http.debian.net"
1160 "/debian/pool/main/l/ladspa-sdk/ladspa-sdk_"
1161 version ".orig.tar.gz")
1162 (string-append "https://web.archive.org/web/20140717172251/"
1163 "http://www.ladspa.org/download/ladspa_sdk_"
1167 "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
1168 (build-system gnu-build-system)
1170 `(#:tests? #f ; the "test" target is a listening test only
1174 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
1176 (let ((out (assoc-ref outputs "out")))
1177 (substitute* "makefile"
1178 (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/"))
1179 (("/usr/include/") (string-append out "/include/"))
1180 (("/usr/bin/") (string-append out "/bin/"))
1181 (("-mkdirhier") "mkdir -p")
1182 (("^CC.*") "CC = gcc\n")
1183 (("^CPP.*") "CPP = g++\n"))))
1184 (alist-delete 'build %standard-phases))))
1185 ;; Since the home page is gone, we provide a link to the archived version.
1187 "https://web.archive.org/web/20140729190945/http://www.ladspa.org/")
1188 (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)")
1190 "LADSPA is a standard that allows software audio processors and effects
1191 to be plugged into a wide range of audio synthesis and recording packages.")
1192 (license license:lgpl2.1+)))
1197 (version "0.6.0-rc2")
1200 ;; The tilde is not permitted in the builder name, but is used
1203 "mirror://savannah/lash/lash-"
1204 (string-join (string-split version #\-) "~")
1206 (file-name (string-append name "-" version ".tar.bz2"))
1209 "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw"))))
1210 (build-system gnu-build-system)
1215 ("readline" ,readline)
1216 ("python" ,python-2)))
1217 ;; According to pkg-config, packages depending on lash also need to have
1218 ;; at least the following packages declared as inputs.
1220 `(("alsa-lib" ,alsa-lib)
1222 ("libxml2" ,libxml2)))
1224 `(("pkg-config" ,pkg-config)))
1225 (home-page "http://www.nongnu.org/lash/")
1226 (synopsis "Audio application session manager")
1228 "LASH is a session management system for audio applications. It allows
1229 you to save and restore audio sessions consisting of multiple interconneced
1230 applications, restoring program state (i.e. loaded patches) and the
1231 connections between them.")
1232 (license license:gpl2+)))
1234 (define-public libbs2b
1240 (uri (string-append "mirror://sourceforge/bs2b/libbs2b/" version
1241 "/libbs2b-" version ".tar.lzma"))
1244 "1mcc4gjkmphczjybnsrip3gq1f974knzys7x49bv197xk3fn8wdr"))))
1245 (build-system gnu-build-system)
1246 (native-inputs `(("pkg-config" ,pkg-config)))
1247 (inputs `(("libsndfile" ,libsndfile)))
1248 (home-page "http://sourceforge.net/projects/bs2b/")
1249 (synopsis "Bauer stereophonic-to-binaural DSP")
1251 "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is
1252 designed to improve headphone listening of stereo audio records. Recommended
1253 for headphone prolonged listening to disable superstereo fatigue without
1254 essential distortions.")
1255 (license license:expat)))
1257 (define-public liblo
1263 (uri (string-append "mirror://sourceforge/liblo/liblo/" version
1264 "/liblo-" version ".tar.gz"))
1267 "02drgnpirvl2ihvzgsmn02agr5sj3vipzzw9vma56qlkgfvak56s"))))
1268 (build-system gnu-build-system)
1270 `(;; liblo test FAILED
1271 ;; liblo server error 19 in setsockopt(IP_ADD_MEMBERSHIP): No such device
1273 (home-page "http://liblo.sourceforge.net")
1274 (synopsis "Implementation of the Open Sound Control protocol")
1276 "liblo is a lightweight library that provides an easy to use
1277 implementation of the Open Sound Control (OSC) protocol.")
1278 (license license:lgpl2.1+)))
1280 (define-public python-pyliblo
1282 (name "python-pyliblo")
1286 (uri (string-append "http://das.nasophon.de/download/pyliblo-"
1290 "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw"))))
1291 (build-system python-build-system)
1292 (arguments `(#:tests? #f)) ;no tests
1294 `(("python-cython" ,python-cython)
1296 (home-page "http://das.nasophon.de/pyliblo/")
1297 (synopsis "Python bindings for liblo")
1299 "Pyliblo is a Python wrapper for the liblo Open Sound Control (OSC)
1300 library. It supports almost the complete functionality of liblo, allowing you
1301 to send and receive OSC messages using a nice and simple Python API. Also
1302 included are the command line utilities @code{send_osc} and @code{dump_osc}.")
1303 (license license:lgpl2.1+)))
1305 (define-public python2-pyliblo
1306 (package-with-python2 python-pyliblo))
1314 (uri (string-append "http://download.drobilla.net/lilv-"
1319 "1d3ss7vv8drf1c5340lyd0gv736n2qy7sxji2nh1rw9y48hr69yd"))))
1320 (build-system waf-build-system)
1322 `(#:tests? #f ; no check target
1324 (modify-phases %standard-phases
1326 'configure 'set-ldflags
1327 (lambda* (#:key outputs #:allow-other-keys)
1329 (string-append "-Wl,-rpath="
1330 (assoc-ref outputs "out") "/lib")))))))
1331 ;; required by lilv-0.pc
1335 ("sratom" ,sratom)))
1339 `(("pkg-config" ,pkg-config)))
1340 (home-page "http://drobilla.net/software/lilv/")
1341 (synopsis "Library to simplify use of LV2 plugins in applications")
1343 "Lilv is a C library to make the use of LV2 plugins as simple as possible
1344 for applications. Lilv is the successor to SLV2, rewritten to be
1345 significantly faster and have minimal dependencies.")
1346 (license license:isc)))
1354 (uri (string-append "http://lv2plug.in/spec/lv2-"
1359 "1saq0vwqy5zjdkgc5ahs8kcabxfmff2mmg68fiqrkv8hiw9m6jks"))))
1360 (build-system waf-build-system)
1362 `(#:tests? #f ; no check target
1363 #:configure-flags '("--no-plugins")))
1365 ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
1366 `(("libsndfile" ,libsndfile)))
1368 `(("pkg-config" ,pkg-config)))
1369 (home-page "http://lv2plug.in/")
1370 (synopsis "LV2 audio plugin specification")
1372 "LV2 is an open specification for audio plugins and host applications.
1373 At its core, LV2 is a simple stable interface, accompanied by extensions which
1374 add functionality to support the needs of increasingly powerful audio
1376 (license license:isc)))
1378 (define-public lv2-mda-piano
1380 (name "lv2-mda-piano")
1385 (url "http://git.elephly.net/software/lv2-mdametapiano.git")
1389 "07lywf6lpfpndg3i9w752mmlg2hgn1bwp23h8b0mdj6awh67abqd"))))
1390 (build-system gnu-build-system)
1392 `(#:make-flags (list
1394 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1395 #:tests? #f ; no check target
1396 #:phases (alist-delete 'configure %standard-phases)))
1401 `(("pkg-config" ,pkg-config)))
1402 (native-search-paths
1403 (list (search-path-specification
1404 (variable "LV2_PATH")
1405 (files '("lib/lv2")))))
1406 (home-page "http://elephly.net/lv2/mdapiano.html")
1407 (synopsis "LV2 port of the mda Piano plugin")
1408 (description "An LV2 port of the mda Piano VSTi.")
1409 (license license:gpl3+)))
1411 (define-public lv2-mda-epiano
1412 (package (inherit lv2-mda-piano)
1413 (name "lv2-mda-epiano")
1415 `(#:make-flags (list
1417 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1418 #:tests? #f ; no check target
1419 #:phases (alist-delete 'configure %standard-phases)))
1420 (home-page "http://elephly.net/lv2/mdaepiano.html")
1421 (synopsis "LV2 port of the mda EPiano plugin")
1422 (description "An LV2 port of the mda EPiano VSTi.")))
1430 (uri (string-append "https://github.com/lvtk/lvtk/archive/"
1433 (file-name (string-append name "-" version ".tar.gz"))
1436 "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd"))))
1437 (build-system waf-build-system)
1439 `(#:tests? #f ; no check target
1442 (list (string-append "--boost-includes="
1443 (assoc-ref %build-inputs "boost")
1445 #:phases (modify-phases %standard-phases
1447 'configure 'set-flags
1448 (lambda* (#:key inputs #:allow-other-keys)
1449 ;; See e.g. https://github.com/lvtk/lvtk/issues/21
1452 "-L" (assoc-ref inputs "boost") "/lib "
1453 "-lboost_system")))))))
1458 `(("pkg-config" ,pkg-config)))
1459 (home-page "https://github.com/lvtk/lvtk")
1460 (synopsis "C++ libraries for LV2 plugins")
1462 "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and
1463 extensions into easy to use C++ classes. It is the successor of
1465 (license license:gpl3+)))
1467 (define-public openal
1474 "http://kcat.strangesoft.net/openal-releases/openal-soft-"
1475 version ".tar.bz2"))
1478 "0mmhdqiyb3c9dzvxspm8h2v8jibhi8pfjxnf6m0wn744y1ia2a8f"))))
1479 (build-system cmake-build-system)
1481 `(#:tests? #f ; no check target
1483 (modify-phases %standard-phases
1485 'unpack 'use-full-library-paths
1486 (lambda* (#:key inputs #:allow-other-keys)
1487 (substitute* "Alc/backends/pulseaudio.c"
1488 (("#define PALIB \"libpulse\\.so\\.0\"")
1489 (string-append "#define PALIB \""
1490 (assoc-ref inputs "pulseaudio")
1491 "/lib/libpulse.so.0"
1493 (substitute* "Alc/backends/alsa.c"
1494 (("LoadLib\\(\"libasound\\.so\\.2\"\\)")
1495 (string-append "LoadLib(\""
1496 (assoc-ref inputs "alsa-lib")
1497 "/lib/libasound.so.2"
1501 `(("alsa-lib" ,alsa-lib)
1502 ("pulseaudio" ,pulseaudio)))
1503 (synopsis "3D audio API")
1505 "OpenAL provides capabilities for playing audio in a virtual 3D
1506 environment. Distance attenuation, doppler shift, and directional sound
1507 emitters are among the features handled by the API. More advanced effects,
1508 including air absorption, occlusion, and environmental reverb, are available
1509 through the EFX extension. It also facilitates streaming audio, multi-channel
1510 buffers, and audio capture.")
1511 (home-page "http://kcat.strangesoft.net/openal.html")
1512 (license license:lgpl2.0+)))
1514 (define-public patchage
1520 (uri (string-append "http://download.drobilla.net/patchage-"
1525 "1agdpwwi42176l4mxj0c4fsvdiv1ig56bfnnx0msckxmy57df8bb"))))
1526 (build-system waf-build-system)
1527 (arguments `(#:tests? #f)) ; no check target
1529 `(("alsa-lib" ,alsa-lib)
1535 ("dbus-glib" ,dbus-glib)))
1537 `(("pkg-config" ,pkg-config)))
1538 (home-page "http://drobilla.net/software/patchage/")
1539 (synopsis "Modular patch bay for audio and MIDI systems")
1541 "Patchage is a modular patch bay for audio and MIDI systems based on JACK
1543 (license license:gpl3+)))
1551 (uri (string-append "http://download.drobilla.net/raul-"
1552 version ".tar.bz2"))
1555 "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b"))))
1556 (build-system waf-build-system)
1558 `(#:python ,python-2
1559 #:tests? #f)) ; no check target
1564 `(("pkg-config" ,pkg-config)))
1565 (home-page "http://drobilla.net/software/raul/")
1566 (synopsis "Real-time audio utility library")
1568 "Raul (Real-time Audio Utility Library) is a C++ utility library primarily
1569 aimed at audio/musical applications.")
1570 (license license:gpl2+)))
1572 (define-public rubberband
1579 (string-append "https://bitbucket.org/breakfastquay/rubberband/get/v"
1584 "05amrbrxx0da3w7m237q51799r8xgs4ffqabi2qv06hq8dpcj386"))))
1585 (build-system gnu-build-system)
1586 (arguments `(#:tests? #f)) ; no check target
1588 `(("ladspa" ,ladspa)
1589 ("libsamplerate" ,libsamplerate)
1592 `(("pkg-config" ,pkg-config)))
1593 (home-page "http://breakfastquay.com/rubberband/")
1594 (synopsis "Audio time-stretching and pitch-shifting library")
1596 "Rubber Band is a library and utility program that permits changing the
1597 tempo and pitch of an audio recording independently of one another.")
1598 (license license:gpl2+)))
1600 (define-public rtmidi
1607 (string-append "https://github.com/powertab/rtmidi/archive/"
1609 (file-name (string-append name "-" version ".tar.gz"))
1612 "0d49lapnmdgmjxh4vw57h6xk74nn5r0zwysv7jbd7m8kqhpq5rjj"))))
1613 (build-system gnu-build-system)
1615 `(#:tests? #f ;no "check" target
1616 #:phases (modify-phases %standard-phases
1618 'configure 'autoconf
1619 (lambda _ (zero? (system* "autoreconf" "-vfi"))))
1621 'build 'fix-makefile
1623 (substitute* "Makefile"
1625 (("RtMidi.h RtError.h") "RtMidi.h"))
1628 'install 'make-target-dirs
1630 (let ((out (assoc-ref %outputs "out")))
1631 (mkdir-p (string-append out "/bin"))
1632 (mkdir (string-append out "/lib"))
1633 (mkdir (string-append out "/include")))
1637 ("alsa-lib" ,alsa-lib)))
1639 `(("autoconf" ,autoconf)
1640 ("automake" ,automake)
1641 ("libtool" ,libtool)
1642 ("pkg-config" ,pkg-config)))
1643 (home-page "https://github.com/powertab/rtmidi")
1644 (synopsis "Cross-platform MIDI library for C++")
1646 "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
1647 classes) that provide a common cross-platform API for realtime MIDI
1649 (license license:expat)))
1651 (define-public sratom
1657 (uri (string-append "http://download.drobilla.net/sratom-"
1662 "080jjiyxjnj7hf25844hd9rb01grvzz1rk8mxcdnakywmspbxfd4"))))
1663 (build-system waf-build-system)
1664 (arguments `(#:tests? #f)) ; no check target
1670 `(("pkg-config" ,pkg-config)))
1671 (home-page "http://drobilla.net/software/sratom/")
1672 (synopsis "Library for serialising LV2 atoms to/from RDF")
1674 "Sratom is a library for serialising LV2 atoms to/from RDF, particularly
1675 the Turtle syntax.")
1676 (license license:isc)))
1684 (uri (string-append "http://download.drobilla.net/suil-"
1689 "1s3adyiw7sa5gfvm5wasa61qa23629kprxyv6w8hbxdiwp0hhxkq"))))
1690 (build-system waf-build-system)
1691 (arguments `(#:tests? #f)) ; no check target
1697 `(("pkg-config" ,pkg-config)))
1698 (home-page "http://drobilla.net/software/suil/")
1699 (synopsis "Library for loading and wrapping LV2 plugin UIs")
1701 "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
1703 Suil makes it possible to load a UI of a toolkit in a host using another
1704 toolkit. The API is designed such that hosts do not need to explicitly
1705 support specific toolkits – if Suil supports a particular toolkit, then UIs in
1706 that toolkit will work in all hosts that use Suil automatically.
1708 Suil currently supports every combination of Gtk 2, Qt 4, and X11.")
1709 (license license:isc)))
1711 (define-public timidity++
1717 (uri (string-append "mirror://sourceforge/timidity/TiMidity++"
1718 "/TiMidity++-" version
1719 "/TiMidity++-" version ".tar.bz2"))
1722 "0xk41w4qbk23z1fvqdyfblbz10mmxsllw0svxzjw5sa9y11vczzr"))))
1723 (build-system gnu-build-system)
1726 (list "--enable-audio=alsa,flac,jack,ao,vorbis,speex"
1730 (string-append "--with-default-path="
1731 (assoc-ref %outputs "out") "/etc/timidity"))
1734 'install 'install-config
1736 (let ((out (string-append (assoc-ref %outputs "out")
1739 (call-with-output-file
1740 (string-append out "/timidity.cfg")
1742 (format port (string-append "source "
1743 (assoc-ref %build-inputs "freepats")
1744 "/share/freepats/freepats.cfg"))))))
1747 `(("alsa-lib" ,alsa-lib)
1753 ("ncurses" ,ncurses)
1754 ("freepats" ,freepats)))
1756 `(("pkg-config" ,pkg-config)))
1757 (home-page "http://timidity.sourceforge.net/")
1758 (synopsis "Software synthesizer for playing MIDI files")
1760 "TiMidity++ is a software synthesizer. It can play MIDI files by
1761 converting them into PCM waveform data; give it a MIDI data along with digital
1762 instrument data files, then it synthesizes them in real-time, and plays. It
1763 can not only play sounds, but also can save the generated waveforms into hard
1764 disks as various audio file formats.")
1765 (license license:gpl2+)))
1774 "https://code.soundsoftware.ac.uk"
1775 "/attachments/download/1520/vamp-plugin-sdk-"
1779 "0pzq0yy2kdl3jgfc2aqmh5m55nk1ild0hq8mydiiw35c6y0mglyh"))))
1780 (build-system gnu-build-system)
1782 `(#:tests? #f ; no check target
1785 'install 'remove-libvamp-hostsdk.la
1786 (lambda* (#:key outputs #:allow-other-keys)
1787 ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656
1788 (for-each delete-file
1789 (let ((out (assoc-ref outputs "out")))
1790 (list (string-append out "/lib/libvamp-sdk.la")
1791 (string-append out "/lib/libvamp-hostsdk.la"))))
1795 `(("libsndfile" ,libsndfile)))
1797 `(("pkg-config" ,pkg-config)))
1798 (home-page "http://vamp-plugins.org")
1799 (synopsis "Modular and extensible audio processing system")
1801 "Vamp is an audio processing plugin system for plugins that extract
1802 descriptive information from audio data — typically referred to as audio
1803 analysis plugins or audio feature extraction plugins.")
1806 "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING"))))
1808 (define-public libsbsms
1815 (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version
1816 "/libsbsms-" version ".tar.gz"))
1818 (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf"))))
1819 (build-system gnu-build-system)
1820 (native-inputs `(("automake" ,automake)))
1823 ;; Disable the use of SSE unless on x86_64.
1824 ,(if (not (string-prefix? "x86_64" (or (%current-target-system)
1825 (%current-system))))
1829 (modify-phases %standard-phases
1831 'unpack 'fix-ar-lib-path
1832 (lambda* (#:key inputs #:allow-other-keys)
1833 ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
1834 (delete-file "ar-lib")
1836 (string-append (assoc-ref inputs "automake") "/share/automake-"
1837 ,(package-version automake) "/ar-lib")
1839 (home-page "http://sbsms.sourceforge.net/")
1840 (synopsis "Library for time stretching and pitch scaling of audio")
1842 "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time
1843 stretching and pitch scaling of audio. This package contains the library.")
1844 ;; There is no explicit declaration of a license, but a COPYING file
1846 (license license:gpl2)))
1848 (define-public wavpack
1854 (uri (string-append "http://www.wavpack.com/"
1855 name "-" version ".tar.bz2"))
1858 "191h8hv8qk72hfh1crg429i9yq3cminwqb249sy9zadbn1wy7b9c"))))
1859 (build-system gnu-build-system)
1862 ;; wavpack.pc.in lacks path substitution for 'exec_prefix'.
1863 (list (string-append "--libdir=" %output "/lib"))))
1864 (home-page "http://www.wavpack.com/")
1865 (synopsis "Hybrid lossless audio codec")
1867 "WavPack is an audio compression format with lossless, lossy and hybrid
1868 compression modes. This package contains command-line programs and library to
1869 encode and decode wavpack files.")
1870 (license license:bsd-3)))
1872 (define-public libmodplug
1879 "mirror://sourceforge/modplug-xmms/"
1880 name "/" version "/" name "-" version ".tar.gz"))
1883 "1bfsladg7h6vnii47dd66f5vh1ir7qv12mfb8n36qiwrxq92sikp"))))
1884 (build-system gnu-build-system)
1885 (home-page "http://modplug-xmms.sourceforge.net/")
1886 (synopsis "Mod file playing library")
1888 "Libmodplug renders mod music files as raw audio data, for playing or
1889 conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are
1890 supported. Optional features include high-quality resampling, bass expansion,
1891 surround and reverb.")
1892 (license license:public-domain)))
1894 (define-public libxmp
1900 (uri (string-append "mirror://sourceforge/xmp/libxmp/" version "/"
1901 name "-" version ".tar.gz"))
1904 "1gm5xa0ca7ypcbj3bkmj3k1vvzl7nkch8gjyrm8p1a9vgzr0n761"))))
1905 (build-system gnu-build-system)
1906 (home-page "http://xmp.sourceforge.net/")
1907 (synopsis "Module player library")
1909 "Libxmp is a library that renders module files to PCM data. It supports
1910 over 90 mainstream and obscure module formats including Protracker (MOD),
1911 Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).")
1912 (license license:lgpl2.1+)))
1920 (uri (string-append "mirror://sourceforge/xmp/xmp/" version "/"
1921 name "-" version ".tar.gz"))
1924 "0gjylvvmq7ha0nhcjg56qfp0xxpsrcsj7y5r914svd5x1ppmzm5n"))))
1925 (build-system gnu-build-system)
1927 `(("pkg-config" ,pkg-config)))
1929 `(("libxmp" ,libxmp)
1930 ("pulseaudio" ,pulseaudio)))
1931 (home-page "http://xmp.sourceforge.net/")
1932 (synopsis "Extended module player")
1934 "Xmp is a portable module player that plays over 90 mainstream and
1935 obscure module formats, including Protracker MOD, Fasttracker II XM, Scream
1936 Tracker 3 S3M and Impulse Tracker IT files.")
1937 (license license:gpl2+)))
1939 (define-public soundtouch
1948 "http://www.surina.net/soundtouch/soundtouch-" version ".tar.gz"))
1950 (base32 "0sqn3wk4qz20vf0vz853l6dl1gnj1yhqxfwxqsc5lp529kbn2h9x"))))
1951 (build-system gnu-build-system)
1953 `(("autoconf" ,autoconf)
1954 ("automake" ,automake)
1955 ("libtool" ,libtool)
1962 (zero? (system* "sh" "bootstrap")))
1964 (home-page "http://www.surina.net/soundtouch/")
1966 "Audio processing library for changing tempo, pitch and playback rate")
1968 "SoundTouch is an audio processing library for changing the tempo, pitch
1969 and playback rates of audio streams or audio files. It is intended for
1970 application developers writing sound processing tools that require tempo/pitch
1971 control functionality, or just for playing around with the sound effects.")
1972 (license license:lgpl2.1+)))
1980 (uri (string-append "mirror://sourceforge/sox/sox/" version "/"
1981 name "-" version ".tar.bz2"))
1984 "170lx90r1nlnb2j6lg00524iwvqy72p48vii4xc5prrh8dnrb9l1"))))
1985 (build-system gnu-build-system)
1988 ;; The upstream asks to identify the distribution to diagnose SoX
1990 '("--with-distro=Guix System Distribution")))
1992 `(("pkg-config" ,pkg-config)))
1994 `(("alsa-lib" ,alsa-lib)
1998 ("libid3tag" ,libid3tag)
1999 ("libltdl" ,libltdl)
2002 ("libvorbis" ,libvorbis)
2003 ("pulseaudio" ,pulseaudio)))
2004 (home-page "http://sox.sourceforge.net")
2005 (synopsis "Sound processing utility")
2007 "SoX (Sound eXchange) is a command line utility that can convert
2008 various formats of computer audio files to other formats. It can also
2009 apply various effects to these sound files, and, as an added bonus, SoX
2010 can play and record audio files.")
2011 ;; sox.c is distributed under GPL, while the files that make up
2012 ;; libsox are licensed under LGPL.
2013 (license (list license:gpl2+ license:lgpl2.1+))))
2023 (string-append "mirror://sourceforge/soxr/soxr-" version
2026 (base32 "1hmadwqfpg15vhwq9pa1sl5xslibrjpk6hpq2s9hfmx1s5l6ihfw"))))
2027 (build-system cmake-build-system)
2028 (arguments '(#:tests? #f)) ;no 'check' target
2029 (home-page "http://sourceforge.net/p/soxr/wiki/Home/")
2030 (synopsis "One-dimensional sample-rate conversion library")
2032 "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
2033 conversion. It may be used, for example, to resample PCM-encoded audio.")
2034 (license license:lgpl2.1+)))
2036 (define-public twolame
2043 (uri (string-append "mirror://sourceforge/twolame/twolame/" version
2044 "/twolame-" version ".tar.gz"))
2046 (base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq"))))
2047 (build-system gnu-build-system)
2049 `(("libsndfile" ,libsndfile)))
2052 ("which" ,which))) ;used in tests/test.pl
2053 (home-page "http://www.twolame.org/")
2054 (synopsis "MPEG Audio Layer 2 (MP2) encoder")
2056 "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
2057 tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
2059 (license license:lgpl2.1+)))
2061 (define-public portaudio
2064 (version "19.20140130")
2069 "http://www.portaudio.com/archives/pa_stable_v"
2070 (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
2073 (base32 "0mwddk4qzybaf85wqfhxqlf0c5im9il8z03rd4n127k8y2jj9q4g"))
2074 (patches (search-patches "portaudio-audacity-compat.patch"))))
2075 (build-system gnu-build-system)
2077 ;; TODO: Add ASIHPI.
2078 `(("alsa-lib" ,alsa-lib)
2081 `(("autoconf" ,autoconf)
2082 ("automake" ,automake)
2083 ("libtool" ,libtool)
2084 ("pkg-config" ,pkg-config)))
2087 ;; Autoreconf is necessary because the audacity-compat patch modifies
2092 (zero? (system* "autoreconf" "-vif")))
2094 #:tests? #f)) ;no 'check' target
2095 (home-page "http://www.portaudio.com/")
2096 (synopsis "Audio I/O library")
2098 "PortAudio is a portable C/C++ audio I/O library providing a simple API
2099 to record and/or play sound using a callback function or a blocking read/write
2101 (license license:expat)))
2103 (define-public qsynth
2110 (uri (string-append "mirror://sourceforge/qsynth/qsynth/" version
2111 "/qsynth-" version ".tar.gz"))
2113 (base32 "034p6mbwrjnxd9b6h20cidxi4ilkk3cgpjp154j0jzjs1ipf7x2h"))))
2114 (build-system gnu-build-system)
2116 `(#:tests? #f ; no "check" phase
2118 '("CXXFLAGS=-std=gnu++11")))
2120 `(("qttools" ,qttools)))
2122 `(("fluidsynth" ,fluidsynth)
2124 ("qtx11extras" ,qtx11extras)))
2125 (home-page "http://qsynth.sourceforge.net")
2126 (synopsis "Graphical user interface for FluidSynth")
2128 "Qsynth is a GUI front-end application for the FluidSynth SoundFont
2129 synthesizer written in C++.")
2130 (license license:gpl2+)))
2132 (define-public rsound
2139 (uri (string-append "https://github.com/Themaister/RSound/archive/v"
2141 (file-name (string-append name "-" version))
2143 (base32 "1wzs40c0k5zpkmm5ffl6c17xmr399sxli7ys0fbb9ib0fd334knx"))))
2144 (build-system gnu-build-system)
2146 `(("alsa-lib" ,alsa-lib)
2149 ("libsamplerate" ,libsamplerate)
2151 ("portaudio" ,portaudio)
2152 ("pulseaudio" ,pulseaudio)))
2157 (lambda* (#:key outputs #:allow-other-keys)
2160 (system* "./configure"
2161 (string-append "--prefix=" (assoc-ref outputs "out")))))
2163 ;; No 'check' target.
2165 (home-page "http://themaister.net/rsound.html")
2166 (synopsis "Networked audio system")
2168 "RSound allows you to send audio from an application and transfer it
2169 directly to a different computer on your LAN network. It is an audio daemon
2170 with a much different focus than most other audio daemons.")
2171 (license license:gpl3+)))
2173 (define-public xjackfreak
2180 "https://github.com/johnhldavis/xjackfreak/archive/v"
2182 (file-name (string-append name "-" version ".tar.gz"))
2185 "0xj6gpxfnw9jbdgwgm0x23xgfvj2kwmwb1nk0drw8lxgcchkq7d9"))))
2186 (build-system gnu-build-system)
2189 (list (string-append "docdir=" (assoc-ref %outputs "out")
2190 "/share/doc/xjackfreak"))))
2195 ("libxext" ,libxext)))
2197 `(("pkg-config" ,pkg-config)))
2198 (home-page "https://github.com/johnhldavis/xjackfreak")
2199 (synopsis "JACK audio frequency analyzer and display")
2201 "XJackFreak is an audio analysis and equalizing tool for the Jack Audio
2202 Connection Kit. It can display the FFT of any input, modify it and output the
2204 (license license:gpl3+)))
2206 (define-public zita-convolver
2208 (name "zita-convolver")
2213 "http://kokkinizita.linuxaudio.org"
2214 "/linuxaudio/downloads/zita-convolver-"
2215 version ".tar.bz2"))
2217 ;; Don't optimize for a specific processor architecture.
2218 '(substitute* "libs/Makefile"
2219 (("^CXXFLAGS \\+= -march=native") "")))
2220 (modules '((guix build utils)))
2223 "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))
2224 (build-system gnu-build-system)
2226 `(#:tests? #f ; no "check" target
2227 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2230 'unpack 'patch-makefile-and-enter-directory
2232 (substitute* "libs/Makefile"
2233 (("ldconfig") "true")
2234 (("^LIBDIR =.*") "LIBDIR = lib\n"))
2240 (symlink "libzita-convolver.so"
2241 (string-append (assoc-ref %outputs "out")
2242 "/lib/libzita-convolver.so.3")))
2243 ;; no configure script
2244 (alist-delete 'configure %standard-phases)))))
2245 (inputs `(("fftwf" ,fftwf)))
2246 (home-page "http://kokkinizita.linuxaudio.org")
2247 (synopsis "Fast, partitioned convolution engine library")
2249 "Zita convolver is a C++ library providing a real-time convolution
2251 (license license:gpl3+)))
2253 (define-public zita-resampler
2255 (name "zita-resampler")
2260 "http://kokkinizita.linuxaudio.org"
2261 "/linuxaudio/downloads/zita-resampler-"
2262 version ".tar.bz2"))
2264 ;; Don't optimize for a specific processor architecture.
2265 '(substitute* '("apps/Makefile" "libs/Makefile")
2266 (("^CXXFLAGS \\+= -march=native") "")))
2267 (modules '((guix build utils)))
2270 "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
2271 (build-system gnu-build-system)
2273 `(#:tests? #f ; no "check" target
2274 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2276 (modify-phases %standard-phases
2278 'unpack 'patch-makefile-and-enter-directory
2280 (substitute* "libs/Makefile"
2281 (("ldconfig") "true")
2282 (("^LIBDIR =.*") "LIBDIR = lib\n"))
2286 'install 'install-symlink
2288 (symlink "libzita-resampler.so"
2289 (string-append (assoc-ref %outputs "out")
2290 "/lib/libzita-resampler.so.1"))))
2291 ;; no configure script
2292 (delete 'configure))))
2293 (home-page "http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html")
2294 (synopsis "C++ library for resampling audio signals")
2296 "Libzita-resampler is a C++ library for resampling audio signals. It is
2297 designed to be used within a real-time processing context, to be fast, and to
2298 provide high-quality sample rate conversion.")
2299 (license license:gpl3+)))
2301 (define-public zita-alsa-pcmi
2303 (name "zita-alsa-pcmi")
2308 "http://kokkinizita.linuxaudio.org"
2309 "/linuxaudio/downloads/zita-alsa-pcmi-"
2310 version ".tar.bz2"))
2313 "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
2314 (build-system gnu-build-system)
2316 `(#:tests? #f ; no "check" target
2317 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2320 'unpack 'patch-makefile-and-enter-directory
2322 (substitute* "libs/Makefile"
2323 (("ldconfig") "true")
2324 (("^LIBDIR =.*") "LIBDIR = lib\n"))
2331 (symlink "libzita-alsa-pcmi.so"
2332 (string-append (assoc-ref %outputs "out")
2333 "/lib/libzita-alsa-pcmi.so.0")))
2334 ;; no configure script
2335 (alist-delete 'configure %standard-phases)))))
2337 `(("alsa-lib" ,alsa-lib)
2339 (home-page "http://kokkinizita.linuxaudio.org")
2340 (synopsis "C++ wrapper around the ALSA API")
2342 "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy
2343 access to ALSA PCM devices, taking care of the many functions required to
2344 open, initialise and use a hw: device in mmap mode, and providing floating
2346 (license license:gpl3+)))
2348 (define-public cuetools
2354 (uri (string-append "https://github.com/svend/cuetools/archive/"
2356 (file-name (string-append name "-" version ".tar.gz"))
2359 "01xi3rvdmil9nawsha04iagjylqr1l9v9vlzk99scs8c207l58i4"))))
2360 (build-system gnu-build-system)
2361 ;; The source tarball is not bootstrapped.
2364 (modify-phases %standard-phases
2365 (add-after 'unpack 'bootstrap
2366 (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
2367 ;; Bootstrapping tools
2369 `(("autoconf" ,autoconf)
2370 ("automake" ,automake)
2373 (synopsis "Cue and toc file parsers and utilities")
2374 (description "Cuetools is a set of programs that are useful for manipulating
2375 and using CUE sheet (cue) files and Table of Contents (toc) files. CUE and TOC
2376 files are a way to represent the layout of a data or audio CD in a
2377 machine-readable ASCII format.")
2378 (home-page "https://github.com/svend/cuetools")
2379 (license license:gpl2+)))
2381 (define-public shntool
2387 (uri (string-append "http://etree.org/shnutils/shntool/dist/src/"
2388 "shntool-" version ".tar.gz"))
2391 "00i1rbjaaws3drkhiczaign3lnbhr161b7rbnjr8z83w8yn2wc3l"))))
2392 (build-system gnu-build-system)
2393 (synopsis "WAVE audio data processing tool")
2394 (description "shntool is a multi-purpose WAVE data processing and reporting
2395 utility. File formats are abstracted from its core, so it can process any file
2396 that contains WAVE data, compressed or not---provided there exists a format
2397 module to handle that particular file type.")
2398 (home-page "http://etree.org/shnutils/shntool/")
2399 ;; 'install-sh' bears the x11 license
2400 (license (list license:gpl2+ license:x11))))
2402 (define-public dcadec
2408 (uri (string-append "https://github.com/foo86/dcadec/archive/v"
2410 (file-name (string-append name "-" version ".tar.gz"))
2413 "0i0dpypgqkhhi4v1fmsp2way6w9kbcix3c7q79pmg39yvrzj17gd"))))
2414 (build-system gnu-build-system)
2416 ;; Test files are missing: https://github.com/foo86/dcadec/issues/53
2420 ;; Build shared library.
2422 (string-append "PREFIX=" (assoc-ref %outputs "out"))
2423 ;; Set proper runpath.
2424 (string-append "LDFLAGS=-Wl,-rpath="
2425 (assoc-ref %outputs "out")
2428 (modify-phases %standard-phases
2429 ;; No configure script, just a hand-written Makefile.
2430 (delete 'configure))))
2431 (synopsis "DTS Coherent Acoustics decoder")
2432 (description "Dcadec is a DTS Coherent Acoustics surround sound decoder
2433 with support for HD extensions.")
2434 (home-page "https://github.com/foo86/dcadec")
2435 (license license:lgpl2.1+)))
2437 (define-public bs1770gain
2444 (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/"
2445 version "/bs1770gain-" version ".tar.gz"))
2448 "0j765drdb7h3y5ipjv9sg1a0if6zh8cksbv3rdk5ppd7kxcrjnlb"))))
2449 (build-system gnu-build-system)
2450 (inputs `(("ffmpeg" ,ffmpeg)
2452 (home-page "http://bs1770gain.sourceforge.net/")
2453 (synopsis "Tool to adjust loudness of media files")
2455 "BS1770GAIN is a loudness scanner compliant with ITU-R BS.1770 and its
2456 flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the
2457 loudness of audio and video files to the same level.")
2458 (license license:gpl2+)))