1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
3 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
4 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
5 ;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
7 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com>
9 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
10 ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
11 ;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <me@tobias.gr>
13 ;;; This file is part of GNU Guix.
15 ;;; GNU Guix is free software; you can redistribute it and/or modify it
16 ;;; under the terms of the GNU General Public License as published by
17 ;;; the Free Software Foundation; either version 3 of the License, or (at
18 ;;; your option) any later version.
20 ;;; GNU Guix is distributed in the hope that it will be useful, but
21 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;;; GNU General Public License for more details.
25 ;;; You should have received a copy of the GNU General Public License
26 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
28 (define-module (gnu packages audio)
29 #:use-module (guix packages)
30 #:use-module (guix download)
31 #:use-module (guix git-download)
32 #:use-module (guix utils)
33 #:use-module ((guix licenses) #:prefix license:)
34 #:use-module (guix build-system gnu)
35 #:use-module (guix build-system waf)
36 #:use-module (guix build-system trivial)
37 #:use-module (guix build-system cmake)
38 #:use-module (guix build-system python)
39 #:use-module (guix build-system glib-or-gtk)
40 #:use-module (gnu packages)
41 #:use-module (gnu packages algebra)
42 #:use-module (gnu packages autotools)
43 #:use-module (gnu packages avahi)
44 #:use-module (gnu packages boost)
45 #:use-module (gnu packages backup)
46 #:use-module (gnu packages base)
47 #:use-module (gnu packages bison)
48 #:use-module (gnu packages check)
49 #:use-module (gnu packages compression)
50 #:use-module (gnu packages curl)
51 #:use-module (gnu packages databases)
52 #:use-module (gnu packages emacs)
53 #:use-module (gnu packages file)
54 #:use-module (gnu packages flex)
55 #:use-module (gnu packages fltk)
56 #:use-module (gnu packages fontutils)
57 #:use-module (gnu packages gettext)
58 #:use-module (gnu packages glib)
59 #:use-module (gnu packages gtk)
60 #:use-module (gnu packages gnome)
61 #:use-module (gnu packages gnunet) ; libmicrohttpd
62 #:use-module (gnu packages gperf)
63 #:use-module (gnu packages image)
64 #:use-module (gnu packages ncurses)
65 #:use-module (gnu packages qt)
66 #:use-module (gnu packages libbsd)
67 #:use-module (gnu packages linux)
68 #:use-module (gnu packages llvm)
69 #:use-module (gnu packages mp3) ;taglib
70 #:use-module (gnu packages perl)
71 #:use-module (gnu packages pkg-config)
72 #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
73 #:use-module (gnu packages python)
74 #:use-module (gnu packages rdf)
75 #:use-module (gnu packages readline)
76 #:use-module (gnu packages telephony)
77 #:use-module (gnu packages tls)
78 #:use-module (gnu packages video)
79 #:use-module (gnu packages vim) ;xxd
80 #:use-module (gnu packages webkit)
81 #:use-module (gnu packages wxwidgets)
82 #:use-module (gnu packages xiph)
83 #:use-module (gnu packages xml)
84 #:use-module (gnu packages xorg)
85 #:use-module (gnu packages maths)
86 #:use-module (gnu packages multiprecision)
87 #:use-module (gnu packages music)
88 #:use-module (srfi srfi-1)
89 #:use-module (srfi srfi-26))
91 (define-public alsa-modular-synth
93 (name "alsa-modular-synth")
97 (uri (string-append "mirror://sourceforge/alsamodular/alsamodular"
98 "/" version "/ams-" version ".tar.bz2"))
101 "1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0"))))
102 (build-system gnu-build-system)
106 "CXXFLAGS=-std=gnu++11")
108 (modify-phases %standard-phases
109 ;; Insert an extra space between linker flags.
110 (add-before 'configure 'add-missing-space
112 (substitute* "configure"
113 (("LIBS\\+=\\$LIBSsave") "LIBS+=\" $LIBSsave\"")
114 (("CFLAGS\\+=\\$CFLAGSsave") "CFLAGS+=\" $CFLAGSsave\""))
117 `(("alsa-lib" ,alsa-lib)
118 ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to
119 ;; license incompatibility.
120 ("clalsadrv" ,clalsadrv)
126 ("qttools" ,qttools)))
128 `(("pkg-config" ,pkg-config)))
129 (home-page "http://alsamodular.sourceforge.net/")
130 (synopsis "Realtime modular synthesizer and effect processor")
132 "AlsaModularSynth is a digital implementation of a classical analog
133 modular synthesizer system. It uses virtual control voltages to control the
134 parameters of the modules. The control voltages which control the frequency
135 e.g. of the VCO (Voltage Controlled Oscillator) and VCF (Voltage Controlled
136 Filter) modules follow the convention of 1V / Octave.")
137 (license license:gpl2)))
146 "http://aubio.org/pub/aubio-" version ".tar.bz2"))
149 "15f6nf76y7iyl2kl4ny7ky0zpxfxr8j3902afvd6ydnnkh5dzmr5"))))
150 (build-system waf-build-system)
152 `(#:tests? #f ; no check target
157 "--enable-samplerate"
158 ;; enable compilation with avcodec once available
163 ("libsndfile" ,libsndfile)
164 ("libsamplerate" ,libsamplerate)
167 `(("pkg-config" ,pkg-config)))
168 (home-page "http://aubio.org/")
169 (synopsis "Library for audio labelling")
171 "aubio is a tool designed for the extraction of annotations from audio
172 signals. Its features include segmenting a sound file before each of its
173 attacks, performing pitch detection, tapping the beat and producing MIDI
174 streams from live audio.")
175 (license license:gpl3+)))
177 (define (ardour-rpath-phase major-version)
178 `(lambda* (#:key outputs #:allow-other-keys)
179 (let ((libdir (string-append (assoc-ref outputs "out")
180 "/lib/ardour" ,major-version)))
181 (substitute* "wscript"
182 (("linker_flags = \\[\\]")
183 (string-append "linker_flags = [\""
186 libdir "/backends" ":"
187 libdir "/engines" ":"
188 libdir "/panners" ":"
189 libdir "/surfaces" ":"
190 libdir "/vamp" "\"]"))))
193 (define-public ardour
200 (url "https://git.ardour.org/ardour/ardour.git")
203 ;; Ardour expects this file to exist at build time. The revision
205 ;; git describe HEAD | sed 's/^[A-Za-z]*+//'
206 `(call-with-output-file
207 "libs/ardour/revision.cc"
209 (format port ,(string-append "#include \"ardour/revision.h\"
210 namespace ARDOUR { const char* revision = \"" version "\" ; }")))))
213 "0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr"))
214 (file-name (string-append name "-" version))))
215 (build-system waf-build-system)
217 `(#:configure-flags '("--cxx11" ; required by gtkmm
218 "--no-phone-home" ; don't contact ardour.org
219 "--freedesktop" ; install .desktop file
220 "--test") ; build unit tests
222 (modify-phases %standard-phases
224 'unpack 'set-rpath-in-LDFLAGS
225 ,(ardour-rpath-phase (version-major version))))
229 `(("alsa-lib" ,alsa-lib)
238 ("libart-lgpl" ,libart-lgpl)
239 ("libgnomecanvasmm" ,libgnomecanvasmm)
242 ("libsndfile" ,libsndfile)
243 ("libsamplerate" ,libsamplerate)
246 ("libvorbis" ,libvorbis)
259 ("readline" ,readline)
261 ("rubberband" ,rubberband)
262 ("libarchive" ,libarchive)
264 ("python-rdflib" ,python-rdflib)))
269 ("gettext" ,gettext-minimal)
270 ("pkg-config" ,pkg-config)))
271 (home-page "http://ardour.org")
272 (synopsis "Digital audio workstation")
274 "Ardour is a multi-channel digital audio workstation, allowing users to
275 record, edit, mix and master audio and MIDI projects. It is targeted at audio
276 engineers, musicians, soundtrack editors and composers.")
277 (license license:gpl2+)))
279 (define-public audacity
286 (uri (string-append "https://github.com/audacity/audacity/archive"
287 "/Audacity-" version ".tar.gz"))
289 (base32 "09xpr4bjnainz1xmc35v3qg3dadjr9wv8bmn1p4y91aqyihnhjry"))
290 (patches (search-patches "audacity-build-with-system-portaudio.patch"))
291 (modules '((guix build utils)))
293 ;; Remove bundled libraries.
297 (delete-file-recursively (string-append "lib-src/" dir)))
298 '("expat" "ffmpeg" "libflac" "libid3tag" "libmad" "libogg"
299 "libsndfile" "libsoxr" "libvamp" "libvorbis" "lv2"
300 "portaudio-v19" "portmidi" "soundtouch" "twolame"
301 ;; FIXME: these libraries have not been packaged yet:
309 ;; FIXME: we have this library, but it differs in that the Slide
310 ;; class does not have a member "getInverseStretchedTime".
314 (build-system gnu-build-system)
316 `(("wxwidgets" ,wxwidgets)
318 ("alsa-lib" ,alsa-lib)
324 ("libid3tag" ,libid3tag)
326 ;;("libsbsms" ,libsbsms) ;bundled version is modified
327 ("libsndfile" ,libsndfile)
328 ("soundtouch" ,soundtouch)
329 ("soxr" ,soxr) ;replaces libsamplerate
332 ("libvorbis" ,libvorbis)
334 ("lilv" ,lilv) ;for lv2
335 ("suil" ,suil) ;for lv2
336 ("portaudio" ,portaudio)
337 ("portmidi" ,portmidi)))
339 `(("autoconf" ,autoconf)
340 ("automake" ,automake)
341 ("gettext" ,gettext-minimal) ;for msgfmt
343 ("pkg-config" ,pkg-config)
348 (let ((libid3tag (assoc-ref %build-inputs "libid3tag"))
349 (libmad (assoc-ref %build-inputs "libmad"))
350 (portmidi (assoc-ref %build-inputs "portmidi")))
352 ;; Loading FFmpeg dynamically is problematic.
353 "--disable-dynamic-loading"
354 ;; SSE instructions are available on Intel systems only.
355 ,@(if (any (cute string-prefix? <> (or (%current-target-system)
359 '("--enable-sse=no"))
360 ;; portmidi, libid3tag and libmad provide no .pc files, so
361 ;; pkg-config fails to find them. Force their inclusion.
362 (string-append "ID3TAG_CFLAGS=-I" libid3tag "/include")
363 (string-append "ID3TAG_LIBS=-L" libid3tag "/lib -lid3tag -lz")
364 (string-append "LIBMAD_CFLAGS=-I" libmad "/include")
365 (string-append "LIBMAD_LIBS=-L" libmad "/lib -lmad")
366 (string-append "PORTMIDI_CFLAGS=-I" portmidi "/include")
367 (string-append "PORTMIDI_LIBS=-L" portmidi "/lib -lportmidi")
368 "EXPAT_USE_SYSTEM=yes"
369 "FFMPEG_USE_SYSTEM=yes"
370 "LAME_USE_SYSTEM=yes"
371 "LIBFLAC_USE_SYSTEM=yes"
372 "LIBID3TAG_USE_SYSTEM=yes"
373 "LIBMAD_USE_SYSTEM=yes"
374 "USE_LOCAL_LIBNYQUIST=" ;not packaged yet
375 ;;"LIBSBSMS_USE_SYSTEM=yes" ;bundled version is patched
376 "LIBSNDFILE_USE_SYSTEM=yes"
377 "LIBSOUNDTOUCH_USE_SYSTEM=yes"
378 "LIBSOXR_USE_SYSTEM=yes"
379 "LIBTWOLAME_USE_SYSTEM=yes"
380 "LIBVAMP_USE_SYSTEM=yes"
381 "LIBVORBIS_USE_SYSTEM=yes"
383 "PORTAUDIO_USE_SYSTEM=yes"))
385 (modify-phases %standard-phases
386 (add-after 'unpack 'fix-sbsms-check
388 ;; This check is wrong: there is no 2.2.0 release; not even the
389 ;; bundled sources match this release string.
390 (substitute* '("m4/audacity_checklib_libsbsms.m4"
392 (("sbsms >= 2.2.0") "sbsms >= 2.0.0"))
394 (add-after 'unpack 'use-upstream-headers
395 (lambda* (#:key inputs #:allow-other-keys)
396 (substitute* '("src/NoteTrack.cpp"
399 (("../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h")
400 (("../lib-src/portmidi/porttime/porttime.h") "porttime.h"))
401 (substitute* "src/prefs/MidiIOPrefs.cpp"
402 (("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h"))
404 ;; The test suite is not "well exercised" according to the developers,
405 ;; and fails with various errors. See
406 ;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>.
408 (home-page "http://audacity.sourceforge.net/")
409 (synopsis "Software for recording and editing sounds")
411 "Audacity is a multi-track audio editor designed for recording, playing
412 and editing digital audio. It features digital effects and spectrum analysis
414 (license license:gpl2+)))
422 (uri (string-append "mirror://savannah/ll-plugins/azr3-jack-"
427 "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc"))
428 (patches (search-patches "azr3.patch"))))
429 (build-system gnu-build-system)
431 `(#:tests? #f ; no check target
434 "CXXFLAGS=-std=gnu++11"
435 "CFLAGS=-std=gnu++11"
436 (string-append "prefix=" %output)
437 (string-append "pkgdatadir=" %output "/share/azr3-jack"))))
444 `(("pkg-config" ,pkg-config)))
445 (home-page "http://ll-plugins.nongnu.org/azr3/")
446 (synopsis "Tonewheel organ synthesizer")
448 "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ
449 with drawbars, distortion and rotating speakers. The organ has three
450 sections, two polyphonic sections with nine drawbars each and one monophonic
451 bass section with five drawbars. A standalone JACK application and LV2
452 plugins are provided.")
453 (license license:gpl2)))
461 (uri (string-append "http://calf-studio-gear.org/files/calf-"
465 "0dijv2j7vlp76l10s4v8gbav26ibaqk8s24ci74vrc398xy00cib"))))
466 (build-system gnu-build-system)
468 `(("fluidsynth" ,fluidsynth)
479 `(("pkg-config" ,pkg-config)))
481 (list (search-path-specification
482 (variable "LV2_PATH")
483 (files '("lib/lv2")))))
484 (home-page "http://calf.sourceforge.net/")
485 (synopsis "Audio plug-in pack for LV2 and JACK environments")
487 "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments.
488 The suite contains lots of effects (delay, modulation, signal processing,
489 filters, equalizers, dynamics, distortion and mastering effects),
490 instruments (SF2 player, organ simulator and a monophonic synthesizer) and
491 tools (analyzer, mono/stereo tools, crossovers).")
492 ;; calfjackhost is released under GPLv2+
493 ;; The plugins are released under LGPLv2.1+
494 (license (list license:lgpl2.1+ license:gpl2+))))
496 (define-public espeak
502 (uri (string-append "mirror://sourceforge/espeak/espeak/"
503 "espeak-" (version-major+minor version)
504 "/espeak-" version "-source.zip"))
507 "0n86gwh9pw0jqqpdz7mxggllfr8k0r7pc67ayy7w5z6z79kig6mz"))
508 (modules '((guix build utils)))
510 ;; remove prebuilt binaries
511 '(delete-file-recursively "linux_32bit"))))
512 (build-system gnu-build-system)
514 `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
515 (string-append "DATADIR="
516 (assoc-ref %outputs "out")
517 "/share/espeak-data")
518 (string-append "LDFLAGS=-Wl,-rpath="
519 (assoc-ref %outputs "out")
522 #:tests? #f ; no check target
524 (modify-phases %standard-phases
528 ;; We use version 19 of the PortAudio library, so we must copy the
529 ;; corresponding file to be sure that espeak compiles correctly.
530 (copy-file "portaudio19.h" "portaudio.h")
531 (substitute* "Makefile"
535 `(("portaudio" ,portaudio)
536 ("pulseaudio" ,pulseaudio)))
537 (native-inputs `(("unzip" ,unzip)))
538 (home-page "http://espeak.sourceforge.net/")
539 (synopsis "Software speech synthesizer")
540 (description "eSpeak is a software speech synthesizer for English and
541 other languages. eSpeak uses a \"formant synthesis\" method. This allows many
542 languages to be provided in a small size. The speech is clear, and can be used
543 at high speeds, but is not as natural or smooth as larger synthesizers which are
544 based on human speech recordings.")
545 (license license:gpl3+)))
547 (define-public infamous-plugins
549 (name "infamous-plugins")
553 (uri (string-append "https://github.com/ssj71/infamousPlugins/"
554 "archive/v" version ".tar.gz"))
555 (file-name (string-append name "-" version ".tar.gz"))
558 "0qm3ak07vc1l3f5c3c2lq9gkfknlxwn8ks03cysw1pk8hj7dwnv6"))))
559 (build-system cmake-build-system)
561 `(#:tests? #f ; There are no tests
563 (modify-phases %standard-phases
564 (add-after 'unpack 'remove-compiler-flags
566 (substitute* '("src/casynth/CMakeLists.txt"
567 "src/cheapdist/CMakeLists.txt"
568 "src/duffer/CMakeLists.txt"
569 "src/envfollower/CMakeLists.txt"
570 "src/ewham/CMakeLists.txt"
571 "src/hip2b/CMakeLists.txt"
572 "src/lushlife/CMakeLists.txt"
573 "src/powercut/CMakeLists.txt"
574 "src/powerup/CMakeLists.txt"
575 "src/stuck/CMakeLists.txt")
576 (("-msse2 -mfpmath=sse") ""))
583 ("zita-resampler" ,zita-resampler)))
585 `(("pkg-config" ,pkg-config)))
586 (home-page "http://ssj71.github.io/infamousPlugins")
587 (synopsis "LV2 plugins for live use")
589 "The infamous plugins are a collection of LV2 audio plugins for live
590 performances. The plugins include a cellular automaton synthesizer, an
591 envelope follower, distortion effects, tape effects and more.")
592 (license license:gpl2+)))
594 (define-public swh-plugins-lv2
596 (name "swh-plugins-lv2")
600 (uri (string-append "https://github.com/swh/"
601 "lv2/archive/v" version ".tar.gz"))
602 (file-name (string-append name "-" version ".tar.gz"))
605 "0j1mih0lp4fds07knp5i32in515sh0df1qi6694pmyz2wqnm295w"))))
606 (build-system gnu-build-system)
608 `(#:tests? #f ; no check target
609 #:make-flags (list "CC=gcc"
610 (string-append "PREFIX="
611 (assoc-ref %outputs "out")))
613 (modify-phases %standard-phases
614 ;; no configure script
616 (add-after 'unpack 'patch-makefile-and-enter-directory
617 ;; The default install target doesn't install, but the
618 ;; "install-system" target does.
620 (substitute* "Makefile"
621 (("install:") "install: install-system"))
627 `(("libxslt" ,libxslt)
628 ("pkg-config" ,pkg-config)))
629 (home-page "http://plugin.org.uk")
630 (synopsis "SWH plugins in LV2 format")
632 "Swh-plugins-lv2 is a collection of audio plugins in LV2 format. Plugin
633 classes include: dynamics (compressor, limiter), time (delay, chorus,
634 flanger), ringmodulator, distortion, filters, pitchshift, oscillators,
635 emulation (valve, tape), bit fiddling (decimator, pointer-cast), etc.")
636 (license license:gpl3+)))
638 (define-public csound
645 "https://github.com/csound/csound/archive/"
647 (file-name (string-append name "-" version ".tar.gz"))
650 "0xqpqws4jsv7fyawcjzwaw544qbfh29xq164kdf30a9v1n3yklp4"))))
651 (build-system cmake-build-system)
653 `(("alsa-lib" ,alsa-lib)
655 ("pulseaudio" ,pulseaudio)
656 ("libsndfile" ,libsndfile)
660 ("gettext" ,gettext-minimal)))
665 (home-page "http://csound.github.io/")
666 (synopsis "Sound and music computing system")
668 "Csound is a user-programmable and user-extensible sound processing
669 language and software synthesizer.")
670 (license license:lgpl2.1+)))
672 (define-public clalsadrv
679 "http://kokkinizita.linuxaudio.org"
680 "/linuxaudio/downloads/clalsadrv-"
684 "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq"))))
685 (build-system gnu-build-system)
687 `(#:tests? #f ; no "check" target
688 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
690 (modify-phases %standard-phases
691 (add-after 'unpack 'patch-makefile-and-enter-directory
693 (substitute* "libs/Makefile"
694 (("/sbin/ldconfig") "true")
695 (("^LIBDIR =.*") "LIBDIR = lib\n"))
698 (add-after 'install 'install-symlink
700 (symlink "libclalsadrv.so"
701 (string-append (assoc-ref %outputs "out")
702 "/lib/libclalsadrv.so.2"))))
703 ;; no configure script
704 (delete 'configure))))
706 `(("alsa-lib" ,alsa-lib)
708 (home-page "http://kokkinizita.linuxaudio.org")
709 (synopsis "C++ wrapper around the ALSA API")
711 "clalsadrv is a C++ wrapper around the ALSA API simplifying access to
713 (license license:gpl2+)))
715 (define-public amb-plugins
722 "http://kokkinizita.linuxaudio.org"
723 "/linuxaudio/downloads/AMB-plugins-"
727 "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl"))))
728 (build-system gnu-build-system)
730 `(#:tests? #f ; no "check" target
732 (modify-phases %standard-phases
733 ;; no configure script
735 (add-before 'install 'prepare-target-directory
736 (lambda* (#:key outputs #:allow-other-keys)
737 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
739 (add-after 'unpack 'override-target-directory-and-tool-paths
740 (lambda* (#:key outputs #:allow-other-keys)
741 (substitute* "Makefile"
743 (string-append (assoc-ref outputs "out") "/lib/ladspa"))
744 (("/usr/bin/install") (which "install"))
747 (home-page "http://kokkinizita.linuxaudio.org")
748 (synopsis "LADSPA ambisonics plugins")
750 "The AMB plugins are a set of LADSPA ambisonics plugins, mainly to be
751 used within Ardour. Features include: mono and stereo to B-format panning,
752 horizontal rotator, square, hexagon and cube decoders.")
753 (license license:gpl2+)))
755 (define-public mcp-plugins
762 "http://kokkinizita.linuxaudio.org"
763 "/linuxaudio/downloads/MCP-plugins-"
767 "06a9r1l85jmg7l1cvc3788mk8ra0xagjfy1rmhw3b80y4n0vlnvc"))))
768 (build-system gnu-build-system)
770 `(#:tests? #f ; no "check" target
772 (modify-phases %standard-phases
773 ;; no configure script
775 (add-before 'install 'prepare-target-directory
776 (lambda* (#:key outputs #:allow-other-keys)
777 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
779 (add-after 'unpack 'override-target-directory
780 (lambda* (#:key outputs #:allow-other-keys)
781 (substitute* "Makefile"
782 (("/usr") (assoc-ref outputs "out")))
784 (home-page "http://kokkinizita.linuxaudio.org")
785 (synopsis "Chorus, phaser, and vintage high-pass and low-pass filters")
787 "This package provides various LADSPA plugins. @code{cs_chorus} and
788 @code{cs_phaser} provide chorus and phaser effects, respectively;
789 @code{mvclpf24} provides four implementations of the low-pass filter used in
790 vintage Moog synthesizers; @code{mvchpf24} is based on the voltage-controlled
791 high-pass filter by Robert Moog. The filters attempt to accurately emulate
792 the non-linear circuit elements of their original analog counterparts.")
793 (license license:gpl2+)))
795 (define-public rev-plugins
802 "http://kokkinizita.linuxaudio.org"
803 "/linuxaudio/downloads/REV-plugins-"
807 "1ikpinxm00pkfi259bnkzhsy3miagrjgdihaaf5x4v7zac29j3g7"))))
808 (build-system gnu-build-system)
810 `(#:tests? #f ; no "check" target
812 (modify-phases %standard-phases
813 ;; no configure script
815 (add-before 'install 'prepare-target-directory
816 (lambda* (#:key outputs #:allow-other-keys)
817 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
819 (add-after 'unpack 'override-target-directory
820 (lambda* (#:key outputs #:allow-other-keys)
821 (substitute* "Makefile"
822 (("/usr") (assoc-ref outputs "out")))
824 (home-page "http://kokkinizita.linuxaudio.org")
825 (synopsis "LADSPA reverb plugin")
827 "This package provides a stereo reverb LADSPA plugin based on the
828 well-known greverb.")
829 (license license:gpl2+)))
831 (define-public fil-plugins
838 "http://kokkinizita.linuxaudio.org"
839 "/linuxaudio/downloads/FIL-plugins-"
843 "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw"))))
844 (build-system gnu-build-system)
846 `(#:tests? #f ; no "check" target
848 (modify-phases %standard-phases
849 ;; no configure script
851 (add-before 'install 'prepare-target-directory
852 (lambda* (#:key outputs #:allow-other-keys)
853 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
855 (add-after 'unpack 'override-target-directory
856 (lambda* (#:key outputs #:allow-other-keys)
857 (substitute* "Makefile"
858 (("/usr") (assoc-ref outputs "out")))
860 (home-page "http://kokkinizita.linuxaudio.org")
861 (synopsis "LADSPA four-band parametric equalizer plugin")
863 "This package provides a LADSPA plugin for a four-band parametric
864 equalizer. Each section has an active/bypass switch, frequency, bandwidth and
865 gain controls. There is also a global bypass switch and gain control.
867 The 2nd order resonant filters are implemented using a Mitra-Regalia style
868 lattice filter, which is stable even while parameters are being changed.
870 All switches and controls are internally smoothed, so they can be used 'live'
871 without any clicks or zipper noises. This makes this plugin suitable for use
872 in systems that allow automation of plugin control ports, such as Ardour, or
874 (license license:gpl2+)))
876 (define-public ste-plugins
883 "http://kokkinizita.linuxaudio.org"
884 "/linuxaudio/downloads/STE-plugins-"
888 "0s3c9w5xihs87cnd1lh9xgj3maabjdyh6bl766qp5lhkg3ax8zy6"))))
889 (build-system gnu-build-system)
891 `(#:tests? #f ; no "check" target
893 (modify-phases %standard-phases
894 ;; no configure script
896 (add-before 'install 'prepare-target-directory
897 (lambda* (#:key outputs #:allow-other-keys)
898 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
900 (add-after 'unpack 'override-target-directory
901 (lambda* (#:key outputs #:allow-other-keys)
902 (substitute* "Makefile"
903 (("/usr") (assoc-ref outputs "out")))
905 (home-page "http://kokkinizita.linuxaudio.org")
906 (synopsis "LADSPA stereo width plugin")
908 "This package provides a LADSPA plugin to manipulate the stereo width of
910 (license license:gpl2+)))
912 (define-public vco-plugins
919 "http://kokkinizita.linuxaudio.org"
920 "/linuxaudio/downloads/VCO-plugins-"
924 "1xzqdg3b07r7zww05y9bb737l9dxvfkv28m3fyak1aazaci3rsgl"))))
925 (build-system gnu-build-system)
927 `(#:tests? #f ; no "check" target
929 (modify-phases %standard-phases
930 ;; no configure script
932 (add-before 'install 'prepare-target-directory
933 (lambda* (#:key outputs #:allow-other-keys)
934 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
936 (add-after 'unpack 'override-target-directory
937 (lambda* (#:key outputs #:allow-other-keys)
938 (substitute* "Makefile"
939 (("/usr") (assoc-ref outputs "out"))
940 (("/bin/cp") (which "cp")))
942 (home-page "http://kokkinizita.linuxaudio.org")
943 (synopsis "LADSPA plugin for synthesizer oscillators")
945 "The @code{blvco} LADSPA plugin provides three anti-aliased oscillators:
948 @item Pulse-VCO, a dirac pulse oscillator with flat amplitude spectrum
949 @item Saw-VCO, a sawtooth oscillator with 1/F amplitude spectrum
950 @item Rec-VCO, a square / rectange oscillator
953 All oscillators are low-pass filtered to provide waveforms similar to the
954 output of analog synthesizers such as the Moog Voyager.")
955 (license license:gpl2+)))
957 (define-public wah-plugins
964 "http://kokkinizita.linuxaudio.org"
965 "/linuxaudio/downloads/WAH-plugins-"
969 "1wkbjarxdhjixkh7d5abralj11dj2xxg644fz3ycd7qyfgfvjfgd"))))
970 (build-system gnu-build-system)
972 `(#:tests? #f ; no "check" target
974 (modify-phases %standard-phases
975 ;; no configure script
977 (add-before 'install 'prepare-target-directory
978 (lambda* (#:key outputs #:allow-other-keys)
979 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
981 (add-after 'unpack 'override-target-directory
982 (lambda* (#:key outputs #:allow-other-keys)
983 (substitute* "Makefile"
984 (("/usr") (assoc-ref outputs "out")))
986 (home-page "http://kokkinizita.linuxaudio.org")
987 (synopsis "LADSPA Autowah effect plugin")
989 "This package provides a LADSPA plugin for a Wah effect with envelope
991 (license license:gpl2+)))
993 (define-public g2reverb
1000 "http://kokkinizita.linuxaudio.org"
1001 "/linuxaudio/downloads/g2reverb-"
1002 version ".tar.bz2"))
1005 "18wb8vj1kky5glr76s34awbi8qzplsmf3wjbd7a12hfv4j0bkwrj"))))
1006 (build-system gnu-build-system)
1008 `(#:tests? #f ; no "check" target
1010 (modify-phases %standard-phases
1011 ;; no configure script
1013 (add-before 'install 'prepare-target-directory
1014 (lambda* (#:key outputs #:allow-other-keys)
1015 (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa"))
1017 (add-after 'unpack 'override-target-directory
1018 (lambda* (#:key outputs #:allow-other-keys)
1019 (substitute* "Makefile"
1020 (("/usr") (assoc-ref outputs "out")))
1022 (home-page "http://kokkinizita.linuxaudio.org")
1023 (synopsis "LADSPA stereo reverb plugin")
1025 "This package provides a LADSPA plugin for a stereo reverb effect.")
1026 (license license:gpl2+)))
1028 (define-public fluidsynth
1035 (url "https://github.com/FluidSynth/fluidsynth.git")
1036 (commit (string-append "v" version))))
1037 (file-name (string-append name "-" version "-checkout"))
1040 "12q7hv0zvgylsdj1ipssv5zr7ap2y410dxsd63dz22y05fa2hwwd"))))
1041 (build-system cmake-build-system)
1043 '(#:tests? #f ; no check phase
1045 (modify-phases %standard-phases
1046 (add-after 'unpack 'fix-libdir
1048 (substitute* "CMakeLists.txt"
1049 (("LIB_SUFFIX \\$\\{_init_lib_suffix\\}")
1053 `(("libsndfile" ,libsndfile)
1054 ("alsa-lib" ,alsa-lib)
1058 ("readline" ,readline)
1061 `(("pkg-config" ,pkg-config)))
1062 (home-page "http://www.fluidsynth.org/")
1063 (synopsis "SoundFont synthesizer")
1065 "FluidSynth is a real-time software synthesizer based on the SoundFont 2
1066 specifications. FluidSynth reads and handles MIDI events from the MIDI input
1067 device. It is the software analogue of a MIDI synthesizer. FluidSynth can
1068 also play midifiles using a Soundfont.")
1069 (license license:lgpl2.1+)))
1071 (define-public faad2
1077 (uri (string-append "mirror://sourceforge/faac/faad2-src/faad2-"
1078 version "/faad2-" version ".zip"))
1081 "16f3l16c00sg0wkrkm3vzv0gy3g97x309vw788igs0cap2x1ak3z"))))
1082 (build-system gnu-build-system)
1084 `(("autoconf" ,autoconf)
1085 ("automake" ,automake)
1086 ("libtool" ,libtool)
1090 (modify-phases %standard-phases
1091 (add-after 'unpack 'bootstrap
1093 (substitute* "bootstrap" (("\r\n") "\n"))
1094 (zero? (system* "sh" "bootstrap")))))))
1095 (home-page "http://www.audiocoding.com/faad2.html")
1096 (synopsis "MPEG-4 and MPEG-2 AAC decoder")
1098 "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR,
1100 (license license:gpl2)))
1102 (define-public faust
1109 (url "https://github.com/grame-cncm/faust.git")
1110 (commit (string-append "v"
1111 (string-map (lambda (c)
1112 (if (char=? c #\.) #\- c))
1114 (file-name (string-append "faust-" version "-checkout"))
1117 "0qc6iwjd3i80jdyjc186c6ywipmjzl8wlsp4050pbr56q4rlkd4z"))))
1118 (build-system gnu-build-system)
1120 `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
1123 (modify-phases %standard-phases
1124 ;; no "configure" script
1126 ;; Files appear under $out/share/faust that are read-only. The
1127 ;; install phase tries to overwrite them and fails, so we change
1128 ;; the permissions first.
1129 (add-before 'install 'fix-permissions
1131 (for-each (lambda (file)
1133 (find-files "architecture/max-msp" ".*"))
1136 `(("unzip" ,unzip)))
1137 (home-page "http://faust.grame.fr/")
1138 (synopsis "Signal processing language")
1140 "Faust is a programming language for realtime audio signal processing.")
1141 (license license:gpl2+)))
1143 (define-public faust-2
1150 (url "https://github.com/grame-cncm/faust.git")
1151 (commit (string-append "v"
1152 (string-map (lambda (c)
1153 (if (char=? c #\.) #\- c))
1157 "06km0ygwxxwgw1lqldccqidxhmjfz8ck0wnbd95qk5sg8sbpc068"))))
1158 (build-system gnu-build-system)
1160 (substitute-keyword-arguments (package-arguments faust)
1161 ((#:make-flags flags)
1162 `(list (string-append "prefix=" (assoc-ref %outputs "out"))
1165 `(("llvm" ,llvm-with-rtti)
1168 ("ctags" ,emacs-minimal) ; for ctags
1169 ("pkg-config" ,pkg-config)))
1171 `(("libsndfile" ,libsndfile)
1172 ("libmicrohttpd" ,libmicrohttpd)
1173 ("ncurses" ,ncurses)
1174 ("openssl" ,openssl)
1177 (define-public freepats
1180 (version "20060219")
1183 (uri (string-append "http://freepats.zenvoid.org/freepats-"
1184 version ".tar.bz2"))
1187 "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82"))))
1188 (build-system trivial-build-system)
1190 `(#:modules ((guix build utils))
1192 (use-modules (guix build utils))
1193 (let ((out (string-append %output "/share/freepats")))
1194 (setenv "PATH" (string-append
1195 (assoc-ref %build-inputs "bzip2") "/bin:"
1196 (assoc-ref %build-inputs "tar") "/bin"))
1197 (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
1199 ;; Use absolute pattern references
1200 (substitute* "freepats.cfg"
1201 (("Tone_000") (string-append out "/Tone_000"))
1202 (("Drum_000") (string-append out "/Drum_000")))
1204 (copy-recursively "." out)))))
1208 (home-page "http://freepats.zenvoid.org")
1209 (synopsis "GUS compatible patches for MIDI players")
1211 "FreePats is a project to create a free and open set of GUS compatible
1212 patches that can be used with softsynths such as Timidity and WildMidi.")
1213 ;; GPLv2+ with exception for compositions using these patches.
1214 (license license:gpl2+)))
1216 (define-public guitarix
1223 "mirror://sourceforge/guitarix/guitarix/guitarix2-"
1227 "1g5949jwh2n755xjs3kcbdb8a1wxr5mn0m115wdnk27dxcdn93b0"))))
1228 (build-system waf-build-system)
1230 `(#:tests? #f ; no "check" target
1234 ;; Add the output lib directory to the RUNPATH.
1235 (string-append "--ldflags=-Wl,-rpath=" %output "/lib")
1236 "--cxxflags=-std=c++11")))
1238 `(("libsndfile" ,libsndfile)
1250 ("zita-resampler" ,zita-resampler)
1251 ("zita-convolver" ,zita-convolver)))
1255 ("intltool" ,intltool)
1256 ("gettext" ,gettext-minimal)
1257 ("pkg-config" ,pkg-config)))
1258 (native-search-paths
1259 (list (search-path-specification
1260 (variable "LV2_PATH")
1261 (files '("lib/lv2")))))
1262 (home-page "http://guitarix.org/")
1263 (synopsis "Virtual guitar amplifier")
1264 (description "Guitarix is a virtual guitar amplifier running JACK.
1265 Guitarix takes the signal from your guitar as a mono-signal from your sound
1266 card. The input is processed by a main amp and a rack-section. Both can be
1267 routed separately and deliver a processed stereo-signal via JACK. You may
1268 fill the rack with effects from more than 25 built-in modules including stuff
1269 from a simple noise gate to modulation effects like flanger, phaser or
1271 (license license:gpl2+)))
1273 (define-public guitarix-lv2
1274 (package (inherit guitarix)
1275 (name "guitarix-lv2")
1277 (substitute-keyword-arguments (package-arguments guitarix)
1278 ((#:configure-flags flags)
1279 `(cons "--lv2-only" ,flags))))))
1281 (define-public rakarrack
1287 (uri (string-append "mirror://sourceforge/rakarrack/rakarrack/"
1288 "rakarrack-" version "/rakarrack-"
1289 version ".tar.bz2"))
1292 "1rpf63pdn54c4yg13k7cb1w1c7zsvl97c4qxcpz41c8l91xd55kn"))
1293 (modules '((guix build utils)))
1296 (substitute* '("src/process.C"
1298 (("#include <Fl/") "#include <FL/"))
1300 (build-system gnu-build-system)
1302 `(("alsa-utils" ,alsa-utils)
1305 ("libxext" ,libxext)
1306 ("libxfixes" ,libxfixes)
1308 ("libxrender" ,libxrender)
1310 ("fontconfig" ,fontconfig)
1311 ("freetype" ,freetype)
1313 ("alsa-lib" ,alsa-lib)
1314 ("libsndfile" ,libsndfile)
1315 ("libsamplerate" ,libsamplerate)
1317 (home-page "http://rakarrack.sourceforge.net/")
1318 (synopsis "Audio effects processor")
1320 "Rakarrack is a richly featured multi-effects processor emulating a
1321 guitar effects pedalboard. Effects include compressor, expander, noise gate,
1322 equalizers, exciter, flangers, chorus, various delay and reverb effects,
1323 distortion modules and many more. Most of the effects engine is built from
1324 modules found in the excellent software synthesizer ZynAddSubFX. Presets and
1325 user interface are optimized for guitar, but Rakarrack processes signals in
1326 stereo while it does not apply internal band-limiting filtering, and thus is
1327 well suited to all musical instruments and vocals.")
1328 ;; The code is explicitly licensed under the GPL version 2 only.
1329 (license license:gpl2)))
1337 ;; The original home-page is gone. Download the tarball from an
1338 ;; archive mirror instead.
1339 (uri (list (string-append
1340 "https://web.archive.org/web/20150803095032/"
1341 "http://factorial.hu/system/files/ir.lv2-"
1344 "https://mirrors.kernel.org/gentoo/distfiles/ir.lv2-"
1345 version ".tar.gz")))
1348 "1jh2z01l9m4ar7yz0n911df07dygc7n4cl59p7qdjbh0nvkm747g"))))
1349 (build-system gnu-build-system)
1351 `(#:tests? #f ; no tests
1352 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1353 #:phases (modify-phases %standard-phases
1354 (delete 'configure)))) ; no configure script
1356 `(("libsndfile" ,libsndfile)
1357 ("libsamplerate" ,libsamplerate)
1361 ("zita-convolver" ,zita-convolver)))
1363 `(("pkg-config" ,pkg-config)))
1364 (native-search-paths
1365 (list (search-path-specification
1366 (variable "LV2_PATH")
1367 (files '("lib/lv2")))))
1368 ;; Link to an archived copy of the home-page since the original is gone.
1369 (home-page (string-append "https://web.archive.org/web/20150803095032/"
1370 "http://factorial.hu/plugins/lv2/ir"))
1371 (synopsis "LV2 convolution reverb")
1373 "IR is a low-latency, real-time, high performance signal convolver
1374 especially for creating reverb effects. It supports impulse responses with 1,
1375 2 or 4 channels, in any soundfile format supported by libsndfile.")
1376 (license license:gpl2+)))
1378 (define-public jack-1
1385 "http://jackaudio.org/downloads/jack-audio-connection-kit-"
1390 "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"))))
1391 (build-system gnu-build-system)
1393 `(("alsa-lib" ,alsa-lib)
1394 ("readline" ,readline)))
1395 ;; uuid.h is included in the JACK type headers
1396 ;; db.h is included in the libjack metadata headers
1398 `(("libuuid" ,util-linux)
1401 `(("pkg-config" ,pkg-config)))
1402 (home-page "http://jackaudio.org/")
1403 (synopsis "JACK audio connection kit")
1405 "JACK is a low-latency audio server. It can connect a number of
1406 different applications to an audio device, as well as allowing them to share
1407 audio between themselves. JACK is different from other audio server efforts
1408 in that it has been designed from the ground up to be suitable for
1409 professional audio work. This means that it focuses on two key areas:
1410 synchronous execution of all clients, and low latency operation.")
1411 ;; Most files are licensed under the GPL. However, the libjack/ tree is
1412 ;; licensed under the LGPL in order to allow for proprietary usage.
1413 (license (list license:gpl2+ license:lgpl2.1+))))
1415 ;; Packages depending on JACK should always prefer jack-1. Both jack-1 and
1416 ;; jack-2 implement the same API. JACK2 is provided primarily as a client
1417 ;; program for users who might benefit from the D-BUS features.
1418 (define-public jack-2
1419 (package (inherit jack-1)
1424 (uri (string-append "https://github.com/jackaudio/jack2/releases/"
1425 "download/v" version "/jack2-"
1427 (file-name (string-append name "-" version ".tar.gz"))
1430 "0crf4y9a5j9miw8r5ji4l3w5w0y2frrf7xyfsfdgacnw6vwy5vyy"))))
1431 (build-system waf-build-system)
1433 `(#:python ,python-2
1434 #:tests? #f ; no check target
1435 #:configure-flags '("--dbus"
1438 (modify-phases %standard-phases
1440 'configure 'set-linkflags
1442 ;; Add $libdir to the RUNPATH of all the binaries.
1443 (substitute* "wscript"
1444 ((".*CFLAGS.*-Wall.*" m)
1446 " conf.env.append_unique('LINKFLAGS',"
1447 "'-Wl,-rpath=" %output "/lib')\n")))))
1448 (add-after 'install 'wrap-python-scripts
1449 (lambda* (#:key inputs outputs #:allow-other-keys)
1450 ;; Make sure 'jack_control' runs with the correct PYTHONPATH.
1451 (let* ((out (assoc-ref outputs "out"))
1452 (path (getenv "PYTHONPATH")))
1453 (wrap-program (string-append out "/bin/jack_control")
1454 `("PYTHONPATH" ":" prefix (,path))))
1457 `(("alsa-lib" ,alsa-lib)
1460 ("libsamplerate" ,libsamplerate)
1462 ("python2-dbus" ,python2-dbus)
1463 ("readline" ,readline)))
1465 `(("pkg-config" ,pkg-config)))
1466 ;; Most files are under GPLv2+, but some headers are under LGPLv2.1+
1467 (license (list license:gpl2+ license:lgpl2.1+))))
1475 (uri (string-append "http://download.drobilla.net/jalv-"
1476 version ".tar.bz2"))
1479 "1x2wpzzx2cgvz3dgdcgsj8dr0w3zsasy62mvl199bsdj5fbjaili"))))
1480 (build-system waf-build-system)
1482 `(#:tests? #f ; no check target
1484 (modify-phases %standard-phases
1486 'configure 'set-flags
1488 ;; Compile with C++11, required by gtkmm.
1489 (setenv "CXXFLAGS" "-std=c++11")
1499 `(("pkg-config" ,pkg-config)))
1500 (home-page "http://drobilla.net/software/jalv/")
1501 (synopsis "Simple LV2 host for JACK")
1503 "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2
1504 plugins and exposes their ports as JACK ports, essentially making any LV2
1505 plugin function as a JACK application.")
1506 (license license:isc)))
1508 (define-public ladspa
1515 ;; Since the official link is dead,
1516 ;; we download the tarball from Debian or Internet Archive.
1517 (uri (list (string-append "http://http.debian.net"
1518 "/debian/pool/main/l/ladspa-sdk/ladspa-sdk_"
1519 version ".orig.tar.gz")
1520 (string-append "https://web.archive.org/web/20140717172251/"
1521 "http://www.ladspa.org/download/ladspa_sdk_"
1525 "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
1526 (build-system gnu-build-system)
1528 `(#:tests? #f ; the "test" target is a listening test only
1532 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
1534 (let ((out (assoc-ref outputs "out")))
1535 (substitute* "makefile"
1536 (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/"))
1537 (("/usr/include/") (string-append out "/include/"))
1538 (("/usr/bin/") (string-append out "/bin/"))
1539 (("-mkdirhier") "mkdir -p")
1540 (("^CC.*") "CC = gcc\n")
1541 (("^CPP.*") "CPP = g++\n"))))
1542 (alist-delete 'build %standard-phases))))
1543 ;; Since the home page is gone, we provide a link to the archived version.
1545 "https://web.archive.org/web/20140729190945/http://www.ladspa.org/")
1546 (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)")
1548 "LADSPA is a standard that allows software audio processors and effects
1549 to be plugged into a wide range of audio synthesis and recording packages.")
1550 (license license:lgpl2.1+)))
1555 (version "0.6.0-rc2")
1558 ;; The tilde is not permitted in the builder name, but is used
1561 "mirror://savannah/lash/lash-"
1562 (string-join (string-split version #\-) "~")
1564 (file-name (string-append name "-" version ".tar.bz2"))
1567 "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw"))))
1568 (build-system gnu-build-system)
1571 (modify-phases %standard-phases
1572 ;; lashd embeds an ancient version of sigsegv so we just skip it
1573 (add-after 'unpack 'skip-lashd
1575 (substitute* '("Makefile.am" "Makefile.in")
1578 #:configure-flags '("--disable-static")))
1583 ("readline" ,readline)
1584 ("python" ,python-2)))
1585 ;; According to pkg-config, packages depending on lash also need to have
1586 ;; at least the following packages declared as inputs.
1588 `(("alsa-lib" ,alsa-lib)
1590 ("libxml2" ,libxml2)))
1592 `(("pkg-config" ,pkg-config)))
1593 (home-page "http://www.nongnu.org/lash/")
1594 (synopsis "Audio application session manager")
1596 "LASH is a session management system for audio applications. It allows
1597 you to save and restore audio sessions consisting of multiple interconneced
1598 applications, restoring program state (i.e. loaded patches) and the
1599 connections between them.")
1600 (license license:gpl2+)))
1602 (define-public libbs2b
1608 (uri (string-append "mirror://sourceforge/bs2b/libbs2b/" version
1609 "/libbs2b-" version ".tar.lzma"))
1612 "1mcc4gjkmphczjybnsrip3gq1f974knzys7x49bv197xk3fn8wdr"))))
1613 (build-system gnu-build-system)
1614 (native-inputs `(("pkg-config" ,pkg-config)))
1615 (inputs `(("libsndfile" ,libsndfile)))
1616 (home-page "https://sourceforge.net/projects/bs2b/")
1617 (synopsis "Bauer stereophonic-to-binaural DSP")
1619 "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is
1620 designed to improve headphone listening of stereo audio records. Recommended
1621 for headphone prolonged listening to disable superstereo fatigue without
1622 essential distortions.")
1623 (license license:expat)))
1625 (define-public liblo
1631 (uri (string-append "mirror://sourceforge/liblo/liblo/" version
1632 "/liblo-" version ".tar.gz"))
1635 "02drgnpirvl2ihvzgsmn02agr5sj3vipzzw9vma56qlkgfvak56s"))))
1636 (build-system gnu-build-system)
1638 `(;; liblo test FAILED
1639 ;; liblo server error 19 in setsockopt(IP_ADD_MEMBERSHIP): No such device
1641 (home-page "http://liblo.sourceforge.net")
1642 (synopsis "Implementation of the Open Sound Control protocol")
1644 "liblo is a lightweight library that provides an easy to use
1645 implementation of the Open Sound Control (OSC) protocol.")
1646 (license license:lgpl2.1+)))
1648 (define-public python-pyliblo
1650 (name "python-pyliblo")
1654 (uri (string-append "http://das.nasophon.de/download/pyliblo-"
1658 "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw"))))
1659 (build-system python-build-system)
1660 (arguments `(#:tests? #f)) ;no tests
1662 `(("python-cython" ,python-cython)))
1664 `(("liblo" ,liblo)))
1665 (home-page "http://das.nasophon.de/pyliblo/")
1666 (synopsis "Python bindings for liblo")
1668 "Pyliblo is a Python wrapper for the liblo Open Sound Control (OSC)
1669 library. It supports almost the complete functionality of liblo, allowing you
1670 to send and receive OSC messages using a nice and simple Python API. Also
1671 included are the command line utilities @code{send_osc} and @code{dump_osc}.")
1672 (license license:lgpl2.1+)))
1674 (define-public python2-pyliblo
1675 (package-with-python2 python-pyliblo))
1683 (uri (string-append "http://download.drobilla.net/lilv-"
1684 version ".tar.bz2"))
1687 "08m5a372pr1l7aii9s3pic5nm68gynx1n1bc7bnlswziq6qnbv7p"))))
1688 (build-system waf-build-system)
1690 `(#:tests? #f ; no check target
1692 (modify-phases %standard-phases
1694 'configure 'set-ldflags
1695 (lambda* (#:key outputs #:allow-other-keys)
1697 (string-append "-Wl,-rpath="
1698 (assoc-ref outputs "out") "/lib")))))))
1699 ;; required by lilv-0.pc
1703 ("sratom" ,sratom)))
1707 `(("pkg-config" ,pkg-config)))
1708 (home-page "http://drobilla.net/software/lilv/")
1709 (synopsis "Library to simplify use of LV2 plugins in applications")
1711 "Lilv is a C library to make the use of LV2 plugins as simple as possible
1712 for applications. Lilv is the successor to SLV2, rewritten to be
1713 significantly faster and have minimal dependencies.")
1714 (license license:isc)))
1722 (uri (string-append "http://lv2plug.in/spec/lv2-"
1723 version ".tar.bz2"))
1726 "0chxwys3vnn3nxc9x2vchm74s9sx0vfra6y893byy12ci61jc1dq"))))
1727 (build-system waf-build-system)
1729 `(#:tests? #f ; no check target
1730 #:configure-flags '("--no-plugins")))
1732 ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
1733 `(("libsndfile" ,libsndfile)))
1735 `(("pkg-config" ,pkg-config)))
1736 (home-page "http://lv2plug.in/")
1737 (synopsis "LV2 audio plugin specification")
1739 "LV2 is an open specification for audio plugins and host applications.
1740 At its core, LV2 is a simple stable interface, accompanied by extensions which
1741 add functionality to support the needs of increasingly powerful audio
1743 (license license:isc)))
1745 (define-public lv2-devel
1746 (let ((commit "39c7c726cd52b2863fcea356cafe1bcab2ba7f37")
1748 (package (inherit lv2)
1750 (version (string-append "1.15.3-" revision "." (string-take commit 7)))
1754 (url "http://lv2plug.in/git/lv2.git")
1758 "1gp2rd99dfmpibvpixrqn115mrhybzf3if3h8bssf6siyi13f29r")))))))
1760 (define-public lv2-mda-piano
1762 (name "lv2-mda-piano")
1767 (url "http://git.elephly.net/software/lv2-mdametapiano.git")
1771 "07lywf6lpfpndg3i9w752mmlg2hgn1bwp23h8b0mdj6awh67abqd"))))
1772 (build-system gnu-build-system)
1774 `(#:make-flags (list
1776 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1777 #:tests? #f ; no check target
1778 #:phases (modify-phases %standard-phases (delete 'configure))))
1783 `(("pkg-config" ,pkg-config)))
1784 (native-search-paths
1785 (list (search-path-specification
1786 (variable "LV2_PATH")
1787 (files '("lib/lv2")))))
1788 (home-page "http://elephly.net/lv2/mdapiano.html")
1789 (synopsis "LV2 port of the mda Piano plugin")
1790 (description "An LV2 port of the mda Piano VSTi.")
1791 (license license:gpl3+)))
1793 (define-public lv2-mda-epiano
1794 (package (inherit lv2-mda-piano)
1795 (name "lv2-mda-epiano")
1797 `(#:make-flags (list
1799 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1800 #:tests? #f ; no check target
1801 #:phases (modify-phases %standard-phases (delete 'configure))))
1802 (home-page "http://elephly.net/lv2/mdaepiano.html")
1803 (synopsis "LV2 port of the mda EPiano plugin")
1804 (description "An LV2 port of the mda EPiano VSTi.")))
1812 (uri (string-append "https://github.com/lvtk/lvtk/archive/"
1815 (file-name (string-append name "-" version ".tar.gz"))
1818 "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd"))))
1819 (build-system waf-build-system)
1821 `(#:tests? #f ; no check target
1824 (list (string-append "--boost-includes="
1825 (assoc-ref %build-inputs "boost")
1827 #:phases (modify-phases %standard-phases
1829 'configure 'set-flags
1830 (lambda* (#:key inputs #:allow-other-keys)
1831 ;; See e.g. https://github.com/lvtk/lvtk/issues/21
1834 "-L" (assoc-ref inputs "boost") "/lib "
1837 (substitute* '("src/wscript_build"
1838 "examples/wscript_build")
1839 (("cxxflags.*= \\[" line)
1840 (string-append line "\"-std=c++11\", ")))
1847 `(("pkg-config" ,pkg-config)))
1848 (home-page "https://github.com/lvtk/lvtk")
1849 (synopsis "C++ libraries for LV2 plugins")
1851 "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and
1852 extensions into easy to use C++ classes. It is the successor of
1854 (license license:gpl3+)))
1856 (define-public openal
1863 "http://kcat.strangesoft.net/openal-releases/openal-soft-"
1864 version ".tar.bz2"))
1867 "051k5fy8pk4fd9ha3qaqcv08xwbks09xl5qs4ijqq2qz5xaghhd3"))))
1868 (build-system cmake-build-system)
1870 `(#:tests? #f ; no check target
1872 (modify-phases %standard-phases
1874 'unpack 'use-full-library-paths
1875 (lambda* (#:key inputs #:allow-other-keys)
1876 (substitute* "Alc/backends/pulseaudio.c"
1877 (("#define PALIB \"libpulse\\.so\\.0\"")
1878 (string-append "#define PALIB \""
1879 (assoc-ref inputs "pulseaudio")
1880 "/lib/libpulse.so.0"
1882 (substitute* "Alc/backends/alsa.c"
1883 (("LoadLib\\(\"libasound\\.so\\.2\"\\)")
1884 (string-append "LoadLib(\""
1885 (assoc-ref inputs "alsa-lib")
1886 "/lib/libasound.so.2"
1890 `(("alsa-lib" ,alsa-lib)
1891 ("pulseaudio" ,pulseaudio)))
1892 (synopsis "3D audio API")
1894 "OpenAL provides capabilities for playing audio in a virtual 3D
1895 environment. Distance attenuation, doppler shift, and directional sound
1896 emitters are among the features handled by the API. More advanced effects,
1897 including air absorption, occlusion, and environmental reverb, are available
1898 through the EFX extension. It also facilitates streaming audio, multi-channel
1899 buffers, and audio capture.")
1900 (home-page "http://kcat.strangesoft.net/openal.html")
1901 (license license:lgpl2.0+)))
1903 (define-public freealut
1909 ;; Upstream url is unclear, many systems use Fedora, there is also
1910 ;; https://github.com/vancegroup/freealut though the status of it
1911 ;; (official? unofficial?) is not clear.
1913 "https://pkgs.fedoraproject.org/repo/pkgs/" name "/" name "-"
1914 version ".tar.gz" "/e089b28a0267faabdb6c079ee173664a/" name
1915 "-" version ".tar.gz"))
1918 "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0"))))
1919 (build-system cmake-build-system)
1921 `(#:tests? #f)) ; no check target
1923 `(("openal" ,openal)))
1924 (synopsis "Free implementation of OpenAL's ALUT standard")
1925 (description "freealut is the OpenAL Utility Toolkit.")
1926 (home-page "http://kcat.strangesoft.net/openal.html")
1927 (license license:lgpl2.0)))
1929 (define-public patchage
1935 (uri (string-append "http://download.drobilla.net/patchage-"
1940 "1agdpwwi42176l4mxj0c4fsvdiv1ig56bfnnx0msckxmy57df8bb"))))
1941 (build-system waf-build-system)
1942 (arguments `(#:tests? #f)) ; no check target
1944 `(("alsa-lib" ,alsa-lib)
1950 ("dbus-glib" ,dbus-glib)))
1952 `(("pkg-config" ,pkg-config)))
1953 (home-page "http://drobilla.net/software/patchage/")
1954 (synopsis "Modular patch bay for audio and MIDI systems")
1956 "Patchage is a modular patch bay for audio and MIDI systems based on JACK
1958 (license license:gpl3+)))
1960 (define-public qjackctl
1966 (uri (string-append "mirror://sourceforge/qjackctl/qjackctl/"
1967 version "/qjackctl-" version ".tar.gz"))
1970 "1dsavjfzz5bpzc80mvfs940w9f9f47cf4r9cqxnaqrl4xilsa3f5"))))
1971 (build-system gnu-build-system)
1973 '(#:tests? #f)) ; no check target
1977 ("qtx11extras" ,qtx11extras)))
1979 `(("pkg-config" ,pkg-config)
1980 ("qttools" ,qttools)))
1981 (home-page "https://qjackctl.sourceforge.io/")
1982 (synopsis "Jack server control application")
1983 (description "Control a Jack server. Allows you to plug various sources
1984 into various outputs and to start, stop and configure jackd")
1985 (license license:gpl2+)))
1987 (define-public qjackrcd
1994 (url "https://github.com/orouits/qjackrcd.git")
1995 (commit (string-append "v" version))))
1998 "1l5iq2mkqd4gn9yr8xbh9qlpp1clcflazychl4vhdbz0bzq4c6al"))))
1999 (build-system gnu-build-system)
2002 (modify-phases %standard-phases
2004 (lambda* (#:key outputs #:allow-other-keys)
2005 (zero? (system* "qmake"
2006 (string-append "PREFIX="
2007 (assoc-ref outputs "out")))))))))
2009 `(("qtbase" ,qtbase))) ; for qmake
2012 ("libsndfile" ,libsndfile)
2013 ("qtbase" ,qtbase)))
2014 (home-page "https://sourceforge.net/projects/qjackrcd/")
2015 (synopsis "Stereo audio recorder for JACK")
2016 (description "QJackRcd is a simple graphical stereo recorder for JACK
2017 supporting silence processing for automatic pause, file splitting, and
2018 background file post-processing.")
2019 (license license:gpl2+)))
2027 (uri (string-append "http://download.drobilla.net/raul-"
2028 version ".tar.bz2"))
2031 "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b"))))
2032 (build-system waf-build-system)
2034 `(#:python ,python-2
2035 #:tests? #f)) ; no check target
2040 `(("pkg-config" ,pkg-config)))
2041 (home-page "http://drobilla.net/software/raul/")
2042 (synopsis "Real-time audio utility library")
2044 "Raul (Real-time Audio Utility Library) is a C++ utility library primarily
2045 aimed at audio/musical applications.")
2046 (license license:gpl2+)))
2048 (define-public raul-devel
2049 (let ((commit "4db870b2b20b0a608ec0283139056b836c5b1624")
2051 (package (inherit raul)
2053 (version (string-append "0.8.9-" revision "."
2054 (string-take commit 9)))
2058 (url "http://git.drobilla.net/raul.git")
2060 (file-name (string-append name "-" version "-checkout"))
2063 "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr")))))))
2065 (define-public rubberband
2072 (string-append "https://bitbucket.org/breakfastquay/rubberband/get/v"
2077 "05amrbrxx0da3w7m237q51799r8xgs4ffqabi2qv06hq8dpcj386"))))
2078 (build-system gnu-build-system)
2079 (arguments `(#:tests? #f)) ; no check target
2081 `(("ladspa" ,ladspa)
2082 ("libsamplerate" ,libsamplerate)
2085 `(("pkg-config" ,pkg-config)))
2086 (home-page "http://breakfastquay.com/rubberband/")
2087 (synopsis "Audio time-stretching and pitch-shifting library")
2089 "Rubber Band is a library and utility program that permits changing the
2090 tempo and pitch of an audio recording independently of one another.")
2091 (license license:gpl2+)))
2093 (define-public rtmidi
2100 (string-append "https://github.com/powertab/rtmidi/archive/"
2102 (file-name (string-append name "-" version ".tar.gz"))
2105 "0d49lapnmdgmjxh4vw57h6xk74nn5r0zwysv7jbd7m8kqhpq5rjj"))))
2106 (build-system gnu-build-system)
2108 `(#:tests? #f ;no "check" target
2109 #:phases (modify-phases %standard-phases
2112 (lambda _ (zero? (system* "autoreconf" "-vfi"))))
2114 'build 'fix-makefile
2116 (substitute* "Makefile"
2118 (("RtMidi.h RtError.h") "RtMidi.h"))
2121 'install 'make-target-dirs
2123 (let ((out (assoc-ref %outputs "out")))
2124 (mkdir-p (string-append out "/bin"))
2125 (mkdir (string-append out "/lib"))
2126 (mkdir (string-append out "/include")))
2130 ("alsa-lib" ,alsa-lib)))
2132 `(("autoconf" ,autoconf)
2133 ("automake" ,automake)
2134 ("libtool" ,libtool)
2135 ("pkg-config" ,pkg-config)))
2136 (home-page "https://github.com/powertab/rtmidi")
2137 (synopsis "Cross-platform MIDI library for C++")
2139 "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
2140 classes) that provide a common cross-platform API for realtime MIDI
2142 (license license:expat)))
2144 (define-public sratom
2150 (uri (string-append "http://download.drobilla.net/sratom-"
2151 version ".tar.bz2"))
2154 "0hrxd9i66s06bpn6i3s9ka95134g3sm8yscmif7qgdzhyjqw42j4"))))
2155 (build-system waf-build-system)
2156 (arguments `(#:tests? #f)) ; no check target
2162 `(("pkg-config" ,pkg-config)))
2163 (home-page "http://drobilla.net/software/sratom/")
2164 (synopsis "Library for serialising LV2 atoms to/from RDF")
2166 "Sratom is a library for serialising LV2 atoms to/from RDF, particularly
2167 the Turtle syntax.")
2168 (license license:isc)))
2176 (uri (string-append "http://download.drobilla.net/suil-"
2177 version ".tar.bz2"))
2180 "0j489gm3fhnmwmbgw30bvd4byw1vsy4yazdlnji8jzhcz0qwb5cq"))))
2181 (build-system waf-build-system)
2183 `(#:tests? #f ; no check target
2185 '("CXXFLAGS=-std=gnu++11")))
2192 `(("pkg-config" ,pkg-config)))
2193 (home-page "http://drobilla.net/software/suil/")
2194 (synopsis "Library for loading and wrapping LV2 plugin UIs")
2196 "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
2198 Suil makes it possible to load a UI of a toolkit in a host using another
2199 toolkit. The API is designed such that hosts do not need to explicitly
2200 support specific toolkits – if Suil supports a particular toolkit, then UIs in
2201 that toolkit will work in all hosts that use Suil automatically.
2203 Suil currently supports every combination of Gtk, Qt, and X11.")
2204 (license license:isc)))
2206 (define-public timidity++
2212 (uri (string-append "mirror://sourceforge/timidity/TiMidity++"
2213 "/TiMidity++-" version
2214 "/TiMidity++-" version ".tar.bz2"))
2217 "0xk41w4qbk23z1fvqdyfblbz10mmxsllw0svxzjw5sa9y11vczzr"))))
2218 (build-system gnu-build-system)
2221 (list "--enable-audio=alsa,flac,jack,ao,vorbis,speex"
2225 (string-append "--with-default-path="
2226 (assoc-ref %outputs "out") "/etc/timidity"))
2228 (modify-phases %standard-phases
2229 (add-after 'install 'install-config
2231 (let ((out (string-append (assoc-ref %outputs "out")
2234 (call-with-output-file
2235 (string-append out "/timidity.cfg")
2237 (format port (string-append "source "
2238 (assoc-ref %build-inputs "freepats")
2239 "/share/freepats/freepats.cfg")))))
2242 `(("alsa-lib" ,alsa-lib)
2248 ("ncurses" ,ncurses)
2249 ("freepats" ,freepats)))
2251 `(("pkg-config" ,pkg-config)))
2252 (home-page "http://timidity.sourceforge.net/")
2253 (synopsis "Software synthesizer for playing MIDI files")
2255 "TiMidity++ is a software synthesizer. It can play MIDI files by
2256 converting them into PCM waveform data; give it a MIDI data along with digital
2257 instrument data files, then it synthesizes them in real-time, and plays. It
2258 can not only play sounds, but also can save the generated waveforms into hard
2259 disks as various audio file formats.")
2260 (license license:gpl2+)))
2269 "https://code.soundsoftware.ac.uk"
2270 "/attachments/download/1520/vamp-plugin-sdk-"
2274 "0pzq0yy2kdl3jgfc2aqmh5m55nk1ild0hq8mydiiw35c6y0mglyh"))))
2275 (build-system gnu-build-system)
2277 `(#:tests? #f ; no check target
2279 (modify-phases %standard-phases
2280 (add-after 'install 'remove-libvamp-hostsdk.la
2281 (lambda* (#:key outputs #:allow-other-keys)
2282 ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656
2283 (for-each delete-file
2284 (let ((out (assoc-ref outputs "out")))
2285 (list (string-append out "/lib/libvamp-sdk.la")
2286 (string-append out "/lib/libvamp-hostsdk.la"))))
2289 `(("libsndfile" ,libsndfile)))
2291 `(("pkg-config" ,pkg-config)))
2292 (home-page "http://vamp-plugins.org")
2293 (synopsis "Modular and extensible audio processing system")
2295 "Vamp is an audio processing plugin system for plugins that extract
2296 descriptive information from audio data — typically referred to as audio
2297 analysis plugins or audio feature extraction plugins.")
2300 "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING"))))
2302 (define-public libsbsms
2309 (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version
2310 "/libsbsms-" version ".tar.gz"))
2312 (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf"))))
2313 (build-system gnu-build-system)
2314 (native-inputs `(("automake" ,automake)))
2317 ;; Disable the use of SSE unless on x86_64.
2318 ,(if (not (string-prefix? "x86_64" (or (%current-target-system)
2319 (%current-system))))
2323 (modify-phases %standard-phases
2325 'unpack 'fix-ar-lib-path
2326 (lambda* (#:key inputs #:allow-other-keys)
2327 ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
2328 (delete-file "ar-lib")
2330 (string-append (assoc-ref inputs "automake") "/share/automake-"
2331 ,(package-version automake) "/ar-lib")
2333 (home-page "http://sbsms.sourceforge.net/")
2334 (synopsis "Library for time stretching and pitch scaling of audio")
2336 "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time
2337 stretching and pitch scaling of audio. This package contains the library.")
2338 ;; There is no explicit declaration of a license, but a COPYING file
2340 (license license:gpl2)))
2342 (define-public wavpack
2348 (uri (string-append "http://www.wavpack.com/"
2349 name "-" version ".tar.bz2"))
2352 "0i19c6krc0p9krwrqy9s5xahaafigqzxcn31piidmlaqadyn4f8r"))))
2353 (build-system gnu-build-system)
2354 (home-page "http://www.wavpack.com/")
2355 (synopsis "Hybrid lossless audio codec")
2357 "WavPack is an audio compression format with lossless, lossy and hybrid
2358 compression modes. This package contains command-line programs and library to
2359 encode and decode wavpack files.")
2360 (license license:bsd-3)))
2362 (define-public libmodplug
2369 "mirror://sourceforge/modplug-xmms/"
2370 name "/" version "/" name "-" version ".tar.gz"))
2373 "1bfsladg7h6vnii47dd66f5vh1ir7qv12mfb8n36qiwrxq92sikp"))))
2374 (build-system gnu-build-system)
2375 (home-page "http://modplug-xmms.sourceforge.net/")
2376 (synopsis "Mod file playing library")
2378 "Libmodplug renders mod music files as raw audio data, for playing or
2379 conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are
2380 supported. Optional features include high-quality resampling, bass expansion,
2381 surround and reverb.")
2382 (license license:public-domain)))
2384 (define-public libxmp
2390 (uri (string-append "mirror://sourceforge/xmp/libxmp/" version "/"
2391 name "-" version ".tar.gz"))
2394 "1kycz4jsyvmf7ny9227b497wc7y5ligydi6fvvldmkf8hk63ad9m"))))
2395 (build-system gnu-build-system)
2396 (home-page "http://xmp.sourceforge.net/")
2397 (synopsis "Module player library")
2399 "Libxmp is a library that renders module files to PCM data. It supports
2400 over 90 mainstream and obscure module formats including Protracker (MOD),
2401 Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).")
2402 (license license:lgpl2.1+)))
2410 (uri (string-append "mirror://sourceforge/xmp/xmp/" version "/"
2411 name "-" version ".tar.gz"))
2414 "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x"))))
2415 (build-system gnu-build-system)
2417 `(("pkg-config" ,pkg-config)))
2419 `(("libxmp" ,libxmp)
2420 ("pulseaudio" ,pulseaudio)))
2421 (home-page "http://xmp.sourceforge.net/")
2422 (synopsis "Extended module player")
2424 "Xmp is a portable module player that plays over 90 mainstream and
2425 obscure module formats, including Protracker MOD, Fasttracker II XM, Scream
2426 Tracker 3 S3M and Impulse Tracker IT files.")
2427 (license license:gpl2+)))
2429 (define-public soundtouch
2438 "http://www.surina.net/soundtouch/soundtouch-" version ".tar.gz"))
2440 (base32 "0sqn3wk4qz20vf0vz853l6dl1gnj1yhqxfwxqsc5lp529kbn2h9x"))))
2441 (build-system gnu-build-system)
2443 `(("autoconf" ,autoconf)
2444 ("automake" ,automake)
2445 ("libtool" ,libtool)
2449 (modify-phases %standard-phases
2450 (add-after 'unpack 'bootstrap
2452 (zero? (system* "sh" "bootstrap")))))))
2453 (home-page "http://www.surina.net/soundtouch/")
2455 "Audio processing library for changing tempo, pitch and playback rate")
2457 "SoundTouch is an audio processing library for changing the tempo, pitch
2458 and playback rates of audio streams or audio files. It is intended for
2459 application developers writing sound processing tools that require tempo/pitch
2460 control functionality, or just for playing around with the sound effects.")
2461 (license license:lgpl2.1+)))
2469 (uri (string-append "mirror://sourceforge/sox/sox/" version "/"
2470 name "-" version ".tar.bz2"))
2473 "170lx90r1nlnb2j6lg00524iwvqy72p48vii4xc5prrh8dnrb9l1"))))
2474 (build-system gnu-build-system)
2477 ;; The upstream asks to identify the distribution to diagnose SoX
2479 '("--with-distro=Guix System Distribution")))
2481 `(("pkg-config" ,pkg-config)))
2483 `(("alsa-lib" ,alsa-lib)
2487 ("libid3tag" ,libid3tag)
2488 ("libltdl" ,libltdl)
2491 ("libvorbis" ,libvorbis)
2492 ("pulseaudio" ,pulseaudio)))
2493 (home-page "http://sox.sourceforge.net")
2494 (synopsis "Sound processing utility")
2496 "SoX (Sound eXchange) is a command line utility that can convert
2497 various formats of computer audio files to other formats. It can also
2498 apply various effects to these sound files, and, as an added bonus, SoX
2499 can play and record audio files.")
2500 ;; sox.c is distributed under GPL, while the files that make up
2501 ;; libsox are licensed under LGPL.
2502 (license (list license:gpl2+ license:lgpl2.1+))))
2512 (string-append "mirror://sourceforge/soxr/soxr-" version
2515 (base32 "0xf2w3piwz9gfr1xqyrj4k685q5dy53kq3igv663i4f4y4sg9rjl"))))
2516 (build-system cmake-build-system)
2517 (arguments '(#:tests? #f)) ;no 'check' target
2518 (home-page "https://sourceforge.net/p/soxr/wiki/Home/")
2519 (synopsis "One-dimensional sample-rate conversion library")
2521 "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
2522 conversion. It may be used, for example, to resample PCM-encoded audio.")
2523 (license license:lgpl2.1+)))
2525 (define-public twolame
2532 (uri (string-append "mirror://sourceforge/twolame/twolame/" version
2533 "/twolame-" version ".tar.gz"))
2535 (base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq"))
2536 (modules '((guix build utils)))
2537 ;; The tests break with Perl 5.24:
2538 ;; https://github.com/njh/twolame/issues/21
2539 ;; TODO: Remove this snippet when upgrading twolame.
2542 (substitute* "tests/test.pl" (("\\(@_\\)") "($_[0])"))
2544 (build-system gnu-build-system)
2546 `(("libsndfile" ,libsndfile)))
2549 ("which" ,which))) ;used in tests/test.pl
2550 (home-page "http://www.twolame.org/")
2551 (synopsis "MPEG Audio Layer 2 (MP2) encoder")
2553 "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
2554 tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
2556 (license license:lgpl2.1+)))
2558 (define-public portaudio
2561 (version "190600.20161030")
2566 "http://www.portaudio.com/archives/pa_stable_v"
2567 (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
2570 (base32 "04qmin6nj144b8qb9kkd9a52xfvm0qdgm8bg8jbl7s3frmyiv8pm"))
2571 (patches (search-patches "portaudio-audacity-compat.patch"))))
2572 (build-system gnu-build-system)
2574 ;; TODO: Add ASIHPI.
2575 `(("alsa-lib" ,alsa-lib)
2578 `(("autoconf" ,autoconf)
2579 ("automake" ,automake)
2580 ("libtool" ,libtool)
2581 ("pkg-config" ,pkg-config)))
2584 ;; Autoreconf is necessary because the audacity-compat patch modifies
2586 (modify-phases %standard-phases
2587 (add-after 'unpack 'autoreconf
2589 (zero? (system* "autoreconf" "-vif")))))
2590 #:tests? #f)) ;no 'check' target
2591 (home-page "http://www.portaudio.com/")
2592 (synopsis "Audio I/O library")
2594 "PortAudio is a portable C/C++ audio I/O library providing a simple API
2595 to record and/or play sound using a callback function or a blocking read/write
2597 (license license:expat)))
2599 (define-public qsynth
2606 (uri (string-append "mirror://sourceforge/qsynth/qsynth/" version
2607 "/qsynth-" version ".tar.gz"))
2610 "0qhfnikx3xcllkvs60kj6vcf2rwwzh31y41qkk6kwfhzgd219y8f"))))
2611 (build-system gnu-build-system)
2613 `(#:tests? #f ; no "check" phase
2615 '("CXXFLAGS=-std=gnu++11")))
2617 `(("qttools" ,qttools)
2618 ("pkg-config" ,pkg-config)))
2620 `(("fluidsynth" ,fluidsynth)
2622 ("qtx11extras" ,qtx11extras)))
2623 (home-page "http://qsynth.sourceforge.net")
2624 (synopsis "Graphical user interface for FluidSynth")
2626 "Qsynth is a GUI front-end application for the FluidSynth SoundFont
2627 synthesizer written in C++.")
2628 (license license:gpl2+)))
2630 (define-public rsound
2637 (uri (string-append "https://github.com/Themaister/RSound/archive/v"
2639 (file-name (string-append name "-" version))
2641 (base32 "1wzs40c0k5zpkmm5ffl6c17xmr399sxli7ys0fbb9ib0fd334knx"))))
2642 (build-system gnu-build-system)
2644 `(("alsa-lib" ,alsa-lib)
2647 ("libsamplerate" ,libsamplerate)
2649 ("portaudio" ,portaudio)
2650 ("pulseaudio" ,pulseaudio)))
2653 (modify-phases %standard-phases
2655 (lambda* (#:key outputs #:allow-other-keys)
2658 (system* "./configure"
2659 (string-append "--prefix=" (assoc-ref outputs "out")))))))
2660 ;; No 'check' target.
2662 (home-page "http://themaister.net/rsound.html")
2663 (synopsis "Networked audio system")
2665 "RSound allows you to send audio from an application and transfer it
2666 directly to a different computer on your LAN network. It is an audio daemon
2667 with a much different focus than most other audio daemons.")
2668 (license license:gpl3+)))
2670 (define-public xjackfreak
2677 "https://github.com/johnhldavis/xjackfreak/archive/v"
2679 (file-name (string-append name "-" version ".tar.gz"))
2682 "0xj6gpxfnw9jbdgwgm0x23xgfvj2kwmwb1nk0drw8lxgcchkq7d9"))))
2683 (build-system gnu-build-system)
2686 (list (string-append "docdir=" (assoc-ref %outputs "out")
2687 "/share/doc/xjackfreak"))))
2692 ("libxext" ,libxext)))
2694 `(("pkg-config" ,pkg-config)))
2695 (home-page "https://github.com/johnhldavis/xjackfreak")
2696 (synopsis "JACK audio frequency analyzer and display")
2698 "XJackFreak is an audio analysis and equalizing tool for the Jack Audio
2699 Connection Kit. It can display the FFT of any input, modify it and output the
2701 (license license:gpl3+)))
2703 (define-public zita-convolver
2705 (name "zita-convolver")
2710 "http://kokkinizita.linuxaudio.org"
2711 "/linuxaudio/downloads/zita-convolver-"
2712 version ".tar.bz2"))
2714 ;; Don't optimize for a specific processor architecture.
2715 '(substitute* "libs/Makefile"
2716 (("^CXXFLAGS \\+= -march=native") "")))
2717 (modules '((guix build utils)))
2720 "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))
2721 (build-system gnu-build-system)
2723 `(#:tests? #f ; no "check" target
2724 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2726 (modify-phases %standard-phases
2727 (add-after 'unpack 'patch-makefile-and-enter-directory
2729 (substitute* "libs/Makefile"
2730 (("ldconfig") "true")
2731 (("^LIBDIR =.*") "LIBDIR = lib\n"))
2733 (add-after 'install 'install-symlink
2735 (symlink "libzita-convolver.so"
2736 (string-append (assoc-ref %outputs "out")
2737 "/lib/libzita-convolver.so.3"))))
2738 ;; no configure script
2739 (delete 'configure))))
2740 (inputs `(("fftwf" ,fftwf)))
2741 (home-page "http://kokkinizita.linuxaudio.org")
2742 (synopsis "Fast, partitioned convolution engine library")
2744 "Zita convolver is a C++ library providing a real-time convolution
2746 (license license:gpl3+)))
2748 (define-public zita-resampler
2750 (name "zita-resampler")
2755 "http://kokkinizita.linuxaudio.org"
2756 "/linuxaudio/downloads/zita-resampler-"
2757 version ".tar.bz2"))
2759 ;; Don't optimize for a specific processor architecture.
2760 '(substitute* '("apps/Makefile" "libs/Makefile")
2761 (("^CXXFLAGS \\+= -march=native") "")))
2762 (modules '((guix build utils)))
2765 "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
2766 (build-system gnu-build-system)
2768 `(#:tests? #f ; no "check" target
2769 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2771 (modify-phases %standard-phases
2773 'unpack 'patch-makefile-and-enter-directory
2775 (substitute* "libs/Makefile"
2776 (("ldconfig") "true")
2777 (("^LIBDIR =.*") "LIBDIR = lib\n"))
2781 'install 'install-symlink
2783 (symlink "libzita-resampler.so"
2784 (string-append (assoc-ref %outputs "out")
2785 "/lib/libzita-resampler.so.1"))))
2786 ;; no configure script
2787 (delete 'configure))))
2788 (home-page "http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html")
2789 (synopsis "C++ library for resampling audio signals")
2791 "Libzita-resampler is a C++ library for resampling audio signals. It is
2792 designed to be used within a real-time processing context, to be fast, and to
2793 provide high-quality sample rate conversion.")
2794 (license license:gpl3+)))
2796 (define-public zita-alsa-pcmi
2798 (name "zita-alsa-pcmi")
2803 "http://kokkinizita.linuxaudio.org"
2804 "/linuxaudio/downloads/zita-alsa-pcmi-"
2805 version ".tar.bz2"))
2808 "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
2809 (build-system gnu-build-system)
2811 `(#:tests? #f ; no "check" target
2812 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2814 (modify-phases %standard-phases
2815 (add-after 'unpack 'patch-makefile-and-enter-directory
2817 (substitute* "libs/Makefile"
2818 (("ldconfig") "true")
2819 (("^LIBDIR =.*") "LIBDIR = lib\n"))
2822 (add-after 'install 'install-symlink
2824 (symlink "libzita-alsa-pcmi.so"
2825 (string-append (assoc-ref %outputs "out")
2826 "/lib/libzita-alsa-pcmi.so.0"))))
2827 ;; no configure script
2828 (delete 'configure))))
2830 `(("alsa-lib" ,alsa-lib)
2832 (home-page "http://kokkinizita.linuxaudio.org")
2833 (synopsis "C++ wrapper around the ALSA API")
2835 "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy
2836 access to ALSA PCM devices, taking care of the many functions required to
2837 open, initialise and use a hw: device in mmap mode, and providing floating
2839 (license license:gpl3+)))
2841 (define-public cuetools
2847 (uri (string-append "https://github.com/svend/cuetools/archive/"
2849 (file-name (string-append name "-" version ".tar.gz"))
2852 "01xi3rvdmil9nawsha04iagjylqr1l9v9vlzk99scs8c207l58i4"))))
2853 (build-system gnu-build-system)
2854 ;; The source tarball is not bootstrapped.
2857 (modify-phases %standard-phases
2858 (add-after 'unpack 'bootstrap
2859 (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
2860 ;; Bootstrapping tools
2862 `(("autoconf" ,autoconf)
2863 ("automake" ,automake)
2866 (synopsis "Cue and toc file parsers and utilities")
2867 (description "Cuetools is a set of programs that are useful for manipulating
2868 and using CUE sheet (cue) files and Table of Contents (toc) files. CUE and TOC
2869 files are a way to represent the layout of a data or audio CD in a
2870 machine-readable ASCII format.")
2871 (home-page "https://github.com/svend/cuetools")
2872 (license license:gpl2+)))
2874 (define-public shntool
2880 (uri (string-append "http://etree.org/shnutils/shntool/dist/src/"
2881 "shntool-" version ".tar.gz"))
2884 "00i1rbjaaws3drkhiczaign3lnbhr161b7rbnjr8z83w8yn2wc3l"))))
2885 (build-system gnu-build-system)
2886 (synopsis "WAVE audio data processing tool")
2887 (description "shntool is a multi-purpose WAVE data processing and reporting
2888 utility. File formats are abstracted from its core, so it can process any file
2889 that contains WAVE data, compressed or not---provided there exists a format
2890 module to handle that particular file type. It can also generate CUE files, and
2891 use them split WAVE data into multiple files.")
2892 (home-page "http://etree.org/shnutils/shntool/")
2893 ;; 'install-sh' bears the x11 license
2894 (license (list license:gpl2+ license:x11))))
2896 (define-public dcadec
2902 (uri (string-append "https://github.com/foo86/dcadec/archive/v"
2904 (file-name (string-append name "-" version ".tar.gz"))
2907 "0i0dpypgqkhhi4v1fmsp2way6w9kbcix3c7q79pmg39yvrzj17gd"))))
2908 (build-system gnu-build-system)
2910 ;; Test files are missing: https://github.com/foo86/dcadec/issues/53
2914 ;; Build shared library.
2916 (string-append "PREFIX=" (assoc-ref %outputs "out"))
2917 ;; Set proper runpath.
2918 (string-append "LDFLAGS=-Wl,-rpath="
2919 (assoc-ref %outputs "out")
2922 (modify-phases %standard-phases
2923 ;; No configure script, just a hand-written Makefile.
2924 (delete 'configure))))
2925 (synopsis "DTS Coherent Acoustics decoder")
2926 (description "Dcadec is a DTS Coherent Acoustics surround sound decoder
2927 with support for HD extensions.")
2928 (home-page "https://github.com/foo86/dcadec")
2929 (license license:lgpl2.1+)))
2931 (define-public bs1770gain
2938 (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/"
2939 version "/bs1770gain-" version ".tar.gz"))
2942 "0n9skdap1vnl6w52fx0gsrjlk7w3xgdwi62ycyf96h29rx059z6a"))))
2943 (build-system gnu-build-system)
2944 (inputs `(("ffmpeg" ,ffmpeg)
2946 (home-page "http://bs1770gain.sourceforge.net/")
2947 (synopsis "Tool to adjust loudness of media files")
2949 "BS1770GAIN is a loudness scanner compliant with ITU-R BS.1770 and its
2950 flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the
2951 loudness of audio and video files to the same level.")
2952 (license license:gpl2+)))
2954 (define-public filteraudio
2955 (let ((revision "1")
2956 (commit "2fc669581e2a0ff87fba8de85861b49133306094"))
2958 (name "filteraudio")
2959 (version (string-append "0.0.0-" revision "."
2960 (string-take commit 7)))
2965 (url "https://github.com/irungentoo/filter_audio.git")
2967 (file-name (string-append name "-" version "-checkout"))
2970 "0hbb290n3wb23f2k692a6bhc23nnqmxqi9sc9j15pnya8wifw64g"))))
2971 (build-system gnu-build-system)
2973 '(#:make-flags (list (string-append "PREFIX=" %output)
2975 #:tests? #f ; No tests
2977 (modify-phases %standard-phases
2978 ;; No configure script
2979 (delete 'configure))))
2980 (synopsis "Lightweight audio filtering library")
2981 (description "An easy to use audio filtering library made from webrtc
2982 code, used in @code{libtoxcore}.")
2983 (home-page "https://github.com/irungentoo/filter_audio")
2984 (license license:bsd-3))))
2994 (string-append "http://www.quut.com/" name "/" name
2995 "-" version ".tar.gz"))
2998 "0b1mx69jq88wva3wk0hi6fcl5a52qhnq2f9p3f3jdh5k61ma252q"))))
2999 (build-system gnu-build-system)
3001 `(#:test-target "tst"
3003 (modify-phases %standard-phases
3004 (add-before 'install 'pre-install
3006 (let ((out (assoc-ref %outputs "out")))
3007 (substitute* "Makefile"
3008 (("INSTALL_ROOT\t=")
3009 (string-append "INSTALL_ROOT\t=\t" out)))
3010 (mkdir-p (string-append out "/inc"))
3011 (mkdir-p (string-append out "/man"))
3012 (mkdir-p (string-append out "/man/man1"))
3013 (mkdir-p (string-append out "/man/man3"))
3014 (mkdir-p (string-append out "/bin"))
3015 (mkdir-p (string-append out "/lib")))))
3016 (add-after 'install 'post-install
3018 (let ((out (assoc-ref %outputs "out")))
3019 (rename-file (string-append out "/inc")
3020 (string-append out "/include"))
3021 (mkdir-p (string-append out "/include/gsm"))
3022 (copy-recursively "inc"
3023 (string-append out "/include/gsm")))))
3024 (delete 'configure))))
3025 (synopsis "GSM 06.10 lossy speech compression library")
3026 (description "This C library provides an encoder and a decoder for the GSM
3027 06.10 RPE-LTP lossy speech compression algorithm.")
3028 (home-page "http://quut.com/gsm/")
3029 (license (license:non-copyleft "file://COPYRIGHT"))))
3031 (define-public python-pyalsaaudio
3033 (name "python-pyalsaaudio")
3037 (uri (pypi-uri "pyalsaaudio" version))
3040 "1180ypn9596rq4b7y7dyv627j1q0fqilmkkrckclnzsdakdgis44"))))
3041 (build-system python-build-system)
3043 `(#:tests? #f)) ; tests require access to ALSA devices.
3045 `(("alsa-lib" ,alsa-lib)))
3046 (home-page "http://larsimmisch.github.io/pyalsaaudio/")
3047 (synopsis "ALSA wrappers for Python")
3049 "This package contains wrappers for accessing the ALSA API from Python.
3050 It is currently fairly complete for PCM devices, and has some support for
3052 (license license:psfl)))
3054 (define-public python2-pyalsaaudio
3055 (package-with-python2 python-pyalsaaudio))
3057 (define-public bluez-alsa
3062 ;; The tarballs are mere snapshots and don't contain a
3063 ;; bootstrapped build system.
3066 (url "https://github.com/Arkq/bluez-alsa.git")
3067 (commit (string-append "v" version))))
3068 (file-name (string-append name "-" version "-checkout"))
3071 "1qinf41wl2ihx54zmmhanycihwjkn7dn1cicq6pp4rqbiv79b95x"))))
3072 (build-system gnu-build-system)
3075 (modify-phases %standard-phases
3076 (add-after 'unpack 'bootstrap
3078 (zero? (system* "autoreconf" "-vif")))))))
3080 `(("autoconf" ,autoconf)
3081 ("automake" ,automake)
3082 ("libtool" ,libtool)
3083 ("pkg-config" ,pkg-config)))
3085 `(("alsa-lib" ,alsa-lib)
3089 ("ncurses" ,ncurses)
3092 (home-page "https://github.com/Arkq/bluez-alsa")
3093 (synopsis "Bluetooth ALSA backend")
3094 (description "This project is a rebirth of a direct integration between
3095 Bluez and ALSA. Since Bluez >= 5, the build-in integration has been removed
3096 in favor of 3rd party audio applications. From now on, Bluez acts as a
3097 middleware between an audio application, which implements Bluetooth audio
3098 profile, and a Bluetooth audio device. BlueALSA registers all known Bluetooth
3099 audio profiles in Bluez, so in theory every Bluetooth device (with audio
3100 capabilities) can be connected. In order to access the audio stream, one has
3101 to connect to the ALSA PCM device called @code{bluealsa}. The device is based
3102 on the ALSA software PCM plugin.")
3103 (license license:expat)))
3111 (uri (string-append "ftp://ccrma-ftp.stanford.edu/pub/Lisp/"
3112 "snd-" version ".tar.gz"))
3115 "1vm0dy5qlycqkima7y5ajzvazyjybifa803fabjcpncjz08c26vp"))))
3116 (build-system glib-or-gtk-build-system)
3118 '(#:tests? #f ; no tests
3119 #:out-of-source? #f ; for the 'install-doc' phase
3121 (let* ((out (assoc-ref %outputs "out"))
3122 (docdir (string-append out "/share/doc/snd")))
3123 (list "--with-alsa" "--with-jack" "--with-gmp"
3124 (string-append "--with-doc-dir=" docdir)))
3126 (modify-phases %standard-phases
3127 (add-after 'install 'install-doc
3128 (lambda* (#:key outputs #:allow-other-keys)
3129 (let* ((out (assoc-ref outputs "out"))
3130 (docdir (string-append out "/share/doc/snd")))
3134 (install-file f docdir))
3135 (find-files "." "\\.html$|COPYING"))
3136 (copy-recursively "pix" (string-append docdir "/pix"))
3139 `(("pkg-config" ,pkg-config)))
3141 `(("alsa-lib" ,alsa-lib)
3148 ("libsamplerate" ,libsamplerate)
3153 ("timidity++" ,timidity++)
3154 ("vorbis-tools" ,vorbis-tools)
3155 ("wavpack" ,wavpack)))
3156 (synopsis "Sound editor")
3157 (home-page "https://ccrma.stanford.edu/software/snd/")
3159 "Snd is a sound editor modelled loosely after Emacs. It can be
3160 customized and extended using either the s7 Scheme implementation (included in
3161 the Snd sources), Ruby, or Forth.")
3162 (license (license:non-copyleft "file://COPYING"))))
3164 (define-public noise-repellent
3166 (name "noise-repellent")
3171 (url "https://github.com/lucianodato/noise-repellent.git")
3173 (file-name (string-append name "-" version "-checkout"))
3176 "0rd3dlmk3vivjmcr6x2x860y0j1d49c2j95j6ny50v184mwvn11j"))))
3177 (build-system gnu-build-system)
3181 (string-append "PREFIX=" (assoc-ref %outputs "out")))
3182 #:tests? #f ; there are none
3184 (modify-phases %standard-phases
3185 (delete 'configure))))
3190 `(("pkg-config" ,pkg-config)))
3191 (home-page "https://github.com/lucianodato/noise-repellent")
3192 (synopsis "LV2 plugin for broadband noise reduction")
3193 (description "Noise Repellent is an LV2 plugin to reduce noise. It has
3194 the following features:
3197 @item Spectral gating and spectral subtraction suppression rule
3198 @item Adaptive and manual noise thresholds estimation
3199 @item Adjustable noise floor
3200 @item Adjustable offset of thresholds to perform over-subtraction
3201 @item Time smoothing and a masking estimation to reduce artifacts
3202 @item Basic onset detector to avoid transients suppression
3203 @item Whitening of the noise floor to mask artifacts and to recover higher
3205 @item Option to listen to the residual signal
3207 @item Noise profile saved with the session
3210 (license license:lgpl3+)))
3212 (define-public cli-visualizer
3214 (name "cli-visualizer")
3219 (uri (string-append "https://github.com/dpayne/cli-visualizer/archive/"
3221 (file-name (string-append name "-" version ".tar.gz"))
3224 "07zkm87f2fr8kc6531zrkya7q81sdanm6813y2f54mg13g41y6hi"))))
3225 (build-system gnu-build-system)
3227 `(("which" ,which)))
3230 ("googletest" ,googletest)
3231 ("ncurses" ,ncurses)
3232 ("pulseaudio" ,pulseaudio)))
3234 '(#:test-target "test"
3236 (list (string-append "PREFIX=" %output "/bin/") "ENABLE_PULSE=1")
3238 (modify-phases %standard-phases
3239 (add-after 'unpack 'remove-sudo
3241 (substitute* "install.sh" (("sudo") ""))
3243 (add-before 'check 'set-check-environment
3245 (setenv "CXX" "g++")
3248 (add-before 'install 'make-prefix
3250 (mkdir-p (string-append (assoc-ref %outputs "out") "/bin"))
3252 (add-after 'install 'data
3254 (for-each (lambda (file)
3256 (string-append (assoc-ref %outputs "out")
3258 (find-files "examples"))
3260 (home-page "https://github.com/dpayne/cli-visualizer/")
3261 (synopsis "Command-line audio visualizer")
3262 (description "@code{cli-visualizer} displays fast-Fourier
3263 transforms (FFTs) of the sound being played, as well as other graphical
3265 (license license:expat)))