1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 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 Mark H Weaver <mhw@netris.org>
8 ;;; This file is part of GNU Guix.
10 ;;; GNU Guix is free software; you can redistribute it and/or modify it
11 ;;; under the terms of the GNU General Public License as published by
12 ;;; the Free Software Foundation; either version 3 of the License, or (at
13 ;;; your option) any later version.
15 ;;; GNU Guix is distributed in the hope that it will be useful, but
16 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;;; GNU General Public License for more details.
20 ;;; You should have received a copy of the GNU General Public License
21 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
23 (define-module (gnu packages audio)
24 #:use-module (guix packages)
25 #:use-module (guix download)
26 #:use-module (guix git-download)
27 #:use-module (guix utils)
28 #:use-module ((guix licenses) #:prefix license:)
29 #:use-module (guix build-system gnu)
30 #:use-module (guix build-system waf)
31 #:use-module (guix build-system trivial)
32 #:use-module (guix build-system cmake)
33 #:use-module (gnu packages)
34 #:use-module (gnu packages algebra)
35 #:use-module (gnu packages autotools)
36 #:use-module (gnu packages avahi)
37 #:use-module (gnu packages boost)
38 #:use-module (gnu packages base)
39 #:use-module (gnu packages bison)
40 #:use-module (gnu packages compression)
41 #:use-module (gnu packages curl)
42 #:use-module (gnu packages databases)
43 #:use-module (gnu packages file)
44 #:use-module (gnu packages flex)
45 #:use-module (gnu packages gettext)
46 #:use-module (gnu packages glib)
47 #:use-module (gnu packages gtk)
48 #:use-module (gnu packages gnome)
49 #:use-module (gnu packages gperf)
50 #:use-module (gnu packages image)
51 #:use-module (gnu packages ncurses)
52 #:use-module (gnu packages qt)
53 #:use-module (gnu packages linux)
54 #:use-module (gnu packages mp3) ;taglib
55 #:use-module (gnu packages perl)
56 #:use-module (gnu packages pkg-config)
57 #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
58 #:use-module (gnu packages python)
59 #:use-module (gnu packages rdf)
60 #:use-module (gnu packages readline)
61 #:use-module (gnu packages xiph)
62 #:use-module (gnu packages xml)
63 #:use-module (gnu packages xorg)
64 #:use-module (gnu packages zip)
65 #:use-module (srfi srfi-1))
67 (define-public alsa-modular-synth
69 (name "alsa-modular-synth")
73 (uri (string-append "mirror://sourceforge/alsamodular/ams-"
77 "1nb7qzzqlqa2x8h797jbwi18ihnfkxqg9lyi0c4nvf8ybwzxkzd2"))))
78 (build-system gnu-build-system)
80 `(("alsa-lib" ,alsa-lib)
81 ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to
82 ;; license incompatibility.
83 ("clalsadrv" ,clalsadrv)
90 `(("pkg-config" ,pkg-config)))
91 (home-page "http://alsamodular.sourceforge.net/")
92 (synopsis "Realtime modular synthesizer and effect processor")
94 "AlsaModularSynth is a digital implementation of a classical analog
95 modular synthesizer system. It uses virtual control voltages to control the
96 parameters of the modules. The control voltages which control the frequency
97 e.g. of the VCO (Voltage Controlled Oscillator) and VCF (Voltage Controlled
98 Filter) modules follow the convention of 1V / Octave.")
99 (license license:gpl2)))
108 "http://aubio.org/pub/aubio-" version ".tar.bz2"))
111 "15f6nf76y7iyl2kl4ny7ky0zpxfxr8j3902afvd6ydnnkh5dzmr5"))))
112 (build-system waf-build-system)
114 `(#:tests? #f ; no check target
119 "--enable-samplerate"
120 ;; enable compilation with avcodec once available
125 ("libsndfile" ,libsndfile)
126 ("libsamplerate" ,libsamplerate)
129 `(("pkg-config" ,pkg-config)))
130 (home-page "http://aubio.org/")
131 (synopsis "A library for audio labelling")
133 "aubio is a tool designed for the extraction of annotations from audio
134 signals. Its features include segmenting a sound file before each of its
135 attacks, performing pitch detection, tapping the beat and producing MIDI
136 streams from live audio.")
137 (license license:gpl3+)))
139 (define (ardour-rpath-phase major-version)
140 `(lambda* (#:key outputs #:allow-other-keys)
141 (let ((libdir (string-append (assoc-ref outputs "out")
142 "/lib/ardour" ,major-version)))
143 (substitute* "wscript"
144 (("linker_flags = \\[\\]")
145 (string-append "linker_flags = [\""
148 libdir "/backends" ":"
149 libdir "/engines" ":"
150 libdir "/panners" ":"
151 libdir "/surfaces" ":"
152 libdir "/vamp" "\"]"))))
155 (define-public ardour-3
160 ;; The project only provides tarballs upon individual request
161 ;; (or after payment) so we take the code from git.
164 (url "git://git.ardour.org/ardour/ardour.git")
167 ;; Ardour expects this file to exist at build time. It can be
168 ;; created from a git checkout with:
169 ;; ./waf create_stored_revision
170 '(call-with-output-file
171 "libs/ardour/revision.cc"
173 (format port "#include \"ardour/revision.h\"
174 namespace ARDOUR { const char* revision = \"3.5-403-gec2cb31\" ; }"))))
177 "01b0wxh0wlxjfz5j8gcwwqhxc6q2kn4njz2fcmzv9fr3xaya5dbp"))
178 (file-name (string-append name "-" version))))
179 (build-system waf-build-system)
182 (modify-phases %standard-phases
184 'unpack 'set-rpath-in-LDFLAGS
185 ,(ardour-rpath-phase (version-prefix version 1))))
186 #:tests? #f ; no check target
189 `(("alsa-lib" ,alsa-lib)
197 ("libart-lgpl" ,libart-lgpl)
198 ("libgnomecanvasmm" ,libgnomecanvasmm)
201 ("libsndfile" ,libsndfile)
202 ("libsamplerate" ,libsamplerate)
205 ("libvorbis" ,libvorbis)
219 ("rubberband" ,rubberband)
221 ("python-rdflib" ,python-rdflib)))
224 ("pkg-config" ,pkg-config)))
225 (home-page "http://ardour.org")
226 (synopsis "Digital audio workstation")
228 "Ardour is a multi-channel digital audio workstation, allowing users to
229 record, edit, mix and master audio and MIDI projects. It is targeted at audio
230 engineers, musicians, soundtrack editors and composers.")
231 (license license:gpl2+)))
233 (define-public ardour
234 (package (inherit ardour-3)
240 (url "git://git.ardour.org/ardour/ardour.git")
243 ;; Ardour expects this file to exist at build time. It can be
244 ;; created from a git checkout with:
245 ;; ./waf create_stored_revision
246 '(call-with-output-file
247 "libs/ardour/revision.cc"
249 (format port "#include \"ardour/revision.h\"
250 namespace ARDOUR { const char* revision = \"4.2\" ; }"))))
253 "1j8zw0bvh16qwyy8qrqynpak9nghl9j3qhjjcdl7wh9raafjqc00"))
254 (file-name (string-append name "-" version))))
256 (substitute-keyword-arguments (package-arguments ardour-3)
258 `(modify-phases ,phases
259 (replace 'set-rpath-in-LDFLAGS
260 ,(ardour-rpath-phase (version-prefix version 1)))))))))
268 (uri (string-append "mirror://savannah/ll-plugins/azr3-jack-"
273 "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc"))))
274 (build-system gnu-build-system)
276 `(#:tests? #f ; no check target
279 (string-append "prefix=" %output)
280 (string-append "pkgdatadir=" %output "/share/azr3-jack"))))
287 `(("pkg-config" ,pkg-config)))
288 (home-page "http://ll-plugins.nongnu.org/azr3/")
289 (synopsis "Tonewheel organ synthesizer")
291 "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ
292 with drawbars, distortion and rotating speakers. The organ has three
293 sections, two polyphonic sections with nine drawbars each and one monophonic
294 bass section with five drawbars. A standalone JACK application and LV2
295 plugins are provided.")
296 (license license:gpl2)))
305 "mirror://sourceforge/calf/calf/"
306 version "/calf-" version ".tar.gz"))
309 "019fwg00jv217a5r767z7szh7vdrarybac0pr2sk26xp81kibrx9"))))
310 (build-system gnu-build-system)
312 `(("fluidsynth" ,fluidsynth)
323 `(("pkg-config" ,pkg-config)))
325 (list (search-path-specification
326 (variable "LV2_PATH")
327 (files '("lib/lv2")))))
328 (home-page "http://calf.sourceforge.net/")
329 (synopsis "Audio plug-in pack for LV2 and JACK environments")
331 "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments.
332 The suite contains lots of effects (delay, modulation, signal processing,
333 filters, equalizers, dynamics, distortion and mastering effects),
334 instruments (SF2 player, organ simulator and a monophonic synthesizer) and
335 tools (analyzer, mono/stereo tools, crossovers).")
336 ;; calfjackhost is released under GPLv2+
337 ;; The plugins are released under LGPLv2.1+
338 (license (list license:lgpl2.1+ license:gpl2+))))
340 (define-public csound
347 "mirror://sourceforge/csound/csound6/Csound"
348 version "/Csound" version ".tar.gz"))
351 "1030w38lxdwjz1irr32m9cl0paqmgr02lab2m7f7j1yihwxj1w0g"))))
352 (build-system cmake-build-system)
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 fluidsynth
425 "mirror://sourceforge/fluidsynth/fluidsynth-"
426 version "/fluidsynth-" version ".tar.gz"))
429 "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah"))))
430 (build-system gnu-build-system)
435 'remove-broken-symlinks
436 (lambda _ (delete-file-recursively "m4") #t)
439 `(("libsndfile" ,libsndfile)
440 ("alsa-lib" ,alsa-lib)
444 ("readline" ,readline)
447 `(("pkg-config" ,pkg-config)))
448 (home-page "http://www.fluidsynth.org/")
449 (synopsis "SoundFont synthesizer")
451 "FluidSynth is a real-time software synthesizer based on the SoundFont 2
452 specifications. FluidSynth reads and handles MIDI events from the MIDI input
453 device. It is the software analogue of a MIDI synthesizer. FluidSynth can
454 also play midifiles using a Soundfont.")
455 (license license:gpl2+)))
464 "mirror://sourceforge/faac/faad2-" version ".zip"))
467 "16f3l16c00sg0wkrkm3vzv0gy3g97x309vw788igs0cap2x1ak3z"))))
468 (build-system gnu-build-system)
470 `(("autoconf" ,autoconf)
471 ("automake" ,automake)
479 (substitute* "bootstrap" (("\r\n") "\n"))
480 (zero? (system* "sh" "bootstrap")))
482 (home-page "http://www.audiocoding.com/faad2.html")
483 (synopsis "MPEG-4 and MPEG-2 AAC decoder")
485 "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR,
487 (license license:gpl2)))
496 "mirror://sourceforge/faudiostream/faust-" version ".zip"))
499 "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1"))
501 ;; Remove prebuilt library
502 '(delete-file "architecture/android/libs/armeabi-v7a/libfaust_dsp.so"))))
503 (build-system gnu-build-system)
505 `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
508 (modify-phases %standard-phases
509 ;; no "configure" script
510 (delete 'configure))))
513 (home-page "http://faust.grame.fr/")
514 (synopsis "Signal processing language")
516 "Faust is a programming language for realtime audio signal processing.")
517 (license license:gpl2+)))
519 (define-public freepats
525 (uri (string-append "http://freepats.zenvoid.org/freepats-"
529 "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82"))))
530 (build-system trivial-build-system)
532 `(#:modules ((guix build utils))
534 (use-modules (guix build utils))
535 (let ((out (string-append %output "/share/freepats")))
536 (setenv "PATH" (string-append
537 (assoc-ref %build-inputs "bzip2") "/bin:"
538 (assoc-ref %build-inputs "tar") "/bin"))
539 (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
541 ;; Use absolute pattern references
542 (substitute* "freepats.cfg"
543 (("Tone_000") (string-append out "/Tone_000"))
544 (("Drum_000") (string-append out "/Drum_000")))
546 (copy-recursively "." out)))))
550 (home-page "http://freepats.zenvoid.org")
551 (synopsis "GUS compatible patches for MIDI players")
553 "FreePats is a project to create a free and open set of GUS compatible
554 patches that can be used with softsynths such as Timidity and WildMidi.")
555 ;; GPLv2+ with exception for compositions using these patches.
556 (license license:gpl2+)))
558 (define-public guitarix
565 "mirror://sourceforge/guitarix/guitarix2-"
569 "1w6dg2n0alfjsx1iy6s53783invygwxk11p1i65cc3nq3zlidcgx"))))
570 (build-system waf-build-system)
572 `(#:tests? #f ; no "check" target
576 ;; Add the output lib directory to the RUNPATH.
577 (string-append "--ldflags=-Wl,-rpath=" %output "/lib"))))
579 `(("libsndfile" ,libsndfile)
591 ("zita-resampler" ,zita-resampler)
592 ("zita-convolver" ,zita-convolver)))
596 ("intltool" ,intltool)
597 ("gettext" ,gnu-gettext)
598 ("pkg-config" ,pkg-config)))
600 (list (search-path-specification
601 (variable "LV2_PATH")
602 (files '("lib/lv2")))))
603 (home-page "http://guitarix.org/")
604 (synopsis "Virtual guitar amplifier")
605 (description "Guitarix is a virtual guitar amplifier running JACK.
606 Guitarix takes the signal from your guitar as a mono-signal from your sound
607 card. The input is processed by a main amp and a rack-section. Both can be
608 routed separately and deliver a processed stereo-signal via JACK. You may
609 fill the rack with effects from more than 25 built-in modules including stuff
610 from a simple noise gate to modulation effects like flanger, phaser or
612 (license license:gpl2+)))
621 "http://factorial.hu/system/files/ir.lv2-"
625 "1jh2z01l9m4ar7yz0n911df07dygc7n4cl59p7qdjbh0nvkm747g"))))
626 (build-system gnu-build-system)
628 `(#:tests? #f ;no "check" target
629 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
631 ;; no configure script
632 (alist-delete 'configure %standard-phases)))
634 `(("libsndfile" ,libsndfile)
635 ("libsamplerate" ,libsamplerate)
639 ("zita-convolver" ,zita-convolver)))
641 `(("pkg-config" ,pkg-config)))
643 (list (search-path-specification
644 (variable "LV2_PATH")
645 (files '("lib/lv2")))))
646 (home-page "http://factorial.hu/plugins/lv2/ir")
647 (synopsis "LV2 convolution reverb")
649 "IR is a low-latency, real-time, high performance signal convolver
650 especially for creating reverb effects. It supports impulse responses with 1,
651 2 or 4 channels, in any soundfile format supported by libsndfile.")
652 (license license:gpl2+)))
654 (define-public jack-1
661 "http://jackaudio.org/downloads/jack-audio-connection-kit-"
666 "1mk1wnx33anp6haxfjjkfhwbaknfblsvj35nxvz0hvspcmhdyhpb"))))
667 (build-system gnu-build-system)
669 `(("alsa-lib" ,alsa-lib)
670 ("readline" ,readline)))
671 ;; uuid.h is included in the JACK type headers
672 ;; db.h is included in the libjack metadata headers
674 `(("libuuid" ,util-linux)
677 `(("pkg-config" ,pkg-config)))
678 (home-page "http://jackaudio.org/")
679 (synopsis "JACK audio connection kit")
681 "JACK is a low-latency audio server. It can connect a number of
682 different applications to an audio device, as well as allowing them to share
683 audio between themselves. JACK is different from other audio server efforts
684 in that it has been designed from the ground up to be suitable for
685 professional audio work. This means that it focuses on two key areas:
686 synchronous execution of all clients, and low latency operation.")
687 ;; Most files are licensed under the GPL. However, the libjack/ tree is
688 ;; licensed under the LGPL in order to allow for proprietary usage.
689 (license (list license:gpl2+ license:lgpl2.1+))))
691 ;; Packages depending on JACK should always prefer jack-1. Both jack-1 and
692 ;; jack-2 implement the same API. JACK2 is provided primarily as a client
693 ;; program for users who might benefit from the D-BUS features.
694 (define-public jack-2
695 (package (inherit jack-1)
701 "https://github.com/jackaudio/jack2/archive/v"
704 (file-name (string-append name "-" version ".tar.gz"))
707 "03b0iiyk3ng3vh5s8gaqwn565vik7910p56mlbk512bw3dhbdwc8"))))
708 (build-system waf-build-system)
710 `(#:tests? #f ; no check target
711 #:configure-flags '("--dbus"
714 (modify-phases %standard-phases
716 'configure 'set-linkflags
718 ;; Add $libdir to the RUNPATH of all the binaries.
719 (substitute* "wscript"
720 ((".*CFLAGS.*-Wall.*" m)
722 " conf.env.append_unique('LINKFLAGS',"
723 "'-Wl,-rpath=" %output "/lib')\n"))))))))
725 `(("alsa-lib" ,alsa-lib)
728 ("libsamplerate" ,libsamplerate)
730 ("readline" ,readline)))
732 `(("pkg-config" ,pkg-config)))
733 ;; Most files are under GPLv2+, but some headers are under LGPLv2.1+
734 (license (list license:gpl2+ license:lgpl2.1+))))
742 (uri (string-append "http://download.drobilla.net/jalv-"
746 "1f1hcq74n3ziw8bk97mn5a1vgw028dxikv3fchaxd430pbbhqgl9"))))
747 (build-system waf-build-system)
748 (arguments `(#:tests? #f)) ; no check target
758 `(("pkg-config" ,pkg-config)))
759 (home-page "http://drobilla.net/software/jalv/")
760 (synopsis "Simple LV2 host for JACK")
762 "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2
763 plugins and exposes their ports as JACK ports, essentially making any LV2
764 plugin function as a JACK application.")
765 (license license:isc)))
767 (define-public ladspa
774 "http://www.ladspa.org/download/ladspa_sdk_"
779 "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
780 (build-system gnu-build-system)
782 `(#:tests? #f ; the "test" target is a listening test only
786 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
788 (let ((out (assoc-ref outputs "out")))
789 (substitute* "makefile"
790 (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/"))
791 (("/usr/include/") (string-append out "/include/"))
792 (("/usr/bin/") (string-append out "/bin/"))
793 (("-mkdirhier") "mkdir -p")
794 (("^CC.*") "CC = gcc\n")
795 (("^CPP.*") "CPP = g++\n"))))
796 (alist-delete 'build %standard-phases))))
797 (home-page "http://ladspa.org")
798 (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)")
800 "LADSPA is a standard that allows software audio processors and effects
801 to be plugged into a wide range of audio synthesis and recording packages.")
802 (license license:lgpl2.1+)))
807 (version "0.6.0-rc2")
810 ;; The tilde is not permitted in the builder name, but is used
813 "mirror://savannah/lash/lash-"
814 (string-join (string-split version #\-) "~")
816 (file-name (string-append name "-" version ".tar.bz2"))
819 "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw"))))
820 (build-system gnu-build-system)
825 ("readline" ,readline)
826 ("python" ,python-2)))
827 ;; According to pkg-config, packages depending on lash also need to have
828 ;; at least the following packages declared as inputs.
830 `(("alsa-lib" ,alsa-lib)
832 ("libxml2" ,libxml2)))
834 `(("pkg-config" ,pkg-config)))
835 (home-page "http://www.nongnu.org/lash/")
836 (synopsis "Audio application session manager")
838 "LASH is a session management system for audio applications. It allows
839 you to save and restore audio sessions consisting of multiple interconneced
840 applications, restoring program state (i.e. loaded patches) and the
841 connections between them.")
842 (license license:gpl2+)))
844 (define-public libbs2b
851 "mirror://sourceforge/bs2b/libbs2b-" version ".tar.lzma"))
854 "1mcc4gjkmphczjybnsrip3gq1f974knzys7x49bv197xk3fn8wdr"))))
855 (build-system gnu-build-system)
856 (native-inputs `(("pkg-config" ,pkg-config)))
857 (inputs `(("libsndfile" ,libsndfile)))
858 (home-page "http://sourceforge.net/projects/bs2b/")
859 (synopsis "Bauer stereophonic-to-binaural DSP")
861 "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is
862 designed to improve headphone listening of stereo audio records. Recommended
863 for headphone prolonged listening to disable superstereo fatigue without
864 essential distortions.")
865 (license license:expat)))
874 "mirror://sourceforge/liblo/liblo-"
879 "02drgnpirvl2ihvzgsmn02agr5sj3vipzzw9vma56qlkgfvak56s"))))
880 (build-system gnu-build-system)
882 `(;; liblo test FAILED
883 ;; liblo server error 19 in setsockopt(IP_ADD_MEMBERSHIP): No such device
885 (home-page "http://liblo.sourceforge.net")
886 (synopsis "Implementation of the Open Sound Control protocol")
888 "liblo is a lightweight library that provides an easy to use
889 implementation of the Open Sound Control (OSC) protocol.")
890 (license license:lgpl2.1+)))
898 (uri (string-append "http://download.drobilla.net/lilv-"
903 "0aj2plkx56iar8vzjbq2l7hi7sp0ml99m0h44rgwai2x4vqkk2j2"))))
904 (build-system waf-build-system)
906 `(#:tests? #f ; no check target
908 (modify-phases %standard-phases
910 'configure 'set-ldflags
911 (lambda* (#:key outputs #:allow-other-keys)
913 (string-append "-Wl,-rpath="
914 (assoc-ref outputs "out") "/lib")))))))
915 ;; required by lilv-0.pc
923 `(("pkg-config" ,pkg-config)))
924 (home-page "http://drobilla.net/software/lilv/")
925 (synopsis "Library to simplify use of LV2 plugins in applications")
927 "Lilv is a C library to make the use of LV2 plugins as simple as possible
928 for applications. Lilv is the successor to SLV2, rewritten to be
929 significantly faster and have minimal dependencies.")
930 (license license:isc)))
938 (uri (string-append "http://lv2plug.in/spec/lv2-"
943 "1saq0vwqy5zjdkgc5ahs8kcabxfmff2mmg68fiqrkv8hiw9m6jks"))))
944 (build-system waf-build-system)
946 `(#:tests? #f ; no check target
947 #:configure-flags '("--no-plugins")))
949 ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
950 `(("libsndfile" ,libsndfile)))
952 `(("pkg-config" ,pkg-config)))
953 (home-page "http://lv2plug.in/")
954 (synopsis "LV2 audio plugin specification")
956 "LV2 is an open specification for audio plugins and host applications.
957 At its core, LV2 is a simple stable interface, accompanied by extensions which
958 add functionality to support the needs of increasingly powerful audio
960 (license license:isc)))
962 (define-public lv2-mda-piano
964 (name "lv2-mda-piano")
969 (url "http://git.elephly.net/software/lv2-mdametapiano.git")
973 "07lywf6lpfpndg3i9w752mmlg2hgn1bwp23h8b0mdj6awh67abqd"))))
974 (build-system gnu-build-system)
978 (string-append "PREFIX=" (assoc-ref %outputs "out")))
979 #:tests? #f ; no check target
980 #:phases (alist-delete 'configure %standard-phases)))
985 `(("pkg-config" ,pkg-config)))
987 (list (search-path-specification
988 (variable "LV2_PATH")
989 (files '("lib/lv2")))))
990 (home-page "http://elephly.net/lv2/mdapiano.html")
991 (synopsis "LV2 port of the mda Piano plugin")
992 (description "An LV2 port of the mda Piano VSTi.")
993 (license license:gpl3+)))
995 (define-public lv2-mda-epiano
996 (package (inherit lv2-mda-piano)
997 (name "lv2-mda-epiano")
1001 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1002 #:tests? #f ; no check target
1003 #:phases (alist-delete 'configure %standard-phases)))
1004 (home-page "http://elephly.net/lv2/mdaepiano.html")
1005 (synopsis "LV2 port of the mda EPiano plugin")
1006 (description "An LV2 port of the mda EPiano VSTi.")))
1014 (uri (string-append "https://github.com/lvtk/lvtk/archive/"
1017 (file-name (string-append name "-" version ".tar.gz"))
1020 "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd"))))
1021 (build-system waf-build-system)
1023 `(#:tests? #f ; no check target
1026 (list (string-append "--boost-includes="
1027 (assoc-ref %build-inputs "boost")
1033 `(("pkg-config" ,pkg-config)))
1034 (home-page "https://github.com/lvtk/lvtk")
1035 (synopsis "C++ libraries for LV2 plugins")
1037 "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and
1038 extensions into easy to use C++ classes. It is the successor of
1040 (license license:gpl3+)))
1042 (define-public openal
1049 "http://kcat.strangesoft.net/openal-releases/openal-soft-"
1050 version ".tar.bz2"))
1053 "0mmhdqiyb3c9dzvxspm8h2v8jibhi8pfjxnf6m0wn744y1ia2a8f"))))
1054 (build-system cmake-build-system)
1056 `(#:tests? #f ; no check target
1058 (modify-phases %standard-phases
1060 'unpack 'use-full-library-paths
1061 (lambda* (#:key inputs #:allow-other-keys)
1062 (substitute* "Alc/backends/pulseaudio.c"
1063 (("#define PALIB \"libpulse\\.so\\.0\"")
1064 (string-append "#define PALIB \""
1065 (assoc-ref inputs "pulseaudio")
1066 "/lib/libpulse.so.0"
1068 (substitute* "Alc/backends/alsa.c"
1069 (("LoadLib\\(\"libasound\\.so\\.2\"\\)")
1070 (string-append "LoadLib(\""
1071 (assoc-ref inputs "alsa-lib")
1072 "/lib/libasound.so.2"
1076 `(("alsa-lib" ,alsa-lib)
1077 ("pulseaudio" ,pulseaudio)))
1078 (synopsis "3D audio API")
1080 "OpenAL provides capabilities for playing audio in a virtual 3D
1081 environment. Distance attenuation, doppler shift, and directional sound
1082 emitters are among the features handled by the API. More advanced effects,
1083 including air absorption, occlusion, and environmental reverb, are available
1084 through the EFX extension. It also facilitates streaming audio, multi-channel
1085 buffers, and audio capture.")
1086 (home-page "http://kcat.strangesoft.net/openal.html")
1087 (license license:lgpl2.0+)))
1089 (define-public patchage
1095 (uri (string-append "http://download.drobilla.net/patchage-"
1100 "1agdpwwi42176l4mxj0c4fsvdiv1ig56bfnnx0msckxmy57df8bb"))))
1101 (build-system waf-build-system)
1102 (arguments `(#:tests? #f)) ; no check target
1104 `(("alsa-lib" ,alsa-lib)
1110 ("dbus-glib" ,dbus-glib)))
1112 `(("pkg-config" ,pkg-config)))
1113 (home-page "http://drobilla.net/software/patchage/")
1114 (synopsis "Modular patch bay for audio and MIDI systems")
1116 "Patchage is a modular patch bay for audio and MIDI systems based on JACK
1118 (license license:gpl3+)))
1126 (uri (string-append "http://download.drobilla.net/raul-"
1127 version ".tar.bz2"))
1130 "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b"))))
1131 (build-system waf-build-system)
1133 `(#:python ,python-2
1134 #:tests? #f)) ; no check target
1139 `(("pkg-config" ,pkg-config)))
1140 (home-page "http://drobilla.net/software/raul/")
1141 (synopsis "Real-time audio utility library")
1143 "Raul (Real-time Audio Utility Library) is a C++ utility library primarily
1144 aimed at audio/musical applications.")
1145 (license license:gpl2+)))
1147 (define-public rubberband
1154 (string-append "https://bitbucket.org/breakfastquay/rubberband/get/v"
1159 "05amrbrxx0da3w7m237q51799r8xgs4ffqabi2qv06hq8dpcj386"))))
1160 (build-system gnu-build-system)
1161 (arguments `(#:tests? #f)) ; no check target
1163 `(("ladspa" ,ladspa)
1164 ("libsamplerate" ,libsamplerate)
1167 `(("pkg-config" ,pkg-config)))
1168 (home-page "http://breakfastquay.com/rubberband/")
1169 (synopsis "Audio time-stretching and pitch-shifting library")
1171 "Rubber Band is a library and utility program that permits changing the
1172 tempo and pitch of an audio recording independently of one another.")
1173 (license license:gpl2+)))
1175 (define-public rtmidi
1182 (string-append "https://github.com/powertab/rtmidi/archive/"
1184 (file-name (string-append name "-" version ".tar.gz"))
1187 "0d49lapnmdgmjxh4vw57h6xk74nn5r0zwysv7jbd7m8kqhpq5rjj"))))
1188 (build-system gnu-build-system)
1190 `(#:tests? #f ;no "check" target
1191 #:phases (modify-phases %standard-phases
1193 'configure 'autoconf
1194 (lambda _ (zero? (system* "autoreconf" "-vfi"))))
1196 'build 'fix-makefile
1198 (substitute* "Makefile"
1200 (("RtMidi.h RtError.h") "RtMidi.h"))
1203 'install 'make-target-dirs
1205 (let ((out (assoc-ref %outputs "out")))
1206 (mkdir-p (string-append out "/bin"))
1207 (mkdir (string-append out "/lib"))
1208 (mkdir (string-append out "/include")))
1212 ("alsa-lib" ,alsa-lib)))
1214 `(("autoconf" ,autoconf)
1215 ("automake" ,automake)
1216 ("libtool" ,libtool)
1217 ("pkg-config" ,pkg-config)))
1218 (home-page "https://github.com/powertab/rtmidi")
1219 (synopsis "Cross-platform MIDI library for C++")
1221 "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
1222 classes) that provide a common cross-platform API for realtime MIDI
1224 (license license:expat)))
1226 (define-public sratom
1232 (uri (string-append "http://download.drobilla.net/sratom-"
1237 "080jjiyxjnj7hf25844hd9rb01grvzz1rk8mxcdnakywmspbxfd4"))))
1238 (build-system waf-build-system)
1239 (arguments `(#:tests? #f)) ; no check target
1245 `(("pkg-config" ,pkg-config)))
1246 (home-page "http://drobilla.net/software/sratom/")
1247 (synopsis "Library for serialising LV2 atoms to/from RDF")
1249 "Sratom is a library for serialising LV2 atoms to/from RDF, particularly
1250 the Turtle syntax.")
1251 (license license:isc)))
1259 (uri (string-append "http://download.drobilla.net/suil-"
1264 "1s3adyiw7sa5gfvm5wasa61qa23629kprxyv6w8hbxdiwp0hhxkq"))))
1265 (build-system waf-build-system)
1266 (arguments `(#:tests? #f)) ; no check target
1272 `(("pkg-config" ,pkg-config)))
1273 (home-page "http://drobilla.net/software/suil/")
1274 (synopsis "Library for loading and wrapping LV2 plugin UIs")
1276 "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
1278 Suil makes it possible to load a UI of a toolkit in a host using another
1279 toolkit. The API is designed such that hosts do not need to explicitly
1280 support specific toolkits – if Suil supports a particular toolkit, then UIs in
1281 that toolkit will work in all hosts that use Suil automatically.
1283 Suil currently supports every combination of Gtk 2, Qt 4, and X11.")
1284 (license license:isc)))
1286 (define-public timidity++
1293 "mirror://sourceforge/timidity/TiMidity++-"
1294 version ".tar.bz2"))
1297 "0xk41w4qbk23z1fvqdyfblbz10mmxsllw0svxzjw5sa9y11vczzr"))))
1298 (build-system gnu-build-system)
1301 (list "--enable-audio=alsa,flac,jack,ao,vorbis,speex"
1305 (string-append "--with-default-path="
1306 (assoc-ref %outputs "out") "/etc/timidity"))
1309 'install 'install-config
1311 (let ((out (string-append (assoc-ref %outputs "out")
1314 (call-with-output-file
1315 (string-append out "/timidity.cfg")
1317 (format port (string-append "source "
1318 (assoc-ref %build-inputs "freepats")
1319 "/share/freepats/freepats.cfg"))))))
1322 `(("alsa-lib" ,alsa-lib)
1328 ("ncurses" ,ncurses)
1329 ("freepats" ,freepats)))
1331 `(("pkg-config" ,pkg-config)))
1332 (home-page "http://timidity.sourceforge.net/")
1333 (synopsis "Software synthesizer for playing MIDI files")
1335 "TiMidity++ is a software synthesizer. It can play MIDI files by
1336 converting them into PCM waveform data; give it a MIDI data along with digital
1337 instrument data files, then it synthesizes them in real-time, and plays. It
1338 can not only play sounds, but also can save the generated waveforms into hard
1339 disks as various audio file formats.")
1340 (license license:gpl2+)))
1349 "https://code.soundsoftware.ac.uk"
1350 "/attachments/download/1520/vamp-plugin-sdk-"
1354 "0pzq0yy2kdl3jgfc2aqmh5m55nk1ild0hq8mydiiw35c6y0mglyh"))))
1355 (build-system gnu-build-system)
1357 `(#:tests? #f ; no check target
1360 'install 'remove-libvamp-hostsdk.la
1361 (lambda* (#:key outputs #:allow-other-keys)
1362 ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656
1363 (for-each delete-file
1364 (let ((out (assoc-ref outputs "out")))
1365 (list (string-append out "/lib/libvamp-sdk.la")
1366 (string-append out "/lib/libvamp-hostsdk.la"))))
1370 `(("libsndfile" ,libsndfile)))
1372 `(("pkg-config" ,pkg-config)))
1373 (home-page "http://vamp-plugins.org")
1374 (synopsis "Modular and extensible audio processing system")
1376 "Vamp is an audio processing plugin system for plugins that extract
1377 descriptive information from audio data — typically referred to as audio
1378 analysis plugins or audio feature extraction plugins.")
1381 "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING"))))
1383 (define-public libsbsms
1390 (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version
1391 "/libsbsms-" version ".tar.gz"))
1393 (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf"))))
1394 (build-system gnu-build-system)
1395 (native-inputs `(("automake" ,automake)))
1398 ;; Disable the use of SSE unless on x86_64.
1399 ,(if (not (string-prefix? "x86_64" (or (%current-target-system)
1400 (%current-system))))
1404 (modify-phases %standard-phases
1406 'unpack 'fix-ar-lib-path
1407 (lambda* (#:key inputs #:allow-other-keys)
1408 ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
1409 (delete-file "ar-lib")
1411 (string-append (assoc-ref inputs "automake") "/share/automake-"
1412 ,(package-version automake) "/ar-lib")
1414 (home-page "http://sbsms.sourceforge.net/")
1415 (synopsis "Library for time stretching and pitch scaling of audio")
1417 "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time
1418 stretching and pitch scaling of audio. This package contains the library.")
1419 ;; There is no explicit declaration of a license, but a COPYING file
1421 (license license:gpl2)))
1423 (define-public wavpack
1429 (uri (string-append "http://www.wavpack.com/"
1430 name "-" version ".tar.bz2"))
1433 "191h8hv8qk72hfh1crg429i9yq3cminwqb249sy9zadbn1wy7b9c"))))
1434 (build-system gnu-build-system)
1437 ;; wavpack.pc.in lacks path substitution for 'exec_prefix'.
1438 (list (string-append "--libdir=" %output "/lib"))))
1439 (home-page "http://www.wavpack.com/")
1440 (synopsis "Hybrid lossless audio codec")
1442 "WavPack is an audio compression format with lossless, lossy and hybrid
1443 compression modes. This package contains command-line programs and library to
1444 encode and decode wavpack files.")
1445 (license license:bsd-3)))
1447 (define-public libmodplug
1454 "mirror://sourceforge/project/modplug-xmms/"
1455 name "/" version "/" name "-" version ".tar.gz"))
1458 "1bfsladg7h6vnii47dd66f5vh1ir7qv12mfb8n36qiwrxq92sikp"))))
1459 (build-system gnu-build-system)
1460 (home-page "http://modplug-xmms.sourceforge.net/")
1461 (synopsis "Mod file playing library")
1463 "Libmodplug renders mod music files as raw audio data, for playing or
1464 conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are
1465 supported. Optional features include high-quality resampling, bass expansion,
1466 surround and reverb.")
1467 (license license:public-domain)))
1469 (define-public libxmp
1475 (uri (string-append "mirror://sourceforge/xmp/libxmp/"
1476 name "-" version ".tar.gz"))
1479 "0h06091hlpgc6ds4pjmfq8sx4snw7av3nhny180q4pwfyasjb6ny"))))
1480 (build-system gnu-build-system)
1481 (home-page "http://xmp.sourceforge.net/")
1482 (synopsis "Module player library")
1484 "Libxmp is a library that renders module files to PCM data. It supports
1485 over 90 mainstream and obscure module formats including Protracker (MOD),
1486 Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).")
1487 (license license:lgpl2.1+)))
1495 (uri (string-append "mirror://sourceforge/xmp/xmp/"
1496 name "-" version ".tar.gz"))
1499 "0gjylvvmq7ha0nhcjg56qfp0xxpsrcsj7y5r914svd5x1ppmzm5n"))))
1500 (build-system gnu-build-system)
1502 `(("pkg-config" ,pkg-config)))
1504 `(("libxmp" ,libxmp)
1505 ("pulseaudio" ,pulseaudio)))
1506 (home-page "http://xmp.sourceforge.net/")
1507 (synopsis "Extended module player")
1509 "Xmp is a portable module player that plays over 90 mainstream and
1510 obscure module formats, including Protracker MOD, Fasttracker II XM, Scream
1511 Tracker 3 S3M and Impulse Tracker IT files.")
1512 (license license:gpl2+)))
1514 (define-public soundtouch
1523 "http://www.surina.net/soundtouch/soundtouch-" version ".tar.gz"))
1525 (base32 "0sqn3wk4qz20vf0vz853l6dl1gnj1yhqxfwxqsc5lp529kbn2h9x"))))
1526 (build-system gnu-build-system)
1528 `(("autoconf" ,autoconf)
1529 ("automake" ,automake)
1530 ("libtool" ,libtool)
1537 (zero? (system* "sh" "bootstrap")))
1539 (home-page "http://www.surina.net/soundtouch/")
1541 "Audio processing library for changing tempo, pitch and playback rate")
1543 "SoundTouch is an audio processing library for changing the tempo, pitch
1544 and playback rates of audio streams or audio files. It is intended for
1545 application developers writing sound processing tools that require tempo/pitch
1546 control functionality, or just for playing around with the sound effects.")
1547 (license license:lgpl2.1+)))
1555 (uri (string-append "mirror://sourceforge/sox/sox-"
1556 version ".tar.bz2"))
1559 "170lx90r1nlnb2j6lg00524iwvqy72p48vii4xc5prrh8dnrb9l1"))))
1560 (build-system gnu-build-system)
1563 ;; The upstream asks to identify the distribution to diagnose SoX
1565 '("--with-distro=Guix System Distribution")))
1567 `(("pkg-config" ,pkg-config)))
1569 `(("alsa-lib" ,alsa-lib)
1573 ("libid3tag" ,libid3tag)
1574 ("libltdl" ,libltdl)
1577 ("libvorbis" ,libvorbis)
1578 ("pulseaudio" ,pulseaudio)))
1579 (home-page "http://sox.sourceforge.net")
1580 (synopsis "Sound processing utility")
1582 "SoX (Sound eXchange) is a command line utility that can convert
1583 various formats of computer audio files to other formats. It can also
1584 apply various effects to these sound files, and, as an added bonus, SoX
1585 can play and record audio files.")
1586 ;; sox.c is distributed under GPL, while the files that make up
1587 ;; libsox are licensed under LGPL.
1588 (license (list license:gpl2+ license:lgpl2.1+))))
1598 (string-append "mirror://sourceforge/soxr/soxr-" version
1601 (base32 "1hmadwqfpg15vhwq9pa1sl5xslibrjpk6hpq2s9hfmx1s5l6ihfw"))))
1602 (build-system cmake-build-system)
1603 (arguments '(#:tests? #f)) ;no 'check' target
1604 (home-page "http://sourceforge.net/p/soxr/wiki/Home/")
1605 (synopsis "One-dimensional sample-rate conversion library")
1607 "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
1608 conversion. It may be used, for example, to resample PCM-encoded audio.")
1609 (license license:lgpl2.1+)))
1611 (define-public twolame
1619 "mirror://sourceforge/twolame/twolame-" version ".tar.gz"))
1621 (base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq"))))
1622 (build-system gnu-build-system)
1624 `(("libsndfile" ,libsndfile)))
1627 ("which" ,which))) ;used in tests/test.pl
1628 (home-page "http://www.twolame.org/")
1629 (synopsis "MPEG Audio Layer 2 (MP2) encoder")
1631 "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
1632 tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
1634 (license license:lgpl2.1+)))
1636 (define-public portaudio
1639 (version "19.20140130")
1644 "http://www.portaudio.com/archives/pa_stable_v"
1645 (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
1648 (base32 "0mwddk4qzybaf85wqfhxqlf0c5im9il8z03rd4n127k8y2jj9q4g"))
1649 (patches (list (search-patch "portaudio-audacity-compat.patch")))))
1650 (build-system gnu-build-system)
1652 ;; TODO: Add ASIHPI.
1653 `(("alsa-lib" ,alsa-lib)
1656 `(("autoconf" ,autoconf)
1657 ("automake" ,automake)
1658 ("libtool" ,libtool)
1659 ("pkg-config" ,pkg-config)))
1662 ;; Autoreconf is necessary because the audacity-compat patch modifies
1667 (zero? (system* "autoreconf" "-vif")))
1669 #:tests? #f)) ;no 'check' target
1670 (home-page "http://www.portaudio.com/")
1671 (synopsis "Audio I/O library")
1673 "PortAudio is a portable C/C++ audio I/O library providing a simple API
1674 to record and/or play sound using a callback function or a blocking read/write
1676 (license license:expat)))
1678 (define-public qsynth
1686 "mirror://sourceforge/qsynth/qsynth-" version ".tar.gz"))
1688 (base32 "1chc89v9hcjw3k4rvzakl8g56wv24kh48fzv1gfs4iv8vhyl3j4x"))))
1689 (build-system gnu-build-system)
1691 `(#:tests? #f)) ; no "check" phase
1694 ("fluidsynth" ,fluidsynth)))
1695 (home-page "http://qsynth.sourceforge.net")
1696 (synopsis "Graphical user interface for FluidSynth")
1698 "Qsynth is a GUI front-end application for the FluidSynth SoundFont
1699 synthesizer written in C++.")
1700 (license license:gpl2+)))
1702 (define-public rsound
1709 (uri (string-append "https://github.com/Themaister/RSound/archive/v"
1711 (file-name (string-append name "-" version))
1713 (base32 "1wzs40c0k5zpkmm5ffl6c17xmr399sxli7ys0fbb9ib0fd334knx"))))
1714 (build-system gnu-build-system)
1716 `(("alsa-lib" ,alsa-lib)
1719 ("libsamplerate" ,libsamplerate)
1721 ("portaudio" ,portaudio)
1722 ("pulseaudio" ,pulseaudio)))
1727 (lambda* (#:key outputs #:allow-other-keys)
1730 (system* "./configure"
1731 (string-append "--prefix=" (assoc-ref outputs "out")))))
1733 ;; No 'check' target.
1735 (home-page "http://themaister.net/rsound.html")
1736 (synopsis "Networked audio system")
1738 "RSound allows you to send audio from an application and transfer it
1739 directly to a different computer on your LAN network. It is an audio daemon
1740 with a much different focus than most other audio daemons.")
1741 (license license:gpl3+)))
1743 (define-public xjackfreak
1750 "https://github.com/johnhldavis/xjackfreak/archive/v"
1752 (file-name (string-append name "-" version ".tar.gz"))
1755 "0xj6gpxfnw9jbdgwgm0x23xgfvj2kwmwb1nk0drw8lxgcchkq7d9"))))
1756 (build-system gnu-build-system)
1759 (list (string-append "docdir=" (assoc-ref %outputs "out")
1760 "/share/doc/xjackfreak"))))
1765 ("libxext" ,libxext)))
1767 `(("pkg-config" ,pkg-config)))
1768 (home-page "https://github.com/johnhldavis/xjackfreak")
1769 (synopsis "JACK audio frequency analyzer and display")
1771 "XJackFreak is an audio analysis and equalizing tool for the Jack Audio
1772 Connection Kit. It can display the FFT of any input, modify it and output the
1774 (license license:gpl3+)))
1776 (define-public zita-convolver
1778 (name "zita-convolver")
1783 "http://kokkinizita.linuxaudio.org"
1784 "/linuxaudio/downloads/zita-convolver-"
1785 version ".tar.bz2"))
1788 "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))
1789 (build-system gnu-build-system)
1791 `(#:tests? #f ; no "check" target
1792 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1795 'unpack 'patch-makefile-and-enter-directory
1797 (substitute* "libs/Makefile"
1798 (("ldconfig") "true")
1799 (("^LIBDIR =.*") "LIBDIR = lib\n"))
1805 (symlink "libzita-convolver.so"
1806 (string-append (assoc-ref %outputs "out")
1807 "/lib/libzita-convolver.so.3")))
1808 ;; no configure script
1809 (alist-delete 'configure %standard-phases)))))
1810 (inputs `(("fftwf" ,fftwf)))
1811 (home-page "http://kokkinizita.linuxaudio.org")
1812 (synopsis "Fast, partitioned convolution engine library")
1814 "Zita convolver is a C++ library providing a real-time convolution
1816 (license license:gpl3+)))
1818 (define-public zita-resampler
1820 (name "zita-resampler")
1825 "http://kokkinizita.linuxaudio.org"
1826 "/linuxaudio/downloads/zita-resampler-"
1827 version ".tar.bz2"))
1830 "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
1831 (build-system gnu-build-system)
1833 `(#:tests? #f ; no "check" target
1834 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1836 (modify-phases %standard-phases
1838 'unpack 'patch-makefile-and-enter-directory
1840 (substitute* "libs/Makefile"
1841 (("ldconfig") "true")
1842 (("^LIBDIR =.*") "LIBDIR = lib\n"))
1846 'install 'install-symlink
1848 (symlink "libzita-resampler.so"
1849 (string-append (assoc-ref %outputs "out")
1850 "/lib/libzita-resampler.so.1"))))
1851 ;; no configure script
1852 (delete 'configure))))
1853 (home-page "http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html")
1854 (synopsis "C++ library for resampling audio signals")
1856 "Libzita-resampler is a C++ library for resampling audio signals. It is
1857 designed to be used within a real-time processing context, to be fast, and to
1858 provide high-quality sample rate conversion.")
1859 (license license:gpl3+)))
1861 (define-public zita-alsa-pcmi
1863 (name "zita-alsa-pcmi")
1868 "http://kokkinizita.linuxaudio.org"
1869 "/linuxaudio/downloads/zita-alsa-pcmi-"
1870 version ".tar.bz2"))
1873 "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
1874 (build-system gnu-build-system)
1876 `(#:tests? #f ; no "check" target
1877 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1880 'unpack 'patch-makefile-and-enter-directory
1882 (substitute* "libs/Makefile"
1883 (("ldconfig") "true")
1884 (("^LIBDIR =.*") "LIBDIR = lib\n"))
1891 (symlink "libzita-alsa-pcmi.so"
1892 (string-append (assoc-ref %outputs "out")
1893 "/lib/libzita-alsa-pcmi.so.0")))
1894 ;; no configure script
1895 (alist-delete 'configure %standard-phases)))))
1897 `(("alsa-lib" ,alsa-lib)
1899 (home-page "http://kokkinizita.linuxaudio.org")
1900 (synopsis "C++ wrapper around the ALSA API")
1902 "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy
1903 access to ALSA PCM devices, taking care of the many functions required to
1904 open, initialise and use a hw: device in mmap mode, and providing floating
1906 (license license:gpl3+)))