| 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net> |
| 3 | ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> |
| 4 | ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> |
| 5 | ;;; Copyright © 2015 Alex Kost <alezost@gmail.com> |
| 6 | ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org> |
| 7 | ;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il> |
| 8 | ;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com> |
| 9 | ;;; Copyright © 2016 Nikita <nikita@n0.is> |
| 10 | ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org> |
| 11 | ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| 12 | ;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com> |
| 13 | ;;; Copyright © 2018 okapi <okapi@firemail.cc> |
| 14 | ;;; Copyright © 2018, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
| 15 | ;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org> |
| 16 | ;;; Copyright © 2018 Brett Gilio <brettg@gnu.org> |
| 17 | ;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com> |
| 18 | ;;; Copyright © 2018 Thorsten Wilms <t_w_@freenet.de> |
| 19 | ;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org> |
| 20 | ;;; Copyright © 2018 Brendan Tildesley <mail@brendan.scot> |
| 21 | ;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com> |
| 22 | ;;; Copyright © 2019 Leo Famulari <leo@famulari.name> |
| 23 | ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com> |
| 24 | ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net> |
| 25 | ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> |
| 26 | ;;; Copyright © 2019, 2020 Alexandros Theodotou <alex@zrythm.org> |
| 27 | ;;; Copyright © 2019 Christopher Lemmer Webber <cwebber@dustycloud.org> |
| 28 | ;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl> |
| 29 | ;;; Copyright © 2019 Hartmt Goebel <h.goebel@crazy-compilers.com> |
| 30 | ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
| 31 | ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> |
| 32 | ;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net> |
| 33 | ;;; Copyright © 2020 Jonathan Frederickson <jonathan@terracrypt.net> |
| 34 | ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org> |
| 35 | ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net> |
| 36 | ;;; |
| 37 | ;;; This file is part of GNU Guix. |
| 38 | ;;; |
| 39 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
| 40 | ;;; under the terms of the GNU General Public License as published by |
| 41 | ;;; the Free Software Foundation; either version 3 of the License, or (at |
| 42 | ;;; your option) any later version. |
| 43 | ;;; |
| 44 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
| 45 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
| 46 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 47 | ;;; GNU General Public License for more details. |
| 48 | ;;; |
| 49 | ;;; You should have received a copy of the GNU General Public License |
| 50 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
| 51 | |
| 52 | (define-module (gnu packages audio) |
| 53 | #:use-module (gnu packages) |
| 54 | #:use-module (gnu packages algebra) |
| 55 | #:use-module (gnu packages autotools) |
| 56 | #:use-module (gnu packages avahi) |
| 57 | #:use-module (gnu packages backup) |
| 58 | #:use-module (gnu packages base) |
| 59 | #:use-module (gnu packages bison) |
| 60 | #:use-module (gnu packages boost) |
| 61 | #:use-module (gnu packages check) |
| 62 | #:use-module (gnu packages compression) |
| 63 | #:use-module (gnu packages curl) |
| 64 | #:use-module (gnu packages dbm) |
| 65 | #:use-module (gnu packages documentation) |
| 66 | #:use-module (gnu packages elf) |
| 67 | #:use-module (gnu packages emacs) |
| 68 | #:use-module (gnu packages file) |
| 69 | #:use-module (gnu packages flex) |
| 70 | #:use-module (gnu packages fltk) |
| 71 | #:use-module (gnu packages fontutils) |
| 72 | #:use-module (gnu packages gcc) |
| 73 | #:use-module (gnu packages gettext) |
| 74 | #:use-module (gnu packages gl) |
| 75 | #:use-module (gnu packages glib) |
| 76 | #:use-module (gnu packages gnome) |
| 77 | #:use-module (gnu packages gnunet) ; libmicrohttpd |
| 78 | #:use-module (gnu packages gperf) |
| 79 | #:use-module (gnu packages gtk) |
| 80 | #:use-module (gnu packages guile) |
| 81 | #:use-module (gnu packages icu4c) |
| 82 | #:use-module (gnu packages image) |
| 83 | #:use-module (gnu packages libbsd) |
| 84 | #:use-module (gnu packages libusb) |
| 85 | #:use-module (gnu packages linux) |
| 86 | #:use-module (gnu packages llvm) |
| 87 | #:use-module (gnu packages man) |
| 88 | #:use-module (gnu packages maths) |
| 89 | #:use-module (gnu packages mp3) ;taglib |
| 90 | #:use-module (gnu packages multiprecision) |
| 91 | #:use-module (gnu packages music) |
| 92 | #:use-module (gnu packages ncurses) |
| 93 | #:use-module (gnu packages networking) |
| 94 | #:use-module (gnu packages onc-rpc) |
| 95 | #:use-module (gnu packages perl) |
| 96 | #:use-module (gnu packages pkg-config) |
| 97 | #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate |
| 98 | #:use-module (gnu packages python) |
| 99 | #:use-module (gnu packages python-xyz) |
| 100 | #:use-module (gnu packages qt) |
| 101 | #:use-module (gnu packages rdf) |
| 102 | #:use-module (gnu packages readline) |
| 103 | #:use-module (gnu packages sdl) |
| 104 | #:use-module (gnu packages serialization) |
| 105 | #:use-module (gnu packages telephony) |
| 106 | #:use-module (gnu packages linphone) |
| 107 | #:use-module (gnu packages tls) |
| 108 | #:use-module (gnu packages valgrind) |
| 109 | #:use-module (gnu packages video) |
| 110 | #:use-module (gnu packages vim) ;xxd |
| 111 | #:use-module (gnu packages webkit) |
| 112 | #:use-module (gnu packages wxwidgets) |
| 113 | #:use-module (gnu packages xiph) |
| 114 | #:use-module (gnu packages xml) |
| 115 | #:use-module (gnu packages xorg) |
| 116 | #:use-module (guix build-system cmake) |
| 117 | #:use-module (guix build-system copy) |
| 118 | #:use-module (guix build-system glib-or-gtk) |
| 119 | #:use-module (guix build-system gnu) |
| 120 | #:use-module (guix build-system meson) |
| 121 | #:use-module (guix build-system python) |
| 122 | #:use-module (guix build-system trivial) |
| 123 | #:use-module (guix build-system waf) |
| 124 | #:use-module (guix download) |
| 125 | #:use-module (guix git-download) |
| 126 | #:use-module ((guix licenses) #:prefix license:) |
| 127 | #:use-module (guix packages) |
| 128 | #:use-module (guix utils) |
| 129 | #:use-module (srfi srfi-1) |
| 130 | #:use-module (srfi srfi-26)) |
| 131 | |
| 132 | (define-public opensles |
| 133 | (package |
| 134 | (name "opensles") |
| 135 | (version "1.1.0") |
| 136 | (source |
| 137 | (origin |
| 138 | (method git-fetch) |
| 139 | (uri |
| 140 | (git-reference |
| 141 | (url "https://github.com/KhronosGroup/OpenSL-ES-Registry.git") |
| 142 | (commit "ea5104bf37bf525c25e6ae2386586048179d0fda"))) |
| 143 | (file-name (git-file-name name version)) |
| 144 | (sha256 |
| 145 | (base32 "0j5bm7h3ahz66f23i9abwc0y10agfkpksnj6y078x2nichq66h4f")) |
| 146 | (patches |
| 147 | (search-patches "opensles-add-license-file.patch")))) |
| 148 | (build-system copy-build-system) |
| 149 | (arguments |
| 150 | `(#:phases |
| 151 | (modify-phases %standard-phases |
| 152 | (add-after 'install 'clean |
| 153 | (lambda* (#:key outputs #:allow-other-keys) |
| 154 | (let* ((out (assoc-ref outputs "out"))) |
| 155 | (mkdir-p (string-append out "/etc")) |
| 156 | (mkdir-p (string-append out "/include")) |
| 157 | (mkdir-p (string-append out "/share")) |
| 158 | (rename-file |
| 159 | (string-append out "/api/1.1/OpenSLES_IID.c") |
| 160 | (string-append out "/etc/OpenSLES_IID.c")) |
| 161 | (rename-file |
| 162 | (string-append out "/api/1.1/OpenSLES.h") |
| 163 | (string-append out "/include/OpenSLES.h")) |
| 164 | (rename-file |
| 165 | (string-append out "/api/1.1/OpenSLES_Platform.h") |
| 166 | (string-append out "/include/OpenSLES_Platform.h")) |
| 167 | (rename-file |
| 168 | (string-append out "/api/1.1/README.txt") |
| 169 | (string-append out "/share/README.txt")) |
| 170 | (rename-file |
| 171 | (string-append out "/LICENSE.txt") |
| 172 | (string-append out "/share/LICENSE.txt")) |
| 173 | (for-each delete-file-recursively |
| 174 | (list |
| 175 | (string-append out "/api") |
| 176 | (string-append out "/specs"))) |
| 177 | (for-each delete-file |
| 178 | (list |
| 179 | (string-append out "/CODE_OF_CONDUCT.md") |
| 180 | (string-append out "/index.php") |
| 181 | (string-append out "/README.md")))) |
| 182 | #t))))) |
| 183 | (synopsis "Embedded Audio Acceleration") |
| 184 | (description "OpenSLES is a royalty-free, cross-platform, |
| 185 | hardware-accelerated audio API tuned for embedded systems. It provides a |
| 186 | standardized, high-performance, low-latency method to access audio |
| 187 | functionality for developers of native applications on embedded mobile |
| 188 | multimedia devices, enabling straightforward cross-platform deployment of |
| 189 | hardware and software audio capabilities, reducing implementation effort, and |
| 190 | promoting the market for advanced audio.") |
| 191 | (home-page "https://www.khronos.org/opensles/") |
| 192 | (license (license:non-copyleft "file:///LICENSE.txt")))) |
| 193 | |
| 194 | (define-public wildmidi |
| 195 | (package |
| 196 | (name "wildmidi") |
| 197 | (version "0.4.3") |
| 198 | (source |
| 199 | (origin |
| 200 | (method git-fetch) |
| 201 | (uri |
| 202 | (git-reference |
| 203 | (url "https://github.com/Mindwerks/wildmidi.git") |
| 204 | (commit (string-append name "-" version)))) |
| 205 | (file-name (git-file-name name version)) |
| 206 | (sha256 |
| 207 | (base32 "01f4a9c5xlap5a4pkfnlgkzk5pjlk43zkq6fnw615ghya04g6hrl")))) |
| 208 | (build-system cmake-build-system) |
| 209 | (arguments |
| 210 | `(#:tests? #f ; No target |
| 211 | #:configure-flags |
| 212 | (list |
| 213 | "-DWANT_ALSA=ON" |
| 214 | "-DWANT_OSS=ON" |
| 215 | "-DWANT_OPENAL=ON"))) |
| 216 | (inputs |
| 217 | `(("alsa" ,alsa-lib) |
| 218 | ("openal" ,openal))) |
| 219 | (synopsis "Software Synthesizer") |
| 220 | (description "WildMIDI is a simple software midi player which has a core |
| 221 | softsynth library that can be use with other applications.") |
| 222 | (home-page "https://www.mindwerks.net/projects/wildmidi/") |
| 223 | (license |
| 224 | (list |
| 225 | ;; Library. |
| 226 | license:lgpl3+ |
| 227 | ;; Player. |
| 228 | license:gpl3+)))) |
| 229 | |
| 230 | (define-public webrtc-audio-processing |
| 231 | (package |
| 232 | (name "webrtc-audio-processing") |
| 233 | (version "0.3.1") |
| 234 | (source |
| 235 | (origin |
| 236 | (method url-fetch) |
| 237 | (uri |
| 238 | (string-append "http://freedesktop.org/software/pulseaudio/" |
| 239 | name "/" name "-" version ".tar.xz")) |
| 240 | (sha256 |
| 241 | (base32 "1gsx7k77blfy171b6g3m0k0s0072v6jcawhmx1kjs9w5zlwdkzd0")))) |
| 242 | (build-system gnu-build-system) |
| 243 | (synopsis "WebRTC's Audio Processing Library") |
| 244 | (description "WebRTC-Audio-Processing library based on Google's |
| 245 | implementation of WebRTC.") |
| 246 | (home-page |
| 247 | "https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/") |
| 248 | (license (license:non-copyleft "file:///COPYING")))) |
| 249 | |
| 250 | (define-public vo-aacenc |
| 251 | (package |
| 252 | (name "vo-aacenc") |
| 253 | (version "0.1.3") |
| 254 | (source |
| 255 | (origin |
| 256 | (method url-fetch) |
| 257 | (uri |
| 258 | (string-append "https://sourceforge.net/projects/opencore-amr/files/" |
| 259 | name "/" name "-" version ".tar.gz")) |
| 260 | (sha256 |
| 261 | (base32 "0dhghm3c8pqrriwwyj5x9i0yf52fmdfijbgqqkvqvwarldvp86p5")))) |
| 262 | (build-system gnu-build-system) |
| 263 | (synopsis "VisualOn AAC Encoder") |
| 264 | (description "VO-AACENC is the VisualOn implementation of Advanced Audio |
| 265 | Coding (AAC) encoder.") |
| 266 | (home-page "https://sourceforge.net/projects/opencore-amr/") |
| 267 | (license license:asl2.0))) |
| 268 | |
| 269 | (define-public tinyalsa |
| 270 | (package |
| 271 | (name "tinyalsa") |
| 272 | (version "1.1.1") |
| 273 | (source |
| 274 | (origin |
| 275 | (method git-fetch) |
| 276 | (uri |
| 277 | (git-reference |
| 278 | (url "https://github.com/tinyalsa/tinyalsa.git") |
| 279 | (commit version))) |
| 280 | (file-name (git-file-name name version)) |
| 281 | (sha256 |
| 282 | (base32 "0ajyvml5bnzvhiyyrn42gqwgg23ssxkfh09rvsnywhzxhd0xai4h")))) |
| 283 | (build-system gnu-build-system) |
| 284 | (arguments |
| 285 | `(#:tests? #f ; No target |
| 286 | #:phases |
| 287 | (modify-phases %standard-phases |
| 288 | (delete 'configure)) |
| 289 | #:make-flags |
| 290 | (list |
| 291 | (string-append "PREFIX=" (assoc-ref %outputs "out"))))) |
| 292 | (synopsis "ALSA interfacing library") |
| 293 | (description "TinyALSA is a small library to interface with ALSA in the |
| 294 | Linux kernel.") |
| 295 | (home-page "https://github.com/tinyalsa/tinyalsa") |
| 296 | (license (license:non-copyleft "file:///NOTICE")))) |
| 297 | |
| 298 | (define-public libopenmpt |
| 299 | (package |
| 300 | (name "libopenmpt") |
| 301 | (version "0.5.1") |
| 302 | (source |
| 303 | (origin |
| 304 | (method url-fetch) |
| 305 | (uri |
| 306 | (string-append "https://download.openmpt.org/archive/libopenmpt/src/" |
| 307 | "libopenmpt-" version "+release.autotools.tar.gz")) |
| 308 | (sha256 |
| 309 | (base32 "1vpalfsrkbx4vyrh1qy564lr91jwdxlbjivv5gzf8zcywxasf0xa")))) |
| 310 | (build-system gnu-build-system) |
| 311 | (native-inputs |
| 312 | `(("doxygen" ,doxygen) |
| 313 | ("perl" ,perl) |
| 314 | ("pkg-config" ,pkg-config))) |
| 315 | (inputs |
| 316 | `(("alsa" ,alsa-lib) |
| 317 | ("flac" ,flac) |
| 318 | ("mpg123" ,mpg123) |
| 319 | ("portaudio" ,portaudio) |
| 320 | ("pulseaudio" ,pulseaudio) |
| 321 | ("sdl2" ,sdl2) |
| 322 | ("sndfile" ,libsndfile) |
| 323 | ("vorbis" ,libvorbis) |
| 324 | ("zlib" ,zlib))) |
| 325 | (synopsis "Audio tracking library") |
| 326 | (description "LibOpenMPT is a cross-platform C++ and C module playback |
| 327 | library. It is based on the player code of the Open ModPlug Tracker project.") |
| 328 | (home-page "https://openmpt.org/") |
| 329 | (license (license:non-copyleft "file:///LICENSE")))) |
| 330 | |
| 331 | (define-public libofa |
| 332 | (package |
| 333 | (name "libofa") |
| 334 | (version "0.9.3") |
| 335 | (source |
| 336 | (origin |
| 337 | (method url-fetch) |
| 338 | (uri |
| 339 | (string-append "https://storage.googleapis.com/" |
| 340 | "google-code-archive-downloads/v2/code.google.com/" |
| 341 | "musicip-libofa/" name "-" version ".tar.gz")) |
| 342 | (sha256 |
| 343 | (base32 "184ham039l7lwhfgg0xr2vch2xnw1lwh7sid432mh879adhlc5h2")) |
| 344 | (patches |
| 345 | (search-patches |
| 346 | "libofa-ftbfs-1.diff" |
| 347 | "libofa-curl.diff" |
| 348 | "libofa-ftbfs-2.diff")))) |
| 349 | (build-system gnu-build-system) |
| 350 | (native-inputs |
| 351 | `(("pkg-config" ,pkg-config))) |
| 352 | (inputs |
| 353 | `(("curl" ,curl) |
| 354 | ("expat" ,expat))) |
| 355 | (propagated-inputs |
| 356 | `(("fftw" ,fftw))) |
| 357 | (synopsis "Open Fingerprint Architecture") |
| 358 | (description "LibOFA is an audio fingerprint library, created and provided |
| 359 | by MusicIP.") |
| 360 | (home-page "https://code.google.com/archive/p/musicip-libofa/") |
| 361 | (license license:gpl2+))) |
| 362 | |
| 363 | (define-public faac |
| 364 | (package |
| 365 | (name "faac") |
| 366 | (version "1.30") |
| 367 | (source |
| 368 | (origin |
| 369 | (method url-fetch) |
| 370 | (uri |
| 371 | (string-append "https://sourceforge.net/projects/faac/files/faac-src/" |
| 372 | "faac-1.30/faac-1_30.tar.gz/download")) |
| 373 | (sha256 |
| 374 | (base32 "1lmj0dib3mjp84jhxc5ddvydkzzhb0gfrdh3ikcidjlcb378ghxd")))) |
| 375 | (build-system gnu-build-system) |
| 376 | (native-inputs |
| 377 | `(("autoconf" ,autoconf) |
| 378 | ("automake" ,automake) |
| 379 | ("libtool" ,libtool) |
| 380 | ("pkg-config" ,pkg-config))) |
| 381 | (synopsis "Freeware Advanced Audio Coder") |
| 382 | (description "FAAC is an MPEG-4 and MPEG-2 AAC encoder.") |
| 383 | (home-page "https://www.audiocoding.com/faac.html") |
| 384 | (license |
| 385 | (list |
| 386 | ;; ISO MPEG-4 reference code. |
| 387 | license:gpl2+ |
| 388 | ;; Others. |
| 389 | license:lgpl2.0+)))) |
| 390 | |
| 391 | (define-public libtimidity |
| 392 | (package |
| 393 | (name "libtimidity") |
| 394 | (version "0.2.6") |
| 395 | (source |
| 396 | (origin |
| 397 | (method url-fetch) |
| 398 | (uri |
| 399 | (string-append "https://sourceforge.net/projects/" name "/files/" |
| 400 | name "/" version "/" name "-" version ".tar.gz")) |
| 401 | (sha256 |
| 402 | (base32 "0p2px0m907gi1zpdr0l9adq25jl89j85c11ag9s2g4yc6n1nhgfm")))) |
| 403 | (build-system gnu-build-system) |
| 404 | (arguments |
| 405 | `(#:tests? #f)) ; XXX: LibTiMidity could not be initialised |
| 406 | (native-inputs |
| 407 | `(("pkg-config" ,pkg-config))) |
| 408 | (inputs |
| 409 | `(("ao" ,ao))) |
| 410 | (synopsis "MIDI to WAVE converter library") |
| 411 | (description "LibTiMidity is a MIDI to WAVE converter library that uses |
| 412 | Gravis Ultrasound-compatible patch files to generate digital audio data from |
| 413 | General MIDI files.") |
| 414 | (home-page "http://libtimidity.sourceforge.net/") |
| 415 | (license |
| 416 | ;; This project is dual-licensed. |
| 417 | ;; Either of the following licenses can be exercised. |
| 418 | (list |
| 419 | license:lgpl2.1+ |
| 420 | license:artistic2.0)))) |
| 421 | |
| 422 | (define-public vo-amrwbenc |
| 423 | (package |
| 424 | (name "vo-amrwbenc") |
| 425 | (version "0.1.3") |
| 426 | (source |
| 427 | (origin |
| 428 | (method url-fetch) |
| 429 | (uri |
| 430 | (string-append "https://sourceforge.net/projects/opencore-amr/files/" |
| 431 | name "/" name "-" version ".tar.gz")) |
| 432 | (sha256 |
| 433 | (base32 "0klx3nkidc6b8aawchpk19n3xlrzgnc046w4gd0rdqphw28v6ljn")))) |
| 434 | (build-system gnu-build-system) |
| 435 | (synopsis "Adaptive Multi Rate Codec") |
| 436 | (description "VO-AMR is a library of VisualOn implementation of |
| 437 | Adaptive Multi Rate Narrowband and Wideband (AMR-NB and AMR-WB) speech codec.") |
| 438 | (home-page "https://sourceforge.net/projects/opencore-amr/") |
| 439 | (license license:asl2.0))) |
| 440 | |
| 441 | (define-public opencore-amr |
| 442 | (package |
| 443 | (name "opencore-amr") |
| 444 | (version "0.1.5") |
| 445 | (source |
| 446 | (origin |
| 447 | (method url-fetch) |
| 448 | (uri |
| 449 | (string-append "https://sourceforge.net/projects/opencore-amr/files/" |
| 450 | name "/" name "-" version ".tar.gz")) |
| 451 | (sha256 |
| 452 | (base32 "0hfk9khz3by0119h3jdwgdfd7jgkdbzxnmh1wssvylgnsnwnq01c")))) |
| 453 | (build-system gnu-build-system) |
| 454 | (synopsis "Adaptive Multi Rate Codec") |
| 455 | (description "OpenCore-AMR is a library of OpenCORE Framework |
| 456 | implementation of Adaptive Multi Rate Narrowband and Wideband |
| 457 | (AMR-NB and AMR-WB) speech codec.") |
| 458 | (home-page "https://sourceforge.net/projects/opencore-amr/") |
| 459 | (license license:asl2.0))) |
| 460 | |
| 461 | (define-public alsa-modular-synth |
| 462 | (package |
| 463 | (name "alsa-modular-synth") |
| 464 | (version "2.1.2") |
| 465 | (source (origin |
| 466 | (method url-fetch) |
| 467 | (uri (string-append "mirror://sourceforge/alsamodular/alsamodular" |
| 468 | "/" version "/ams-" version ".tar.bz2")) |
| 469 | (sha256 |
| 470 | (base32 |
| 471 | "1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0")) |
| 472 | (patches |
| 473 | (search-patches "alsa-modular-synth-fix-vocoder.patch")))) |
| 474 | (build-system gnu-build-system) |
| 475 | (arguments |
| 476 | `(#:configure-flags |
| 477 | '("--enable-qt5" |
| 478 | "CXXFLAGS=-std=gnu++11") |
| 479 | #:phases |
| 480 | (modify-phases %standard-phases |
| 481 | (add-after 'set-paths 'hide-default-gcc |
| 482 | (lambda* (#:key inputs #:allow-other-keys) |
| 483 | (let ((gcc (assoc-ref inputs "gcc"))) |
| 484 | ;; Remove the default GCC from CPLUS_INCLUDE_PATH to prevent |
| 485 | ;; conflicts with the GCC 5 input. |
| 486 | (setenv "CPLUS_INCLUDE_PATH" |
| 487 | (string-join |
| 488 | (delete (string-append gcc "/include/c++") |
| 489 | (string-split (getenv "CPLUS_INCLUDE_PATH") #\:)) |
| 490 | ":")) |
| 491 | #t))) |
| 492 | ;; Insert an extra space between linker flags. |
| 493 | (add-before 'configure 'add-missing-space |
| 494 | (lambda _ |
| 495 | (substitute* "configure" |
| 496 | (("LIBS\\+=\\$LIBSsave") "LIBS+=\" $LIBSsave\"") |
| 497 | (("CFLAGS\\+=\\$CFLAGSsave") "CFLAGS+=\" $CFLAGSsave\"")) |
| 498 | #t))))) |
| 499 | (inputs |
| 500 | `(("alsa-lib" ,alsa-lib) |
| 501 | ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to |
| 502 | ;; license incompatibility. |
| 503 | ("clalsadrv" ,clalsadrv) |
| 504 | ("fftw" ,fftw) |
| 505 | ("jack" ,jack-1) |
| 506 | ("ladspa" ,ladspa) |
| 507 | ("liblo" ,liblo) |
| 508 | ("qtbase" ,qtbase))) |
| 509 | (native-inputs |
| 510 | `(("pkg-config" ,pkg-config) |
| 511 | ("qttools" ,qttools) |
| 512 | ("gcc@5" ,gcc-5))) |
| 513 | (home-page "http://alsamodular.sourceforge.net/") |
| 514 | (synopsis "Realtime modular synthesizer and effect processor") |
| 515 | (description |
| 516 | "AlsaModularSynth is a digital implementation of a classical analog |
| 517 | modular synthesizer system. It uses virtual control voltages to control the |
| 518 | parameters of the modules. The control voltages which control the frequency |
| 519 | e.g. of the VCO (Voltage Controlled Oscillator) and VCF (Voltage Controlled |
| 520 | Filter) modules follow the convention of 1V / Octave.") |
| 521 | (license license:gpl2))) |
| 522 | |
| 523 | (define-public aubio |
| 524 | (package |
| 525 | (name "aubio") |
| 526 | (version "0.4.9") |
| 527 | (source (origin |
| 528 | (method url-fetch) |
| 529 | (uri (string-append |
| 530 | "https://aubio.org/pub/aubio-" version ".tar.bz2")) |
| 531 | (sha256 |
| 532 | (base32 |
| 533 | "1npks71ljc48w6858l9bq30kaf5nph8z0v61jkfb70xb9np850nl")))) |
| 534 | (build-system waf-build-system) |
| 535 | (arguments |
| 536 | `(#:tests? #f ; no check target |
| 537 | #:configure-flags |
| 538 | (list |
| 539 | (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib") |
| 540 | "--enable-fftw3f" |
| 541 | "--enable-jack" |
| 542 | "--enable-sndfile" |
| 543 | "--enable-samplerate" |
| 544 | "--enable-avcodec") |
| 545 | #:python ,python-2)) |
| 546 | (inputs |
| 547 | `(("jack" ,jack-1) |
| 548 | ("libsndfile" ,libsndfile) |
| 549 | ("libsamplerate" ,libsamplerate) |
| 550 | ("fftwf" ,fftwf) |
| 551 | ("ffmpeg" ,ffmpeg))) ; for libavcodec |
| 552 | (native-inputs |
| 553 | `(("pkg-config" ,pkg-config))) |
| 554 | (home-page "https://aubio.org/") |
| 555 | (synopsis "Library for audio labelling") |
| 556 | (description |
| 557 | "aubio is a tool designed for the extraction of annotations from audio |
| 558 | signals. Its features include segmenting a sound file before each of its |
| 559 | attacks, performing pitch detection, tapping the beat and producing MIDI |
| 560 | streams from live audio.") |
| 561 | (license license:gpl3+))) |
| 562 | |
| 563 | (define (ardour-rpath-phase major-version) |
| 564 | `(lambda* (#:key outputs #:allow-other-keys) |
| 565 | (let ((libdir (string-append (assoc-ref outputs "out") |
| 566 | "/lib/ardour" ,major-version))) |
| 567 | (substitute* "wscript" |
| 568 | (("linker_flags = \\[\\]") |
| 569 | (string-append "linker_flags = [\"" |
| 570 | "-Wl,-rpath=" |
| 571 | libdir ":" |
| 572 | libdir "/backends" ":" |
| 573 | libdir "/engines" ":" |
| 574 | libdir "/panners" ":" |
| 575 | libdir "/surfaces" ":" |
| 576 | libdir "/vamp" "\"]")))) |
| 577 | #t)) |
| 578 | |
| 579 | (define-public ardour |
| 580 | (package |
| 581 | (name "ardour") |
| 582 | (version "5.12") |
| 583 | (source (origin |
| 584 | (method git-fetch) |
| 585 | (uri (git-reference |
| 586 | (url "https://git.ardour.org/ardour/ardour.git") |
| 587 | (commit version))) |
| 588 | (snippet |
| 589 | ;; Ardour expects this file to exist at build time. The revision |
| 590 | ;; is the output of |
| 591 | ;; git describe HEAD | sed 's/^[A-Za-z]*+//' |
| 592 | `(call-with-output-file |
| 593 | "libs/ardour/revision.cc" |
| 594 | (lambda (port) |
| 595 | (format port ,(string-append "#include \"ardour/revision.h\" |
| 596 | namespace ARDOUR { const char* revision = \"" version "\" ; }")) |
| 597 | #t))) |
| 598 | (sha256 |
| 599 | (base32 |
| 600 | "0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr")) |
| 601 | (file-name (string-append name "-" version)))) |
| 602 | (build-system waf-build-system) |
| 603 | (arguments |
| 604 | `(#:configure-flags '("--cxx11" ; required by gtkmm |
| 605 | "--no-phone-home" ; don't contact ardour.org |
| 606 | "--freedesktop" ; build .desktop file |
| 607 | "--test") ; build unit tests |
| 608 | #:phases |
| 609 | (modify-phases %standard-phases |
| 610 | (add-after 'unpack 'set-rpath-in-LDFLAGS |
| 611 | ,(ardour-rpath-phase (version-major version))) |
| 612 | (add-after 'install 'install-freedesktop-files |
| 613 | (lambda* (#:key outputs #:allow-other-keys) |
| 614 | (let* ((out (assoc-ref outputs "out")) |
| 615 | (share (string-append out "/share")) |
| 616 | (ver ,(version-major version))) |
| 617 | (for-each |
| 618 | (lambda (size) |
| 619 | (let ((dir (string-append share "/icons/hicolor/" |
| 620 | size "x" size "/apps"))) |
| 621 | (mkdir-p dir) |
| 622 | (copy-file |
| 623 | (string-append "gtk2_ardour/resources/Ardour-icon_" |
| 624 | size "px.png") |
| 625 | (string-append dir "/ardour" ver ".png")))) |
| 626 | '("16" "22" "32" "48" "256")) |
| 627 | (install-file (string-append "build/gtk2_ardour/ardour" |
| 628 | ver ".desktop") |
| 629 | (string-append share "/applications/")) |
| 630 | (install-file (string-append "build/gtk2_ardour/ardour" |
| 631 | ver ".appdata.xml") |
| 632 | (string-append share "/appdata/"))) |
| 633 | #t))) |
| 634 | #:test-target "test" |
| 635 | #:python ,python-2)) |
| 636 | (inputs |
| 637 | `(("alsa-lib" ,alsa-lib) |
| 638 | ("atkmm" ,atkmm) |
| 639 | ("aubio" ,aubio) |
| 640 | ("boost" ,boost) |
| 641 | ("cairomm" ,cairomm) |
| 642 | ("curl" ,curl) |
| 643 | ("eudev" ,eudev) |
| 644 | ("fftw" ,fftw) |
| 645 | ("fftwf" ,fftwf) |
| 646 | ("flac" ,flac) |
| 647 | ("glibmm" ,glibmm) |
| 648 | ("gtkmm" ,gtkmm-2) |
| 649 | ("jack" ,jack-1) |
| 650 | ("libarchive" ,libarchive) |
| 651 | ("libart-lgpl" ,libart-lgpl) |
| 652 | ("libgnomecanvasmm" ,libgnomecanvasmm) |
| 653 | ("liblo" ,liblo) |
| 654 | ("libogg" ,libogg) |
| 655 | ("libsamplerate" ,libsamplerate) |
| 656 | ("libsndfile" ,libsndfile) |
| 657 | ("libusb" ,libusb) |
| 658 | ("libvorbis" ,libvorbis) |
| 659 | ("libxml2" ,libxml2) |
| 660 | ("lilv" ,lilv) |
| 661 | ("lrdf" ,lrdf) |
| 662 | ("lv2" ,lv2) |
| 663 | ("pangomm" ,pangomm) |
| 664 | ("python-rdflib" ,python-rdflib) |
| 665 | ("readline" ,readline) |
| 666 | ("redland" ,redland) |
| 667 | ("rubberband" ,rubberband) |
| 668 | ("serd" ,serd) |
| 669 | ("sord" ,sord) |
| 670 | ("sratom" ,sratom) |
| 671 | ("suil" ,suil) |
| 672 | ("taglib" ,taglib) |
| 673 | ("vamp" ,vamp))) |
| 674 | (native-inputs |
| 675 | `(("cppunit" ,cppunit) |
| 676 | ("gettext" ,gettext-minimal) |
| 677 | ("itstool" ,itstool) |
| 678 | ("perl" ,perl) |
| 679 | ("pkg-config" ,pkg-config))) |
| 680 | (home-page "https://ardour.org") |
| 681 | (synopsis "Digital audio workstation") |
| 682 | (description |
| 683 | "Ardour is a multi-channel digital audio workstation, allowing users to |
| 684 | record, edit, mix and master audio and MIDI projects. It is targeted at audio |
| 685 | engineers, musicians, soundtrack editors and composers.") |
| 686 | (license license:gpl2+))) |
| 687 | |
| 688 | (define-public audacity |
| 689 | (package |
| 690 | (name "audacity") |
| 691 | (version "2.4.1") |
| 692 | (source |
| 693 | (origin |
| 694 | (method git-fetch) |
| 695 | (uri (git-reference |
| 696 | (url "https://github.com/audacity/audacity") |
| 697 | (commit (string-append "Audacity-" version)))) |
| 698 | (file-name (git-file-name name version)) |
| 699 | (sha256 |
| 700 | (base32 |
| 701 | "1xk0piv72d2xd3p7igr916fhcbrm76fhjr418k1rlqdzzg1hfljn")) |
| 702 | (patches (search-patches "audacity-build-with-system-portaudio.patch")) |
| 703 | (modules '((guix build utils))) |
| 704 | (snippet |
| 705 | ;; Remove bundled libraries. |
| 706 | '(begin |
| 707 | (for-each |
| 708 | (lambda (dir) |
| 709 | (delete-file-recursively (string-append "lib-src/" dir))) |
| 710 | '("expat" "ffmpeg" "lame" "libflac" "libid3tag" "libmad" "libogg" |
| 711 | "libsndfile" "libsoxr" "libvamp" "libvorbis" "lv2" |
| 712 | "portaudio-v19" "portmidi" "soundtouch" "twolame" |
| 713 | ;; FIXME: these libraries have not been packaged yet: |
| 714 | ;; "libnyquist" |
| 715 | ;; "libscorealign" |
| 716 | ;; "libwidgetextra" |
| 717 | ;; "portburn" |
| 718 | ;; "portsmf" |
| 719 | ;; "portmixer" |
| 720 | |
| 721 | ;; FIXME: we have this library, but it differs in that the Slide |
| 722 | ;; class does not have a member "getInverseStretchedTime". |
| 723 | ;; "sbsms" |
| 724 | )) |
| 725 | #t)))) |
| 726 | (build-system glib-or-gtk-build-system) |
| 727 | (inputs |
| 728 | `(("wxwidgets" ,wxwidgets) |
| 729 | ("gtk+" ,gtk+) |
| 730 | ("alsa-lib" ,alsa-lib) |
| 731 | ("jack" ,jack-1) |
| 732 | ("expat" ,expat) |
| 733 | ("ffmpeg" ,ffmpeg) |
| 734 | ("lame" ,lame) |
| 735 | ("flac" ,flac) |
| 736 | ("libid3tag" ,libid3tag) |
| 737 | ("libmad" ,libmad) |
| 738 | ;;("libsbsms" ,libsbsms) ;bundled version is modified |
| 739 | ("libsndfile" ,libsndfile) |
| 740 | ("soundtouch" ,soundtouch) |
| 741 | ("soxr" ,soxr) ;replaces libsamplerate |
| 742 | ("twolame" ,twolame) |
| 743 | ("vamp" ,vamp) |
| 744 | ("libvorbis" ,libvorbis) |
| 745 | ("lv2" ,lv2) |
| 746 | ("lilv" ,lilv) ;for lv2 |
| 747 | ("suil" ,suil) ;for lv2 |
| 748 | ("portaudio" ,portaudio) |
| 749 | ("portmidi" ,portmidi))) |
| 750 | (native-inputs |
| 751 | `(("autoconf" ,autoconf) |
| 752 | ("automake" ,automake) |
| 753 | ("gettext" ,gettext-minimal) ;for msgfmt |
| 754 | ("libtool" ,libtool) |
| 755 | ("pkg-config" ,pkg-config) |
| 756 | ("python" ,python-2) |
| 757 | ("which" ,which))) |
| 758 | (arguments |
| 759 | `(#:configure-flags |
| 760 | (let ((libid3tag (assoc-ref %build-inputs "libid3tag")) |
| 761 | (libmad (assoc-ref %build-inputs "libmad")) |
| 762 | (portmidi (assoc-ref %build-inputs "portmidi"))) |
| 763 | (list |
| 764 | ;; Loading FFmpeg dynamically is problematic. |
| 765 | "--disable-dynamic-loading" |
| 766 | ;; SSE instructions are available on Intel systems only. |
| 767 | ,@(if (any (cute string-prefix? <> (or (%current-target-system) |
| 768 | (%current-system))) |
| 769 | '("x86_64" "i686")) |
| 770 | '() |
| 771 | '("--enable-sse=no")) |
| 772 | ;; portmidi, libid3tag and libmad provide no .pc files, so |
| 773 | ;; pkg-config fails to find them. Force their inclusion. |
| 774 | (string-append "ID3TAG_CFLAGS=-I" libid3tag "/include") |
| 775 | (string-append "ID3TAG_LIBS=-L" libid3tag "/lib -lid3tag -lz") |
| 776 | (string-append "LIBMAD_CFLAGS=-I" libmad "/include") |
| 777 | (string-append "LIBMAD_LIBS=-L" libmad "/lib -lmad") |
| 778 | (string-append "PORTMIDI_CFLAGS=-I" portmidi "/include") |
| 779 | (string-append "PORTMIDI_LIBS=-L" portmidi "/lib -lportmidi") |
| 780 | "EXPAT_USE_SYSTEM=yes" |
| 781 | "FFMPEG_USE_SYSTEM=yes" |
| 782 | "LAME_USE_SYSTEM=yes" |
| 783 | "LIBFLAC_USE_SYSTEM=yes" |
| 784 | "LIBID3TAG_USE_SYSTEM=yes" |
| 785 | "LIBMAD_USE_SYSTEM=yes" |
| 786 | "USE_LOCAL_LIBNYQUIST=" ;not packaged yet |
| 787 | ;;"LIBSBSMS_USE_SYSTEM=yes" ;bundled version is patched |
| 788 | "LIBSNDFILE_USE_SYSTEM=yes" |
| 789 | "LIBSOUNDTOUCH_USE_SYSTEM=yes" |
| 790 | "LIBSOXR_USE_SYSTEM=yes" |
| 791 | "LIBTWOLAME_USE_SYSTEM=yes" |
| 792 | "LIBVAMP_USE_SYSTEM=yes" |
| 793 | "LIBVORBIS_USE_SYSTEM=yes" |
| 794 | "LV2_USE_SYSTEM=yes" |
| 795 | "PORTAUDIO_USE_SYSTEM=yes")) |
| 796 | #:phases |
| 797 | (modify-phases %standard-phases |
| 798 | (add-after 'unpack 'fix-sbsms-check |
| 799 | (lambda _ |
| 800 | ;; This check is wrong: there is no 2.2.0 release; not even the |
| 801 | ;; bundled sources match this release string. |
| 802 | (substitute* '("m4/audacity_checklib_libsbsms.m4" |
| 803 | "configure") |
| 804 | (("sbsms >= 2.2.0") "sbsms >= 2.0.0")) |
| 805 | #t)) |
| 806 | (add-after 'unpack 'use-upstream-headers |
| 807 | (lambda* (#:key inputs #:allow-other-keys) |
| 808 | (substitute* '("src/NoteTrack.cpp" |
| 809 | "src/AudioIO.cpp" |
| 810 | "src/AudioIO.h" |
| 811 | "src/AudioIOBase.cpp") |
| 812 | (("../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h") |
| 813 | (("../lib-src/portmidi/porttime/porttime.h") "porttime.h")) |
| 814 | (substitute* "src/prefs/MidiIOPrefs.cpp" |
| 815 | (("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h")) |
| 816 | #t))) |
| 817 | ;; The test suite is not "well exercised" according to the developers, |
| 818 | ;; and fails with various errors. See |
| 819 | ;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>. |
| 820 | #:tests? #f)) |
| 821 | (home-page "https://www.audacityteam.org/") |
| 822 | (synopsis "Software for recording and editing sounds") |
| 823 | (description |
| 824 | "Audacity is a multi-track audio editor designed for recording, playing |
| 825 | and editing digital audio. It features digital effects and spectrum analysis |
| 826 | tools.") |
| 827 | (license license:gpl2+))) |
| 828 | |
| 829 | (define-public audiofile |
| 830 | (package |
| 831 | (name "audiofile") |
| 832 | (version "0.3.6") |
| 833 | (source |
| 834 | (origin |
| 835 | (method url-fetch) |
| 836 | (uri (string-append |
| 837 | "https://audiofile.68k.org/audiofile-" version ".tar.gz")) |
| 838 | (sha256 |
| 839 | (base32 "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind")) |
| 840 | (patches |
| 841 | ;; CVE references according to nixpgs |
| 842 | (search-patches |
| 843 | "audiofile-fix-datatypes-in-tests.patch" |
| 844 | "audiofile-fix-sign-conversion.patch" |
| 845 | "audiofile-hurd.patch" |
| 846 | "audiofile-CVE-2015-7747.patch" |
| 847 | ;; CVE-2017-6829: |
| 848 | "audiofile-Fix-index-overflow-in-IMA.cpp.patch" |
| 849 | ;; CVE-2017-6827, CVE-2017-6828, CVE-2017-6832, CVE-2017-6835, |
| 850 | ;; CVE-2017-6837: |
| 851 | "audiofile-Check-the-number-of-coefficients.patch" |
| 852 | ;; CVE-2017-6839: |
| 853 | "audiofile-Fix-overflow-in-MSADPCM-decodeSam.patch" |
| 854 | ;; CVE-2017-6830, CVE-2017-6834, CVE-2017-6836, CVE-2017-6838: |
| 855 | "audiofile-Fix-multiply-overflow-sfconvert.patch" |
| 856 | "audiofile-signature-of-multiplyCheckOverflow.patch" |
| 857 | ;; CVE-2017-6831: |
| 858 | "audiofile-Fail-on-error-in-parseFormat.patch" |
| 859 | ;; CVE-2017-6833: |
| 860 | "audiofile-division-by-zero-BlockCodec-runPull.patch" |
| 861 | "audiofile-CVE-2018-13440.patch" |
| 862 | "audiofile-CVE-2018-17095.patch")))) |
| 863 | (build-system gnu-build-system) |
| 864 | (inputs |
| 865 | `(("alsa-lib" ,alsa-lib))) |
| 866 | (home-page "https://audiofile.68k.org/") |
| 867 | (synopsis "Library to handle various audio file formats") |
| 868 | (description "This is an open-source version of SGI's audiofile library. |
| 869 | It provides a uniform programming interface for processing of audio data to |
| 870 | and from audio files of many common formats. |
| 871 | |
| 872 | Currently supported file formats include AIFF/AIFF-C, WAVE, and NeXT/Sun |
| 873 | .snd/.au, BICS, and raw data. Supported compression formats are currently |
| 874 | G.711 mu-law and A-law.") |
| 875 | (license license:lgpl2.1+))) |
| 876 | |
| 877 | (define-public autotalent |
| 878 | (package |
| 879 | (name "autotalent") |
| 880 | (version "0.2") |
| 881 | (source (origin |
| 882 | (method url-fetch) |
| 883 | (uri (string-append "http://tombaran.info/autotalent-" |
| 884 | version ".tar.gz")) |
| 885 | (sha256 |
| 886 | (base32 |
| 887 | "1n04qm66f14195ly6gsy3ra7v2j7zad5n19d8dwfmh0qs6h9hphh")))) |
| 888 | (build-system gnu-build-system) |
| 889 | (arguments |
| 890 | `(#:tests? #f ; no check target |
| 891 | #:phases |
| 892 | (modify-phases %standard-phases |
| 893 | ;; no configure script |
| 894 | (delete 'configure) |
| 895 | (add-before 'install 'prepare-target-directory |
| 896 | (lambda* (#:key outputs #:allow-other-keys) |
| 897 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 898 | #t)) |
| 899 | (add-after 'unpack 'override-target-directory |
| 900 | (lambda* (#:key outputs #:allow-other-keys) |
| 901 | (substitute* "Makefile" |
| 902 | (("/usr/lib64/ladspa") |
| 903 | (string-append (assoc-ref outputs "out") "/lib/ladspa"))) |
| 904 | #t))))) |
| 905 | (inputs |
| 906 | `(("ladspa" ,ladspa))) |
| 907 | (home-page "http://tombaran.info/autotalent.html") |
| 908 | (synopsis "Pitch-correction LADSPA audio plugin") |
| 909 | (description |
| 910 | "Autotalent is a LADSPA plugin for real-time pitch-correction. Among its |
| 911 | controls are allowable notes, strength of correction, LFO for vibrato and |
| 912 | formant warp.") |
| 913 | ;; All code except the FFT routine is licensed under GPLv2+. |
| 914 | ;; The FFT routine is under BSD-3. |
| 915 | (license license:gpl2+))) |
| 916 | |
| 917 | (define-public azr3 |
| 918 | (package |
| 919 | (name "azr3") |
| 920 | (version "1.2.3") |
| 921 | (source (origin |
| 922 | (method url-fetch) |
| 923 | (uri (string-append "mirror://savannah/ll-plugins/azr3-jack-" |
| 924 | version |
| 925 | ".tar.bz2")) |
| 926 | (sha256 |
| 927 | (base32 |
| 928 | "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc")) |
| 929 | (patches (search-patches "azr3.patch")))) |
| 930 | (build-system gnu-build-system) |
| 931 | (arguments |
| 932 | `(#:tests? #f ; no check target |
| 933 | #:make-flags |
| 934 | (list "LV2PEG=ttl2c" |
| 935 | (string-append "prefix=" %output) |
| 936 | (string-append "pkgdatadir=" %output "/share/azr3-jack")) |
| 937 | #:phases |
| 938 | (modify-phases %standard-phases |
| 939 | (add-before 'install 'fix-timestamp |
| 940 | (lambda _ |
| 941 | (let ((early-1980 315619200)) ; 1980-01-02 UTC |
| 942 | (utime "azr3.1" early-1980 early-1980)) |
| 943 | #t))))) |
| 944 | (inputs |
| 945 | `(("gtkmm" ,gtkmm-2) |
| 946 | ("lvtk" ,lvtk) |
| 947 | ("jack" ,jack-1) |
| 948 | ("lash" ,lash))) |
| 949 | (native-inputs |
| 950 | `(("pkg-config" ,pkg-config))) |
| 951 | (home-page "http://ll-plugins.nongnu.org/azr3/") |
| 952 | (synopsis "Tonewheel organ synthesizer") |
| 953 | (description |
| 954 | "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ |
| 955 | with drawbars, distortion and rotating speakers. The organ has three |
| 956 | sections, two polyphonic sections with nine drawbars each and one monophonic |
| 957 | bass section with five drawbars. A standalone JACK application and LV2 |
| 958 | plugins are provided.") |
| 959 | (license license:gpl2))) |
| 960 | |
| 961 | (define-public calf |
| 962 | (package |
| 963 | (name "calf") |
| 964 | (version "0.90.3") |
| 965 | (source (origin |
| 966 | (method url-fetch) |
| 967 | (uri (string-append "https://calf-studio-gear.org/files/calf-" |
| 968 | version ".tar.gz")) |
| 969 | (sha256 |
| 970 | (base32 |
| 971 | "17x4hylgq4dn9qycsdacfxy64f5cv57n2qgkvsdp524gnqzw4az3")))) |
| 972 | (build-system gnu-build-system) |
| 973 | (inputs |
| 974 | `(("fluidsynth" ,fluidsynth) |
| 975 | ("expat" ,expat) |
| 976 | ("glib" ,glib) |
| 977 | ("gtk" ,gtk+-2) |
| 978 | ("cairo" ,cairo) |
| 979 | ("lash" ,lash) |
| 980 | ("jack" ,jack-1) |
| 981 | ("lv2" ,lv2) |
| 982 | ("ladspa" ,ladspa) |
| 983 | ("fftw" ,fftw))) |
| 984 | (native-inputs |
| 985 | `(("pkg-config" ,pkg-config))) |
| 986 | (native-search-paths |
| 987 | (list (search-path-specification |
| 988 | (variable "LV2_PATH") |
| 989 | (files '("lib/lv2"))))) |
| 990 | (home-page "http://calf.sourceforge.net/") |
| 991 | (synopsis "Audio plug-in pack for LV2 and JACK environments") |
| 992 | (description |
| 993 | "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments. |
| 994 | The suite contains lots of effects (delay, modulation, signal processing, |
| 995 | filters, equalizers, dynamics, distortion and mastering effects), |
| 996 | instruments (SF2 player, organ simulator and a monophonic synthesizer) and |
| 997 | tools (analyzer, mono/stereo tools, crossovers).") |
| 998 | ;; calfjackhost is released under GPLv2+ |
| 999 | ;; The plugins are released under LGPLv2.1+ |
| 1000 | (license (list license:lgpl2.1+ license:gpl2+)))) |
| 1001 | |
| 1002 | (define-public caps-plugins-lv2 |
| 1003 | (package |
| 1004 | (name "caps-plugins-lv2") |
| 1005 | (version "0.9.24") ; version that has been ported. |
| 1006 | (source |
| 1007 | (origin |
| 1008 | ;; The Github project hasn't tagged a release. |
| 1009 | (method git-fetch) |
| 1010 | (uri (git-reference |
| 1011 | ;; Actually https://github.com/moddevices/caps-lv2.git, but it's |
| 1012 | ;; missing fixes for newer glibc, so using the origin of a pull |
| 1013 | ;; request regarding this issue: |
| 1014 | (url "https://github.com/jujudusud/caps-lv2") |
| 1015 | (commit "9c9478b7fbd8f9714f552ebe2a6866398b0babfb"))) |
| 1016 | (file-name (git-file-name name version)) |
| 1017 | (sha256 |
| 1018 | (base32 |
| 1019 | "1idfnazin3cca41zw1a8vwgnxjnkrap7bxxjamjqvgpmvydgcam1")))) |
| 1020 | (build-system gnu-build-system) |
| 1021 | (arguments |
| 1022 | `(#:tests? #f ; no check target |
| 1023 | #:phases |
| 1024 | (modify-phases %standard-phases |
| 1025 | ;; no configure script |
| 1026 | (delete 'configure) |
| 1027 | (add-after 'unpack 'override-target-directory |
| 1028 | (lambda* (#:key outputs #:allow-other-keys) |
| 1029 | (substitute* (find-files "plugins" "Makefile") |
| 1030 | (("/usr/local")(assoc-ref outputs "out"))) |
| 1031 | #t))))) |
| 1032 | (inputs |
| 1033 | `(("lv2" ,lv2))) |
| 1034 | ;; home-page of the original LADSPA version: http://quitte.de/dsp/caps.html |
| 1035 | (home-page "https://github.com/moddevices/caps-lv2") |
| 1036 | (synopsis "LV2 port of the CAPS audio plugin colection") |
| 1037 | (description |
| 1038 | "LV2 port of CAPS, a collection of audio plugins comprising basic virtual |
| 1039 | guitar amplification and a small range of classic effects, signal processors and |
| 1040 | generators of mostly elementary and occasionally exotic nature.") |
| 1041 | (license license:gpl3+))) |
| 1042 | |
| 1043 | (define-public infamous-plugins |
| 1044 | (package |
| 1045 | (name "infamous-plugins") |
| 1046 | (version "0.2.04") |
| 1047 | (source (origin |
| 1048 | (method git-fetch) |
| 1049 | (uri (git-reference |
| 1050 | (url "https://github.com/ssj71/infamousPlugins") |
| 1051 | (commit (string-append "v" version)))) |
| 1052 | (file-name (git-file-name name version)) |
| 1053 | (sha256 |
| 1054 | (base32 |
| 1055 | "0hmqk80w4qxq09iag7b7srf2g0wigkyhzq0ywxvhz2iz0hq9k0dh")))) |
| 1056 | (build-system cmake-build-system) |
| 1057 | (arguments |
| 1058 | `(#:tests? #f ; there are no tests |
| 1059 | #:phases |
| 1060 | (modify-phases %standard-phases |
| 1061 | (add-after 'unpack 'remove-compiler-flags |
| 1062 | (lambda _ |
| 1063 | (substitute* (find-files "." "CMakeLists.txt") |
| 1064 | (("-msse2 -mfpmath=sse") "")) |
| 1065 | #t))))) |
| 1066 | (inputs |
| 1067 | `(("cairo" ,cairo) |
| 1068 | ("fftwf" ,fftwf) |
| 1069 | ("lv2" ,lv2) |
| 1070 | ("ntk" ,ntk) |
| 1071 | ("zita-resampler" ,zita-resampler))) |
| 1072 | (native-inputs |
| 1073 | `(("pkg-config" ,pkg-config))) |
| 1074 | (home-page "https://ssj71.github.io/infamousPlugins") |
| 1075 | (synopsis "LV2 plugins for live use") |
| 1076 | (description |
| 1077 | "The infamous plugins are a collection of LV2 audio plugins for live |
| 1078 | performances. The plugins include a cellular automaton synthesizer, an |
| 1079 | envelope follower, distortion effects, tape effects and more.") |
| 1080 | (license license:gpl2+))) |
| 1081 | |
| 1082 | (define-public swh-plugins |
| 1083 | (package |
| 1084 | (name "swh-plugins") |
| 1085 | (version "0.4.17") |
| 1086 | (source (origin |
| 1087 | (method git-fetch) |
| 1088 | (uri (git-reference |
| 1089 | (url "https://github.com/swh/ladspa") |
| 1090 | (commit (string-append "v" version)))) |
| 1091 | (file-name (git-file-name name version)) |
| 1092 | (sha256 |
| 1093 | (base32 |
| 1094 | "1c98z2xxz9pgcb4dg99gz8qrylh5cnag0j18a52d88ifsy24isvq")))) |
| 1095 | (native-inputs |
| 1096 | `(("autoconf" ,autoconf) |
| 1097 | ("automake" ,automake) |
| 1098 | ("gettext" ,gettext-minimal) ;for autopoint |
| 1099 | ("libtool" ,libtool) |
| 1100 | ("perl" ,perl) |
| 1101 | ("pkg-config" ,pkg-config) |
| 1102 | ("which" ,which))) |
| 1103 | (inputs |
| 1104 | `(("fftwf" ,fftwf) |
| 1105 | ("perl-xml-parser" ,perl-xml-parser))) |
| 1106 | (build-system gnu-build-system) |
| 1107 | (home-page "http://plugin.org.uk") |
| 1108 | (synopsis "The SWH Plugins package for the LADSPA plugin system") |
| 1109 | (description "This package provides Steve Harris's LADSPA plugins.") |
| 1110 | (license license:gpl2+))) |
| 1111 | |
| 1112 | (define-public swh-plugins-lv2 |
| 1113 | (package |
| 1114 | (name "swh-plugins-lv2") |
| 1115 | (version "1.0.16") |
| 1116 | (source (origin |
| 1117 | (method git-fetch) |
| 1118 | (uri (git-reference |
| 1119 | (url "https://github.com/swh/lv2") |
| 1120 | (commit (string-append "v" version)))) |
| 1121 | (file-name (git-file-name name version)) |
| 1122 | (sha256 |
| 1123 | (base32 |
| 1124 | "0y7nnww864mm4k6ayy2lhcws3wlbhb2gkyjbrwk921fvc18qk9mz")))) |
| 1125 | (build-system gnu-build-system) |
| 1126 | (arguments |
| 1127 | `(#:tests? #f ; no check target |
| 1128 | #:make-flags (list "CC=gcc" |
| 1129 | (string-append "PREFIX=" |
| 1130 | (assoc-ref %outputs "out"))) |
| 1131 | #:phases |
| 1132 | (modify-phases %standard-phases |
| 1133 | ;; no configure script |
| 1134 | (delete 'configure) |
| 1135 | (add-after 'unpack 'patch-makefile-and-enter-directory |
| 1136 | ;; The default install target doesn't install, but the |
| 1137 | ;; "install-system" target does. |
| 1138 | (lambda _ |
| 1139 | (substitute* "Makefile" |
| 1140 | (("install:") "install: install-system")) |
| 1141 | #t))))) |
| 1142 | (inputs |
| 1143 | `(("lv2" ,lv2) |
| 1144 | ("fftwf" ,fftwf))) |
| 1145 | (native-inputs |
| 1146 | `(("libxslt" ,libxslt) |
| 1147 | ("pkg-config" ,pkg-config))) |
| 1148 | (home-page "http://plugin.org.uk") |
| 1149 | (synopsis "SWH plugins in LV2 format") |
| 1150 | (description |
| 1151 | "Swh-plugins-lv2 is a collection of audio plugins in LV2 format. Plugin |
| 1152 | classes include: dynamics (compressor, limiter), time (delay, chorus, |
| 1153 | flanger), ringmodulator, distortion, filters, pitchshift, oscillators, |
| 1154 | emulation (valve, tape), bit fiddling (decimator, pointer-cast), etc.") |
| 1155 | (license license:gpl3+))) |
| 1156 | |
| 1157 | (define-public tao |
| 1158 | (package |
| 1159 | (name "tao") |
| 1160 | (version "1.0-beta-10May2006") |
| 1161 | (source (origin |
| 1162 | (method url-fetch) |
| 1163 | (uri (string-append "mirror://sourceforge/taopm/Tao/" |
| 1164 | "tao-" version "/" |
| 1165 | "tao-" version ".tar.gz")) |
| 1166 | (sha256 |
| 1167 | (base32 |
| 1168 | "156py3g6mmglldfd0j76bn7n242hdwf49diaprjpj7crp8vgf2pz")) |
| 1169 | (patches |
| 1170 | (search-patches "tao-add-missing-headers.patch" |
| 1171 | "tao-fix-parser-types.patch")) |
| 1172 | (modules '((guix build utils))) |
| 1173 | (snippet |
| 1174 | '(begin |
| 1175 | (substitute* "configure" |
| 1176 | (("SHELL=/bin/sh") "")) |
| 1177 | #t)))) |
| 1178 | (build-system gnu-build-system) |
| 1179 | (arguments |
| 1180 | '(#:configure-flags '("TAO_RELEASE=-beta") |
| 1181 | #:phases |
| 1182 | (modify-phases %standard-phases |
| 1183 | (add-after 'unpack 'fix-references |
| 1184 | (lambda* (#:key outputs #:allow-other-keys) |
| 1185 | (substitute* "user-scripts/tao.in" |
| 1186 | (("taoparse") |
| 1187 | (string-append (assoc-ref outputs "out") "/bin/taoparse")) |
| 1188 | (("grep") (which "grep")) |
| 1189 | (("sed -f \\$distdir/user-scripts/") |
| 1190 | (string-append (which "sed") " -f $distdir/")) |
| 1191 | (("distdir=.*") |
| 1192 | (string-append "distdir=" |
| 1193 | (assoc-ref outputs "out") "/share/tao"))) |
| 1194 | #t)) |
| 1195 | (add-after 'install 'install-extra-files |
| 1196 | (lambda* (#:key outputs #:allow-other-keys) |
| 1197 | (let* ((out (assoc-ref outputs "out")) |
| 1198 | (share (string-append out "/share/tao/")) |
| 1199 | (inc (string-append out "/include/tao/"))) |
| 1200 | (mkdir-p share) |
| 1201 | (mkdir-p inc) |
| 1202 | (install-file "user-scripts/error.parse" share) |
| 1203 | (copy-recursively "examples" (string-append share "examples")) |
| 1204 | (for-each (lambda (file) (install-file file inc)) |
| 1205 | (find-files "include" "\\.h")) |
| 1206 | #t)))))) |
| 1207 | (inputs |
| 1208 | `(("audiofile" ,audiofile) |
| 1209 | ("libxi" ,libxi) |
| 1210 | ("libxmu" ,libxmu) |
| 1211 | ("mesa" ,mesa) |
| 1212 | ("glut" ,freeglut) |
| 1213 | ("flex" ,flex) |
| 1214 | ("bison" ,bison) |
| 1215 | ("sed" ,sed) |
| 1216 | ("grep" ,grep))) |
| 1217 | (home-page "http://taopm.sourceforge.net/") |
| 1218 | (synopsis "Sound Synthesis with Physical Models") |
| 1219 | (description "Tao is a software package for sound synthesis using physical |
| 1220 | models. It provides a virtual acoustic material constructed from masses and |
| 1221 | springs which can be used as the basis for building quite complex virtual |
| 1222 | musical instruments. Tao comes with a synthesis language for creating and |
| 1223 | playing instruments and a C++ API for those who would like to use it as an |
| 1224 | object library.") |
| 1225 | (license license:gpl2+))) |
| 1226 | |
| 1227 | (define-public csound |
| 1228 | (package |
| 1229 | (name "csound") |
| 1230 | (version "6.14.0") |
| 1231 | (source |
| 1232 | (origin |
| 1233 | (method git-fetch) |
| 1234 | (uri (git-reference |
| 1235 | (url "https://github.com/csound/csound") |
| 1236 | (commit version))) |
| 1237 | (file-name (git-file-name name version)) |
| 1238 | (sha256 |
| 1239 | (base32 "1sr9knfhbm2m0wpkjq2l5n471vnl51wy4p6j4m95zqybimzb4s2j")))) |
| 1240 | (build-system cmake-build-system) |
| 1241 | (native-inputs |
| 1242 | `(("bison" ,bison) |
| 1243 | ("flex" ,flex) |
| 1244 | ("gettext" ,gettext-minimal) |
| 1245 | ("zlib" ,zlib))) |
| 1246 | (inputs |
| 1247 | `(("alsa-lib" ,alsa-lib) |
| 1248 | ("boost" ,boost) |
| 1249 | ("jack" ,jack-1) |
| 1250 | ("ladspa" ,ladspa) |
| 1251 | ("liblo" ,liblo) |
| 1252 | ("libsndfile" ,libsndfile) |
| 1253 | ("pulseaudio" ,pulseaudio))) |
| 1254 | (home-page "https://csound.com/") |
| 1255 | (synopsis "Sound and music computing system") |
| 1256 | (description |
| 1257 | "Csound is a user-programmable and user-extensible sound processing |
| 1258 | language and software synthesizer.") |
| 1259 | (license license:lgpl2.1+))) |
| 1260 | |
| 1261 | (define-public clalsadrv |
| 1262 | (package |
| 1263 | (name "clalsadrv") |
| 1264 | (version "2.0.0") |
| 1265 | (source (origin |
| 1266 | (method url-fetch) |
| 1267 | (uri (string-append |
| 1268 | "http://kokkinizita.linuxaudio.org" |
| 1269 | "/linuxaudio/downloads/clalsadrv-" |
| 1270 | version ".tar.bz2")) |
| 1271 | (sha256 |
| 1272 | (base32 |
| 1273 | "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq")))) |
| 1274 | (build-system gnu-build-system) |
| 1275 | (arguments |
| 1276 | `(#:tests? #f ; no "check" target |
| 1277 | #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) |
| 1278 | #:phases |
| 1279 | (modify-phases %standard-phases |
| 1280 | (add-after 'unpack 'patch-makefile-and-enter-directory |
| 1281 | (lambda _ |
| 1282 | (substitute* "libs/Makefile" |
| 1283 | (("/sbin/ldconfig") "true") |
| 1284 | (("^LIBDIR =.*") "LIBDIR = lib\n")) |
| 1285 | (chdir "libs") |
| 1286 | #t)) |
| 1287 | (add-after 'install 'install-symlink |
| 1288 | (lambda _ |
| 1289 | (symlink "libclalsadrv.so" |
| 1290 | (string-append (assoc-ref %outputs "out") |
| 1291 | "/lib/libclalsadrv.so.2")) |
| 1292 | #t)) |
| 1293 | ;; no configure script |
| 1294 | (delete 'configure)))) |
| 1295 | (inputs |
| 1296 | `(("alsa-lib" ,alsa-lib) |
| 1297 | ("fftw" ,fftw))) |
| 1298 | (home-page "https://kokkinizita.linuxaudio.org") |
| 1299 | (synopsis "C++ wrapper around the ALSA API") |
| 1300 | (description |
| 1301 | "clalsadrv is a C++ wrapper around the ALSA API simplifying access to |
| 1302 | ALSA PCM devices.") |
| 1303 | (license license:gpl2+))) |
| 1304 | |
| 1305 | (define-public amb-plugins |
| 1306 | (package |
| 1307 | (name "amb-plugins") |
| 1308 | (version "0.8.1") |
| 1309 | (source (origin |
| 1310 | (method url-fetch) |
| 1311 | (uri (string-append |
| 1312 | "http://kokkinizita.linuxaudio.org" |
| 1313 | "/linuxaudio/downloads/AMB-plugins-" |
| 1314 | version ".tar.bz2")) |
| 1315 | (sha256 |
| 1316 | (base32 |
| 1317 | "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl")))) |
| 1318 | (build-system gnu-build-system) |
| 1319 | (arguments |
| 1320 | `(#:tests? #f ; no "check" target |
| 1321 | #:phases |
| 1322 | (modify-phases %standard-phases |
| 1323 | ;; no configure script |
| 1324 | (delete 'configure) |
| 1325 | (add-before 'install 'prepare-target-directory |
| 1326 | (lambda* (#:key outputs #:allow-other-keys) |
| 1327 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 1328 | #t)) |
| 1329 | (add-after 'unpack 'override-target-directory-and-tool-paths |
| 1330 | (lambda* (#:key outputs #:allow-other-keys) |
| 1331 | (substitute* "Makefile" |
| 1332 | (("/usr/lib/ladspa") |
| 1333 | (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 1334 | (("/usr/bin/install") (which "install")) |
| 1335 | (("/bin/rm") "#")) |
| 1336 | #t))))) |
| 1337 | (home-page "https://kokkinizita.linuxaudio.org") |
| 1338 | (synopsis "LADSPA ambisonics plugins") |
| 1339 | (description |
| 1340 | "The AMB plugins are a set of LADSPA ambisonics plugins, mainly to be |
| 1341 | used within Ardour. Features include: mono and stereo to B-format panning, |
| 1342 | horizontal rotator, square, hexagon and cube decoders.") |
| 1343 | (license license:gpl2+))) |
| 1344 | |
| 1345 | (define-public mcp-plugins |
| 1346 | (package |
| 1347 | (name "mcp-plugins") |
| 1348 | (version "0.4.0") |
| 1349 | (source (origin |
| 1350 | (method url-fetch) |
| 1351 | (uri (string-append |
| 1352 | "http://kokkinizita.linuxaudio.org" |
| 1353 | "/linuxaudio/downloads/MCP-plugins-" |
| 1354 | version ".tar.bz2")) |
| 1355 | (sha256 |
| 1356 | (base32 |
| 1357 | "06a9r1l85jmg7l1cvc3788mk8ra0xagjfy1rmhw3b80y4n0vlnvc")))) |
| 1358 | (build-system gnu-build-system) |
| 1359 | (arguments |
| 1360 | `(#:tests? #f ; no "check" target |
| 1361 | #:phases |
| 1362 | (modify-phases %standard-phases |
| 1363 | ;; no configure script |
| 1364 | (delete 'configure) |
| 1365 | (add-before 'install 'prepare-target-directory |
| 1366 | (lambda* (#:key outputs #:allow-other-keys) |
| 1367 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 1368 | #t)) |
| 1369 | (add-after 'unpack 'override-target-directory |
| 1370 | (lambda* (#:key outputs #:allow-other-keys) |
| 1371 | (substitute* "Makefile" |
| 1372 | (("/usr") (assoc-ref outputs "out"))) |
| 1373 | #t))))) |
| 1374 | (home-page "https://kokkinizita.linuxaudio.org") |
| 1375 | (synopsis "Chorus, phaser, and vintage high-pass and low-pass filters") |
| 1376 | (description |
| 1377 | "This package provides various LADSPA plugins. @code{cs_chorus} and |
| 1378 | @code{cs_phaser} provide chorus and phaser effects, respectively; |
| 1379 | @code{mvclpf24} provides four implementations of the low-pass filter used in |
| 1380 | vintage Moog synthesizers; @code{mvchpf24} is based on the voltage-controlled |
| 1381 | high-pass filter by Robert Moog. The filters attempt to accurately emulate |
| 1382 | the non-linear circuit elements of their original analog counterparts.") |
| 1383 | (license license:gpl2+))) |
| 1384 | |
| 1385 | (define-public rev-plugins |
| 1386 | (package |
| 1387 | (name "rev-plugins") |
| 1388 | (version "0.7.1") |
| 1389 | (source (origin |
| 1390 | (method url-fetch) |
| 1391 | (uri (string-append |
| 1392 | "http://kokkinizita.linuxaudio.org" |
| 1393 | "/linuxaudio/downloads/REV-plugins-" |
| 1394 | version ".tar.bz2")) |
| 1395 | (sha256 |
| 1396 | (base32 |
| 1397 | "1ikpinxm00pkfi259bnkzhsy3miagrjgdihaaf5x4v7zac29j3g7")))) |
| 1398 | (build-system gnu-build-system) |
| 1399 | (arguments |
| 1400 | `(#:tests? #f ; no "check" target |
| 1401 | #:phases |
| 1402 | (modify-phases %standard-phases |
| 1403 | ;; no configure script |
| 1404 | (delete 'configure) |
| 1405 | (add-before 'install 'prepare-target-directory |
| 1406 | (lambda* (#:key outputs #:allow-other-keys) |
| 1407 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 1408 | #t)) |
| 1409 | (add-after 'unpack 'override-target-directory |
| 1410 | (lambda* (#:key outputs #:allow-other-keys) |
| 1411 | (substitute* "Makefile" |
| 1412 | (("/usr") (assoc-ref outputs "out"))) |
| 1413 | #t))))) |
| 1414 | (home-page "https://kokkinizita.linuxaudio.org") |
| 1415 | (synopsis "LADSPA reverb plugin") |
| 1416 | (description |
| 1417 | "This package provides a stereo reverb LADSPA plugin based on the |
| 1418 | well-known greverb.") |
| 1419 | (license license:gpl2+))) |
| 1420 | |
| 1421 | (define-public fil-plugins |
| 1422 | (package |
| 1423 | (name "fil-plugins") |
| 1424 | (version "0.3.0") |
| 1425 | (source (origin |
| 1426 | (method url-fetch) |
| 1427 | (uri (string-append |
| 1428 | "http://kokkinizita.linuxaudio.org" |
| 1429 | "/linuxaudio/downloads/FIL-plugins-" |
| 1430 | version ".tar.bz2")) |
| 1431 | (sha256 |
| 1432 | (base32 |
| 1433 | "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw")))) |
| 1434 | (build-system gnu-build-system) |
| 1435 | (arguments |
| 1436 | `(#:tests? #f ; no "check" target |
| 1437 | #:phases |
| 1438 | (modify-phases %standard-phases |
| 1439 | ;; no configure script |
| 1440 | (delete 'configure) |
| 1441 | (add-before 'install 'prepare-target-directory |
| 1442 | (lambda* (#:key outputs #:allow-other-keys) |
| 1443 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 1444 | #t)) |
| 1445 | (add-after 'unpack 'override-target-directory |
| 1446 | (lambda* (#:key outputs #:allow-other-keys) |
| 1447 | (substitute* "Makefile" |
| 1448 | (("/usr") (assoc-ref outputs "out"))) |
| 1449 | #t))))) |
| 1450 | (home-page "https://kokkinizita.linuxaudio.org") |
| 1451 | (synopsis "LADSPA four-band parametric equalizer plugin") |
| 1452 | (description |
| 1453 | "This package provides a LADSPA plugin for a four-band parametric |
| 1454 | equalizer. Each section has an active/bypass switch, frequency, bandwidth and |
| 1455 | gain controls. There is also a global bypass switch and gain control. |
| 1456 | |
| 1457 | The 2nd order resonant filters are implemented using a Mitra-Regalia style |
| 1458 | lattice filter, which is stable even while parameters are being changed. |
| 1459 | |
| 1460 | All switches and controls are internally smoothed, so they can be used @code{live} |
| 1461 | without any clicks or zipper noises. This makes this plugin suitable for use |
| 1462 | in systems that allow automation of plugin control ports, such as Ardour, or |
| 1463 | for stage use.") |
| 1464 | (license license:gpl2+))) |
| 1465 | |
| 1466 | (define-public ste-plugins |
| 1467 | (package |
| 1468 | (name "ste-plugins") |
| 1469 | (version "0.0.2") |
| 1470 | (source (origin |
| 1471 | (method url-fetch) |
| 1472 | (uri (string-append |
| 1473 | "http://kokkinizita.linuxaudio.org" |
| 1474 | "/linuxaudio/downloads/STE-plugins-" |
| 1475 | version ".tar.bz2")) |
| 1476 | (sha256 |
| 1477 | (base32 |
| 1478 | "0s3c9w5xihs87cnd1lh9xgj3maabjdyh6bl766qp5lhkg3ax8zy6")))) |
| 1479 | (build-system gnu-build-system) |
| 1480 | (arguments |
| 1481 | `(#:tests? #f ; no "check" target |
| 1482 | #:phases |
| 1483 | (modify-phases %standard-phases |
| 1484 | ;; no configure script |
| 1485 | (delete 'configure) |
| 1486 | (add-before 'install 'prepare-target-directory |
| 1487 | (lambda* (#:key outputs #:allow-other-keys) |
| 1488 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 1489 | #t)) |
| 1490 | (add-after 'unpack 'override-target-directory |
| 1491 | (lambda* (#:key outputs #:allow-other-keys) |
| 1492 | (substitute* "Makefile" |
| 1493 | (("/usr") (assoc-ref outputs "out"))) |
| 1494 | #t))))) |
| 1495 | (home-page "https://kokkinizita.linuxaudio.org") |
| 1496 | (synopsis "LADSPA stereo width plugin") |
| 1497 | (description |
| 1498 | "This package provides a LADSPA plugin to manipulate the stereo width of |
| 1499 | audio signals.") |
| 1500 | (license license:gpl2+))) |
| 1501 | |
| 1502 | (define-public vco-plugins |
| 1503 | (package |
| 1504 | (name "vco-plugins") |
| 1505 | (version "0.3.0") |
| 1506 | (source (origin |
| 1507 | (method url-fetch) |
| 1508 | (uri (string-append |
| 1509 | "http://kokkinizita.linuxaudio.org" |
| 1510 | "/linuxaudio/downloads/VCO-plugins-" |
| 1511 | version ".tar.bz2")) |
| 1512 | (sha256 |
| 1513 | (base32 |
| 1514 | "1xzqdg3b07r7zww05y9bb737l9dxvfkv28m3fyak1aazaci3rsgl")))) |
| 1515 | (build-system gnu-build-system) |
| 1516 | (arguments |
| 1517 | `(#:tests? #f ; no "check" target |
| 1518 | #:phases |
| 1519 | (modify-phases %standard-phases |
| 1520 | ;; no configure script |
| 1521 | (delete 'configure) |
| 1522 | (add-before 'install 'prepare-target-directory |
| 1523 | (lambda* (#:key outputs #:allow-other-keys) |
| 1524 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 1525 | #t)) |
| 1526 | (add-after 'unpack 'override-target-directory |
| 1527 | (lambda* (#:key outputs #:allow-other-keys) |
| 1528 | (substitute* "Makefile" |
| 1529 | (("/usr") (assoc-ref outputs "out")) |
| 1530 | (("/bin/cp") (which "cp"))) |
| 1531 | #t))))) |
| 1532 | (home-page "https://kokkinizita.linuxaudio.org") |
| 1533 | (synopsis "LADSPA plugin for synthesizer oscillators") |
| 1534 | (description |
| 1535 | "The @code{blvco} LADSPA plugin provides three anti-aliased oscillators: |
| 1536 | |
| 1537 | @enumerate |
| 1538 | @item Pulse-VCO, a dirac pulse oscillator with flat amplitude spectrum |
| 1539 | @item Saw-VCO, a sawtooth oscillator with 1/F amplitude spectrum |
| 1540 | @item Rec-VCO, a square / rectangle oscillator |
| 1541 | @end enumerate\n |
| 1542 | |
| 1543 | All oscillators are low-pass filtered to provide waveforms similar to the |
| 1544 | output of analog synthesizers such as the Moog Voyager.") |
| 1545 | (license license:gpl2+))) |
| 1546 | |
| 1547 | (define-public wah-plugins |
| 1548 | (package |
| 1549 | (name "wah-plugins") |
| 1550 | (version "0.1.0") |
| 1551 | (source (origin |
| 1552 | (method url-fetch) |
| 1553 | (uri (string-append |
| 1554 | "http://kokkinizita.linuxaudio.org" |
| 1555 | "/linuxaudio/downloads/WAH-plugins-" |
| 1556 | version ".tar.bz2")) |
| 1557 | (sha256 |
| 1558 | (base32 |
| 1559 | "1wkbjarxdhjixkh7d5abralj11dj2xxg644fz3ycd7qyfgfvjfgd")))) |
| 1560 | (build-system gnu-build-system) |
| 1561 | (arguments |
| 1562 | `(#:tests? #f ; no "check" target |
| 1563 | #:phases |
| 1564 | (modify-phases %standard-phases |
| 1565 | ;; no configure script |
| 1566 | (delete 'configure) |
| 1567 | (add-before 'install 'prepare-target-directory |
| 1568 | (lambda* (#:key outputs #:allow-other-keys) |
| 1569 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 1570 | #t)) |
| 1571 | (add-after 'unpack 'override-target-directory |
| 1572 | (lambda* (#:key outputs #:allow-other-keys) |
| 1573 | (substitute* "Makefile" |
| 1574 | (("/usr") (assoc-ref outputs "out"))) |
| 1575 | #t))))) |
| 1576 | (home-page "https://kokkinizita.linuxaudio.org") |
| 1577 | (synopsis "LADSPA Autowah effect plugin") |
| 1578 | (description |
| 1579 | "This package provides a LADSPA plugin for a Wah effect with envelope |
| 1580 | follower.") |
| 1581 | (license license:gpl2+))) |
| 1582 | |
| 1583 | (define-public g2reverb |
| 1584 | (package |
| 1585 | (name "g2reverb") |
| 1586 | (version "0.7.1") |
| 1587 | (source (origin |
| 1588 | (method url-fetch) |
| 1589 | (uri (string-append |
| 1590 | "http://kokkinizita.linuxaudio.org" |
| 1591 | "/linuxaudio/downloads/g2reverb-" |
| 1592 | version ".tar.bz2")) |
| 1593 | (sha256 |
| 1594 | (base32 |
| 1595 | "18wb8vj1kky5glr76s34awbi8qzplsmf3wjbd7a12hfv4j0bkwrj")))) |
| 1596 | (build-system gnu-build-system) |
| 1597 | (arguments |
| 1598 | `(#:tests? #f ; no "check" target |
| 1599 | #:phases |
| 1600 | (modify-phases %standard-phases |
| 1601 | ;; no configure script |
| 1602 | (delete 'configure) |
| 1603 | (add-before 'install 'prepare-target-directory |
| 1604 | (lambda* (#:key outputs #:allow-other-keys) |
| 1605 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) |
| 1606 | #t)) |
| 1607 | (add-after 'unpack 'override-target-directory |
| 1608 | (lambda* (#:key outputs #:allow-other-keys) |
| 1609 | (substitute* "Makefile" |
| 1610 | (("/usr") (assoc-ref outputs "out"))) |
| 1611 | #t))))) |
| 1612 | (home-page "https://kokkinizita.linuxaudio.org") |
| 1613 | (synopsis "LADSPA stereo reverb plugin") |
| 1614 | (description |
| 1615 | "This package provides a LADSPA plugin for a stereo reverb effect.") |
| 1616 | (license license:gpl2+))) |
| 1617 | |
| 1618 | (define-public fluidsynth |
| 1619 | (package |
| 1620 | (name "fluidsynth") |
| 1621 | (version "2.1.4") |
| 1622 | (source (origin |
| 1623 | (method git-fetch) |
| 1624 | (uri (git-reference |
| 1625 | (url "https://github.com/FluidSynth/fluidsynth") |
| 1626 | (commit (string-append "v" version)))) |
| 1627 | (file-name (git-file-name name version)) |
| 1628 | (sha256 |
| 1629 | (base32 |
| 1630 | "1r3khwyw57ybg5m4x0rvdzq7hgw2484sd52k6bm19akbw8yicfna")))) |
| 1631 | (build-system cmake-build-system) |
| 1632 | (arguments |
| 1633 | '(#:tests? #f ; no check target |
| 1634 | #:phases |
| 1635 | (modify-phases %standard-phases |
| 1636 | (add-after 'unpack 'fix-libdir |
| 1637 | (lambda _ |
| 1638 | ;; Install libraries to /lib, not /lib64. |
| 1639 | (substitute* "CMakeLists.txt" |
| 1640 | (("LIB_SUFFIX \\$\\{_init_lib_suffix\\}") |
| 1641 | "LIB_SUFFIX \"\"")) |
| 1642 | #t))))) |
| 1643 | (inputs |
| 1644 | `(("libsndfile" ,libsndfile) |
| 1645 | ("alsa-lib" ,alsa-lib) |
| 1646 | ("jack" ,jack-1) |
| 1647 | ("ladspa" ,ladspa) |
| 1648 | ("lash" ,lash) |
| 1649 | ("readline" ,readline) |
| 1650 | ("glib" ,glib))) |
| 1651 | (native-inputs |
| 1652 | `(("pkg-config" ,pkg-config))) |
| 1653 | (home-page "http://www.fluidsynth.org/") |
| 1654 | (synopsis "SoundFont synthesizer") |
| 1655 | (description |
| 1656 | "FluidSynth is a real-time software synthesizer based on the SoundFont 2 |
| 1657 | specifications. FluidSynth reads and handles MIDI events from the MIDI input |
| 1658 | device. It is the software analogue of a MIDI synthesizer. FluidSynth can |
| 1659 | also play midifiles using a Soundfont.") |
| 1660 | (license license:lgpl2.1+))) |
| 1661 | |
| 1662 | ;; gzdoom@3.3.0 and lmms@1.1.3 requires this version. Remove once no longer |
| 1663 | ;; needed. |
| 1664 | (define-public fluidsynth-1 |
| 1665 | (package |
| 1666 | (inherit fluidsynth) |
| 1667 | (version "1.1.11") |
| 1668 | (source (origin |
| 1669 | (inherit (package-source fluidsynth)) |
| 1670 | (uri (git-reference |
| 1671 | (url "https://github.com/FluidSynth/fluidsynth") |
| 1672 | (commit (string-append "v" version)))) |
| 1673 | (file-name (git-file-name "fluidsynth" version)) |
| 1674 | (sha256 |
| 1675 | (base32 |
| 1676 | "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh")))))) |
| 1677 | |
| 1678 | (define-public faad2 |
| 1679 | (package |
| 1680 | (name "faad2") |
| 1681 | (version "2.8.8") |
| 1682 | (source |
| 1683 | (origin |
| 1684 | (method url-fetch) |
| 1685 | (uri |
| 1686 | (string-append "mirror://sourceforge/faac/faad2-src/faad2-" |
| 1687 | (version-major+minor version) ".0/" |
| 1688 | "faad2-" version ".tar.gz")) |
| 1689 | (sha256 |
| 1690 | (base32 "0va284hndhn0ynm4lyn219qw4y8wa4agfkqgwlaji7bqp6nkyp4q")))) |
| 1691 | (build-system gnu-build-system) |
| 1692 | (home-page "https://www.audiocoding.com/faad2.html") |
| 1693 | (synopsis "MPEG-4 and MPEG-2 AAC decoder") |
| 1694 | (description |
| 1695 | "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR, -PS, and DAB+.") |
| 1696 | (license license:gpl2+))) |
| 1697 | |
| 1698 | (define-public faust |
| 1699 | (package |
| 1700 | (name "faust") |
| 1701 | (version "0.9.90") |
| 1702 | (source (origin |
| 1703 | (method git-fetch) |
| 1704 | (uri (git-reference |
| 1705 | (url "https://github.com/grame-cncm/faust") |
| 1706 | (commit (string-append "v" |
| 1707 | (string-map (lambda (c) |
| 1708 | (if (char=? c #\.) #\- c)) |
| 1709 | version))))) |
| 1710 | (file-name (string-append "faust-" version "-checkout")) |
| 1711 | (sha256 |
| 1712 | (base32 |
| 1713 | "0qc6iwjd3i80jdyjc186c6ywipmjzl8wlsp4050pbr56q4rlkd4z")))) |
| 1714 | (build-system gnu-build-system) |
| 1715 | (arguments |
| 1716 | `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))) |
| 1717 | #:tests? #f |
| 1718 | #:phases |
| 1719 | (modify-phases %standard-phases |
| 1720 | ;; no "configure" script |
| 1721 | (delete 'configure) |
| 1722 | ;; Files appear under $out/share/faust that are read-only. The |
| 1723 | ;; install phase tries to overwrite them and fails, so we change |
| 1724 | ;; the permissions first. |
| 1725 | (add-before 'install 'fix-permissions |
| 1726 | (lambda _ |
| 1727 | (for-each (lambda (file) |
| 1728 | (chmod file #o644)) |
| 1729 | (find-files "architecture/max-msp" ".*")) |
| 1730 | #t))))) |
| 1731 | (native-inputs |
| 1732 | `(("unzip" ,unzip))) |
| 1733 | (home-page "https://faust.grame.fr/") |
| 1734 | (synopsis "Signal processing language") |
| 1735 | (description |
| 1736 | "Faust is a programming language for realtime audio signal processing.") |
| 1737 | (license license:gpl2+))) |
| 1738 | |
| 1739 | (define-public faust-2 |
| 1740 | (package |
| 1741 | (inherit faust) |
| 1742 | (version "2.5.23") |
| 1743 | (source (origin |
| 1744 | (method url-fetch) |
| 1745 | (uri (string-append "https://github.com/grame-cncm/faust/" |
| 1746 | "releases/download/" version |
| 1747 | "/faust-" version ".tar.gz")) |
| 1748 | (sha256 |
| 1749 | (base32 |
| 1750 | "1yz5jnr76hh7rmxkpdi7gyrw1wp4gyqfpq8zyl97qdi5ga5gjznq")))) |
| 1751 | (build-system gnu-build-system) |
| 1752 | (arguments |
| 1753 | (substitute-keyword-arguments (package-arguments faust) |
| 1754 | ((#:make-flags flags) |
| 1755 | `(list (string-append "prefix=" (assoc-ref %outputs "out")) |
| 1756 | "world")))) |
| 1757 | (native-inputs |
| 1758 | `(("llvm" ,llvm-3.8) |
| 1759 | ("which" ,which) |
| 1760 | ("xxd" ,xxd) |
| 1761 | ("ctags" ,emacs-minimal) ; for ctags |
| 1762 | ("pkg-config" ,pkg-config))) |
| 1763 | (inputs |
| 1764 | `(("libsndfile" ,libsndfile) |
| 1765 | ("libmicrohttpd" ,libmicrohttpd) |
| 1766 | ("ncurses" ,ncurses) |
| 1767 | ("openssl" ,openssl) |
| 1768 | ("zlib" ,zlib))))) |
| 1769 | |
| 1770 | (define-public freepats |
| 1771 | (package |
| 1772 | (name "freepats") |
| 1773 | (version "20060219") |
| 1774 | (source (origin |
| 1775 | (method url-fetch) |
| 1776 | (uri (string-append "http://freepats.zenvoid.org/freepats-" |
| 1777 | version ".tar.bz2")) |
| 1778 | (sha256 |
| 1779 | (base32 |
| 1780 | "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82")))) |
| 1781 | (build-system trivial-build-system) |
| 1782 | (arguments |
| 1783 | `(#:modules ((guix build utils)) |
| 1784 | #:builder (begin |
| 1785 | (use-modules (guix build utils)) |
| 1786 | (let ((out (string-append %output "/share/freepats"))) |
| 1787 | (setenv "PATH" (string-append |
| 1788 | (assoc-ref %build-inputs "bzip2") "/bin:" |
| 1789 | (assoc-ref %build-inputs "tar") "/bin")) |
| 1790 | (invoke "tar" "xvf" (assoc-ref %build-inputs "source")) |
| 1791 | (chdir "freepats") |
| 1792 | ;; Use absolute pattern references |
| 1793 | (substitute* "freepats.cfg" |
| 1794 | (("Tone_000") (string-append out "/Tone_000")) |
| 1795 | (("Drum_000") (string-append out "/Drum_000"))) |
| 1796 | (mkdir-p out) |
| 1797 | (copy-recursively "." out) |
| 1798 | #t)))) |
| 1799 | (native-inputs |
| 1800 | `(("tar" ,tar) |
| 1801 | ("bzip2" ,bzip2))) |
| 1802 | (home-page "http://freepats.zenvoid.org") |
| 1803 | (synopsis "GUS compatible patches for MIDI players") |
| 1804 | (description |
| 1805 | "FreePats is a project to create a free and open set of GUS compatible |
| 1806 | patches that can be used with softsynths such as Timidity and WildMidi.") |
| 1807 | ;; GPLv2+ with exception for compositions using these patches. |
| 1808 | (license license:gpl2+))) |
| 1809 | |
| 1810 | (define-public guitarix |
| 1811 | (package |
| 1812 | (name "guitarix") |
| 1813 | (version "0.38.1") |
| 1814 | (source (origin |
| 1815 | (method url-fetch) |
| 1816 | (uri (string-append |
| 1817 | "mirror://sourceforge/guitarix/guitarix/guitarix2-" |
| 1818 | version ".tar.xz")) |
| 1819 | (sha256 |
| 1820 | (base32 |
| 1821 | "0bw7xnrx062nwb1bfj9x660h7069ncmz77szcs8icpqxrvhs7z80")))) |
| 1822 | (build-system waf-build-system) |
| 1823 | (arguments |
| 1824 | `(#:tests? #f ; no "check" target |
| 1825 | #:python ,python-2 |
| 1826 | #:configure-flags |
| 1827 | (list |
| 1828 | ;; Add the output lib directory to the RUNPATH. |
| 1829 | (string-append "--ldflags=-Wl,-rpath=" %output "/lib")) |
| 1830 | #:phases |
| 1831 | (modify-phases %standard-phases |
| 1832 | (add-after 'unpack 'fix-boost-includes |
| 1833 | (lambda _ |
| 1834 | (substitute* "src/headers/gx_internal_plugins.h" |
| 1835 | (("namespace gx_jack" m) |
| 1836 | (string-append "#include <boost/noncopyable.hpp>\n" m))) |
| 1837 | (substitute* '("src/headers/gx_system.h" |
| 1838 | "src/headers/gx_parameter.h" |
| 1839 | "src/headers/gx_json.h") |
| 1840 | (("namespace gx_system" m) |
| 1841 | (string-append "#include <boost/noncopyable.hpp>\n" m))) |
| 1842 | #t))))) |
| 1843 | (inputs |
| 1844 | `(("libsndfile" ,libsndfile) |
| 1845 | ("boost" ,boost) |
| 1846 | ("curl" ,curl) |
| 1847 | ("avahi" ,avahi) |
| 1848 | ("eigen" ,eigen) |
| 1849 | ("lv2" ,lv2) |
| 1850 | ("lilv" ,lilv) |
| 1851 | ("ladspa" ,ladspa) |
| 1852 | ("jack" ,jack-1) |
| 1853 | ("gtkmm" ,gtkmm-2) |
| 1854 | ("gtk+" ,gtk+-2) |
| 1855 | ("fftwf" ,fftwf) |
| 1856 | ("lrdf" ,lrdf) |
| 1857 | ("zita-resampler" ,zita-resampler) |
| 1858 | ("zita-convolver" ,zita-convolver))) |
| 1859 | (native-inputs |
| 1860 | `(("gperf" ,gperf) |
| 1861 | ("faust" ,faust) |
| 1862 | ("intltool" ,intltool) |
| 1863 | ("gettext" ,gettext-minimal) |
| 1864 | ("pkg-config" ,pkg-config))) |
| 1865 | (native-search-paths |
| 1866 | (list (search-path-specification |
| 1867 | (variable "LV2_PATH") |
| 1868 | (files '("lib/lv2"))))) |
| 1869 | (home-page "https://guitarix.org/") |
| 1870 | (synopsis "Virtual guitar amplifier") |
| 1871 | (description "Guitarix is a virtual guitar amplifier running JACK. |
| 1872 | Guitarix takes the signal from your guitar as a mono-signal from your sound |
| 1873 | card. The input is processed by a main amp and a rack-section. Both can be |
| 1874 | routed separately and deliver a processed stereo-signal via JACK. You may |
| 1875 | fill the rack with effects from more than 25 built-in modules including stuff |
| 1876 | from a simple noise gate to modulation effects like flanger, phaser or |
| 1877 | auto-wah.") |
| 1878 | (license license:gpl2+))) |
| 1879 | |
| 1880 | (define-public guitarix-lv2 |
| 1881 | (package (inherit guitarix) |
| 1882 | (name "guitarix-lv2") |
| 1883 | (arguments |
| 1884 | (substitute-keyword-arguments (package-arguments guitarix) |
| 1885 | ((#:configure-flags flags) |
| 1886 | `(cons "--no-standalone" ,flags)))))) |
| 1887 | |
| 1888 | (define-public rakarrack |
| 1889 | (package |
| 1890 | (name "rakarrack") |
| 1891 | (version "0.6.1") |
| 1892 | (source (origin |
| 1893 | (method url-fetch) |
| 1894 | (uri (string-append "mirror://sourceforge/rakarrack/rakarrack/" |
| 1895 | "rakarrack-" version "/rakarrack-" |
| 1896 | version ".tar.bz2")) |
| 1897 | (sha256 |
| 1898 | (base32 |
| 1899 | "1rpf63pdn54c4yg13k7cb1w1c7zsvl97c4qxcpz41c8l91xd55kn")) |
| 1900 | (modules '((guix build utils))) |
| 1901 | (snippet |
| 1902 | '(begin |
| 1903 | (substitute* '("src/process.C" |
| 1904 | "src/global.h") |
| 1905 | (("#include <Fl/") "#include <FL/")) |
| 1906 | #t)))) |
| 1907 | (build-system gnu-build-system) |
| 1908 | (inputs |
| 1909 | `(("alsa-utils" ,alsa-utils) |
| 1910 | ("fltk" ,fltk) |
| 1911 | ("libx11" ,libx11) |
| 1912 | ("libxext" ,libxext) |
| 1913 | ("libxfixes" ,libxfixes) |
| 1914 | ("libxft" ,libxft) |
| 1915 | ("libxrender" ,libxrender) |
| 1916 | ("libxpm" ,libxpm) |
| 1917 | ("fontconfig" ,fontconfig) |
| 1918 | ("freetype" ,freetype) |
| 1919 | ("jack" ,jack-1) |
| 1920 | ("alsa-lib" ,alsa-lib) |
| 1921 | ("libsndfile" ,libsndfile) |
| 1922 | ("libsamplerate" ,libsamplerate) |
| 1923 | ("zlib" ,zlib))) |
| 1924 | (home-page "http://rakarrack.sourceforge.net/") |
| 1925 | (synopsis "Audio effects processor") |
| 1926 | (description |
| 1927 | "Rakarrack is a richly featured multi-effects processor emulating a |
| 1928 | guitar effects pedalboard. Effects include compressor, expander, noise gate, |
| 1929 | equalizers, exciter, flangers, chorus, various delay and reverb effects, |
| 1930 | distortion modules and many more. Most of the effects engine is built from |
| 1931 | modules found in the excellent software synthesizer ZynAddSubFX. Presets and |
| 1932 | user interface are optimized for guitar, but Rakarrack processes signals in |
| 1933 | stereo while it does not apply internal band-limiting filtering, and thus is |
| 1934 | well suited to all musical instruments and vocals.") |
| 1935 | ;; The code is explicitly licensed under the GPL version 2 only. |
| 1936 | (license license:gpl2))) |
| 1937 | |
| 1938 | (define-public ir |
| 1939 | (package |
| 1940 | (name "ir") |
| 1941 | (version "1.3.4") |
| 1942 | (source (origin |
| 1943 | (method git-fetch) |
| 1944 | (uri (git-reference |
| 1945 | (url "https://github.com/tomszilagyi/ir.lv2") |
| 1946 | (commit version))) |
| 1947 | (file-name (git-file-name name version)) |
| 1948 | (sha256 |
| 1949 | (base32 |
| 1950 | "0svmjhg4r6wy5ci5rwz43ybll7yxjv7nnj7nyqscbzhr3gi5aib0")))) |
| 1951 | (build-system gnu-build-system) |
| 1952 | (arguments |
| 1953 | `(#:tests? #f ; no tests |
| 1954 | #:make-flags |
| 1955 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) |
| 1956 | (string-append "INSTDIR=" |
| 1957 | (assoc-ref %outputs "out") "/lib/lv2")) |
| 1958 | #:phases (modify-phases %standard-phases |
| 1959 | (delete 'configure)))) ; no configure script |
| 1960 | (inputs |
| 1961 | `(("libsndfile" ,libsndfile) |
| 1962 | ("libsamplerate" ,libsamplerate) |
| 1963 | ("lv2" ,lv2) |
| 1964 | ("glib" ,glib) |
| 1965 | ("gtk+" ,gtk+-2) |
| 1966 | ("zita-convolver" ,zita-convolver))) |
| 1967 | (native-inputs |
| 1968 | `(("pkg-config" ,pkg-config))) |
| 1969 | (native-search-paths |
| 1970 | (list (search-path-specification |
| 1971 | (variable "LV2_PATH") |
| 1972 | (files '("lib/lv2"))))) |
| 1973 | (home-page "https://tomszilagyi.github.io/plugins/ir.lv2") |
| 1974 | (synopsis "LV2 convolution reverb") |
| 1975 | (description |
| 1976 | "IR is a low-latency, real-time, high performance signal convolver |
| 1977 | especially for creating reverb effects. It supports impulse responses with 1, |
| 1978 | 2 or 4 channels, in any soundfile format supported by libsndfile.") |
| 1979 | (license license:gpl2+))) |
| 1980 | |
| 1981 | (define-public jack-1 |
| 1982 | (package |
| 1983 | (name "jack") |
| 1984 | (version "0.125.0") |
| 1985 | (source |
| 1986 | (origin |
| 1987 | (method url-fetch) |
| 1988 | ;; jackaudio.org/downloads/jack-audio-connection-kit-0.125.0.tar.gz |
| 1989 | ;; no longer exists (404). Use an unofficial mirror. |
| 1990 | (uri (string-append "https://crux.ster.zone/downloads/" |
| 1991 | "jack-audio-connection-kit/" |
| 1992 | "jack-audio-connection-kit-" version ".tar.gz")) |
| 1993 | (sha256 |
| 1994 | (base32 "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm")))) |
| 1995 | (build-system gnu-build-system) |
| 1996 | (arguments |
| 1997 | `(#:phases (modify-phases %standard-phases |
| 1998 | (add-after 'unpack 'patch-configure |
| 1999 | (lambda _ |
| 2000 | (substitute* "configure" |
| 2001 | ;; Install to <out/lib> regardless of platform. |
| 2002 | (("libnn=lib64") "libnn=lib")) |
| 2003 | #t))))) |
| 2004 | (inputs |
| 2005 | `(("alsa-lib" ,alsa-lib) |
| 2006 | ("readline" ,readline))) |
| 2007 | ;; uuid.h is included in the JACK type headers |
| 2008 | ;; db.h is included in the libjack metadata headers |
| 2009 | (propagated-inputs |
| 2010 | `(("libuuid" ,util-linux "lib") |
| 2011 | ("bdb" ,bdb))) |
| 2012 | (native-inputs |
| 2013 | `(("pkg-config" ,pkg-config))) |
| 2014 | (home-page "https://jackaudio.org/") |
| 2015 | (synopsis "JACK audio connection kit") |
| 2016 | (description |
| 2017 | "JACK is a low-latency audio server. It can connect a number of |
| 2018 | different applications to an audio device, as well as allowing them to share |
| 2019 | audio between themselves. JACK is different from other audio server efforts |
| 2020 | in that it has been designed from the ground up to be suitable for |
| 2021 | professional audio work. This means that it focuses on two key areas: |
| 2022 | synchronous execution of all clients, and low latency operation.") |
| 2023 | ;; Most files are licensed under the GPL. However, the libjack/ tree is |
| 2024 | ;; licensed under the LGPL in order to allow for proprietary usage. |
| 2025 | (license (list license:gpl2+ license:lgpl2.1+)))) |
| 2026 | |
| 2027 | ;; Packages depending on JACK should always prefer jack-1. Both jack-1 and |
| 2028 | ;; jack-2 implement the same API. JACK2 is provided primarily as a client |
| 2029 | ;; program for users who might benefit from the D-BUS features. |
| 2030 | (define-public jack-2 |
| 2031 | (package (inherit jack-1) |
| 2032 | (name "jack2") |
| 2033 | (version "1.9.13") |
| 2034 | (source (origin |
| 2035 | (method url-fetch) |
| 2036 | (uri (string-append "https://github.com/jackaudio/jack2/releases/" |
| 2037 | "download/v" version "/jack2-" |
| 2038 | version ".tar.gz")) |
| 2039 | (file-name (string-append name "-" version ".tar.gz")) |
| 2040 | (sha256 |
| 2041 | (base32 |
| 2042 | "1d1d403jn4366mqig6g8ghr8057b3rn7gs26b5p3rkal34j20qw2")))) |
| 2043 | (build-system waf-build-system) |
| 2044 | (arguments |
| 2045 | `(#:tests? #f ; no check target |
| 2046 | #:configure-flags '("--dbus" |
| 2047 | "--alsa") |
| 2048 | #:phases |
| 2049 | (modify-phases %standard-phases |
| 2050 | (add-before 'configure 'set-linkflags |
| 2051 | (lambda _ |
| 2052 | ;; Add $libdir to the RUNPATH of all the binaries. |
| 2053 | (substitute* "wscript" |
| 2054 | ((".*CFLAGS.*-Wall.*" m) |
| 2055 | (string-append m |
| 2056 | " conf.env.append_unique('LINKFLAGS'," |
| 2057 | "'-Wl,-rpath=" %output "/lib')\n"))) |
| 2058 | #t)) |
| 2059 | (add-after 'install 'wrap-python-scripts |
| 2060 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 2061 | ;; Make sure 'jack_control' runs with the correct PYTHONPATH. |
| 2062 | (let* ((out (assoc-ref outputs "out")) |
| 2063 | (path (getenv "PYTHONPATH"))) |
| 2064 | (wrap-program (string-append out "/bin/jack_control") |
| 2065 | `("PYTHONPATH" ":" prefix (,path)))) |
| 2066 | #t))))) |
| 2067 | (inputs |
| 2068 | `(("alsa-lib" ,alsa-lib) |
| 2069 | ("dbus" ,dbus) |
| 2070 | ("expat" ,expat) |
| 2071 | ("libsamplerate" ,libsamplerate) |
| 2072 | ("opus" ,opus) |
| 2073 | ("python-dbus" ,python-dbus) |
| 2074 | ("readline" ,readline))) |
| 2075 | (native-inputs |
| 2076 | `(("pkg-config" ,pkg-config))) |
| 2077 | ;; Most files are under GPLv2+, but some headers are under LGPLv2.1+ |
| 2078 | (license (list license:gpl2+ license:lgpl2.1+)))) |
| 2079 | |
| 2080 | (define-public jalv |
| 2081 | (package |
| 2082 | (name "jalv") |
| 2083 | (version "1.6.4") |
| 2084 | (source (origin |
| 2085 | (method url-fetch) |
| 2086 | (uri (string-append "https://download.drobilla.net/jalv-" |
| 2087 | version ".tar.bz2")) |
| 2088 | (sha256 |
| 2089 | (base32 |
| 2090 | "1wwfn7yzbs37s2rdlfjgks63svd5g14yyzd2gdl7h0z12qncwsy2")))) |
| 2091 | (build-system waf-build-system) |
| 2092 | (arguments |
| 2093 | `(#:tests? #f ; no check target |
| 2094 | #:python ,python-2)) |
| 2095 | (inputs |
| 2096 | `(("lv2" ,lv2) |
| 2097 | ("lilv" ,lilv) |
| 2098 | ("suil" ,suil) |
| 2099 | ("gtk2" ,gtk+-2) |
| 2100 | ("gtk3" ,gtk+) |
| 2101 | ("gtkmm" ,gtkmm-2) |
| 2102 | ("qtbase" ,qtbase) |
| 2103 | ("jack" ,jack-1))) |
| 2104 | (native-inputs |
| 2105 | `(("pkg-config" ,pkg-config))) |
| 2106 | (home-page "https://drobilla.net/software/jalv/") |
| 2107 | (synopsis "Simple LV2 host for JACK") |
| 2108 | (description |
| 2109 | "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2 |
| 2110 | plugins and exposes their ports as JACK ports, essentially making any LV2 |
| 2111 | plugin function as a JACK application.") |
| 2112 | (license license:isc))) |
| 2113 | |
| 2114 | (define-public ladspa |
| 2115 | (package |
| 2116 | (name "ladspa") |
| 2117 | (version "1.13") |
| 2118 | (source |
| 2119 | (origin |
| 2120 | (method url-fetch) |
| 2121 | ;; Since the official link is dead, |
| 2122 | ;; we download the tarball from Debian or Internet Archive. |
| 2123 | (uri (list (string-append "http://http.debian.net" |
| 2124 | "/debian/pool/main/l/ladspa-sdk/ladspa-sdk_" |
| 2125 | version ".orig.tar.gz") |
| 2126 | (string-append "https://web.archive.org/web/20140717172251/" |
| 2127 | "http://www.ladspa.org/download/ladspa_sdk_" |
| 2128 | version ".tgz"))) |
| 2129 | (sha256 |
| 2130 | (base32 |
| 2131 | "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm")))) |
| 2132 | (build-system gnu-build-system) |
| 2133 | (arguments |
| 2134 | `(#:tests? #f ; the "test" target is a listening test only |
| 2135 | #:phases |
| 2136 | (modify-phases %standard-phases |
| 2137 | (replace 'configure |
| 2138 | (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) |
| 2139 | (chdir "src") |
| 2140 | (let ((out (assoc-ref outputs "out"))) |
| 2141 | (substitute* "makefile" |
| 2142 | (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/")) |
| 2143 | (("/usr/include/") (string-append out "/include/")) |
| 2144 | (("/usr/bin/") (string-append out "/bin/")) |
| 2145 | (("-mkdirhier") "mkdir -p") |
| 2146 | (("^CC.*") "CC = gcc\n") |
| 2147 | (("^CPP.*") "CPP = g++\n"))) |
| 2148 | #t)) |
| 2149 | (delete 'build)))) |
| 2150 | ;; Since the home page is gone, we provide a link to the archived version. |
| 2151 | (home-page |
| 2152 | "https://web.archive.org/web/20140729190945/http://www.ladspa.org/") |
| 2153 | (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)") |
| 2154 | (description |
| 2155 | "LADSPA is a standard that allows software audio processors and effects |
| 2156 | to be plugged into a wide range of audio synthesis and recording packages.") |
| 2157 | (license license:lgpl2.1+))) |
| 2158 | |
| 2159 | (define-public lash |
| 2160 | (package |
| 2161 | (name "lash") |
| 2162 | (version "0.6.0-rc2") |
| 2163 | (source (origin |
| 2164 | (method url-fetch) |
| 2165 | ;; The tilde is not permitted in the builder name, but is used |
| 2166 | ;; in the tarball. |
| 2167 | (uri (string-append |
| 2168 | "mirror://savannah/lash/lash-" |
| 2169 | (string-join (string-split version #\-) "~") |
| 2170 | ".tar.bz2")) |
| 2171 | (file-name (string-append name "-" version ".tar.bz2")) |
| 2172 | (sha256 |
| 2173 | (base32 |
| 2174 | "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw")))) |
| 2175 | (build-system gnu-build-system) |
| 2176 | (arguments |
| 2177 | '(;; Glibc no longer includes Sun RPC support, so tell the build system |
| 2178 | ;; to use libtirpc instead. |
| 2179 | #:make-flags (list (string-append "CFLAGS=-I" |
| 2180 | (assoc-ref %build-inputs "libtirpc") |
| 2181 | "/include/tirpc -ltirpc")) |
| 2182 | #:phases |
| 2183 | (modify-phases %standard-phases |
| 2184 | ;; lashd embeds an ancient version of sigsegv so we just skip it |
| 2185 | (add-after 'unpack 'skip-lashd |
| 2186 | (lambda _ |
| 2187 | (substitute* '("Makefile.am" "Makefile.in") |
| 2188 | (("lashd ") "")) |
| 2189 | #t))) |
| 2190 | #:configure-flags '("--disable-static"))) |
| 2191 | (inputs |
| 2192 | `(("bdb" ,bdb) |
| 2193 | ("gtk" ,gtk+-2) |
| 2194 | ("jack" ,jack-1) |
| 2195 | ("libtirpc" ,libtirpc) |
| 2196 | ("readline" ,readline) |
| 2197 | ("python" ,python-2))) |
| 2198 | ;; According to pkg-config, packages depending on lash also need to have |
| 2199 | ;; at least the following packages declared as inputs. |
| 2200 | (propagated-inputs |
| 2201 | `(("alsa-lib" ,alsa-lib) |
| 2202 | ("dbus" ,dbus) |
| 2203 | ("libxml2" ,libxml2))) |
| 2204 | (native-inputs |
| 2205 | `(("pkg-config" ,pkg-config))) |
| 2206 | (home-page "https://www.nongnu.org/lash/") |
| 2207 | (synopsis "Audio application session manager") |
| 2208 | (description |
| 2209 | "LASH is a session management system for audio applications. It allows |
| 2210 | you to save and restore audio sessions consisting of multiple interconneced |
| 2211 | applications, restoring program state (i.e. loaded patches) and the |
| 2212 | connections between them.") |
| 2213 | (license license:gpl2+))) |
| 2214 | |
| 2215 | (define-public libbs2b |
| 2216 | (package |
| 2217 | (name "libbs2b") |
| 2218 | (version "3.1.0") |
| 2219 | (source (origin |
| 2220 | (method url-fetch) |
| 2221 | (uri (string-append "mirror://sourceforge/bs2b/libbs2b/" version |
| 2222 | "/libbs2b-" version ".tar.lzma")) |
| 2223 | (sha256 |
| 2224 | (base32 |
| 2225 | "1mcc4gjkmphczjybnsrip3gq1f974knzys7x49bv197xk3fn8wdr")))) |
| 2226 | (build-system gnu-build-system) |
| 2227 | (native-inputs `(("pkg-config" ,pkg-config))) |
| 2228 | (inputs `(("libsndfile" ,libsndfile))) |
| 2229 | (home-page "https://sourceforge.net/projects/bs2b/") |
| 2230 | (synopsis "Bauer stereophonic-to-binaural DSP") |
| 2231 | (description |
| 2232 | "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is |
| 2233 | designed to improve headphone listening of stereo audio records. Recommended |
| 2234 | for headphone prolonged listening to disable superstereo fatigue without |
| 2235 | essential distortions.") |
| 2236 | (license license:expat))) |
| 2237 | |
| 2238 | (define-public ladspa-bs2b |
| 2239 | (package |
| 2240 | (name "ladspa-bs2b") |
| 2241 | (version "0.9.1") |
| 2242 | (source (origin |
| 2243 | (method url-fetch) |
| 2244 | (uri (string-append |
| 2245 | "mirror://sourceforge/bs2b/plugins/LADSPA%20plugin/" |
| 2246 | version "/" name "-" version ".tar.gz")) |
| 2247 | (sha256 |
| 2248 | (base32 |
| 2249 | "1b4aipbj1ba5k99gbc7gmgy14sywyrjd8rpyqj5l905j0mjv8jg2")))) |
| 2250 | (build-system gnu-build-system) |
| 2251 | (native-inputs `(("pkg-config" ,pkg-config))) |
| 2252 | (inputs `(("ladspa" ,ladspa) |
| 2253 | ("libbs2b" ,libbs2b))) |
| 2254 | (home-page "https://sourceforge.net/projects/bs2b/") |
| 2255 | (synopsis "Bauer stereophonic-to-binaural DSP - LADSPA plugin") |
| 2256 | (description "The Bauer stereophonic-to-binaural DSP (bs2b) library and |
| 2257 | plugins is designed to improve headphone listening of stereo audio records. |
| 2258 | Recommended for headphone prolonged listening to disable superstereo fatigue |
| 2259 | without essential distortions. This package contains a LADSPA plugin for use |
| 2260 | with applications that support them (e.g. PulseAudio).") |
| 2261 | (license license:gpl2+))) |
| 2262 | |
| 2263 | (define-public liblo |
| 2264 | (package |
| 2265 | (name "liblo") |
| 2266 | (version "0.31") |
| 2267 | (source (origin |
| 2268 | (method url-fetch) |
| 2269 | (uri (string-append "mirror://sourceforge/liblo/liblo/" version |
| 2270 | "/liblo-" version ".tar.gz")) |
| 2271 | (sha256 |
| 2272 | (base32 |
| 2273 | "0l67rkdhfa8cffa0nynql3lh2xlbn1454h6qxhjddp1029p48krb")))) |
| 2274 | (build-system gnu-build-system) |
| 2275 | (arguments |
| 2276 | `(;; liblo test FAILED |
| 2277 | ;; liblo server error 19 in setsockopt(IP_ADD_MEMBERSHIP): No such device |
| 2278 | #:tests? #f)) |
| 2279 | (home-page "http://liblo.sourceforge.net") |
| 2280 | (synopsis "Implementation of the Open Sound Control protocol") |
| 2281 | (description |
| 2282 | "liblo is a lightweight library that provides an easy to use |
| 2283 | implementation of the Open Sound Control (@dfn{OSC}) protocol.") |
| 2284 | (license license:lgpl2.1+))) |
| 2285 | |
| 2286 | (define-public rtaudio |
| 2287 | (package |
| 2288 | (name "rtaudio") |
| 2289 | (version "5.1.0") |
| 2290 | (source |
| 2291 | (origin |
| 2292 | (method git-fetch) |
| 2293 | (uri (git-reference |
| 2294 | (url "https://github.com/thestk/rtaudio") |
| 2295 | (commit version))) |
| 2296 | (file-name (git-file-name name version)) |
| 2297 | (sha256 |
| 2298 | (base32 "156c2dgh6jrsyfn1y89nslvaxm4yifmxridsb708yvkaym02w2l8")))) |
| 2299 | (build-system cmake-build-system) |
| 2300 | (native-inputs |
| 2301 | `(("pkg-config" ,pkg-config))) |
| 2302 | (inputs |
| 2303 | `(("alsa-lib" ,alsa-lib) |
| 2304 | ("jack" ,jack-1) |
| 2305 | ("pulseaudio" ,pulseaudio))) |
| 2306 | (synopsis "Common API for real-time audio I/O") |
| 2307 | (description |
| 2308 | "RtAudio is a set of C++ classes that provides a common API for real-time |
| 2309 | audio input/output. It was designed with the following objectives: |
| 2310 | |
| 2311 | @itemize |
| 2312 | @item object-oriented C++ design |
| 2313 | @item simple, common API across all supported platforms |
| 2314 | @item only one source and one header file for easy inclusion in programming |
| 2315 | projects |
| 2316 | @item allow simultaneous multi-api support |
| 2317 | @item support dynamic connection of devices |
| 2318 | @item provide extensive audio device parameter control |
| 2319 | @item allow audio device capability probing |
| 2320 | @item automatic internal conversion for data format, channel number |
| 2321 | compensation, (de)interleaving, and byte-swapping |
| 2322 | @end itemize") |
| 2323 | (home-page "https://www.music.mcgill.ca/~gary/rtaudio/") |
| 2324 | ;; License is expat with a non-binding request to send modifications to |
| 2325 | ;; original developer. |
| 2326 | (license license:expat))) |
| 2327 | |
| 2328 | (define-public python-pyaudio |
| 2329 | (package |
| 2330 | (name "python-pyaudio") |
| 2331 | (version "0.2.11") |
| 2332 | (source |
| 2333 | (origin |
| 2334 | (method url-fetch) |
| 2335 | (uri (pypi-uri "PyAudio" version)) |
| 2336 | (sha256 |
| 2337 | (base32 |
| 2338 | "0x7vdsigm7xgvyg3shd3lj113m8zqj2pxmrgdyj66kmnw0qdxgwk")))) |
| 2339 | (build-system python-build-system) |
| 2340 | (inputs |
| 2341 | `(("portaudio" ,portaudio))) |
| 2342 | (home-page "https://people.csail.mit.edu/hubert/pyaudio/") |
| 2343 | (synopsis "Bindings for PortAudio v19") |
| 2344 | (description "This package provides bindings for PortAudio v19, the |
| 2345 | cross-platform audio input/output stream library.") |
| 2346 | (license license:expat))) |
| 2347 | |
| 2348 | (define-public python2-pyaudio |
| 2349 | (package-with-python2 python-pyaudio)) |
| 2350 | |
| 2351 | (define-public python-pyliblo |
| 2352 | (package |
| 2353 | (name "python-pyliblo") |
| 2354 | (version "0.10.0") |
| 2355 | (source (origin |
| 2356 | (method url-fetch) |
| 2357 | (uri (string-append "http://das.nasophon.de/download/pyliblo-" |
| 2358 | version ".tar.gz")) |
| 2359 | (sha256 |
| 2360 | (base32 |
| 2361 | "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw")))) |
| 2362 | (build-system python-build-system) |
| 2363 | (arguments `(#:tests? #f)) ;no tests |
| 2364 | (native-inputs |
| 2365 | `(("python-cython" ,python-cython))) |
| 2366 | (inputs |
| 2367 | `(("liblo" ,liblo))) |
| 2368 | (home-page "http://das.nasophon.de/pyliblo/") |
| 2369 | (synopsis "Python bindings for liblo") |
| 2370 | (description |
| 2371 | "Pyliblo is a Python wrapper for the liblo Open Sound Control (OSC) |
| 2372 | library. It supports almost the complete functionality of liblo, allowing you |
| 2373 | to send and receive OSC messages using a nice and simple Python API. Also |
| 2374 | included are the command line utilities @code{send_osc} and @code{dump_osc}.") |
| 2375 | (license license:lgpl2.1+))) |
| 2376 | |
| 2377 | (define-public python2-pyliblo |
| 2378 | (package-with-python2 python-pyliblo)) |
| 2379 | |
| 2380 | (define-public lilv |
| 2381 | (package |
| 2382 | (name "lilv") |
| 2383 | (version "0.24.8") |
| 2384 | (source (origin |
| 2385 | (method url-fetch) |
| 2386 | (uri (string-append "https://download.drobilla.net/lilv-" |
| 2387 | version ".tar.bz2")) |
| 2388 | (sha256 |
| 2389 | (base32 |
| 2390 | "0063i5zgf3d3accwmyx651hw0wh5ik7kji2hvfkcdbl1qia3dp6a")))) |
| 2391 | (build-system waf-build-system) |
| 2392 | (arguments |
| 2393 | `(#:tests? #f ; no check target |
| 2394 | #:phases |
| 2395 | (modify-phases %standard-phases |
| 2396 | (add-before 'configure 'set-ldflags |
| 2397 | (lambda* (#:key outputs #:allow-other-keys) |
| 2398 | (setenv "LDFLAGS" |
| 2399 | (string-append "-Wl,-rpath=" |
| 2400 | (assoc-ref outputs "out") "/lib")) |
| 2401 | #t)) |
| 2402 | (add-after 'unpack 'full-store-path-to-shared-library |
| 2403 | (lambda* (#:key outputs #:allow-other-keys) |
| 2404 | (with-directory-excursion "bindings/python" |
| 2405 | (substitute* "lilv.py" |
| 2406 | (("liblilv-0.so") (string-append (assoc-ref outputs "out") |
| 2407 | "/lib/liblilv-0.so")))) |
| 2408 | #t))))) |
| 2409 | ;; Required by lilv-0.pc. |
| 2410 | (propagated-inputs |
| 2411 | `(("lv2" ,lv2) |
| 2412 | ("serd" ,serd) |
| 2413 | ("sord" ,sord) |
| 2414 | ("sratom" ,sratom))) |
| 2415 | (native-inputs |
| 2416 | `(("python" ,python) |
| 2417 | ("pkg-config" ,pkg-config))) |
| 2418 | (home-page "https://drobilla.net/software/lilv") |
| 2419 | (synopsis "Library to simplify use of LV2 plugins in applications") |
| 2420 | (description |
| 2421 | "Lilv is a C library to make the use of LV2 plugins as simple as possible |
| 2422 | for applications. Lilv is the successor to SLV2, rewritten to be |
| 2423 | significantly faster and have minimal dependencies.") |
| 2424 | (license license:isc))) |
| 2425 | |
| 2426 | (define-public lv2 |
| 2427 | (package |
| 2428 | (name "lv2") |
| 2429 | (version "1.18.0") |
| 2430 | (source (origin |
| 2431 | (method url-fetch) |
| 2432 | (uri (string-append "https://lv2plug.in/spec/lv2-" |
| 2433 | version ".tar.bz2")) |
| 2434 | (sha256 |
| 2435 | (base32 |
| 2436 | "0gs7401xz23q9vajqr31aa2db8dvssgyh5zrvr4ipa6wig7yb8wh")))) |
| 2437 | (build-system waf-build-system) |
| 2438 | (arguments |
| 2439 | `(#:tests? #f ; no check target |
| 2440 | #:configure-flags '("--no-plugins"))) |
| 2441 | (inputs |
| 2442 | ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins |
| 2443 | `(("libsndfile" ,libsndfile))) |
| 2444 | (native-inputs |
| 2445 | `(("pkg-config" ,pkg-config))) |
| 2446 | (home-page "https://lv2plug.in/") |
| 2447 | (synopsis "LV2 audio plugin specification") |
| 2448 | (description |
| 2449 | "LV2 is an open specification for audio plugins and host applications. |
| 2450 | At its core, LV2 is a simple stable interface, accompanied by extensions which |
| 2451 | add functionality to support the needs of increasingly powerful audio |
| 2452 | software.") |
| 2453 | (license license:isc))) |
| 2454 | |
| 2455 | (define-public lv2-mda-piano |
| 2456 | (package |
| 2457 | (name "lv2-mda-piano") |
| 2458 | (version "0.0.2") |
| 2459 | (source (origin |
| 2460 | (method git-fetch) |
| 2461 | (uri (git-reference |
| 2462 | (url "http://git.elephly.net/software/lv2-mdametapiano.git") |
| 2463 | (commit version))) |
| 2464 | (file-name (git-file-name name version)) |
| 2465 | (sha256 |
| 2466 | (base32 |
| 2467 | "07lywf6lpfpndg3i9w752mmlg2hgn1bwp23h8b0mdj6awh67abqd")))) |
| 2468 | (build-system gnu-build-system) |
| 2469 | (arguments |
| 2470 | `(#:make-flags (list |
| 2471 | "TYPE=mdaPiano" |
| 2472 | (string-append "PREFIX=" (assoc-ref %outputs "out"))) |
| 2473 | #:tests? #f ; no check target |
| 2474 | #:phases (modify-phases %standard-phases (delete 'configure)))) |
| 2475 | (inputs |
| 2476 | `(("lv2" ,lv2) |
| 2477 | ("lvtk" ,lvtk))) |
| 2478 | (native-inputs |
| 2479 | `(("pkg-config" ,pkg-config))) |
| 2480 | (native-search-paths |
| 2481 | (list (search-path-specification |
| 2482 | (variable "LV2_PATH") |
| 2483 | (files '("lib/lv2"))))) |
| 2484 | (home-page "https://elephly.net/lv2/mdapiano.html") |
| 2485 | (synopsis "LV2 port of the mda Piano plugin") |
| 2486 | (description "An LV2 port of the mda Piano VSTi.") |
| 2487 | (license license:gpl3+))) |
| 2488 | |
| 2489 | (define-public lv2-mda-epiano |
| 2490 | (package (inherit lv2-mda-piano) |
| 2491 | (name "lv2-mda-epiano") |
| 2492 | (arguments |
| 2493 | `(#:make-flags (list |
| 2494 | "TYPE=mdaEPiano" |
| 2495 | (string-append "PREFIX=" (assoc-ref %outputs "out"))) |
| 2496 | #:tests? #f ; no check target |
| 2497 | #:phases (modify-phases %standard-phases (delete 'configure)))) |
| 2498 | (home-page "https://elephly.net/lv2/mdaepiano.html") |
| 2499 | (synopsis "LV2 port of the mda EPiano plugin") |
| 2500 | (description "An LV2 port of the mda EPiano VSTi."))) |
| 2501 | |
| 2502 | (define-public lvtk |
| 2503 | (package |
| 2504 | (name "lvtk") |
| 2505 | (version "1.2.0") |
| 2506 | (source (origin |
| 2507 | (method git-fetch) |
| 2508 | (uri (git-reference |
| 2509 | (url "https://github.com/lvtk/lvtk") |
| 2510 | (commit version))) |
| 2511 | (file-name (git-file-name name version)) |
| 2512 | (sha256 |
| 2513 | (base32 |
| 2514 | "1b01zvzl70ana6l1kn8fgyr7msnn3c7x61cgw7fdpp50322352p8")))) |
| 2515 | (build-system waf-build-system) |
| 2516 | (arguments |
| 2517 | `(#:tests? #f ; no check target |
| 2518 | #:python ,python-2 |
| 2519 | #:configure-flags |
| 2520 | (list (string-append "--boost-includes=" |
| 2521 | (assoc-ref %build-inputs "boost") |
| 2522 | "/include")))) |
| 2523 | (inputs |
| 2524 | `(("boost" ,boost) |
| 2525 | ("gtkmm" ,gtkmm-2) |
| 2526 | ("lv2" ,lv2))) |
| 2527 | (native-inputs |
| 2528 | `(("pkg-config" ,pkg-config))) |
| 2529 | (home-page "https://github.com/lvtk/lvtk") |
| 2530 | (synopsis "C++ libraries for LV2 plugins") |
| 2531 | (description |
| 2532 | "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and |
| 2533 | extensions into easy to use C++ classes. It is the successor of |
| 2534 | lv2-c++-tools.") |
| 2535 | (license license:gpl3+))) |
| 2536 | |
| 2537 | (define-public openal |
| 2538 | (package |
| 2539 | (name "openal") |
| 2540 | (version "1.20.1") |
| 2541 | (source (origin |
| 2542 | (method url-fetch) |
| 2543 | (uri (string-append |
| 2544 | "https://openal-soft.org/openal-releases/openal-soft-" |
| 2545 | version ".tar.bz2")) |
| 2546 | (sha256 |
| 2547 | (base32 |
| 2548 | "0vax0b1lgd4212bpxa1rciz52d4mv3dkfvcbbhzw4cjp698v1kmn")))) |
| 2549 | (build-system cmake-build-system) |
| 2550 | (arguments |
| 2551 | `(#:tests? #f ; no check target |
| 2552 | #:phases |
| 2553 | (modify-phases %standard-phases |
| 2554 | (add-after |
| 2555 | 'unpack 'use-full-library-paths |
| 2556 | (lambda* (#:key inputs #:allow-other-keys) |
| 2557 | (substitute* "alc/backends/pulseaudio.cpp" |
| 2558 | (("#define PALIB \"libpulse\\.so\\.0\"") |
| 2559 | (string-append "#define PALIB \"" |
| 2560 | (assoc-ref inputs "pulseaudio") |
| 2561 | "/lib/libpulse.so.0" |
| 2562 | "\""))) |
| 2563 | (substitute* "alc/backends/alsa.cpp" |
| 2564 | (("LoadLib\\(\"libasound\\.so\\.2\"\\)") |
| 2565 | (string-append "LoadLib(\"" |
| 2566 | (assoc-ref inputs "alsa-lib") |
| 2567 | "/lib/libasound.so.2" |
| 2568 | "\")"))) |
| 2569 | #t))))) |
| 2570 | (inputs |
| 2571 | `(("alsa-lib" ,alsa-lib) |
| 2572 | ("pulseaudio" ,pulseaudio))) |
| 2573 | (synopsis "3D audio API") |
| 2574 | (description |
| 2575 | "OpenAL provides capabilities for playing audio in a virtual 3D |
| 2576 | environment. Distance attenuation, doppler shift, and directional sound |
| 2577 | emitters are among the features handled by the API. More advanced effects, |
| 2578 | including air absorption, occlusion, and environmental reverb, are available |
| 2579 | through the EFX extension. It also facilitates streaming audio, multi-channel |
| 2580 | buffers, and audio capture.") |
| 2581 | (home-page "https://openal-soft.org/") |
| 2582 | (license license:lgpl2.0+))) |
| 2583 | |
| 2584 | (define-public freealut |
| 2585 | (package |
| 2586 | (name "freealut") |
| 2587 | (version "1.1.0") |
| 2588 | (source (origin |
| 2589 | (method url-fetch) |
| 2590 | ;; Upstream url is unclear, many systems use Fedora, there is also |
| 2591 | ;; https://github.com/vancegroup/freealut though the status of it |
| 2592 | ;; (official? unofficial?) is not clear. |
| 2593 | (uri (string-append |
| 2594 | "https://pkgs.fedoraproject.org/repo/pkgs/" name "/" name "-" |
| 2595 | version ".tar.gz" "/e089b28a0267faabdb6c079ee173664a/" name |
| 2596 | "-" version ".tar.gz")) |
| 2597 | (sha256 |
| 2598 | (base32 |
| 2599 | "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0")))) |
| 2600 | (build-system cmake-build-system) |
| 2601 | (arguments |
| 2602 | `(#:tests? #f)) ; no check target |
| 2603 | (inputs |
| 2604 | `(("openal" ,openal))) |
| 2605 | (synopsis "Free implementation of OpenAL's ALUT standard") |
| 2606 | (description "freealut is the OpenAL Utility Toolkit.") |
| 2607 | (home-page "https://kcat.strangesoft.net/openal.html") |
| 2608 | (license license:lgpl2.0))) |
| 2609 | |
| 2610 | (define-public patchage |
| 2611 | (package |
| 2612 | (name "patchage") |
| 2613 | (version "1.0.2") |
| 2614 | (source (origin |
| 2615 | (method url-fetch) |
| 2616 | (uri (string-append "https://download.drobilla.net/patchage-" |
| 2617 | version |
| 2618 | ".tar.bz2")) |
| 2619 | (sha256 |
| 2620 | (base32 |
| 2621 | "0dk3fiac10m83mwss3026yz7ygc47c2iw924cwwnh2fyydc9bsy6")))) |
| 2622 | (build-system waf-build-system) |
| 2623 | (arguments |
| 2624 | `(#:tests? #f ; no check target |
| 2625 | #:python ,python-2)) |
| 2626 | (inputs |
| 2627 | `(("alsa-lib" ,alsa-lib) |
| 2628 | ("boost" ,boost) |
| 2629 | ("jack" ,jack-1) |
| 2630 | ("ganv" ,ganv) |
| 2631 | ("glibmm" ,glibmm) |
| 2632 | ("gtkmm" ,gtkmm-2) |
| 2633 | ("dbus-glib" ,dbus-glib))) |
| 2634 | (native-inputs |
| 2635 | `(("pkg-config" ,pkg-config))) |
| 2636 | (home-page "https://drobilla.net/software/patchage/") |
| 2637 | (synopsis "Modular patch bay for audio and MIDI systems") |
| 2638 | (description |
| 2639 | "Patchage is a modular patch bay for audio and MIDI systems based on JACK |
| 2640 | and ALSA.") |
| 2641 | (license license:gpl3+))) |
| 2642 | |
| 2643 | (define-public pcaudiolib |
| 2644 | (package |
| 2645 | (name "pcaudiolib") |
| 2646 | (version "1.1") |
| 2647 | (home-page "https://github.com/espeak-ng/pcaudiolib") |
| 2648 | (source (origin |
| 2649 | (method git-fetch) |
| 2650 | (uri (git-reference (url home-page) (commit version))) |
| 2651 | (file-name (git-file-name name version)) |
| 2652 | (sha256 |
| 2653 | (base32 |
| 2654 | "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0")))) |
| 2655 | (build-system gnu-build-system) |
| 2656 | (arguments |
| 2657 | `(#:configure-flags '("--disable-static"))) |
| 2658 | (native-inputs |
| 2659 | `(("autoconf" ,autoconf) |
| 2660 | ("automake" ,automake) |
| 2661 | ("libtool" ,libtool) |
| 2662 | ("pkg-config" ,pkg-config) |
| 2663 | ("which" ,which))) |
| 2664 | (inputs |
| 2665 | `(("alsa-lib" ,alsa-lib) |
| 2666 | ("pulseaudio" ,pulseaudio))) |
| 2667 | (synopsis "Portable C audio library") |
| 2668 | (description |
| 2669 | "The Portable C Audio Library (pcaudiolib) provides a C@tie{}API to |
| 2670 | different audio devices such as ALSA or PulseAudio.") |
| 2671 | (license (list license:gpl3+ |
| 2672 | ;; The bundled TPCircularBuffer uses a custom license. |
| 2673 | (license:non-copyleft |
| 2674 | "file://src/TPCircularBuffer/README.markdown"))))) |
| 2675 | |
| 2676 | (define-public qjackctl |
| 2677 | (package |
| 2678 | (name "qjackctl") |
| 2679 | (version "0.5.9") |
| 2680 | (source (origin |
| 2681 | (method url-fetch) |
| 2682 | (uri (string-append "mirror://sourceforge/qjackctl/qjackctl/" |
| 2683 | version "/qjackctl-" version ".tar.gz")) |
| 2684 | (sha256 |
| 2685 | (base32 |
| 2686 | "1saywsda9m124rmjp7i3n0llryaliabjxhqhvqr6dm983qy7pypk")))) |
| 2687 | (build-system gnu-build-system) |
| 2688 | (arguments |
| 2689 | '(#:tests? #f)) ; no check target |
| 2690 | (inputs |
| 2691 | `(("jack" ,jack-1) |
| 2692 | ("alsa-lib" ,alsa-lib) |
| 2693 | ("qtbase" ,qtbase) |
| 2694 | ("qtx11extras" ,qtx11extras))) |
| 2695 | (native-inputs |
| 2696 | `(("pkg-config" ,pkg-config) |
| 2697 | ("qttools" ,qttools))) |
| 2698 | (home-page "https://qjackctl.sourceforge.io/") |
| 2699 | (synopsis "Jack server control application") |
| 2700 | (description "Control a Jack server. Allows you to plug various sources |
| 2701 | into various outputs and to start, stop and configure jackd") |
| 2702 | (license license:gpl2+))) |
| 2703 | |
| 2704 | (define-public qjackrcd |
| 2705 | (package |
| 2706 | (name "qjackrcd") |
| 2707 | (version "1.2.2") |
| 2708 | (source (origin |
| 2709 | (method git-fetch) |
| 2710 | (uri (git-reference |
| 2711 | (url "https://github.com/orouits/qjackrcd") |
| 2712 | (commit (string-append "v" version)))) |
| 2713 | (file-name (git-file-name name version)) |
| 2714 | (sha256 |
| 2715 | (base32 |
| 2716 | "1l5iq2mkqd4gn9yr8xbh9qlpp1clcflazychl4vhdbz0bzq4c6al")))) |
| 2717 | (build-system gnu-build-system) |
| 2718 | (arguments |
| 2719 | `(#:phases |
| 2720 | (modify-phases %standard-phases |
| 2721 | (replace 'configure |
| 2722 | (lambda* (#:key outputs #:allow-other-keys) |
| 2723 | (invoke "qmake" |
| 2724 | (string-append "PREFIX=" |
| 2725 | (assoc-ref outputs "out")))))))) |
| 2726 | (native-inputs |
| 2727 | `(("qtbase" ,qtbase))) ; for qmake |
| 2728 | (inputs |
| 2729 | `(("jack" ,jack-1) |
| 2730 | ("libsndfile" ,libsndfile) |
| 2731 | ("qtbase" ,qtbase))) |
| 2732 | (home-page "https://sourceforge.net/projects/qjackrcd/") |
| 2733 | (synopsis "Stereo audio recorder for JACK") |
| 2734 | (description "QJackRcd is a simple graphical stereo recorder for JACK |
| 2735 | supporting silence processing for automatic pause, file splitting, and |
| 2736 | background file post-processing.") |
| 2737 | (license license:gpl2+))) |
| 2738 | |
| 2739 | (define-public supercollider |
| 2740 | (package |
| 2741 | (name "supercollider") |
| 2742 | (version "3.11.0") |
| 2743 | (source (origin |
| 2744 | (method git-fetch) |
| 2745 | (uri (git-reference |
| 2746 | (url "https://github.com/supercollider/supercollider") |
| 2747 | (commit (string-append "Version-" version)) |
| 2748 | ;; for nova-simd, nova-tt, hidapi, TLSF, oscpack |
| 2749 | (recursive? #t))) |
| 2750 | (file-name (git-file-name name version)) |
| 2751 | (sha256 |
| 2752 | (base32 |
| 2753 | "02v911w2kdbg3kfl593lb2ig4sjbfxzv20a0vbcymhfzpvp1x6xp")) |
| 2754 | (modules '((guix build utils) |
| 2755 | (ice-9 ftw))) |
| 2756 | (snippet |
| 2757 | ;; The build system doesn't allow us to unbundle the following |
| 2758 | ;; libraries. hidapi is also heavily patched and upstream not |
| 2759 | ;; actively maintained. |
| 2760 | '(let ((keep-dirs '("nova-simd" "nova-tt" "hidapi" |
| 2761 | "TLSF-2.4.6" "oscpack_1_1_0" "." ".."))) |
| 2762 | (with-directory-excursion "./external_libraries" |
| 2763 | (for-each |
| 2764 | delete-file-recursively |
| 2765 | (scandir "." |
| 2766 | (lambda (x) |
| 2767 | (and (eq? (stat:type (stat x)) 'directory) |
| 2768 | (not (member (basename x) keep-dirs))))))) |
| 2769 | ;; To find the Guix provided ableton-link library. |
| 2770 | (substitute* "lang/CMakeLists.txt" |
| 2771 | (("include\\(\\.\\./external_libraries/link/\ |
| 2772 | AbletonLinkConfig\\.cmake\\)") |
| 2773 | "find_package(AbletonLink NAMES AbletonLink ableton-link \ |
| 2774 | link REQUIRED)")) |
| 2775 | #t)))) |
| 2776 | (build-system cmake-build-system) |
| 2777 | (outputs |
| 2778 | '("out" ;core language |
| 2779 | "ide")) ;qt ide |
| 2780 | (arguments |
| 2781 | `(#:configure-flags '("-DSYSTEM_BOOST=on" "-DSYSTEM_YAMLCPP=on" |
| 2782 | "-DSC_QT=ON" "-DCMAKE_BUILD_TYPE=Release" |
| 2783 | "-DFORTIFY=ON" "-DLIBSCSYNTH=ON" |
| 2784 | "-DSC_EL=off") ;scel is packaged individually as |
| 2785 | ;emacs-scel |
| 2786 | #:phases |
| 2787 | (modify-phases %standard-phases |
| 2788 | ;; HOME must be defined otherwise supercollider throws a "ERROR: |
| 2789 | ;; Primitive '_FileMkDir' failed." error when generating the doc. |
| 2790 | ;; The graphical tests also hang without it. |
| 2791 | (add-after 'unpack 'set-home-directory |
| 2792 | (lambda _ |
| 2793 | (setenv "HOME" (getcwd)) |
| 2794 | #t)) |
| 2795 | (add-after 'unpack 'patch-scclass-dir |
| 2796 | (lambda* (#:key outputs #:allow-other-keys) |
| 2797 | (let* ((out (assoc-ref outputs "out")) |
| 2798 | (scclass-dir |
| 2799 | (string-append out |
| 2800 | "/share/SuperCollider/SCClassLibrary"))) |
| 2801 | (substitute* "lang/LangSource/SC_LanguageConfig.cpp" |
| 2802 | (((string-append |
| 2803 | "SC_Filesystem::instance\\(\\)\\.getDirectory" |
| 2804 | "\\(DirName::Resource\\) / CLASS_LIB_DIR_NAME")) |
| 2805 | (string-append "Path(\"" scclass-dir "\")"))) |
| 2806 | #t))) |
| 2807 | (add-before 'build 'prepare-x |
| 2808 | (lambda _ |
| 2809 | (system "Xvfb &") |
| 2810 | (setenv "DISPLAY" ":0") |
| 2811 | #t)) |
| 2812 | (add-before 'install 'install-ide |
| 2813 | (lambda* (#:key outputs #:allow-other-keys) |
| 2814 | (let* ((out (assoc-ref outputs "out")) |
| 2815 | (ide (assoc-ref outputs "ide")) |
| 2816 | (scide "editors/sc-ide/scide")) |
| 2817 | (install-file scide |
| 2818 | (string-append ide "/bin")) |
| 2819 | (delete-file scide) |
| 2820 | #t)))))) |
| 2821 | (native-inputs |
| 2822 | `(("ableton-link" ,ableton-link) |
| 2823 | ("pkg-config" ,pkg-config) |
| 2824 | ("qttools" ,qttools) |
| 2825 | ("xorg-server" ,xorg-server-for-tests))) |
| 2826 | (inputs |
| 2827 | `(("jack" ,jack-1) |
| 2828 | ("libsndfile" ,libsndfile) |
| 2829 | ("fftw" ,fftw) |
| 2830 | ("libxt" ,libxt) |
| 2831 | ("readline" ,readline) ;readline support for sclang's CLI |
| 2832 | ("alsa" ,alsa-lib) ;for sclang's MIDI interface |
| 2833 | ("eudev" ,eudev) ;for user interactions with devices |
| 2834 | ("avahi" ,avahi) ;zeroconf service discovery support |
| 2835 | ("icu4c" ,icu4c) |
| 2836 | ("boost" ,boost) |
| 2837 | ("boost-sync" ,boost-sync) |
| 2838 | ("yaml-cpp" ,yaml-cpp) |
| 2839 | ("qtbase" ,qtbase) |
| 2840 | ("qtdeclarative" ,qtdeclarative) |
| 2841 | ("qtsvg" ,qtsvg) |
| 2842 | ("qtwebchannel" ,qtwebchannel) |
| 2843 | ("qtwebsockets" ,qtwebsockets))) |
| 2844 | (propagated-inputs ;to get native-search-path |
| 2845 | `(("qtwebengine" ,qtwebengine))) |
| 2846 | (home-page "https://github.com/supercollider/supercollider") |
| 2847 | (synopsis "Synthesis engine and programming language") |
| 2848 | (description "SuperCollider is a synthesis engine (@code{scsynth} or |
| 2849 | @code{supernova}) and programming language (@code{sclang}). It can be used |
| 2850 | for experimenting with sound synthesis and algorithmic composition. |
| 2851 | |
| 2852 | SuperCollider requires jackd to be installed in your user profile and your |
| 2853 | user must be allowed to access the realtime features of the kernel. Search |
| 2854 | for \"realtime\" in the index of the Guix manual to learn how to achieve this |
| 2855 | using Guix System.") |
| 2856 | (license license:gpl2+))) |
| 2857 | |
| 2858 | (define-public raul |
| 2859 | (package |
| 2860 | (name "raul") |
| 2861 | (version "0.8.0") |
| 2862 | (source (origin |
| 2863 | (method url-fetch) |
| 2864 | (uri (string-append "https://download.drobilla.net/raul-" |
| 2865 | version ".tar.bz2")) |
| 2866 | (sha256 |
| 2867 | (base32 |
| 2868 | "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b")))) |
| 2869 | (build-system waf-build-system) |
| 2870 | (arguments |
| 2871 | `(#:python ,python-2 |
| 2872 | #:tests? #f)) ; no check target |
| 2873 | (inputs |
| 2874 | `(("glib" ,glib) |
| 2875 | ("boost" ,boost))) |
| 2876 | (native-inputs |
| 2877 | `(("pkg-config" ,pkg-config))) |
| 2878 | (home-page "https://drobilla.net/software/raul/") |
| 2879 | (synopsis "Real-time audio utility library") |
| 2880 | (description |
| 2881 | "Raul (Real-time Audio Utility Library) is a C++ utility library primarily |
| 2882 | aimed at audio/musical applications.") |
| 2883 | (license license:gpl2+))) |
| 2884 | |
| 2885 | (define-public raul-devel |
| 2886 | (let ((commit "4db870b2b20b0a608ec0283139056b836c5b1624") |
| 2887 | (revision "1")) |
| 2888 | (package (inherit raul) |
| 2889 | (name "raul") |
| 2890 | (version (string-append "0.8.9-" revision "." |
| 2891 | (string-take commit 9))) |
| 2892 | (source (origin |
| 2893 | (method git-fetch) |
| 2894 | (uri (git-reference |
| 2895 | (url "https://git.drobilla.net/raul.git") |
| 2896 | (commit commit))) |
| 2897 | (file-name (string-append name "-" version "-checkout")) |
| 2898 | (sha256 |
| 2899 | (base32 |
| 2900 | "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr"))))))) |
| 2901 | |
| 2902 | (define-public resample |
| 2903 | (package |
| 2904 | (name "resample") |
| 2905 | (version "1.8.1") |
| 2906 | (source (origin |
| 2907 | (method url-fetch) |
| 2908 | (uri (string-append "https://ccrma.stanford.edu/~jos/gz/resample-" |
| 2909 | version |
| 2910 | ".tar.gz")) |
| 2911 | (sha256 (base32 |
| 2912 | "074zj8ydp05yy1hjcglfv3hkvj4cm50f9nralka1992pm6yf8yvy")))) |
| 2913 | (build-system gnu-build-system) |
| 2914 | (native-inputs |
| 2915 | `(("autoconf" ,autoconf) |
| 2916 | ("automake" ,automake) |
| 2917 | ("pkg-config" ,pkg-config) |
| 2918 | ("libtool" ,libtool))) |
| 2919 | (synopsis "Sampling rate conversion and filter design utilities") |
| 2920 | (description "This package contains the @command{resample} and |
| 2921 | @command{windowfilter} command line utilities. The @command{resample} command |
| 2922 | allows changing the sampling rate of a sound file, while the |
| 2923 | @command{windowfilter} command allows to design Finite Impulse Response (FIR) |
| 2924 | filters using the so-called @emph{window method}.") |
| 2925 | (home-page "https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html") |
| 2926 | (license license:lgpl2.1+))) |
| 2927 | |
| 2928 | (define-public rubberband |
| 2929 | (package |
| 2930 | (name "rubberband") |
| 2931 | (version "1.8.2") |
| 2932 | (source (origin |
| 2933 | (method url-fetch) |
| 2934 | (uri |
| 2935 | (string-append "https://bitbucket.org/breakfastquay/rubberband/get/v" |
| 2936 | version |
| 2937 | ".tar.bz2")) |
| 2938 | (file-name (string-append name "-" version ".tar.bz2")) |
| 2939 | (sha256 |
| 2940 | (base32 |
| 2941 | "0462fmjnfqpv2qi0s6ny42drqarkr0xy9lw8frjmfgzyzl5n9294")))) |
| 2942 | (build-system gnu-build-system) |
| 2943 | (arguments |
| 2944 | `(#:tests? #f ; no check target |
| 2945 | #:phases |
| 2946 | (modify-phases %standard-phases |
| 2947 | (add-after 'unpack 'skip-jni-installation |
| 2948 | ;; ‘make install’ unconditionally installs librubberband-jni.so, |
| 2949 | ;; which is never built by ‘make all’. Skip it. |
| 2950 | (lambda _ |
| 2951 | (substitute* "Makefile.in" |
| 2952 | ((".*cp -f \\$\\(JNI_TARGET\\).*") "")) |
| 2953 | #t))))) |
| 2954 | (inputs |
| 2955 | `(("ladspa" ,ladspa) |
| 2956 | ("libsamplerate" ,libsamplerate) |
| 2957 | ("vamp" ,vamp))) |
| 2958 | (native-inputs |
| 2959 | `(("pkg-config" ,pkg-config))) |
| 2960 | (home-page "https://breakfastquay.com/rubberband/") |
| 2961 | (synopsis "Audio time-stretching and pitch-shifting library") |
| 2962 | (description |
| 2963 | "Rubber Band is a library and utility program that permits changing the |
| 2964 | tempo and pitch of an audio recording independently of one another.") |
| 2965 | (license license:gpl2+))) |
| 2966 | |
| 2967 | (define-public rtmidi |
| 2968 | (package |
| 2969 | (name "rtmidi") |
| 2970 | (version "4.0.0") |
| 2971 | (source (origin |
| 2972 | (method url-fetch) |
| 2973 | (uri (string-append "https://www.music.mcgill.ca/~gary/rtmidi" |
| 2974 | "/release/rtmidi-" version ".tar.gz")) |
| 2975 | (file-name (string-append "rtmidi-" version ".tar.gz")) |
| 2976 | (sha256 |
| 2977 | (base32 |
| 2978 | "1k962ljpnwyjw9jjiky2372khhri1wqvrj5qsalfpys31xqzw31p")))) |
| 2979 | (build-system gnu-build-system) |
| 2980 | (inputs |
| 2981 | `(("jack" ,jack-1) |
| 2982 | ("alsa-lib" ,alsa-lib))) |
| 2983 | (native-inputs |
| 2984 | `(("autoconf" ,autoconf) |
| 2985 | ("automake" ,automake) |
| 2986 | ("libtool" ,libtool) |
| 2987 | ("pkg-config" ,pkg-config))) |
| 2988 | (home-page "https://www.music.mcgill.ca/~gary/rtmidi") |
| 2989 | (synopsis "Cross-platform MIDI library for C++") |
| 2990 | (description |
| 2991 | "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific |
| 2992 | classes) that provide a common cross-platform API for realtime MIDI |
| 2993 | input/output.") |
| 2994 | (license license:expat))) |
| 2995 | |
| 2996 | (define-public sratom |
| 2997 | (package |
| 2998 | (name "sratom") |
| 2999 | (version "0.6.4") |
| 3000 | (source (origin |
| 3001 | (method url-fetch) |
| 3002 | (uri (string-append "https://download.drobilla.net/sratom-" |
| 3003 | version ".tar.bz2")) |
| 3004 | (sha256 |
| 3005 | (base32 |
| 3006 | "0vh0biy3ngpzzgdml309c2mqz8xq9q0hlblczb4c6alhp0a8yv0l")))) |
| 3007 | (build-system waf-build-system) |
| 3008 | (arguments `(#:tests? #f)) ;no check target |
| 3009 | (propagated-inputs |
| 3010 | ;; In Requires of sratom-0.pc. |
| 3011 | `(("lv2" ,lv2) |
| 3012 | ("serd" ,serd) |
| 3013 | ("sord" ,sord))) |
| 3014 | (native-inputs |
| 3015 | `(("pkg-config" ,pkg-config))) |
| 3016 | (home-page "https://drobilla.net/software/sratom/") |
| 3017 | (synopsis "Library for serialising LV2 atoms to/from RDF") |
| 3018 | (description |
| 3019 | "Sratom is a library for serialising LV2 atoms to/from RDF, particularly |
| 3020 | the Turtle syntax.") |
| 3021 | (license license:isc))) |
| 3022 | |
| 3023 | (define-public suil |
| 3024 | (package |
| 3025 | (name "suil") |
| 3026 | (version "0.10.6") |
| 3027 | (source (origin |
| 3028 | (method url-fetch) |
| 3029 | (uri (string-append "https://download.drobilla.net/suil-" |
| 3030 | version ".tar.bz2")) |
| 3031 | (sha256 |
| 3032 | (base32 |
| 3033 | "0z4v01pjw4wh65x38w6icn28wdwxz13ayl8hvn4p1g9kmamp1z06")))) |
| 3034 | (build-system waf-build-system) |
| 3035 | (arguments |
| 3036 | `(#:tests? #f)) ;no check target |
| 3037 | (inputs |
| 3038 | `(("lv2" ,lv2) |
| 3039 | ("gtk+" ,gtk+-2) |
| 3040 | ("gtk+" ,gtk+) |
| 3041 | ("qt" ,qtbase))) |
| 3042 | (native-inputs |
| 3043 | `(("pkg-config" ,pkg-config))) |
| 3044 | (home-page "https://drobilla.net/software/suil/") |
| 3045 | (synopsis "Library for loading and wrapping LV2 plugin UIs") |
| 3046 | (description |
| 3047 | "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs. |
| 3048 | |
| 3049 | Suil makes it possible to load a UI of a toolkit in a host using another |
| 3050 | toolkit. The API is designed such that hosts do not need to explicitly |
| 3051 | support specific toolkits – if Suil supports a particular toolkit, then UIs in |
| 3052 | that toolkit will work in all hosts that use Suil automatically. |
| 3053 | |
| 3054 | Suil currently supports every combination of Gtk, Qt, and X11.") |
| 3055 | (license license:isc))) |
| 3056 | |
| 3057 | (define-public timidity++ |
| 3058 | (package |
| 3059 | (name "timidity++") |
| 3060 | (version "2.14.0") |
| 3061 | (source (origin |
| 3062 | (method url-fetch) |
| 3063 | (uri (string-append "mirror://sourceforge/timidity/TiMidity++" |
| 3064 | "/TiMidity++-" version |
| 3065 | "/TiMidity++-" version ".tar.bz2")) |
| 3066 | (sha256 |
| 3067 | (base32 |
| 3068 | "0xk41w4qbk23z1fvqdyfblbz10mmxsllw0svxzjw5sa9y11vczzr")))) |
| 3069 | (build-system gnu-build-system) |
| 3070 | (arguments |
| 3071 | '(#:configure-flags |
| 3072 | (list "--enable-audio=alsa,flac,jack,ao,vorbis,speex" |
| 3073 | "--enable-ncurses" |
| 3074 | "--enable-server" |
| 3075 | "--enable-alsaseq" |
| 3076 | (string-append "--with-default-path=" |
| 3077 | (assoc-ref %outputs "out") "/etc/timidity")) |
| 3078 | #:phases |
| 3079 | (modify-phases %standard-phases |
| 3080 | (add-after 'install 'install-config |
| 3081 | (lambda _ |
| 3082 | (let ((out (string-append (assoc-ref %outputs "out") |
| 3083 | "/etc/timidity"))) |
| 3084 | (mkdir-p out) |
| 3085 | (call-with-output-file |
| 3086 | (string-append out "/timidity.cfg") |
| 3087 | (lambda (port) |
| 3088 | (format port (string-append "source " |
| 3089 | (assoc-ref %build-inputs "freepats") |
| 3090 | "/share/freepats/freepats.cfg"))))) |
| 3091 | #t))))) |
| 3092 | (inputs |
| 3093 | `(("alsa-lib" ,alsa-lib) |
| 3094 | ("ao" ,ao) |
| 3095 | ("flac" ,flac) |
| 3096 | ("jack" ,jack-1) |
| 3097 | ("libogg" ,libogg) |
| 3098 | ("libvorbis" ,libvorbis) |
| 3099 | ("speex" ,speex) |
| 3100 | ("ncurses" ,ncurses) |
| 3101 | ("freepats" ,freepats))) |
| 3102 | (native-inputs |
| 3103 | `(("pkg-config" ,pkg-config))) |
| 3104 | (home-page "http://timidity.sourceforge.net/") |
| 3105 | (synopsis "Software synthesizer for playing MIDI files") |
| 3106 | (description |
| 3107 | "TiMidity++ is a software synthesizer. It can play MIDI files by |
| 3108 | converting them into PCM waveform data; give it a MIDI data along with digital |
| 3109 | instrument data files, then it synthesizes them in real-time, and plays. It |
| 3110 | can not only play sounds, but also can save the generated waveforms into hard |
| 3111 | disks as various audio file formats.") |
| 3112 | (license license:gpl2+))) |
| 3113 | |
| 3114 | (define-public vamp |
| 3115 | (package |
| 3116 | (name "vamp") |
| 3117 | (version "2.6") |
| 3118 | (source (origin |
| 3119 | (method url-fetch) |
| 3120 | (uri (string-append |
| 3121 | "https://code.soundsoftware.ac.uk" |
| 3122 | "/attachments/download/1520/vamp-plugin-sdk-" |
| 3123 | version ".tar.gz")) |
| 3124 | (sha256 |
| 3125 | (base32 |
| 3126 | "0pzq0yy2kdl3jgfc2aqmh5m55nk1ild0hq8mydiiw35c6y0mglyh")))) |
| 3127 | (build-system gnu-build-system) |
| 3128 | (arguments |
| 3129 | `(#:tests? #f ; no check target |
| 3130 | #:phases |
| 3131 | (modify-phases %standard-phases |
| 3132 | (add-after 'install 'remove-libvamp-hostsdk.la |
| 3133 | (lambda* (#:key outputs #:allow-other-keys) |
| 3134 | ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656 |
| 3135 | (for-each delete-file |
| 3136 | (let ((out (assoc-ref outputs "out"))) |
| 3137 | (list (string-append out "/lib/libvamp-sdk.la") |
| 3138 | (string-append out "/lib/libvamp-hostsdk.la")))) |
| 3139 | #t))))) |
| 3140 | (inputs |
| 3141 | `(("libsndfile" ,libsndfile))) |
| 3142 | (native-inputs |
| 3143 | `(("pkg-config" ,pkg-config))) |
| 3144 | (home-page "https://vamp-plugins.org") |
| 3145 | (synopsis "Modular and extensible audio processing system") |
| 3146 | (description |
| 3147 | "Vamp is an audio processing plugin system for plugins that extract |
| 3148 | descriptive information from audio data — typically referred to as audio |
| 3149 | analysis plugins or audio feature extraction plugins.") |
| 3150 | (license |
| 3151 | (license:x11-style |
| 3152 | "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING")))) |
| 3153 | |
| 3154 | (define-public libsbsms |
| 3155 | (package |
| 3156 | (name "libsbsms") |
| 3157 | (version "2.0.2") |
| 3158 | (source |
| 3159 | (origin |
| 3160 | (method url-fetch) |
| 3161 | (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version |
| 3162 | "/libsbsms-" version ".tar.gz")) |
| 3163 | (sha256 |
| 3164 | (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf")))) |
| 3165 | (build-system gnu-build-system) |
| 3166 | (native-inputs `(("automake" ,automake))) |
| 3167 | (arguments |
| 3168 | `(#:configure-flags |
| 3169 | ;; Disable the use of SSE unless on x86_64. |
| 3170 | ,(if (not (string-prefix? "x86_64" (or (%current-target-system) |
| 3171 | (%current-system)))) |
| 3172 | ''("--disable-sse") |
| 3173 | ''()) |
| 3174 | #:phases |
| 3175 | (modify-phases %standard-phases |
| 3176 | (add-after |
| 3177 | 'unpack 'fix-ar-lib-path |
| 3178 | (lambda* (#:key inputs #:allow-other-keys) |
| 3179 | ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'. |
| 3180 | (delete-file "ar-lib") |
| 3181 | (symlink |
| 3182 | (string-append (assoc-ref inputs "automake") "/share/automake-" |
| 3183 | ,(package-version automake) "/ar-lib") |
| 3184 | "ar-lib") |
| 3185 | #t))))) |
| 3186 | (home-page "http://sbsms.sourceforge.net/") |
| 3187 | (synopsis "Library for time stretching and pitch scaling of audio") |
| 3188 | (description |
| 3189 | "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time |
| 3190 | stretching and pitch scaling of audio. This package contains the library.") |
| 3191 | ;; There is no explicit declaration of a license, but a COPYING file |
| 3192 | ;; containing gpl2. |
| 3193 | (license license:gpl2))) |
| 3194 | |
| 3195 | (define-public wavpack |
| 3196 | (package |
| 3197 | (name "wavpack") |
| 3198 | (version "5.3.2") |
| 3199 | (source |
| 3200 | (origin |
| 3201 | (method git-fetch) |
| 3202 | (uri (git-reference |
| 3203 | (url "https://github.com/dbry/WavPack") |
| 3204 | (commit "e4e8d191e8dd74cbdbeaef3232c16a7ef517e68d"))) |
| 3205 | (sha256 |
| 3206 | (base32 "1zj8svk6giy1abq3940sz32ygz7zldppxl47852zgn5wfm3l2spx")) |
| 3207 | (file-name (git-file-name name version)))) |
| 3208 | (build-system gnu-build-system) |
| 3209 | (arguments |
| 3210 | '(#:configure-flags |
| 3211 | (list "--disable-static") |
| 3212 | #:phases |
| 3213 | (modify-phases %standard-phases |
| 3214 | (replace 'bootstrap |
| 3215 | ;; Running ./autogen.sh would cause premature configuration. |
| 3216 | (lambda _ |
| 3217 | (invoke "autoreconf" "-vif") |
| 3218 | #t))))) |
| 3219 | (native-inputs |
| 3220 | `(("autoconf" ,autoconf) |
| 3221 | ("automake" ,automake) |
| 3222 | ("libtool" ,libtool))) |
| 3223 | (home-page "http://www.wavpack.com/") |
| 3224 | (synopsis "Hybrid lossless audio codec") |
| 3225 | (description |
| 3226 | "WavPack is an audio compression format with lossless, lossy and hybrid |
| 3227 | compression modes. This package contains command-line programs and library to |
| 3228 | encode and decode wavpack files.") |
| 3229 | (license license:bsd-3))) |
| 3230 | |
| 3231 | (define-public libmodplug |
| 3232 | (package |
| 3233 | (name "libmodplug") |
| 3234 | (version "0.8.9.0") |
| 3235 | (source (origin |
| 3236 | (method url-fetch) |
| 3237 | (uri (string-append |
| 3238 | "mirror://sourceforge/modplug-xmms/" |
| 3239 | name "/" version "/" name "-" version ".tar.gz")) |
| 3240 | (sha256 |
| 3241 | (base32 |
| 3242 | "1pnri98a603xk47smnxr551svbmgbzcw018mq1k6srbrq6kaaz25")))) |
| 3243 | (build-system gnu-build-system) |
| 3244 | (home-page "http://modplug-xmms.sourceforge.net/") |
| 3245 | (synopsis "Mod file playing library") |
| 3246 | (description |
| 3247 | "Libmodplug renders mod music files as raw audio data, for playing or |
| 3248 | conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are |
| 3249 | supported. Optional features include high-quality resampling, bass expansion, |
| 3250 | surround and reverb.") |
| 3251 | (license license:public-domain))) |
| 3252 | |
| 3253 | (define-public libxmp |
| 3254 | (package |
| 3255 | (name "libxmp") |
| 3256 | (version "4.4.1") |
| 3257 | (source (origin |
| 3258 | (method url-fetch) |
| 3259 | (uri (string-append "mirror://sourceforge/xmp/libxmp/" version "/" |
| 3260 | name "-" version ".tar.gz")) |
| 3261 | (sha256 |
| 3262 | (base32 |
| 3263 | "1kycz4jsyvmf7ny9227b497wc7y5ligydi6fvvldmkf8hk63ad9m")))) |
| 3264 | (build-system gnu-build-system) |
| 3265 | (home-page "http://xmp.sourceforge.net/") |
| 3266 | (synopsis "Module player library") |
| 3267 | (description |
| 3268 | "Libxmp is a library that renders module files to PCM data. It supports |
| 3269 | over 90 mainstream and obscure module formats including Protracker (MOD), |
| 3270 | Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).") |
| 3271 | (license license:lgpl2.1+))) |
| 3272 | |
| 3273 | (define-public xmp |
| 3274 | (package |
| 3275 | (name "xmp") |
| 3276 | (version "4.1.0") |
| 3277 | (source (origin |
| 3278 | (method url-fetch) |
| 3279 | (uri (string-append "mirror://sourceforge/xmp/xmp/" version "/" |
| 3280 | name "-" version ".tar.gz")) |
| 3281 | (sha256 |
| 3282 | (base32 |
| 3283 | "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x")))) |
| 3284 | (build-system gnu-build-system) |
| 3285 | (native-inputs |
| 3286 | `(("pkg-config" ,pkg-config))) |
| 3287 | (inputs |
| 3288 | `(("libxmp" ,libxmp) |
| 3289 | ("pulseaudio" ,pulseaudio))) |
| 3290 | (home-page "http://xmp.sourceforge.net/") |
| 3291 | (synopsis "Extended module player") |
| 3292 | (description |
| 3293 | "Xmp is a portable module player that plays over 90 mainstream and |
| 3294 | obscure module formats, including Protracker MOD, Fasttracker II XM, Scream |
| 3295 | Tracker 3 S3M and Impulse Tracker IT files.") |
| 3296 | (license license:gpl2+))) |
| 3297 | |
| 3298 | (define-public soundtouch |
| 3299 | (package |
| 3300 | (name "soundtouch") |
| 3301 | (version "2.1.2") |
| 3302 | (source |
| 3303 | (origin |
| 3304 | (method git-fetch) |
| 3305 | (uri (git-reference |
| 3306 | (url "https://gitlab.com/soundtouch/soundtouch.git") |
| 3307 | (commit version))) |
| 3308 | (file-name (git-file-name name version)) |
| 3309 | (sha256 |
| 3310 | (base32 "174wgm3s0inmbnkrlnspxjwm2014qhjhkbdqa5r8rbfi0nzqxzsz")))) |
| 3311 | (build-system gnu-build-system) |
| 3312 | (native-inputs |
| 3313 | `(("autoconf" ,autoconf) |
| 3314 | ("automake" ,automake) |
| 3315 | ("libtool" ,libtool) |
| 3316 | ("file" ,file))) |
| 3317 | (home-page "https://www.surina.net/soundtouch/") |
| 3318 | (synopsis |
| 3319 | "Audio processing library for changing tempo, pitch and playback rate") |
| 3320 | (description |
| 3321 | "SoundTouch is an audio processing library for changing the tempo, pitch |
| 3322 | and playback rates of audio streams or audio files. It is intended for |
| 3323 | application developers writing sound processing tools that require tempo/pitch |
| 3324 | control functionality, or just for playing around with the sound effects.") |
| 3325 | (license license:lgpl2.1+))) |
| 3326 | |
| 3327 | (define-public sox |
| 3328 | (package |
| 3329 | (name "sox") |
| 3330 | (version "14.4.2") |
| 3331 | (source (origin |
| 3332 | (method url-fetch) |
| 3333 | (uri (string-append "mirror://sourceforge/sox/sox/" version "/" |
| 3334 | name "-" version ".tar.bz2")) |
| 3335 | (sha256 |
| 3336 | (base32 |
| 3337 | "170lx90r1nlnb2j6lg00524iwvqy72p48vii4xc5prrh8dnrb9l1")))) |
| 3338 | (build-system gnu-build-system) |
| 3339 | (arguments |
| 3340 | '(#:configure-flags |
| 3341 | ;; The upstream asks to identify the distribution to diagnose SoX |
| 3342 | ;; bug reports. |
| 3343 | '("--with-distro=Guix System Distribution"))) |
| 3344 | (native-inputs |
| 3345 | `(("pkg-config" ,pkg-config))) |
| 3346 | (inputs |
| 3347 | `(("alsa-lib" ,alsa-lib) |
| 3348 | ("ao" ,ao) |
| 3349 | ("flac" ,flac) |
| 3350 | ("lame" ,lame) |
| 3351 | ("libid3tag" ,libid3tag) |
| 3352 | ("libltdl" ,libltdl) |
| 3353 | ("libmad" ,libmad) |
| 3354 | ("libpng" ,libpng) |
| 3355 | ("libvorbis" ,libvorbis) |
| 3356 | ("pulseaudio" ,pulseaudio))) |
| 3357 | (home-page "http://sox.sourceforge.net") |
| 3358 | (synopsis "Sound processing utility") |
| 3359 | (description |
| 3360 | "SoX (Sound eXchange) is a command line utility that can convert |
| 3361 | various formats of computer audio files to other formats. It can also |
| 3362 | apply various effects to these sound files, and, as an added bonus, SoX |
| 3363 | can play and record audio files.") |
| 3364 | ;; sox.c is distributed under GPL, while the files that make up |
| 3365 | ;; libsox are licensed under LGPL. |
| 3366 | (license (list license:gpl2+ license:lgpl2.1+)))) |
| 3367 | |
| 3368 | (define-public soxr |
| 3369 | (package |
| 3370 | (name "soxr") |
| 3371 | (version "0.1.3") |
| 3372 | (source |
| 3373 | (origin |
| 3374 | (method url-fetch) |
| 3375 | (uri |
| 3376 | (string-append "mirror://sourceforge/soxr/soxr-" version |
| 3377 | "-Source.tar.xz")) |
| 3378 | (sha256 |
| 3379 | (base32 "12aql6svkplxq5fjycar18863hcq84c5kx8g6f4rj0lcvigw24di")))) |
| 3380 | (build-system cmake-build-system) |
| 3381 | (arguments '(#:tests? #f)) ;no 'check' target |
| 3382 | (home-page "https://sourceforge.net/p/soxr/wiki/Home/") |
| 3383 | (synopsis "One-dimensional sample-rate conversion library") |
| 3384 | (description |
| 3385 | "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate |
| 3386 | conversion. It may be used, for example, to resample PCM-encoded audio.") |
| 3387 | (license license:lgpl2.1+))) |
| 3388 | |
| 3389 | (define-public twolame |
| 3390 | (package |
| 3391 | (name "twolame") |
| 3392 | (version "0.4.0") |
| 3393 | (source |
| 3394 | (origin |
| 3395 | (method url-fetch) |
| 3396 | (uri (string-append "mirror://sourceforge/twolame/twolame/" version |
| 3397 | "/twolame-" version ".tar.gz")) |
| 3398 | (sha256 |
| 3399 | (base32 "0zf8sxqb02w07ah55b1y7ab643zmpbhn62spa9pqra0rc17l4dfc")))) |
| 3400 | (build-system gnu-build-system) |
| 3401 | (inputs |
| 3402 | `(("libsndfile" ,libsndfile))) |
| 3403 | (native-inputs |
| 3404 | `(("perl" ,perl) |
| 3405 | ("which" ,which))) ;used in tests/test.pl |
| 3406 | (home-page "http://www.twolame.org/") |
| 3407 | (synopsis "MPEG Audio Layer 2 (MP2) encoder") |
| 3408 | (description |
| 3409 | "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on |
| 3410 | tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and |
| 3411 | portions of LAME.") |
| 3412 | (license license:lgpl2.1+))) |
| 3413 | |
| 3414 | (define-public portaudio |
| 3415 | (package |
| 3416 | (name "portaudio") |
| 3417 | (version "190600.20161030") |
| 3418 | (source |
| 3419 | (origin |
| 3420 | (method url-fetch) |
| 3421 | (uri (string-append |
| 3422 | "http://www.portaudio.com/archives/pa_stable_v" |
| 3423 | (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version) |
| 3424 | ".tgz")) |
| 3425 | (sha256 |
| 3426 | (base32 "04qmin6nj144b8qb9kkd9a52xfvm0qdgm8bg8jbl7s3frmyiv8pm")) |
| 3427 | (patches (search-patches "portaudio-audacity-compat.patch")))) |
| 3428 | (build-system gnu-build-system) |
| 3429 | (inputs |
| 3430 | ;; TODO: Add ASIHPI. |
| 3431 | `(("alsa-lib" ,alsa-lib) |
| 3432 | ("jack" ,jack-1))) |
| 3433 | ;; Autoreconf is necessary because the audacity-compat patch modifies .in |
| 3434 | ;; files. |
| 3435 | (native-inputs |
| 3436 | `(("autoconf" ,autoconf) |
| 3437 | ("automake" ,automake) |
| 3438 | ("libtool" ,libtool) |
| 3439 | ("pkg-config" ,pkg-config))) |
| 3440 | (arguments |
| 3441 | '(#:tests? #f ;no 'check' target |
| 3442 | #:parallel-build? #f ;fails on some systems |
| 3443 | #:configure-flags '("--with-pic" |
| 3444 | "--enable-cxx" |
| 3445 | ;; XXX: The following prevents a build error |
| 3446 | ;; because of missing depcomp when C++ bindings are |
| 3447 | ;; requested. |
| 3448 | "--disable-dependency-tracking") |
| 3449 | #:phases |
| 3450 | (modify-phases %standard-phases |
| 3451 | ;; This is needed for linking the static libraries |
| 3452 | (add-after 'unpack 'build-only-position-independent-code |
| 3453 | (lambda _ |
| 3454 | (substitute* "configure.in" |
| 3455 | (("AC_PROG_LIBTOOL" m) |
| 3456 | (string-append m "\nAM_PROG_AR\nLT_INIT([pic-only])"))) |
| 3457 | (delete-file "configure") |
| 3458 | #t)) |
| 3459 | ;; Some headers are not installed by default, but are needed by |
| 3460 | ;; packages like Kaldi. |
| 3461 | (add-after 'install 'install-missing-headers |
| 3462 | (lambda* (#:key outputs #:allow-other-keys) |
| 3463 | (install-file "src/common/pa_ringbuffer.h" |
| 3464 | (string-append (assoc-ref outputs "out") "/include")) |
| 3465 | #t))))) |
| 3466 | (home-page "http://www.portaudio.com/") |
| 3467 | (synopsis "Audio I/O library") |
| 3468 | (description |
| 3469 | "PortAudio is a portable C/C++ audio I/O library providing a simple API |
| 3470 | to record and/or play sound using a callback function or a blocking read/write |
| 3471 | interface.") |
| 3472 | (license license:expat))) |
| 3473 | |
| 3474 | (define-public qsynth |
| 3475 | (package |
| 3476 | (name "qsynth") |
| 3477 | (version "0.5.7") |
| 3478 | (source |
| 3479 | (origin |
| 3480 | (method url-fetch) |
| 3481 | (uri (string-append "mirror://sourceforge/qsynth/qsynth/" version |
| 3482 | "/qsynth-" version ".tar.gz")) |
| 3483 | (sha256 |
| 3484 | (base32 "18im4w8agj60nkppwbkxqnhpp13z5li3w30kklv4lgs20rvgbvl6")))) |
| 3485 | (build-system gnu-build-system) |
| 3486 | (arguments |
| 3487 | `(#:tests? #f)) ; no "check" phase |
| 3488 | (native-inputs |
| 3489 | `(("qttools" ,qttools) |
| 3490 | ("pkg-config" ,pkg-config))) |
| 3491 | (inputs |
| 3492 | `(("fluidsynth" ,fluidsynth) |
| 3493 | ("qtbase" ,qtbase) |
| 3494 | ("qtx11extras" ,qtx11extras))) |
| 3495 | (home-page "https://qsynth.sourceforge.io") |
| 3496 | (synopsis "Graphical user interface for FluidSynth") |
| 3497 | (description |
| 3498 | "Qsynth is a GUI front-end application for the FluidSynth SoundFont |
| 3499 | synthesizer written in C++.") |
| 3500 | (license license:gpl2+))) |
| 3501 | |
| 3502 | (define-public rsound |
| 3503 | (package |
| 3504 | (name "rsound") |
| 3505 | (version "1.1") |
| 3506 | (source |
| 3507 | (origin |
| 3508 | (method git-fetch) |
| 3509 | (uri (git-reference |
| 3510 | (url "https://github.com/Themaister/RSound") |
| 3511 | (commit (string-append "v" version)))) |
| 3512 | (file-name (git-file-name name version)) |
| 3513 | (sha256 |
| 3514 | (base32 "0gspmr3klwnq98h17p5hc6ifygya4p80g4g8r7a1qavm3mv19waf")))) |
| 3515 | (build-system gnu-build-system) |
| 3516 | (inputs |
| 3517 | `(("alsa-lib" ,alsa-lib) |
| 3518 | ("jack" ,jack-1) |
| 3519 | ("ao" ,ao) |
| 3520 | ("libsamplerate" ,libsamplerate) |
| 3521 | ("openal" ,openal) |
| 3522 | ("portaudio" ,portaudio) |
| 3523 | ("pulseaudio" ,pulseaudio))) |
| 3524 | (arguments |
| 3525 | '(#:phases |
| 3526 | (modify-phases %standard-phases |
| 3527 | (replace 'configure |
| 3528 | (lambda* (#:key outputs #:allow-other-keys) |
| 3529 | (setenv "CC" "gcc") |
| 3530 | (invoke "./configure" |
| 3531 | (string-append "--prefix=" (assoc-ref outputs "out")))))) |
| 3532 | ;; No 'check' target. |
| 3533 | #:tests? #f)) |
| 3534 | (home-page "https://themaister.net/rsound.html") |
| 3535 | (synopsis "Networked audio system") |
| 3536 | (description |
| 3537 | "RSound allows you to send audio from an application and transfer it |
| 3538 | directly to a different computer on your LAN network. It is an audio daemon |
| 3539 | with a much different focus than most other audio daemons.") |
| 3540 | (license license:gpl3+))) |
| 3541 | |
| 3542 | (define-public xjackfreak |
| 3543 | (package |
| 3544 | (name "xjackfreak") |
| 3545 | (version "1.0") |
| 3546 | (source (origin |
| 3547 | (method git-fetch) |
| 3548 | (uri (git-reference |
| 3549 | (url "https://github.com/johnhldavis/xjackfreak") |
| 3550 | (commit (string-append "v" version)))) |
| 3551 | (file-name (git-file-name name version)) |
| 3552 | (sha256 |
| 3553 | (base32 |
| 3554 | "18c546qidbrj0f5wfiq5llii2192xpln0ab3r4vpr7i3wybxqjfz")))) |
| 3555 | (build-system gnu-build-system) |
| 3556 | (arguments |
| 3557 | `(#:make-flags |
| 3558 | (list (string-append "docdir=" (assoc-ref %outputs "out") |
| 3559 | "/share/doc/xjackfreak")))) |
| 3560 | (inputs |
| 3561 | `(("jack" ,jack-1) |
| 3562 | ("libx11" ,libx11) |
| 3563 | ("libxt" ,libxt) |
| 3564 | ("libxext" ,libxext))) |
| 3565 | (native-inputs |
| 3566 | `(("pkg-config" ,pkg-config))) |
| 3567 | (home-page "https://github.com/johnhldavis/xjackfreak") |
| 3568 | (synopsis "JACK audio frequency analyzer and display") |
| 3569 | (description |
| 3570 | "XJackFreak is an audio analysis and equalizing tool for the Jack Audio |
| 3571 | Connection Kit. It can display the FFT of any input, modify it and output the |
| 3572 | result.") |
| 3573 | (license license:gpl3+))) |
| 3574 | |
| 3575 | (define-public zita-convolver |
| 3576 | (package |
| 3577 | (name "zita-convolver") |
| 3578 | (version "4.0.3") |
| 3579 | (source (origin |
| 3580 | (method url-fetch) |
| 3581 | (uri (string-append |
| 3582 | "http://kokkinizita.linuxaudio.org" |
| 3583 | "/linuxaudio/downloads/zita-convolver-" |
| 3584 | version ".tar.bz2")) |
| 3585 | (snippet |
| 3586 | ;; Don't optimize for a specific processor architecture. |
| 3587 | '(begin |
| 3588 | (substitute* "source/Makefile" |
| 3589 | (("^CXXFLAGS \\+= -march=native") "")) |
| 3590 | #t)) |
| 3591 | (modules '((guix build utils))) |
| 3592 | (sha256 |
| 3593 | (base32 |
| 3594 | "0prji66p86z2bzminywkwchr5bfgxcg2i8y803pydd1hzf2198cs")))) |
| 3595 | (build-system gnu-build-system) |
| 3596 | (arguments |
| 3597 | `(#:tests? #f ; no "check" target |
| 3598 | #:make-flags |
| 3599 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) |
| 3600 | (string-append "SUFFIX=")) |
| 3601 | #:phases |
| 3602 | (modify-phases %standard-phases |
| 3603 | (add-after 'unpack 'patch-makefile-and-enter-directory |
| 3604 | (lambda _ |
| 3605 | (substitute* "source/Makefile" |
| 3606 | (("ldconfig") "true") |
| 3607 | (("^LIBDIR =.*") "LIBDIR = lib\n")) |
| 3608 | (chdir "source") |
| 3609 | #t)) |
| 3610 | (add-after 'install 'install-symlink |
| 3611 | (lambda _ |
| 3612 | (symlink "libzita-convolver.so" |
| 3613 | (string-append (assoc-ref %outputs "out") |
| 3614 | "/lib/libzita-convolver.so.4")) |
| 3615 | #t)) |
| 3616 | ;; no configure script |
| 3617 | (delete 'configure)))) |
| 3618 | (inputs `(("fftwf" ,fftwf))) |
| 3619 | (home-page "https://kokkinizita.linuxaudio.org") |
| 3620 | (synopsis "Fast, partitioned convolution engine library") |
| 3621 | (description |
| 3622 | "Zita convolver is a C++ library providing a real-time convolution |
| 3623 | engine.") |
| 3624 | (license license:gpl3+))) |
| 3625 | |
| 3626 | (define-public zita-resampler |
| 3627 | (package |
| 3628 | (name "zita-resampler") |
| 3629 | (version "1.6.2") |
| 3630 | (source (origin |
| 3631 | (method url-fetch) |
| 3632 | (uri (string-append |
| 3633 | "http://kokkinizita.linuxaudio.org" |
| 3634 | "/linuxaudio/downloads/zita-resampler-" |
| 3635 | version ".tar.bz2")) |
| 3636 | (snippet |
| 3637 | ;; Don't optimize for a specific processor architecture. |
| 3638 | '(begin |
| 3639 | (substitute* '("apps/Makefile" "source/Makefile") |
| 3640 | (("^CXXFLAGS \\+= -march=native") "")) |
| 3641 | #t)) |
| 3642 | (modules '((guix build utils))) |
| 3643 | (sha256 |
| 3644 | (base32 |
| 3645 | "1my5k2dh2dkvjp6xjnf9qy6i7s28z13kw1n9pwa4a2cpwbzawfr3")))) |
| 3646 | (build-system gnu-build-system) |
| 3647 | (arguments |
| 3648 | `(#:tests? #f ; no "check" target |
| 3649 | #:make-flags |
| 3650 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) |
| 3651 | (string-append "SUFFIX=")) |
| 3652 | #:phases |
| 3653 | (modify-phases %standard-phases |
| 3654 | (add-after |
| 3655 | 'unpack 'patch-makefile-and-enter-directory |
| 3656 | (lambda _ |
| 3657 | (substitute* "source/Makefile" |
| 3658 | (("ldconfig") "true") |
| 3659 | (("^LIBDIR =.*") "LIBDIR = lib\n")) |
| 3660 | (chdir "source") |
| 3661 | #t)) |
| 3662 | (add-after |
| 3663 | 'install 'install-symlink |
| 3664 | (lambda _ |
| 3665 | (symlink "libzita-resampler.so" |
| 3666 | (string-append (assoc-ref %outputs "out") |
| 3667 | "/lib/libzita-resampler.so.1")) |
| 3668 | #t)) |
| 3669 | ;; no configure script |
| 3670 | (delete 'configure)))) |
| 3671 | (home-page "https://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html") |
| 3672 | (synopsis "C++ library for resampling audio signals") |
| 3673 | (description |
| 3674 | "Libzita-resampler is a C++ library for resampling audio signals. It is |
| 3675 | designed to be used within a real-time processing context, to be fast, and to |
| 3676 | provide high-quality sample rate conversion.") |
| 3677 | (license license:gpl3+))) |
| 3678 | |
| 3679 | (define-public zita-alsa-pcmi |
| 3680 | (package |
| 3681 | (name "zita-alsa-pcmi") |
| 3682 | (version "0.3.2") |
| 3683 | (source (origin |
| 3684 | (method url-fetch) |
| 3685 | (uri (string-append |
| 3686 | "http://kokkinizita.linuxaudio.org" |
| 3687 | "/linuxaudio/downloads/zita-alsa-pcmi-" |
| 3688 | version ".tar.bz2")) |
| 3689 | (sha256 |
| 3690 | (base32 |
| 3691 | "12d7vdg74yh21w69qi0wg57iz4876j94qbiq09bvscih6xz9y78s")))) |
| 3692 | (build-system gnu-build-system) |
| 3693 | (arguments |
| 3694 | `(#:tests? #f ; no "check" target |
| 3695 | #:make-flags |
| 3696 | (list (string-append "PREFIX=" (assoc-ref %outputs "out")) |
| 3697 | (string-append "SUFFIX=")) |
| 3698 | #:phases |
| 3699 | (modify-phases %standard-phases |
| 3700 | (add-after 'unpack 'patch-makefile-and-enter-directory |
| 3701 | (lambda _ |
| 3702 | (substitute* "source/Makefile" |
| 3703 | (("ldconfig") "true") |
| 3704 | (("^LIBDIR =.*") "LIBDIR = lib\n")) |
| 3705 | (chdir "source") |
| 3706 | #t)) |
| 3707 | (add-after 'install 'install-symlink |
| 3708 | (lambda _ |
| 3709 | (symlink "libzita-alsa-pcmi.so" |
| 3710 | (string-append (assoc-ref %outputs "out") |
| 3711 | "/lib/libzita-alsa-pcmi.so.0")) |
| 3712 | #t)) |
| 3713 | ;; no configure script |
| 3714 | (delete 'configure)))) |
| 3715 | (inputs |
| 3716 | `(("alsa-lib" ,alsa-lib) |
| 3717 | ("fftw" ,fftw))) |
| 3718 | (home-page "https://kokkinizita.linuxaudio.org") |
| 3719 | (synopsis "C++ wrapper around the ALSA API") |
| 3720 | (description |
| 3721 | "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy |
| 3722 | access to ALSA PCM devices, taking care of the many functions required to |
| 3723 | open, initialise and use a hw: device in mmap mode, and providing floating |
| 3724 | point audio data.") |
| 3725 | (license license:gpl3+))) |
| 3726 | |
| 3727 | (define-public cuetools |
| 3728 | (package |
| 3729 | (name "cuetools") |
| 3730 | (version "1.4.1") |
| 3731 | (source (origin |
| 3732 | (method git-fetch) |
| 3733 | (uri (git-reference |
| 3734 | (url "https://github.com/svend/cuetools") |
| 3735 | (commit version))) |
| 3736 | (file-name (git-file-name name version)) |
| 3737 | (sha256 |
| 3738 | (base32 |
| 3739 | "02ksv1ahf1v4cr2xbclsfv5x17m9ivzbssb5r8xjm97yh8a7spa3")))) |
| 3740 | (build-system gnu-build-system) |
| 3741 | ;; The source checkout is not bootstrapped. |
| 3742 | (native-inputs |
| 3743 | `(("autoconf" ,autoconf) |
| 3744 | ("automake" ,automake) |
| 3745 | ("flex" ,flex) |
| 3746 | ("bison" ,bison))) |
| 3747 | (synopsis "Cue and toc file parsers and utilities") |
| 3748 | (description "Cuetools is a set of programs that are useful for manipulating |
| 3749 | and using CUE sheet (cue) files and Table of Contents (toc) files. CUE and TOC |
| 3750 | files are a way to represent the layout of a data or audio CD in a |
| 3751 | machine-readable ASCII format.") |
| 3752 | (home-page "https://github.com/svend/cuetools") |
| 3753 | (license license:gpl2+))) |
| 3754 | |
| 3755 | (define-public shntool |
| 3756 | (package |
| 3757 | (name "shntool") |
| 3758 | (version "3.0.10") |
| 3759 | (source (origin |
| 3760 | (method url-fetch) |
| 3761 | (uri (string-append "http://etree.org/shnutils/shntool/dist/src/" |
| 3762 | "shntool-" version ".tar.gz")) |
| 3763 | (sha256 |
| 3764 | (base32 |
| 3765 | "00i1rbjaaws3drkhiczaign3lnbhr161b7rbnjr8z83w8yn2wc3l")))) |
| 3766 | (build-system gnu-build-system) |
| 3767 | (synopsis "WAVE audio data processing tool") |
| 3768 | (description "shntool is a multi-purpose WAVE data processing and reporting |
| 3769 | utility. File formats are abstracted from its core, so it can process any file |
| 3770 | that contains WAVE data, compressed or not---provided there exists a format |
| 3771 | module to handle that particular file type. It can also generate CUE files, and |
| 3772 | use them split WAVE data into multiple files.") |
| 3773 | (home-page "http://etree.org/shnutils/shntool/") |
| 3774 | ;; 'install-sh' bears the x11 license |
| 3775 | (license (list license:gpl2+ license:x11)))) |
| 3776 | |
| 3777 | (define-public dcadec |
| 3778 | (package |
| 3779 | (name "dcadec") |
| 3780 | (version "0.2.0") |
| 3781 | (source (origin |
| 3782 | (method git-fetch) |
| 3783 | (uri (git-reference |
| 3784 | (url "https://github.com/foo86/dcadec") |
| 3785 | (commit (string-append "v" version)))) |
| 3786 | (file-name (git-file-name name version)) |
| 3787 | (sha256 |
| 3788 | (base32 |
| 3789 | "07nd0ajizrp1w02bsyfcv18431r8m8rq8gjfmz9wmckpg7cxj2hs")))) |
| 3790 | (build-system gnu-build-system) |
| 3791 | (arguments |
| 3792 | ;; Test files are missing: https://github.com/foo86/dcadec/issues/53 |
| 3793 | '(#:tests? #f |
| 3794 | #:make-flags |
| 3795 | (list "CC=gcc" |
| 3796 | ;; Build shared library. |
| 3797 | "CONFIG_SHARED=1" |
| 3798 | (string-append "PREFIX=" (assoc-ref %outputs "out")) |
| 3799 | ;; Set proper runpath. |
| 3800 | (string-append "LDFLAGS=-Wl,-rpath=" |
| 3801 | (assoc-ref %outputs "out") |
| 3802 | "/lib")) |
| 3803 | #:phases |
| 3804 | (modify-phases %standard-phases |
| 3805 | ;; No configure script, just a hand-written Makefile. |
| 3806 | (delete 'configure)))) |
| 3807 | (synopsis "DTS Coherent Acoustics decoder") |
| 3808 | (description "Dcadec is a DTS Coherent Acoustics surround sound decoder |
| 3809 | with support for HD extensions.") |
| 3810 | (home-page "https://github.com/foo86/dcadec") |
| 3811 | (license license:lgpl2.1+))) |
| 3812 | |
| 3813 | (define-public bs1770gain |
| 3814 | (package |
| 3815 | (name "bs1770gain") |
| 3816 | (version "0.7.0") |
| 3817 | (home-page "https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html") |
| 3818 | (source |
| 3819 | (origin |
| 3820 | (method url-fetch) |
| 3821 | (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/" |
| 3822 | version "/bs1770gain-" version ".tar.gz")) |
| 3823 | (sha256 |
| 3824 | (base32 "0a2dcaxvxy5m3a5sb1lhplsymvz3ypaiidc5xn9qy01h53zvyvkp")) |
| 3825 | (modules '((guix build utils))) |
| 3826 | (snippet |
| 3827 | `(begin |
| 3828 | ;; XXX |
| 3829 | (substitute* (find-files "." "\\.[ch]$") |
| 3830 | (("^ \\* N..o.*") "")) |
| 3831 | (substitute* "libbg/bgx.c" |
| 3832 | (("#define BG.* ") "#define BS ") |
| 3833 | (("BG.*NO?.*N.*S.*E.*N.*SE?") "NO") |
| 3834 | (("\"( #|N).*\"") "\"\"")) |
| 3835 | (substitute* (list "config.h" |
| 3836 | "configure.ac" |
| 3837 | "configure") |
| 3838 | (("https?://bs1770gain[^/]*/") |
| 3839 | ,home-page)) |
| 3840 | #t)))) |
| 3841 | (build-system gnu-build-system) |
| 3842 | (inputs `(("ffmpeg" ,ffmpeg) |
| 3843 | ("sox" ,sox))) |
| 3844 | (synopsis "Tool to adjust loudness of media files") |
| 3845 | (description |
| 3846 | "BS1770GAIN is a loudness scanner compliant with ITU-R BS.1770 and its |
| 3847 | flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the |
| 3848 | loudness of audio and video files to the same level.") |
| 3849 | (license license:gpl2+))) |
| 3850 | |
| 3851 | (define-public filteraudio |
| 3852 | (let ((revision "1") |
| 3853 | (commit "2fc669581e2a0ff87fba8de85861b49133306094")) |
| 3854 | (package |
| 3855 | (name "filteraudio") |
| 3856 | (version (string-append "0.0.0-" revision "." |
| 3857 | (string-take commit 7))) |
| 3858 | (source |
| 3859 | (origin |
| 3860 | (method git-fetch) |
| 3861 | (uri (git-reference |
| 3862 | (url "https://github.com/irungentoo/filter_audio") |
| 3863 | (commit commit))) |
| 3864 | (file-name (string-append name "-" version "-checkout")) |
| 3865 | (sha256 |
| 3866 | (base32 |
| 3867 | "0hbb290n3wb23f2k692a6bhc23nnqmxqi9sc9j15pnya8wifw64g")))) |
| 3868 | (build-system gnu-build-system) |
| 3869 | (arguments |
| 3870 | '(#:make-flags (list (string-append "PREFIX=" %output) |
| 3871 | "CC=gcc") |
| 3872 | #:tests? #f ; No tests |
| 3873 | #:phases |
| 3874 | (modify-phases %standard-phases |
| 3875 | ;; No configure script |
| 3876 | (delete 'configure)))) |
| 3877 | (synopsis "Lightweight audio filtering library") |
| 3878 | (description "An easy to use audio filtering library made from webrtc |
| 3879 | code, used in @code{libtoxcore}.") |
| 3880 | (home-page "https://github.com/irungentoo/filter_audio") |
| 3881 | (license license:bsd-3)))) |
| 3882 | |
| 3883 | (define-public gsm |
| 3884 | (package |
| 3885 | (name "gsm") |
| 3886 | (version "1.0.19") |
| 3887 | (source |
| 3888 | (origin |
| 3889 | (method url-fetch) |
| 3890 | (uri |
| 3891 | (string-append "http://www.quut.com/" name "/" name |
| 3892 | "-" version ".tar.gz")) |
| 3893 | (sha256 |
| 3894 | (base32 |
| 3895 | "1xkha9ss5g5qnfaybi8il0mcvp8knwg9plgh8404vh58d0pna0s9")))) |
| 3896 | (build-system gnu-build-system) |
| 3897 | (arguments |
| 3898 | `(#:test-target "tst" |
| 3899 | #:make-flags (list (string-append "INSTALL_ROOT=" %output)) |
| 3900 | #:phases |
| 3901 | (modify-phases %standard-phases |
| 3902 | (add-after 'unpack 'add-fpic-ccflag |
| 3903 | (lambda _ |
| 3904 | ;; The -fPIC compiler option is needed when building |
| 3905 | ;; mediastreamer. |
| 3906 | (substitute* "Makefile" |
| 3907 | (("^CCFLAGS.*" all) |
| 3908 | (string-append all "CCFLAGS += -fPIC\n"))) |
| 3909 | #t)) |
| 3910 | (add-before 'install 'pre-install |
| 3911 | (lambda _ |
| 3912 | (let ((out (assoc-ref %outputs "out"))) |
| 3913 | (mkdir-p (string-append out "/inc")) |
| 3914 | (mkdir-p (string-append out "/man")) |
| 3915 | (mkdir-p (string-append out "/man/man1")) |
| 3916 | (mkdir-p (string-append out "/man/man3")) |
| 3917 | (mkdir-p (string-append out "/bin")) |
| 3918 | (mkdir-p (string-append out "/lib"))) |
| 3919 | #t)) |
| 3920 | (add-after 'install 'post-install |
| 3921 | (lambda _ |
| 3922 | (let ((out (assoc-ref %outputs "out"))) |
| 3923 | (rename-file (string-append out "/inc") |
| 3924 | (string-append out "/include")) |
| 3925 | (mkdir-p (string-append out "/include/gsm")) |
| 3926 | (copy-recursively "inc" |
| 3927 | (string-append out "/include/gsm"))) |
| 3928 | #t)) |
| 3929 | (delete 'configure)))) ; no configure script |
| 3930 | (synopsis "GSM 06.10 lossy speech compression library") |
| 3931 | (description "This C library provides an encoder and a decoder for the GSM |
| 3932 | 06.10 RPE-LTP lossy speech compression algorithm.") |
| 3933 | (home-page "http://quut.com/gsm/") |
| 3934 | (license (license:non-copyleft "file://COPYRIGHT")))) |
| 3935 | |
| 3936 | (define-public python-pyalsaaudio |
| 3937 | (package |
| 3938 | (name "python-pyalsaaudio") |
| 3939 | (version "0.8.4") |
| 3940 | (source (origin |
| 3941 | (method url-fetch) |
| 3942 | (uri (pypi-uri "pyalsaaudio" version)) |
| 3943 | (sha256 |
| 3944 | (base32 |
| 3945 | "1180ypn9596rq4b7y7dyv627j1q0fqilmkkrckclnzsdakdgis44")))) |
| 3946 | (build-system python-build-system) |
| 3947 | (arguments |
| 3948 | `(#:tests? #f)) ; tests require access to ALSA devices. |
| 3949 | (inputs |
| 3950 | `(("alsa-lib" ,alsa-lib))) |
| 3951 | (home-page "https://larsimmisch.github.io/pyalsaaudio/") |
| 3952 | (synopsis "ALSA wrappers for Python") |
| 3953 | (description |
| 3954 | "This package contains wrappers for accessing the ALSA API from Python. |
| 3955 | It is currently fairly complete for PCM devices, and has some support for |
| 3956 | mixers.") |
| 3957 | (license license:psfl))) |
| 3958 | |
| 3959 | (define-public python2-pyalsaaudio |
| 3960 | (package-with-python2 python-pyalsaaudio)) |
| 3961 | |
| 3962 | (define-public bluez-alsa |
| 3963 | (package |
| 3964 | (name "bluez-alsa") |
| 3965 | (version "2.0.0") |
| 3966 | (source (origin |
| 3967 | ;; The tarballs are mere snapshots and don't contain a |
| 3968 | ;; bootstrapped build system. |
| 3969 | (method git-fetch) |
| 3970 | (uri (git-reference |
| 3971 | (url "https://github.com/Arkq/bluez-alsa") |
| 3972 | (commit (string-append "v" version)))) |
| 3973 | (file-name (git-file-name name version)) |
| 3974 | (sha256 |
| 3975 | (base32 |
| 3976 | "08mppgnjf1j2733bk9yf0cny6rfxxwiys0s62lz2zd2lpdl6d9lz")))) |
| 3977 | (build-system gnu-build-system) |
| 3978 | (arguments |
| 3979 | `(#:configure-flags |
| 3980 | (list (string-append "--with-alsaplugindir=" |
| 3981 | (assoc-ref %outputs "out") |
| 3982 | "/lib/alsa-lib") |
| 3983 | (string-append "--with-dbusconfdir=" |
| 3984 | (assoc-ref %outputs "out") |
| 3985 | "/etc/dbus-1/system.d")))) |
| 3986 | (native-inputs |
| 3987 | `(("autoconf" ,autoconf) |
| 3988 | ("automake" ,automake) |
| 3989 | ("libtool" ,libtool) |
| 3990 | ("pkg-config" ,pkg-config))) |
| 3991 | (inputs |
| 3992 | `(("alsa-lib" ,alsa-lib) |
| 3993 | ("bluez" ,bluez) |
| 3994 | ("dbus" ,dbus) |
| 3995 | ("glib" ,glib) |
| 3996 | ("libbsd" ,libbsd) |
| 3997 | ("ncurses" ,ncurses) |
| 3998 | ("ortp" ,ortp) |
| 3999 | ("sbc" ,sbc))) |
| 4000 | (home-page "https://github.com/Arkq/bluez-alsa") |
| 4001 | (synopsis "Bluetooth ALSA backend") |
| 4002 | (description "This project is a rebirth of a direct integration between |
| 4003 | Bluez and ALSA. Since Bluez >= 5, the build-in integration has been removed |
| 4004 | in favor of 3rd party audio applications. From now on, Bluez acts as a |
| 4005 | middleware between an audio application, which implements Bluetooth audio |
| 4006 | profile, and a Bluetooth audio device. BlueALSA registers all known Bluetooth |
| 4007 | audio profiles in Bluez, so in theory every Bluetooth device (with audio |
| 4008 | capabilities) can be connected. In order to access the audio stream, one has |
| 4009 | to connect to the ALSA PCM device called @code{bluealsa}. The device is based |
| 4010 | on the ALSA software PCM plugin.") |
| 4011 | (license license:expat))) |
| 4012 | |
| 4013 | (define-public snd |
| 4014 | (package |
| 4015 | (name "snd") |
| 4016 | (version "20.6") |
| 4017 | (source (origin |
| 4018 | (method url-fetch) |
| 4019 | (uri (string-append "ftp://ccrma-ftp.stanford.edu/pub/Lisp/" |
| 4020 | "snd-" version ".tar.gz")) |
| 4021 | (sha256 |
| 4022 | (base32 |
| 4023 | "1h4dsq5xcvwjbnayhn719cln0lg199w3xm59sl9d2jz8bq78gqgj")))) |
| 4024 | (build-system glib-or-gtk-build-system) |
| 4025 | (arguments |
| 4026 | `(#:tests? #f ; no tests |
| 4027 | #:out-of-source? #f ; for the 'install-doc' phase |
| 4028 | #:configure-flags |
| 4029 | (let* ((out (assoc-ref %outputs "out")) |
| 4030 | (docdir (string-append out "/share/doc/" |
| 4031 | ,name "-" ,version))) |
| 4032 | (list "--with-alsa" "--with-jack" "--with-gmp" |
| 4033 | (string-append "--with-doc-dir=" docdir))) |
| 4034 | #:phases |
| 4035 | (modify-phases %standard-phases |
| 4036 | (add-after 'install 'install-doc |
| 4037 | (lambda* (#:key outputs #:allow-other-keys) |
| 4038 | (let* ((out (assoc-ref outputs "out")) |
| 4039 | (doc (string-append out "/share/doc/" |
| 4040 | ,name "-" ,version))) |
| 4041 | (for-each |
| 4042 | (lambda (f) |
| 4043 | (install-file f doc)) |
| 4044 | (find-files "." "\\.html$")) |
| 4045 | (copy-recursively "pix" (string-append doc "/pix")) |
| 4046 | #t)))))) |
| 4047 | (native-inputs |
| 4048 | `(("pkg-config" ,pkg-config))) |
| 4049 | (inputs |
| 4050 | `(("alsa-lib" ,alsa-lib) |
| 4051 | ("fftw" ,fftw) |
| 4052 | ("flac" ,flac) |
| 4053 | ("gmp" ,gmp) |
| 4054 | ("gsl" ,gsl) |
| 4055 | ("gtk+" ,gtk+) |
| 4056 | ("jack" ,jack-1) |
| 4057 | ("libsamplerate" ,libsamplerate) |
| 4058 | ("mpc" ,mpc) |
| 4059 | ("mpfr" ,mpfr) |
| 4060 | ("mpg123" ,mpg123) |
| 4061 | ("speex" ,speex) |
| 4062 | ("timidity++" ,timidity++) |
| 4063 | ("vorbis-tools" ,vorbis-tools) |
| 4064 | ("wavpack" ,wavpack))) |
| 4065 | (synopsis "Sound editor") |
| 4066 | (home-page "https://ccrma.stanford.edu/software/snd/") |
| 4067 | (description |
| 4068 | "Snd is a sound editor modelled loosely after Emacs. It can be |
| 4069 | customized and extended using either the s7 Scheme implementation (included in |
| 4070 | the Snd sources), Ruby, or Forth.") |
| 4071 | (license (license:non-copyleft "file://COPYING")))) |
| 4072 | |
| 4073 | (define-public noise-repellent |
| 4074 | (package |
| 4075 | (name "noise-repellent") |
| 4076 | (version "0.1.5") |
| 4077 | (source (origin |
| 4078 | (method git-fetch) |
| 4079 | (uri (git-reference |
| 4080 | (url "https://github.com/lucianodato/noise-repellent") |
| 4081 | (commit version))) |
| 4082 | (file-name (string-append name "-" version "-checkout")) |
| 4083 | (sha256 |
| 4084 | (base32 |
| 4085 | "0hb89x9i2knzan46q4nwscf5zmnb2nwf4w13xl2c0y1mx1ls1mwl")))) |
| 4086 | (build-system meson-build-system) |
| 4087 | (arguments |
| 4088 | `(#:configure-flags |
| 4089 | (list (string-append "--prefix=" (assoc-ref %outputs "out") |
| 4090 | "/lib/lv2")))) |
| 4091 | (inputs |
| 4092 | `(("lv2" ,lv2) |
| 4093 | ("fftwf" ,fftwf))) |
| 4094 | (native-inputs |
| 4095 | `(("pkg-config" ,pkg-config))) |
| 4096 | (home-page "https://github.com/lucianodato/noise-repellent") |
| 4097 | (synopsis "LV2 plugin for broadband noise reduction") |
| 4098 | (description "Noise Repellent is an LV2 plugin to reduce noise. It has |
| 4099 | the following features: |
| 4100 | |
| 4101 | @enumerate |
| 4102 | @item Spectral gating and spectral subtraction suppression rule |
| 4103 | @item Adaptive and manual noise thresholds estimation |
| 4104 | @item Adjustable noise floor |
| 4105 | @item Adjustable offset of thresholds to perform over-subtraction |
| 4106 | @item Time smoothing and a masking estimation to reduce artifacts |
| 4107 | @item Basic onset detector to avoid transients suppression |
| 4108 | @item Whitening of the noise floor to mask artifacts and to recover higher |
| 4109 | frequencies |
| 4110 | @item Option to listen to the residual signal |
| 4111 | @item Soft bypass |
| 4112 | @item Noise profile saved with the session |
| 4113 | @end enumerate |
| 4114 | ") |
| 4115 | (license license:lgpl3+))) |
| 4116 | |
| 4117 | (define-public cli-visualizer |
| 4118 | (package |
| 4119 | (name "cli-visualizer") |
| 4120 | (version "1.8") |
| 4121 | (source |
| 4122 | (origin |
| 4123 | (method git-fetch) |
| 4124 | (uri (git-reference |
| 4125 | (url "https://github.com/dpayne/cli-visualizer") |
| 4126 | (commit (string-append "v" version)))) |
| 4127 | (file-name (git-file-name name version)) |
| 4128 | (sha256 |
| 4129 | (base32 "003mbbwsz43mg3d7llphpypqa9g7rs1p1cdbqi1mbc2bfrc1gcq2")))) |
| 4130 | (build-system cmake-build-system) |
| 4131 | (native-inputs |
| 4132 | ;; TODO: Try using the latest googletest for versions > 1.8. |
| 4133 | `( ;; ("googletest" ,googletest-1.8) |
| 4134 | ("which" ,which))) |
| 4135 | (inputs |
| 4136 | `(("fftw" ,fftw) |
| 4137 | ("ncurses" ,ncurses) |
| 4138 | ("pulseaudio" ,pulseaudio))) |
| 4139 | (arguments |
| 4140 | '(#:tests? #f |
| 4141 | ;; XXX Enable tests after patching them to use the system googletest. |
| 4142 | ;; #:configure-flags (list "-DVIS_WITH_TESTS=true") |
| 4143 | #:phases |
| 4144 | (modify-phases %standard-phases |
| 4145 | (add-after 'install 'install-examples |
| 4146 | (lambda* (#:key outputs #:allow-other-keys) |
| 4147 | (with-directory-excursion "../source/examples" |
| 4148 | (delete-file "mac_osx_config") |
| 4149 | (for-each (lambda (file) |
| 4150 | (install-file file |
| 4151 | (string-append |
| 4152 | (assoc-ref outputs "out") |
| 4153 | "/share/doc"))) |
| 4154 | (find-files "."))) |
| 4155 | #t))))) |
| 4156 | (home-page "https://github.com/dpayne/cli-visualizer/") |
| 4157 | (synopsis "Command-line audio visualizer") |
| 4158 | (description "@code{cli-visualizer} displays fast-Fourier |
| 4159 | transforms (FFTs) of the sound being played, as well as other graphical |
| 4160 | representations.") |
| 4161 | (license license:expat))) |
| 4162 | |
| 4163 | (define-public cava |
| 4164 | (package |
| 4165 | (name "cava") |
| 4166 | (version "0.6.1") |
| 4167 | (source (origin |
| 4168 | (method git-fetch) |
| 4169 | (uri (git-reference |
| 4170 | (url "https://github.com/karlstav/cava") |
| 4171 | (commit version))) |
| 4172 | (file-name (git-file-name name version)) |
| 4173 | (sha256 |
| 4174 | (base32 |
| 4175 | "1kvhqgijs29909w3sq9m0bslx2zxxn4b3i07kdz4hb0dqkppxpjy")))) |
| 4176 | (build-system gnu-build-system) |
| 4177 | (native-inputs |
| 4178 | `(("autoconf" ,autoconf) |
| 4179 | ("automake" ,automake) |
| 4180 | ("libtool" ,libtool))) |
| 4181 | (inputs |
| 4182 | `(("fftw" ,fftw) |
| 4183 | ("ncurses" ,ncurses) |
| 4184 | ("pulseaudio" ,pulseaudio))) |
| 4185 | (arguments |
| 4186 | `(#:configure-flags |
| 4187 | (list (string-append "PREFIX=" %output) |
| 4188 | (string-append "FONT_DIR=" %output "/share/consolefonts")) |
| 4189 | #:make-flags |
| 4190 | (let ((lib (string-append %output "/lib"))) |
| 4191 | (list (string-append "cava_LDFLAGS = -L" lib " -Wl,-rpath " lib))) |
| 4192 | #:phases |
| 4193 | (modify-phases %standard-phases |
| 4194 | (replace 'bootstrap |
| 4195 | (lambda* (#:key outputs #:allow-other-keys) |
| 4196 | (setenv "HOME" (getcwd)) |
| 4197 | (invoke "sh" "autogen.sh"))) |
| 4198 | (add-before 'build 'make-cava-ldflags |
| 4199 | (lambda* (#:key outputs #:allow-other-keys) |
| 4200 | (mkdir-p (string-append (assoc-ref outputs "out") "/lib")) |
| 4201 | #t)) |
| 4202 | (add-after 'install 'data |
| 4203 | (lambda* (#:key outputs #:allow-other-keys) |
| 4204 | (for-each (lambda (file) |
| 4205 | (install-file file |
| 4206 | (string-append (assoc-ref outputs "out") |
| 4207 | "/share/doc/examples"))) |
| 4208 | (find-files "example_files")) |
| 4209 | #t))))) |
| 4210 | (home-page "https://karlstav.github.io/cava/") |
| 4211 | (synopsis "Console audio visualizer for ALSA, MPD, and PulseAudio") |
| 4212 | (description "C.A.V.A. is a bar audio spectrum visualizer for the terminal |
| 4213 | using ALSA, MPD, PulseAudio, or a FIFO buffer as its input.") |
| 4214 | (license license:expat))) |
| 4215 | |
| 4216 | (define-public fluid-3 |
| 4217 | (let ((commit "871c8ce2002e8b3c198f532fdb4fbcce7914f951")) |
| 4218 | (package |
| 4219 | (name "fluid-3") |
| 4220 | (version "2.1") |
| 4221 | (source |
| 4222 | (origin |
| 4223 | (method url-fetch) |
| 4224 | ;; Only one file is required, but the release bundles the whole |
| 4225 | ;; software which is 50MiB as tar and 200MiB unpacked. The website |
| 4226 | ;; directly links the soundfont release to the github file download. |
| 4227 | (uri (string-append "https://github.com/musescore/MuseScore/raw/" |
| 4228 | commit "/share/sound/FluidR3Mono_GM.sf3")) |
| 4229 | (file-name (string-append name "-" version ".sf3")) |
| 4230 | (sha256 |
| 4231 | (base32 |
| 4232 | "1hjfg5i15bw9279007xs92zsggjgn4s4k9pc00s851l3kvc6dkfg")))) |
| 4233 | (build-system trivial-build-system) |
| 4234 | (arguments |
| 4235 | `(#:modules ((guix build utils)) |
| 4236 | #:builder |
| 4237 | (begin |
| 4238 | (use-modules (guix build utils)) |
| 4239 | (let ((file (assoc-ref %build-inputs "source")) |
| 4240 | (out (string-append %output "/share/soundfonts"))) |
| 4241 | (mkdir-p out) |
| 4242 | (copy-file file (string-append out "/FluidR3Mono_GM.sf3")) |
| 4243 | #t)))) |
| 4244 | (home-page "https://github.com/musescore/MuseScore/tree/master/share/sound") |
| 4245 | (synopsis "Pro-quality GM soundfont") |
| 4246 | (description "Fluid-3 is Frank Wen's pro-quality GM soundfont.") |
| 4247 | (license license:expat)))) |
| 4248 | |
| 4249 | (define-public libfdk |
| 4250 | (package |
| 4251 | (name "libfdk") |
| 4252 | (version "2.0.1") |
| 4253 | (source |
| 4254 | (origin |
| 4255 | (method git-fetch) |
| 4256 | (uri (git-reference |
| 4257 | (url "https://github.com/mstorsjo/fdk-aac") |
| 4258 | (commit (string-append "v" version)))) |
| 4259 | (file-name (git-file-name name version)) |
| 4260 | (sha256 |
| 4261 | (base32 |
| 4262 | "1fkrnzs78fmj11n9z3l0w53i2fl16jcfiyavwidck9bzmkmsf486")))) |
| 4263 | (build-system gnu-build-system) |
| 4264 | (native-inputs |
| 4265 | `(("autoconf" ,autoconf) |
| 4266 | ("automake" ,automake) |
| 4267 | ("libtool" ,libtool))) |
| 4268 | (home-page "https://github.com/mstorsjo/fdk-aac") |
| 4269 | (synopsis "Fraunhofer FDK AAC library") |
| 4270 | (description "FDK is a library for encoding and decoding Advanced Audio |
| 4271 | Coding (AAC) format audio, developed by Fraunhofer IIS, and included as part of |
| 4272 | Android. It supports several Audio Object Types including MPEG-2 and MPEG-4 AAC |
| 4273 | LC, HE-AAC (AAC LC + SBR), HE-AACv2 (LC + SBR + PS) as well AAC-LD (low delay) |
| 4274 | and AAC-ELD (enhanced low delay) for real-time communication. The encoding |
| 4275 | library supports sample rates up to 96 kHz and up to eight channels (7.1 |
| 4276 | surround).") |
| 4277 | (license (license:fsf-free "https://github.com/mstorsjo/fdk-aac/blob/master/NOTICE" |
| 4278 | "https://www.gnu.org/licenses/license-list.html#fdk")))) |
| 4279 | |
| 4280 | (define-public libopenshot-audio |
| 4281 | (package |
| 4282 | (name "libopenshot-audio") |
| 4283 | (version "0.2.0") |
| 4284 | (source (origin |
| 4285 | (method git-fetch) |
| 4286 | (uri (git-reference |
| 4287 | (url "https://github.com/OpenShot/libopenshot-audio") |
| 4288 | (commit (string-append "v" version)))) |
| 4289 | (file-name (git-file-name name version)) |
| 4290 | (sha256 |
| 4291 | (base32 |
| 4292 | "13if0m5mvlqly8gmbhschzb9papkgp3yqivklhb949dhy16m8zgf")))) |
| 4293 | (build-system cmake-build-system) |
| 4294 | (inputs |
| 4295 | `(("alsa-lib" ,alsa-lib) |
| 4296 | ;; The following are for JUCE GUI components: |
| 4297 | ("libx11" ,libx11) |
| 4298 | ("freetype" ,freetype) |
| 4299 | ("libxrandr" ,libxrandr) |
| 4300 | ("libxinerama" ,libxinerama) |
| 4301 | ("libxcursor" ,libxcursor))) |
| 4302 | (arguments |
| 4303 | `(#:tests? #f ;there are no tests |
| 4304 | #:configure-flags |
| 4305 | (list (string-append "-DCMAKE_CXX_FLAGS=-I" |
| 4306 | (assoc-ref %build-inputs "freetype") |
| 4307 | "/include/freetype2")))) |
| 4308 | (home-page "https://openshot.org") |
| 4309 | (synopsis "Audio editing and playback for OpenShot") |
| 4310 | (description "OpenShot Audio Library (libopenshot-audio) allows |
| 4311 | high-quality editing and playback of audio, and is based on the JUCE |
| 4312 | library.") |
| 4313 | (license license:lgpl3+))) |
| 4314 | |
| 4315 | (define-public faudio |
| 4316 | (package |
| 4317 | (name "faudio") |
| 4318 | (version "19.11") |
| 4319 | (source |
| 4320 | (origin |
| 4321 | (method git-fetch) |
| 4322 | (uri (git-reference |
| 4323 | (url "https://github.com/FNA-XNA/FAudio") |
| 4324 | (commit version))) |
| 4325 | (file-name (git-file-name name version)) |
| 4326 | (sha256 |
| 4327 | (base32 "0ckpr6ffz8ssfh1y850dhip5s5jv0j6n90qz5yx1v9d6gpwf08rp")))) |
| 4328 | (arguments |
| 4329 | '(#:tests? #f ; No tests. |
| 4330 | #:configure-flags '("-DFFMPEG=ON"))) |
| 4331 | (build-system cmake-build-system) |
| 4332 | (native-inputs `(("pkg-config" ,pkg-config))) |
| 4333 | (inputs `(("ffmpeg" ,ffmpeg) |
| 4334 | ("sdl2" ,sdl2))) |
| 4335 | (home-page "https://github.com/FNA-XNA/FAudio") |
| 4336 | (synopsis "XAudio reimplementation") |
| 4337 | (description "FAudio is an XAudio reimplementation that focuses solely on |
| 4338 | developing fully accurate DirectX Audio runtime libraries.") |
| 4339 | (license license:zlib))) |
| 4340 | |
| 4341 | (define-public gnaural |
| 4342 | (package |
| 4343 | (name "gnaural") |
| 4344 | (version "20110606") |
| 4345 | (source |
| 4346 | (origin |
| 4347 | (method url-fetch) |
| 4348 | (uri (string-append "mirror://sourceforge/gnaural/Gnaural/gnaural_" |
| 4349 | version ".tar.xz")) |
| 4350 | (sha256 |
| 4351 | (base32 |
| 4352 | "1gq519c0imsh57zklyi0f8h64l3ai48lh672c834470z8c6kvbfi")))) |
| 4353 | (build-system gnu-build-system) |
| 4354 | (inputs |
| 4355 | `(("alsa-lib" ,alsa-lib) |
| 4356 | ("gtk+" ,gtk+-2) |
| 4357 | ("libsndfile" ,libsndfile) |
| 4358 | ("portaudio" ,portaudio))) |
| 4359 | (native-inputs |
| 4360 | `(("pkg-config" ,pkg-config))) |
| 4361 | (home-page "http://gnaural.sourceforge.net/") |
| 4362 | (synopsis "Binaural beat synthesizer") |
| 4363 | (description "Gnaural is a programmable auditory binaural beat synthesizer |
| 4364 | intended to be used for brainwave entrainment. Gnaural supports creation of |
| 4365 | binaural beat tracks of different frequencies and exporting of tracks into |
| 4366 | different audio formats. Gnaural can also be linked over the internet with |
| 4367 | other Gnaural instances, allowing synchronous sessions between many users.") |
| 4368 | (license license:gpl2+))) |
| 4369 | |
| 4370 | (define-public darkice |
| 4371 | (package |
| 4372 | (name "darkice") |
| 4373 | (version "1.4") |
| 4374 | (source (origin |
| 4375 | (method url-fetch) |
| 4376 | (uri (string-append "https://github.com/rafael2k/darkice/releases/" |
| 4377 | "download/v" version "/darkice-" |
| 4378 | version ".tar.gz")) |
| 4379 | (sha256 |
| 4380 | (base32 |
| 4381 | "05yq7lggxygrkd76yiqby3msrgdn082p0qlvmzzv9xbw8hmyra76")))) |
| 4382 | (build-system gnu-build-system) |
| 4383 | (native-inputs `(("pkg-config" ,pkg-config))) |
| 4384 | (inputs `(("lame" ,lame) |
| 4385 | ("libvorbis" ,libvorbis) |
| 4386 | ("opus" ,opus) |
| 4387 | ("twolame" ,twolame) |
| 4388 | ("alsa-lib" ,alsa-lib) |
| 4389 | ("pulseaudio" ,pulseaudio) |
| 4390 | ("jack" ,jack-1) |
| 4391 | ("libsamplerate" ,libsamplerate))) |
| 4392 | (arguments |
| 4393 | `(#:configure-flags |
| 4394 | (list (string-append "--with-lame-prefix=" |
| 4395 | (assoc-ref %build-inputs "lame"))))) |
| 4396 | (home-page "http://www.darkice.org/") |
| 4397 | (synopsis "Live audio streamer") |
| 4398 | (description "DarkIce is a live audio streamer. It takes audio input from |
| 4399 | a sound card, encodes it into Ogg Vorbis and/or mp3, and sends the audio |
| 4400 | stream to one or more IceCast and/or ShoutCast servers.") |
| 4401 | (license license:gpl3+))) |
| 4402 | |
| 4403 | (define-public libltc |
| 4404 | (package |
| 4405 | (name "libltc") |
| 4406 | (version "1.3.1") |
| 4407 | (source |
| 4408 | (origin |
| 4409 | (method url-fetch) |
| 4410 | (uri |
| 4411 | (string-append "https://github.com/x42/libltc/releases/download/v" |
| 4412 | version "/libltc-" version ".tar.gz")) |
| 4413 | (sha256 |
| 4414 | (base32 |
| 4415 | "173h9dgmain3nyrwk6q2d7yl4fnh4vacag4s2p01n5b7nyrkxrjh")))) |
| 4416 | (build-system gnu-build-system) |
| 4417 | (arguments |
| 4418 | `(#:parallel-tests? #f)) ;tests fail otherwise |
| 4419 | (native-inputs |
| 4420 | `(("doxygen" ,doxygen) |
| 4421 | ("pkg-config" ,pkg-config))) |
| 4422 | (synopsis "Encode or decode Linear/Longitudinal Time Code (LTC) audio") |
| 4423 | (description "Libltc is a POSIX-C Library for handling |
| 4424 | @dfn{Linear/Longitudinal Time Code} (LTC) data.") |
| 4425 | (home-page "https://x42.github.io/libltc/") |
| 4426 | (license license:lgpl3+))) |
| 4427 | |
| 4428 | (define-public ttaenc |
| 4429 | (package |
| 4430 | (name "ttaenc") |
| 4431 | (version "3.4.1") |
| 4432 | (source |
| 4433 | (origin |
| 4434 | (method url-fetch) |
| 4435 | (uri (string-append "mirror://sourceforge/tta/" |
| 4436 | "tta/ttaenc-src" |
| 4437 | "/ttaenc-" version "-src.tgz")) |
| 4438 | (sha256 |
| 4439 | (base32 |
| 4440 | "1iixpr4b89g9g1hwn8ak8k8iflcww3r5f09a117qdidc2nqcijdj")))) |
| 4441 | (build-system gnu-build-system) |
| 4442 | (arguments |
| 4443 | `(#:tests? #f ;no tests |
| 4444 | #:make-flags |
| 4445 | (list (string-append "CC=" ,(cc-for-target)) |
| 4446 | (string-append "INSDIR=" (assoc-ref %outputs "out") "/bin")) |
| 4447 | #:phases |
| 4448 | (modify-phases %standard-phases |
| 4449 | (delete 'configure) ; no configure |
| 4450 | (add-before 'install 'make-bindir |
| 4451 | (lambda* (#:key outputs #:allow-other-keys) |
| 4452 | (let* ((out (assoc-ref outputs "out"))) |
| 4453 | (mkdir-p (string-append out "/bin")) |
| 4454 | #t)))))) |
| 4455 | (synopsis "TTA lossless audio encoder") |
| 4456 | (description |
| 4457 | "TTA performs lossless compression on multichannel 8,16 and 24 bits |
| 4458 | data of the Wav audio files. Being lossless means that no data- |
| 4459 | quality is lost in the compression - when uncompressed, the data will |
| 4460 | be identical to the original. The compression ratios of TTA depend on |
| 4461 | the type of music file being compressed, but the compression size |
| 4462 | will generally range between 30% - 70% of the original. TTA format |
| 4463 | supports both of ID3v1/v2 and APEv2 tags.") |
| 4464 | (home-page "http://tausoft.org/") |
| 4465 | (license license:gpl2+))) |
| 4466 | |
| 4467 | (define-public redkite |
| 4468 | (package |
| 4469 | (name "redkite") |
| 4470 | (version "0.8.1") |
| 4471 | (source |
| 4472 | (origin |
| 4473 | (method git-fetch) |
| 4474 | (uri (git-reference |
| 4475 | (url "https://gitlab.com/geontime/redkite.git") |
| 4476 | (commit (string-append "v" version)))) |
| 4477 | (file-name (git-file-name name version)) |
| 4478 | (sha256 |
| 4479 | (base32 "17kv2jc4jvn3sdicz3sf8dnf25wbvv7ijzkr0mm0sbrrjz6vrwz0")))) |
| 4480 | (build-system cmake-build-system) |
| 4481 | (arguments |
| 4482 | `(#:tests? #f)) ;no tests included |
| 4483 | (inputs |
| 4484 | `(("cairo" ,cairo))) |
| 4485 | (native-inputs |
| 4486 | `(("pkg-config", pkg-config))) |
| 4487 | (synopsis "Small GUI toolkit") |
| 4488 | (description "Redkite is a small GUI toolkit developed in C++17 and |
| 4489 | inspired from other well known GUI toolkits such as Qt and GTK. It is |
| 4490 | minimal on purpose and is intended to be statically linked to applications, |
| 4491 | therefore satisfying any requirements they may have to be self contained, |
| 4492 | as is the case with audio plugins.") |
| 4493 | (home-page "https://gitlab.com/geontime/redkite") |
| 4494 | (license license:gpl3+))) |
| 4495 | |
| 4496 | (define-public carla |
| 4497 | (package |
| 4498 | (name "carla") |
| 4499 | (version "2.1.1") |
| 4500 | (source |
| 4501 | (origin |
| 4502 | (method git-fetch) |
| 4503 | (uri |
| 4504 | (git-reference |
| 4505 | (url "https://github.com/falkTX/Carla") |
| 4506 | (commit (string-append "v" version)))) |
| 4507 | (file-name (git-file-name name version)) |
| 4508 | (sha256 |
| 4509 | (base32 |
| 4510 | "0c3y4a6cgi4bv1mg57i3qn5ia6pqjqlaylvkapj6bmpsw71ig22g")))) |
| 4511 | (build-system gnu-build-system) |
| 4512 | (arguments |
| 4513 | `(#:tests? #f ; no "check" target |
| 4514 | #:make-flags |
| 4515 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) |
| 4516 | #:phases |
| 4517 | (modify-phases %standard-phases |
| 4518 | (delete 'configure) ; no configure script |
| 4519 | (add-before 'build 'set-CC-variable-and-show-features |
| 4520 | (lambda _ |
| 4521 | (setenv "CC" "gcc") |
| 4522 | (invoke "make" "features"))) |
| 4523 | (add-after 'install 'make-carla-executable |
| 4524 | (lambda* (#:key outputs #:allow-other-keys) |
| 4525 | (let ((out (assoc-ref outputs "out"))) |
| 4526 | (chmod (string-append out "/share/carla/carla") #o555) |
| 4527 | #t))) |
| 4528 | (add-after 'install 'wrap-executables |
| 4529 | (lambda* (#:key outputs #:allow-other-keys) |
| 4530 | (let ((out (assoc-ref outputs "out"))) |
| 4531 | (wrap-script (string-append out "/bin/carla") |
| 4532 | `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))) |
| 4533 | #t)))))) |
| 4534 | (inputs |
| 4535 | `(("alsa-lib" ,alsa-lib) |
| 4536 | ("ffmpeg" ,ffmpeg) |
| 4537 | ("fluidsynth" ,fluidsynth) |
| 4538 | ("file" ,file) |
| 4539 | ("liblo" ,liblo) |
| 4540 | ("libsndfile" ,libsndfile) |
| 4541 | ("gtk2" ,gtk+-2) ;needed for bridging GTK2 plugins in GTK3 hosts |
| 4542 | ("gtk+" ,gtk+) |
| 4543 | ("python-pyliblo" ,python-pyliblo) |
| 4544 | ("python-pyqt" ,python-pyqt) |
| 4545 | ("python-rdflib" ,python-rdflib) |
| 4546 | ;; python-pyqt shows the following error without python-wrapper: |
| 4547 | ;; Error while finding module specification for 'PyQt5.uic.pyuic' |
| 4548 | ;; (ModuleNotFoundError: No module named 'PyQt5') |
| 4549 | ("python-wrapper" ,python-wrapper) |
| 4550 | ("libx11" ,libx11) |
| 4551 | ("qtbase" ,qtbase) |
| 4552 | ("zlib" ,zlib) |
| 4553 | |
| 4554 | ;; For WRAP-SCRIPT above. |
| 4555 | ("guile" ,guile-2.2))) |
| 4556 | (native-inputs |
| 4557 | `(("pkg-config" ,pkg-config))) |
| 4558 | (home-page "https://kx.studio/Applications:Carla") |
| 4559 | (synopsis "Audio plugin host") |
| 4560 | (description "Carla is a modular audio plugin host, with features like |
| 4561 | transport control, automation of parameters via MIDI CC and remote control |
| 4562 | over OSC. Carla currently supports LADSPA (including LRDF), DSSI, LV2, VST2, |
| 4563 | and VST3 plugin formats, plus SF2 and SFZ file support. It uses JACK as the |
| 4564 | default and preferred audio driver but also supports native drivers like ALSA.") |
| 4565 | (license license:gpl2+))) |
| 4566 | |
| 4567 | (define-public ecasound |
| 4568 | (package |
| 4569 | (name "ecasound") |
| 4570 | (version "2.9.3") |
| 4571 | (source (origin |
| 4572 | (method url-fetch) |
| 4573 | (uri (string-append "https://nosignal.fi/download/ecasound-" |
| 4574 | version ".tar.gz")) |
| 4575 | (sha256 |
| 4576 | (base32 "1m7njfjdb7sqf0lhgc4swihgdr4snkg8v02wcly08wb5ar2fr2s6")))) |
| 4577 | (build-system gnu-build-system) |
| 4578 | (native-inputs `(("pkg-config" ,pkg-config))) |
| 4579 | ;; It would be nice to add mikmod to inputs if that gets packaged |
| 4580 | ;; eventually. |
| 4581 | (inputs `(("alsa-lib" ,alsa-lib) |
| 4582 | ("jack" ,jack-1) |
| 4583 | ("mpg123" ,mpg123) |
| 4584 | ("lame" ,lame) |
| 4585 | ("vorbis-tools" ,vorbis-tools) |
| 4586 | ("faad2" ,faad2) |
| 4587 | ("flac" ,flac) |
| 4588 | ("timidity++" ,timidity++) |
| 4589 | ("libsndfile" ,libsndfile) |
| 4590 | ("libsamplerate" ,libsamplerate) |
| 4591 | ("ncurses" ,ncurses) |
| 4592 | ("ladspa" ,ladspa) |
| 4593 | ("lilv" ,lilv))) |
| 4594 | (home-page "https://nosignal.fi/ecasound/index.php") |
| 4595 | (synopsis "Multitrack audio processing") |
| 4596 | (description "Ecasound is a software package designed for multitrack audio |
| 4597 | processing. It can be used for simple tasks like audio playback, recording and |
| 4598 | format conversions, as well as for multitrack effect processing, mixing, |
| 4599 | recording and signal recycling. Ecasound supports a wide range of audio inputs, |
| 4600 | outputs and effect algorithms. Effects and audio objects can be combined in |
| 4601 | various ways, and their parameters can be controlled by operator objects like |
| 4602 | oscillators and MIDI-CCs. A versatile console mode user-interface is included |
| 4603 | in the package.") |
| 4604 | ;; As an exception to the above, the C, C++ and python implementations |
| 4605 | ;; of the Ecasound Control Interface (ECI) are licensed under the LGPL |
| 4606 | ;; (see the file 'COPYING.LGPL'). This allows writing ECI applications |
| 4607 | ;; that are not licensed under GPL. |
| 4608 | (license (list license:gpl2 license:lgpl2.1)))) |
| 4609 | |
| 4610 | (define-public libaudec |
| 4611 | (package |
| 4612 | (name "libaudec") |
| 4613 | (version "0.2.2") |
| 4614 | (source |
| 4615 | (origin |
| 4616 | (method git-fetch) |
| 4617 | (uri (git-reference |
| 4618 | (url "https://git.zrythm.org/git/libaudec") |
| 4619 | (commit (string-append "v" version)))) |
| 4620 | (file-name (git-file-name name version)) |
| 4621 | (sha256 |
| 4622 | (base32 |
| 4623 | "04mpmfmqc43asw0m3zxhb6jj4qms7x4jw7mx4xb1d3lh16xllniz")))) |
| 4624 | (build-system meson-build-system) |
| 4625 | (arguments |
| 4626 | `(#:configure-flags `("-Denable_tests=true -Denable_ffmpeg=true"))) |
| 4627 | (inputs |
| 4628 | `(("libsamplerate" ,libsamplerate) |
| 4629 | ("libsndfile" ,libsndfile) |
| 4630 | ("ffmpeg" ,ffmpeg))) |
| 4631 | (native-inputs |
| 4632 | `(("pkg-config", pkg-config))) |
| 4633 | (synopsis "Library for reading and resampling audio files") |
| 4634 | (description "libaudec is a wrapper library over ffmpeg, sndfile and |
| 4635 | libsamplerate for reading and resampling audio files, based on Robin Gareus' |
| 4636 | @code{audio_decoder} code.") |
| 4637 | (home-page "https://git.zrythm.org/cgit/libaudec") |
| 4638 | (license license:agpl3+))) |
| 4639 | |
| 4640 | (define-public lv2lint |
| 4641 | (package |
| 4642 | (name "lv2lint") |
| 4643 | (version "0.4.0") |
| 4644 | (source |
| 4645 | (origin |
| 4646 | (method git-fetch) |
| 4647 | (uri (git-reference |
| 4648 | (url "https://git.open-music-kontrollers.ch/lv2/lv2lint") |
| 4649 | (commit version))) |
| 4650 | (file-name (git-file-name name version)) |
| 4651 | (sha256 |
| 4652 | (base32 |
| 4653 | "1pspwqpzl2dw1hd9ra9yr53arqbbqjn7d7j0f7p9g3iqa76vblpi")))) |
| 4654 | (build-system meson-build-system) |
| 4655 | (arguments |
| 4656 | `(#:configure-flags |
| 4657 | `("-Delf-tests=true" ; for checking symbol visibility |
| 4658 | "-Donline-tests=true"))) ; for checking URI existence |
| 4659 | (inputs |
| 4660 | `(("curl", curl) |
| 4661 | ("libelf", libelf) |
| 4662 | ("lilv", lilv))) |
| 4663 | (native-inputs |
| 4664 | `(("pkg-config", pkg-config))) |
| 4665 | (synopsis "LV2 plugin lint tool") |
| 4666 | (description "lv2lint is an LV2 lint-like tool that checks whether a |
| 4667 | given plugin and its UI(s) match up with the provided metadata and adhere |
| 4668 | to well-known best practices.") |
| 4669 | (home-page "https://open-music-kontrollers.ch/lv2/lv2lint/") |
| 4670 | (license license:artistic2.0))) |
| 4671 | |
| 4672 | (define-public lv2toweb |
| 4673 | (package |
| 4674 | (name "lv2toweb") |
| 4675 | (version "0.4") |
| 4676 | (source |
| 4677 | (origin |
| 4678 | (method git-fetch) |
| 4679 | (uri (git-reference |
| 4680 | (url "https://github.com/x42/lv2toweb") |
| 4681 | (commit (string-append "v" version)))) |
| 4682 | (file-name (git-file-name name version)) |
| 4683 | (sha256 |
| 4684 | (base32 |
| 4685 | "007aysqvgkf25za8nkmyd5g9kp1zla460dcpidlj5xg1zc3fcdfi")))) |
| 4686 | (build-system gnu-build-system) |
| 4687 | (arguments |
| 4688 | `(#:tests? #f ; no "check" target |
| 4689 | #:make-flags (list "CC=gcc" |
| 4690 | (string-append "PREFIX=" (assoc-ref %outputs "out"))) |
| 4691 | #:phases |
| 4692 | (modify-phases %standard-phases |
| 4693 | (delete 'configure)))) |
| 4694 | (inputs |
| 4695 | `(("jalv", jalv) |
| 4696 | ("lilv", lilv))) |
| 4697 | (native-inputs |
| 4698 | `(("help2man", help2man) |
| 4699 | ("pkg-config", pkg-config))) |
| 4700 | (synopsis "Documentation generator for LV2 plugins") |
| 4701 | (description |
| 4702 | "lv2toweb allows the user to create an xhtml page with information |
| 4703 | about the given LV2 plugin, provided that the plugin and its UI(s) match up |
| 4704 | with the provided metadata and adhere to well-known best practices.") |
| 4705 | (home-page "https://github.com/x42/lv2toweb") |
| 4706 | (license (list license:isc license:gpl2)))) |
| 4707 | |
| 4708 | (define-public ztoolkit |
| 4709 | (package |
| 4710 | (name "ztoolkit") |
| 4711 | (version "0.1.1") |
| 4712 | (source |
| 4713 | (origin |
| 4714 | (method git-fetch) |
| 4715 | (uri (git-reference |
| 4716 | (url "https://git.zrythm.org/git/ztoolkit") |
| 4717 | (commit (string-append "v" version)))) |
| 4718 | (file-name (git-file-name name version)) |
| 4719 | (sha256 |
| 4720 | (base32 |
| 4721 | "07xl3cmdaf7k9mm58m93cn8i1jvgimmiifdw1w7v2jl88nx60pm1")))) |
| 4722 | (build-system meson-build-system) |
| 4723 | (inputs |
| 4724 | `(("cairo" ,cairo) |
| 4725 | ("libx11" ,libx11))) |
| 4726 | (native-inputs |
| 4727 | `(("pkg-config" ,pkg-config))) |
| 4728 | (synopsis "GUI toolkit for LV2 plugins") |
| 4729 | (description "ZToolkit (Ztk) is a cross-platform GUI toolkit heavily |
| 4730 | inspired by GTK. It handles events and low level drawing on behalf of |
| 4731 | the user and provides a high-level API for managing the UI and custom |
| 4732 | widgets. ZToolkit is written in C and was created to be used for building |
| 4733 | audio plugin UIs, where the dependencies often need to be kept to a |
| 4734 | minimum.") |
| 4735 | (home-page "https://git.zrythm.org/cgit/ztoolkit/") |
| 4736 | (license license:agpl3+))) |
| 4737 | |
| 4738 | (define-public libinstpatch |
| 4739 | (package |
| 4740 | (name "libinstpatch") |
| 4741 | (version "1.1.5") |
| 4742 | (source |
| 4743 | (origin |
| 4744 | (method git-fetch) |
| 4745 | (uri (git-reference |
| 4746 | (url "https://github.com/swami/libinstpatch") |
| 4747 | (commit (string-append "v" version)))) |
| 4748 | (file-name (git-file-name name version)) |
| 4749 | (sha256 |
| 4750 | (base32 "0psx4hc5yksfd3k2xqsc7c8lbz2d4yybikyddyd9hlkhq979cmjb")))) |
| 4751 | (build-system cmake-build-system) |
| 4752 | (arguments |
| 4753 | `(#:tests? #f)) ;there are no tests |
| 4754 | (native-inputs |
| 4755 | `(("glib:bin" ,glib "bin") |
| 4756 | ("pkg-config" ,pkg-config))) |
| 4757 | (inputs |
| 4758 | `(("glib" ,glib) |
| 4759 | ("libsndfile" ,libsndfile))) |
| 4760 | (home-page "http://www.swamiproject.org/") |
| 4761 | (synopsis "Instrument file software library") |
| 4762 | (description |
| 4763 | "libInstPatch is a library for processing digital sample based MIDI |
| 4764 | instrument \"patch\" files. The types of files libInstPatch supports are used |
| 4765 | for creating instrument sounds for wavetable synthesis. libInstPatch provides |
| 4766 | an object framework (based on GObject) to load patch files, which can then be |
| 4767 | edited, converted, compressed and saved.") |
| 4768 | (license license:lgpl2.1))) |
| 4769 | |
| 4770 | (define-public ztoolkit-rsvg |
| 4771 | (package |
| 4772 | (inherit ztoolkit) |
| 4773 | (name "ztoolkit-rsvg") |
| 4774 | (arguments |
| 4775 | `(#:configure-flags `("-Denable_rsvg=true"))) |
| 4776 | (inputs |
| 4777 | `(("librsvg" ,librsvg) |
| 4778 | ,@(package-inputs ztoolkit))) |
| 4779 | (synopsis "ZToolkit with SVG support"))) |
| 4780 | |
| 4781 | (define-public codec2 |
| 4782 | (package |
| 4783 | (name "codec2") |
| 4784 | (version "0.9.2") |
| 4785 | (source |
| 4786 | (origin |
| 4787 | (method git-fetch) |
| 4788 | (uri (git-reference |
| 4789 | (url "https://github.com/drowe67/codec2") |
| 4790 | (commit (string-append "v" version)))) |
| 4791 | (file-name (git-file-name name version)) |
| 4792 | (sha256 |
| 4793 | (base32 "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba")))) |
| 4794 | (build-system cmake-build-system) |
| 4795 | (native-inputs |
| 4796 | `(("bc" ,bc) |
| 4797 | ("octave" ,octave) |
| 4798 | ("valgrind" ,valgrind))) |
| 4799 | (arguments |
| 4800 | `(#:tests? #f ; TODO: Fix tests (paths, graphic toolkit, octave modules). |
| 4801 | #:phases |
| 4802 | (modify-phases %standard-phases |
| 4803 | (add-before 'check 'set-test-environment |
| 4804 | (lambda _ |
| 4805 | (setenv "HOME" "/tmp") |
| 4806 | #t))))) |
| 4807 | (synopsis "Speech codec") |
| 4808 | (description |
| 4809 | "Codec 2 is a speech codec designed for communications quality speech |
| 4810 | between 700 and 3200 bit/s. The main application is low bandwidth HF/VHF |
| 4811 | digital radio.") |
| 4812 | (home-page "https://www.rowetel.com/?page_id=452") |
| 4813 | (license license:lgpl2.1))) |
| 4814 | |
| 4815 | (define-public ableton-link |
| 4816 | (package |
| 4817 | (name "ableton-link") |
| 4818 | (version "3.0.2") |
| 4819 | (source (origin |
| 4820 | (method git-fetch) |
| 4821 | (uri (git-reference |
| 4822 | (url "https://github.com/Ableton/link") |
| 4823 | (commit (string-append "Link-" version)))) |
| 4824 | (file-name (git-file-name name version)) |
| 4825 | (sha256 |
| 4826 | (base32 |
| 4827 | "0262vm0v7hmqjhqx5xikh529p3c065p1yld6ymaiz74yq1dnnjir")) |
| 4828 | (modules '((guix build utils))) |
| 4829 | (patches |
| 4830 | (search-patches "ableton-link-system-libraries-debian.patch")) |
| 4831 | (snippet |
| 4832 | '(begin |
| 4833 | ;; Tests assume that CMake's "build" directory is a |
| 4834 | ;; sub-directory of the source tree, so we fix it. |
| 4835 | (substitute* "ci/run-tests.py" |
| 4836 | (("root_dir,") "root_dir, os.pardir,")) |
| 4837 | ;; Unbundle dependencies. |
| 4838 | (delete-file-recursively "third_party") |
| 4839 | (delete-file-recursively "modules") |
| 4840 | #t)))) |
| 4841 | (build-system cmake-build-system) |
| 4842 | (native-inputs |
| 4843 | `(("catch" ,catch-framework) |
| 4844 | ("python" ,python) ;for running tests |
| 4845 | ("portaudio" ,portaudio) ;for portaudio examples |
| 4846 | ("qtbase" ,qtbase) ;for Qt examples |
| 4847 | ("qtdeclarative" ,qtdeclarative) |
| 4848 | ("qttools" ,qttools))) |
| 4849 | (inputs |
| 4850 | `(("jack" ,jack-1) ;for JACK examples |
| 4851 | ("qtquickcontrols" ,qtquickcontrols))) ;for Qt examples |
| 4852 | (propagated-inputs |
| 4853 | ;; This is because include/ableton/platforms/asio/AsioWrapper.hpp |
| 4854 | ;; contains '#include <asio.hpp>'. |
| 4855 | `(("asio" ,asio))) |
| 4856 | (arguments |
| 4857 | `(#:configure-flags |
| 4858 | '("-DLINK_BUILD_QT_EXAMPLES=ON" |
| 4859 | "-DLINK_BUILD_JACK=ON") |
| 4860 | #:phases |
| 4861 | (modify-phases %standard-phases |
| 4862 | (replace 'check |
| 4863 | (lambda* (#:key inputs #:allow-other-keys) |
| 4864 | (let* ((python (string-append (assoc-ref inputs "python") |
| 4865 | "/bin/python3")) |
| 4866 | (run-tests (string-append "../ableton-link-" |
| 4867 | ,version |
| 4868 | "-checkout/ci/run-tests.py"))) |
| 4869 | (invoke python run-tests "--target" "LinkCoreTest") |
| 4870 | (invoke python run-tests "--target" "LinkDiscoveryTest")))) |
| 4871 | (add-before 'install 'patch-cmake |
| 4872 | (lambda* (#:key inputs #:allow-other-keys) |
| 4873 | (let* ((source (string-append "../ableton-link-" |
| 4874 | ,version |
| 4875 | "-checkout/"))) |
| 4876 | (substitute* (string-append source |
| 4877 | "cmake_include/AsioStandaloneConfig.cmake") |
| 4878 | (((string-append "\\$\\{CMAKE_CURRENT_LIST_DIR\\}/\\.\\./" |
| 4879 | "modules/asio-standalone/asio/include")) |
| 4880 | (string-append (assoc-ref inputs "asio") |
| 4881 | "/include"))) |
| 4882 | (substitute* (string-append source "AbletonLinkConfig.cmake") |
| 4883 | (("\\$\\{CMAKE_CURRENT_LIST_DIR\\}/include") |
| 4884 | "${CMAKE_CURRENT_LIST_DIR}/../../../include") |
| 4885 | (("\\$\\{CMAKE_CURRENT_LIST_DIR\\}/include/ableton/Link\\.hpp") |
| 4886 | "${CMAKE_CURRENT_LIST_DIR}/../../../include/ableton/Link.hpp")) |
| 4887 | #t))) |
| 4888 | (replace 'install |
| 4889 | (lambda* (#:key outputs #:allow-other-keys) |
| 4890 | (let* ((out (assoc-ref outputs "out")) |
| 4891 | (bin (string-append out "/bin")) |
| 4892 | (lib-cmake (string-append out "/lib/cmake/ableton-link")) |
| 4893 | (source (string-append "../ableton-link-" ,version "-checkout"))) |
| 4894 | (for-each (lambda (test-file) |
| 4895 | (delete-file test-file)) |
| 4896 | '("bin/LinkDiscoveryTest" "bin/LinkCoreTest")) |
| 4897 | (copy-recursively "bin" bin) |
| 4898 | (copy-recursively (string-append source "/include/ableton") |
| 4899 | (string-append out "/include/ableton")) |
| 4900 | (install-file (string-append source "/AbletonLinkConfig.cmake") |
| 4901 | lib-cmake) |
| 4902 | (install-file (string-append source |
| 4903 | "/cmake_include/AsioStandaloneConfig.cmake") |
| 4904 | (string-append lib-cmake "/cmake_include")) |
| 4905 | #t)))))) |
| 4906 | (home-page "https://github.com/Ableton/link") |
| 4907 | (synopsis "Synchronize musical beat, tempo, and phase across multiple applications") |
| 4908 | (description |
| 4909 | "Ableton Link is a C++ library that synchronizes musical beat, tempo, and phase |
| 4910 | across multiple applications running on one or more devices. Applications on devices |
| 4911 | connected to a local network discover each other automatically and form a musical |
| 4912 | session in which each participant can perform independently: anyone can start or stop |
| 4913 | while still staying in time.") |
| 4914 | (license license:gpl2+))) |