git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #19992 from magnetophon/faustUpdate

faust 1 and 2 update, plus adapt affected pkgs

commit811def0f18eb310dba86496373d4e03340e65a81 authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateMon 7 Nov 2016, 14:28 (10 years ago) parentb4f50baf63c179
18 files changed+233−367
pkgs/applications/audio/VoiceOfFaust/default.nix−65 pkgs/applications/audio/faust/faust1.nix+4−3 pkgs/applications/audio/faust/faust1git.nix−210 pkgs/applications/audio/faust/faust2.nix+9−6 pkgs/applications/audio/faust/faust2lv2.nix+5−2 pkgs/applications/audio/faust/faust2lv2gui.nix−14 pkgs/applications/audio/foo-yc20/default.nix+1 pkgs/applications/audio/CharacterCompressor/default.nix → pkgs/applications/audio/magnetophonDSP/CharacterCompressor/default.nix+6−5 pkgs/applications/audio/CompBus/default.nix → pkgs/applications/audio/magnetophonDSP/CompBus/default.nix+13−7 pkgs/applications/audio/constant-detune-chorus/default.nix → pkgs/applications/audio/magnetophonDSP/ConstantDetuneChorus/default.nix+8−7 pkgs/applications/audio/LazyLimiter/default.nix → pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix+8−7 pkgs/applications/audio/MBdistortion/default.nix → pkgs/applications/audio/magnetophonDSP/MBdistortion/default.nix+8−7 pkgs/applications/audio/RhythmDelay/default.nix → pkgs/applications/audio/magnetophonDSP/RhythmDelay/default.nix+8−7 pkgs/applications/audio/magnetophonDSP/VoiceOfFaust/default.nix+56 pkgs/applications/audio/faustCompressors/default.nix → pkgs/applications/audio/magnetophonDSP/faustCompressors/default.nix+13−7 pkgs/applications/audio/magnetophonDSP/pluginUtils/default.nix+41 pkgs/applications/audio/magnetophonDSP/shelfMultiBand/default.nix+38 pkgs/top-level/all-packages.nix+15−20
pkgs/applications/audio/VoiceOfFaust/default.nixdeleted−65
@@ -1,65 +0,0 @@
1−
2−{ stdenv, pkgs, callPackage, fetchFromGitHub, faust2jack, helmholtz, mrpeach, puredata-with-plugins }:
3−stdenv.mkDerivation rec {
4− name = "VoiceOfFaust-${version}";
5− version = "0.7";
6−
7− src = fetchFromGitHub {
8− owner = "magnetophon";
9− repo = "VoiceOfFaust";
10− rev = "v${version}";
11− sha256 = "14jjs7cnhg20pzijgblr7caspcpx8p8lpkbvjzc656s9lqn6m9sn";
12− };
13−
14− plugins = [ helmholtz mrpeach ];
15−
16− pitchTracker = puredata-with-plugins plugins;
17−
18− buildInputs = [ faust2jack ];
19−
20− runtimeInputs = [ pitchTracker ];
21−
22− patchPhase = ''
23− sed -i "s@pd -nodac@${pitchTracker}/bin/pd -nodac@g" launchers/synthWrapper
24− sed -i "s@../PureData/OscSendVoc.pd@$out/PureData/OscSendVoc.pd@g" launchers/synthWrapper
25− '';
26−
27− buildPhase = ''
28− faust2jack -osc classicVocoder.dsp
29− faust2jack -osc CZringmod.dsp
30− faust2jack -osc FMsinger.dsp
31− faust2jack -osc FOFvocoder.dsp
32− faust2jack -osc Karplus-StrongSinger.dsp
33− faust2jack -osc -sch -t 99999 Karplus-StrongSingerMaxi.dsp
34− faust2jack -osc PAFvocoder.dsp
35− faust2jack -osc -sch -t 99999 stringSinger.dsp
36− faust2jack -osc subSinger.dsp
37− # doesn't compile on most systems, too big:
38− #faust2jack -osc -sch -t 99999 VocSynthFull.dsp
39− '';
40−
41− installPhase = ''
42− mkdir -p $out/bin
43− cp launchers/* $out/bin/
44− cp classicVocoder $out/bin/
45− cp CZringmod $out/bin/
46− cp FMsinger $out/bin/
47− cp FOFvocoder $out/bin/
48− cp Karplus-StrongSinger $out/bin/
49− cp Karplus-StrongSingerMaxi $out/bin/
50− cp PAFvocoder $out/bin/
51− cp stringSinger $out/bin/
52− cp subSinger $out/bin/
53− #cp VocSynthFull $out/bin/
54− mkdir $out/PureData/
55− cp PureData/OscSendVoc.pd $out/PureData/OscSendVoc.pd
56− '';
57−
58− meta = {
59− description = "Turn your voice into a synthesizer";
60− homepage = https://github.com/magnetophon/VoiceOfFaust;
61− license = stdenv.lib.licenses.gpl3;
62− maintainers = [ stdenv.lib.maintainers.magnetophon ];
63− };
64−}
65−
pkgs/applications/audio/faust/faust1.nix+4−3
@@ -9,11 +9,11 @@ with stdenv.lib.strings;
99
1010let
1111
12− version = "0.9.73";
12+ version = "0.9.90";
1313
1414 src = fetchurl {
1515 url = "mirror://sourceforge/project/faudiostream/faust-${version}.tgz";
16− sha256 = "0x2scxkwvvjx7b7smj5xb8kr269qakf49z3fxpasd9g7025q44k5";
16+ sha256 = "0d1fqwymyfb73zkmpwv4zk4gsg4ji7qs20mfsr20skmnqx30xvna";
1717 };
1818
1919 meta = with stdenv.lib; {
@@ -167,7 +167,8 @@ let
167167 # export parts of the build environment
168168 for script in "$out"/bin/*; do
169169 wrapProgram "$script" \
170− --set FAUST_LIB_PATH "${faust}/lib/faust" \
170+ --set FAUSTLIB "${faust}/lib/faust" \
171+ --set FAUSTINC "${faust}/include/faust" \
171172 --prefix PATH : "$PATH" \
172173 --prefix PKG_CONFIG_PATH : "$PKG_CONFIG_PATH" \
173174 --set NIX_CFLAGS_COMPILE "$NIX_CFLAGS_COMPILE" \
pkgs/applications/audio/faust/faust1git.nixdeleted−210
@@ -1,210 +0,0 @@
1−{ stdenv
2−, coreutils
3−, fetchgit
4−, makeWrapper
5−, pkgconfig
6−}:
7−
8−with stdenv.lib.strings;
9−
10−let
11−
12− version = "2016-07-19";
13−
14− src = fetchgit {
15− url = "git://git.code.sf.net/p/faudiostream/code";
16− rev = "16c22dc0193c10521b1dc16f98443d9c206bb5dd";
17− sha256 = "01rbcjfhpd5casi72ffi1j95f65ji60l629sgav93pvs0kpdacz5";
18− };
19−
20− meta = with stdenv.lib; {
21− homepage = http://faust.grame.fr/;
22− downloadPage = http://sourceforge.net/projects/faudiostream/files/;
23− license = licenses.gpl2;
24− platforms = platforms.linux;
25− maintainers = with maintainers; [ magnetophon pmahoney ];
26− };
27−
28− faust = stdenv.mkDerivation {
29−
30− name = "faust-${version}";
31−
32− inherit src;
33−
34− buildInputs = [ makeWrapper ];
35−
36− passthru = {
37− inherit wrap wrapWithBuildEnv;
38− };
39−
40− preConfigure = ''
41− makeFlags="$makeFlags prefix=$out"
42−
43− # The faust makefiles use 'system ?= $(shell uname -s)' but nix
44− # defines 'system' env var, so undefine that so faust detects the
45− # correct system.
46− unset system
47− '';
48−
49− # Remove most faust2appl scripts since they won't run properly
50− # without additional paths setup. See faust.wrap,
51− # faust.wrapWithBuildEnv.
52− postInstall = ''
53− # syntax error when eval'd directly
54− pattern="faust2!(svg)"
55− (shopt -s extglob; rm "$out"/bin/$pattern)
56− '';
57−
58− postFixup = ''
59− # Set faustpath explicitly.
60− substituteInPlace "$out"/bin/faustpath \
61− --replace "/usr/local /usr /opt /opt/local" "$out"
62−
63− # The 'faustoptflags' is 'source'd into other faust scripts and
64− # not used as an executable, so patch 'uname' usage directly
65− # rather than use makeWrapper.
66− substituteInPlace "$out"/bin/faustoptflags \
67− --replace uname "${coreutils}/bin/uname"
68−
69− # wrapper for scripts that don't need faust.wrap*
70− for script in "$out"/bin/faust2*; do
71− wrapProgram "$script" \
72− --prefix PATH : "$out"/bin
73− done
74− '';
75−
76− meta = meta // {
77− description = "A functional programming language for realtime audio signal processing";
78− longDescription = ''
79− FAUST (Functional Audio Stream) is a functional programming
80− language specifically designed for real-time signal processing
81− and synthesis. FAUST targets high-performance signal processing
82− applications and audio plug-ins for a variety of platforms and
83− standards.
84− The Faust compiler translates DSP specifications into very
85− efficient C++ code. Thanks to the notion of architecture,
86− FAUST programs can be easily deployed on a large variety of
87− audio platforms and plugin formats (jack, alsa, ladspa, maxmsp,
88− puredata, csound, supercollider, pure, vst, coreaudio) without
89− any change to the FAUST code.
90−
91− This package has just the compiler, libraries, and headers.
92− Install faust2* for specific faust2appl scripts.
93− '';
94− };
95−
96− };
97−
98− # Default values for faust2appl.
99− faust2ApplBase =
100− { baseName
101− , dir ? "tools/faust2appls"
102− , scripts ? [ baseName ]
103− , ...
104− }@args:
105−
106− args // {
107− name = "${baseName}-${version}";
108−
109− inherit src;
110−
111− configurePhase = ":";
112−
113− buildPhase = ":";
114−
115− installPhase = ''
116− runHook preInstall
117−
118− mkdir -p "$out/bin"
119− for script in ${concatStringsSep " " scripts}; do
120− cp "${dir}/$script" "$out/bin/"
121− done
122−
123− runHook postInstall
124− '';
125−
126− postInstall = ''
127− # For the faust2appl script, change 'faustpath' and
128− # 'faustoptflags' to absolute paths.
129− for script in "$out"/bin/*; do
130− substituteInPlace "$script" \
131− --replace ". faustpath" ". '${faust}/bin/faustpath'" \
132− --replace ". faustoptflags" ". '${faust}/bin/faustoptflags'"
133− done
134− '';
135−
136− meta = meta // {
137− description = "The ${baseName} script, part of faust functional programming language for realtime audio signal processing";
138− };
139− };
140−
141− # Some 'faust2appl' scripts, such as faust2alsa, run faust to
142− # generate cpp code, then invoke the c++ compiler to build the code.
143− # This builder wraps these scripts in parts of the stdenv such that
144− # when the scripts are called outside any nix build, they behave as
145− # if they were running inside a nix build in terms of compilers and
146− # paths being configured (e.g. rpath is set so that compiled
147− # binaries link to the libs inside the nix store)
148− #
149− # The function takes two main args: the appl name (e.g.
150− # 'faust2alsa') and an optional list of propagatedBuildInputs. It
151− # returns a derivation that contains only the bin/${appl} script,
152− # wrapped up so that it will run as if it was inside a nix build
153− # with those build inputs.
154− #
155− # The build input 'faust' is automatically added to the
156− # propagatedBuildInputs.
157− wrapWithBuildEnv =
158− { baseName
159− , propagatedBuildInputs ? [ ]
160− , ...
161− }@args:
162−
163− stdenv.mkDerivation ((faust2ApplBase args) // {
164−
165− buildInputs = [ makeWrapper pkgconfig ];
166−
167− propagatedBuildInputs = [ faust ] ++ propagatedBuildInputs;
168−
169− postFixup = ''
170−
171− # export parts of the build environment
172− for script in "$out"/bin/*; do
173− wrapProgram "$script" \
174− --set FAUSTLIB "${faust}/lib/faust" \
175− --set FAUSTINC "${faust}/include/faust" \
176− --prefix PATH : "$PATH" \
177− --prefix PKG_CONFIG_PATH : "$PKG_CONFIG_PATH" \
178− --set NIX_CFLAGS_COMPILE "$NIX_CFLAGS_COMPILE" \
179− --set NIX_LDFLAGS "$NIX_LDFLAGS"
180− done
181− '';
182− });
183−
184− # Builder for 'faust2appl' scripts, such as faust2firefox that
185− # simply need to be wrapped with some dependencies on PATH.
186− #
187− # The build input 'faust' is automatically added to the PATH.
188− wrap =
189− { baseName
190− , runtimeInputs ? [ ]
191− , ...
192− }@args:
193−
194− let
195−
196− runtimePath = concatStringsSep ":" (map (p: "${p}/bin") ([ faust ] ++ runtimeInputs));
197−
198− in stdenv.mkDerivation ((faust2ApplBase args) // {
199−
200− buildInputs = [ makeWrapper ];
201−
202− postFixup = ''
203− for script in "$out"/bin/*; do
204− wrapProgram "$script" --prefix PATH : "${runtimePath}"
205− done
206− '';
207−
208− });
209−
210−in faust
pkgs/applications/audio/faust/faust2.nix+9−6
@@ -16,11 +16,11 @@ with stdenv.lib.strings;
1616
1717let
1818
19− version = "2.0-a41";
19+ version = "2.0.a51";
2020
2121 src = fetchurl {
22− url = "mirror://sourceforge/project/faudiostream/faust-2.0.a41.tgz";
23− sha256 = "1cq4x1cax0lswrcqv0limx5mjdi3187zlmh7cj2pndr0xq6b96cm";
22+ url = "mirror://sourceforge/project/faudiostream/faust-${version}.tgz";
23+ sha256 = "1yryjqfqmxs7lxy95hjgmrncvl9kig3rcsmg0v49ghzz7vs7haxf";
2424 };
2525
2626 meta = with stdenv.lib; {
@@ -53,7 +53,7 @@ let
5353 # defines 'system' env var, so undefine that so faust detects the
5454 # correct system.
5555 unset system
56− sed -e "232s/LLVM_STATIC_LIBS/LLVMLIBS/" -i compiler/Makefile.unix
56+ # sed -e "232s/LLVM_STATIC_LIBS/LLVMLIBS/" -i compiler/Makefile.unix
5757
5858 # The makefile sets LLVM_<version> depending on the current llvm
5959 # version, but the detection code is quite brittle.
@@ -67,7 +67,7 @@ let
6767 #
6868 # For now, fix this by 1) pinning the llvm version; 2) manually setting LLVM_VERSION
6969 # to something the makefile will recognize.
70− sed '52iLLVM_VERSION=3.7.0' -i compiler/Makefile.unix
70+ sed '52iLLVM_VERSION=3.8.0' -i compiler/Makefile.unix
7171 '';
7272
7373 # Remove most faust2appl scripts since they won't run properly
@@ -151,7 +151,8 @@ let
151151 for script in "$out"/bin/*; do
152152 substituteInPlace "$script" \
153153 --replace ". faustpath" ". '${faust}/bin/faustpath'" \
154− --replace ". faustoptflags" ". '${faust}/bin/faustoptflags'"
154+ --replace ". faustoptflags" ". '${faust}/bin/faustoptflags'" \
155+ --replace " error " "echo"
155156 done
156157 '';
157158
@@ -193,7 +194,9 @@ let
193194 # export parts of the build environment
194195 for script in "$out"/bin/*; do
195196 wrapProgram "$script" \
197+ --set FAUSTLIB "${faust}/lib/faust" \
196198 --set FAUST_LIB_PATH "${faust}/lib/faust" \
199+ --set FAUSTINC "${faust}/include/faust" \
197200 --prefix PATH : "$PATH" \
198201 --prefix PKG_CONFIG_PATH : "$PKG_CONFIG_PATH" \
199202 --set NIX_CFLAGS_COMPILE "$NIX_CFLAGS_COMPILE" \
pkgs/applications/audio/faust/faust2lv2.nix+5−2
@@ -1,11 +1,14 @@
1−{ faust
1+{ boost
2+, faust
23, lv2
4+, qt4
5+
36}:
47
58faust.wrapWithBuildEnv {
69
710 baseName = "faust2lv2";
811
9− propagatedBuildInputs = [ lv2 ];
12+ propagatedBuildInputs = [ boost lv2 qt4 ];
1013
1114}
pkgs/applications/audio/faust/faust2lv2gui.nixdeleted−14
@@ -1,14 +0,0 @@
1−{ boost
2−, faust1git
3−, lv2
4−, qt4
5−
6−}:
7−
8−faust1git.wrapWithBuildEnv {
9−
10− baseName = "faust2lv2";
11−
12− propagatedBuildInputs = [ boost lv2 qt4 ];
13−
14−}
pkgs/applications/audio/foo-yc20/default.nix+1
@@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
1818 postInstallFixup = "rm -rf $out/lib/lv2";
1919
2020 meta = {
21+ broken = true; # see: https://github.com/sampov2/foo-yc20/issues/7
2122 description = "A Faust implementation of a 1969 designed Yamaha combo organ, the YC-20";
2223 homepage = https://github.com/sampov2/foo-yc20;
2324 license = "BSD";
pkgs/applications/audio/CharacterCompressor/default.nix → pkgs/applications/audio/magnetophonDSP/CharacterCompressor/default.nixrenamed+6−5
@@ -1,21 +1,22 @@
1−{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2gui }:
1+{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
22stdenv.mkDerivation rec {
33 name = "CharacterCompressor-${version}";
4− version = "0.3.1";
4+ version = "0.3.3";
55
66 src = fetchFromGitHub {
77 owner = "magnetophon";
88 repo = "CharacterCompressor";
99 rev = "V${version}";
10− sha256 = "0ci27v5k10prsmcd0g6q5vhr31mz8hsmrsdk436vfbcv3s108rcc";
10+ sha256 = "1h0bhjhx023476gbijq842b6f8z71zcyn4c9mddwyb18w9cdamp5";
1111 };
1212
13− buildInputs = [ faust2jaqt faust2lv2gui ];
13+ buildInputs = [ faust2jaqt faust2lv2 ];
1414
1515 buildPhase = ''
1616 faust2jaqt -vec -time -t 99999 CharacterCompressor.dsp
17− faust2lv2 -vec -time -gui -t 99999 CharacterCompressor.dsp
1817 faust2jaqt -vec -time -t 99999 CharacterCompressorMono.dsp
18+ sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "lib/CharacterCompressor.lib"
19+ faust2lv2 -vec -time -gui -t 99999 CharacterCompressor.dsp
1920 faust2lv2 -vec -time -gui -t 99999 CharacterCompressorMono.dsp
2021 '';
2122
pkgs/applications/audio/CompBus/default.nix → pkgs/applications/audio/magnetophonDSP/CompBus/default.nixrenamed+13−7
@@ -1,22 +1,28 @@
1−{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2gui }:
1+{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
22stdenv.mkDerivation rec {
33 name = "CompBus-${version}";
4− version = "1.1.02";
4+ version = "1.1.1";
55
66 src = fetchFromGitHub {
77 owner = "magnetophon";
88 repo = "CompBus";
9− rev = "v${version}";
10− sha256 = "025vi60caxk3j2vxxrgbc59xlyr88vgn7k3127s271zvpyy7apwh";
9+ rev = "V${version}";
10+ sha256 = "0yhj680zgk4dn4fi8j3apm72f3z2mjk12amf2a7p0lwn9iyh4a2z";
1111 };
1212
13− buildInputs = [ faust2jaqt faust2lv2gui ];
13+ buildInputs = [ faust2jaqt faust2lv2 ];
1414
1515 buildPhase = ''
1616 for f in *.dsp;
1717 do
18− faust2jaqt -t 99999 $f
19− faust2lv2 -gui -t 99999 $f
18+ faust2jaqt -time -vec -double -t 99999 $f
19+ done
20+
21+ sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "CompBus.lib"
22+
23+ for f in *.dsp;
24+ do
25+ faust2lv2 -time -vec -double -gui -t 99999 $f
2026 done
2127 '';
2228
pkgs/applications/audio/constant-detune-chorus/default.nix → pkgs/applications/audio/magnetophonDSP/ConstantDetuneChorus/default.nixrenamed+8−7
@@ -1,20 +1,21 @@
1−{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2gui }:
1+{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
22stdenv.mkDerivation rec {
33 name = "constant-detune-chorus-${version}";
4− version = "0.1.2";
4+ version = "0.1.3";
55
66 src = fetchFromGitHub {
77 owner = "magnetophon";
88 repo = "constant-detune-chorus";
9− rev = "v${version}";
10− sha256 = "1ks2k6pflqyi2cs26bnbypphyrrgn0xf31l31kgx1qlilyc57vln";
9+ rev = "V${version}";
10+ sha256 = "1sipmc25fr7w7xqx1r0y6i2zwfkgszzwvhk1v15mnsb3cqvk8ybn";
1111 };
1212
13− buildInputs = [ faust2jaqt faust2lv2gui ];
13+ buildInputs = [ faust2jaqt faust2lv2 ];
1414
1515 buildPhase = ''
16− faust2jaqt -t 99999 ConstantDetuneChorus.dsp
17− faust2lv2 -gui -t 99999 ConstantDetuneChorus.dsp
16+ faust2jaqt -time -vec -t 99999 ConstantDetuneChorus.dsp
17+ sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "ConstantDetuneChorus.dsp"
18+ faust2lv2 -time -vec -t 99999 -gui ConstantDetuneChorus.dsp
1819 '';
1920
2021 installPhase = ''
pkgs/applications/audio/LazyLimiter/default.nix → pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nixrenamed+8−7
@@ -1,20 +1,21 @@
1−{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2gui }:
1+{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
22stdenv.mkDerivation rec {
33 name = "LazyLimiter-${version}";
4− version = "0.3.01";
4+ version = "0.3.2";
55
66 src = fetchFromGitHub {
77 owner = "magnetophon";
88 repo = "LazyLimiter";
9− rev = "v${version}";
10− sha256 = "1yx9d5cakmqbiwb1j9v2af9h5lqzahl3kaamnyk71cf4i8g7zp3l";
9+ rev = "V${version}";
10+ sha256 = "10xdydwmsnkx8hzsm74pa546yahp29wifydbc48yywv3sfj5anm7";
1111 };
1212
13− buildInputs = [ faust2jaqt faust2lv2gui ];
13+ buildInputs = [ faust2jaqt faust2lv2 ];
1414
1515 buildPhase = ''
16− faust2jaqt -t 99999 LazyLimiter.dsp
17− faust2lv2 -gui -t 99999 LazyLimiter.dsp
16+ faust2jaqt -vec -time -t 99999 LazyLimiter.dsp
17+ sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "GUI.lib"
18+ faust2lv2 -vec -time -t 99999 -gui LazyLimiter.dsp
1819 '';
1920
2021 installPhase = ''
pkgs/applications/audio/MBdistortion/default.nix → pkgs/applications/audio/magnetophonDSP/MBdistortion/default.nixrenamed+8−7
@@ -1,20 +1,21 @@
1−{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2gui }:
1+{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
22stdenv.mkDerivation rec {
33 name = "MBdistortion-${version}";
4− version = "1.1";
4+ version = "1.1.1";
55
66 src = fetchFromGitHub {
77 owner = "magnetophon";
88 repo = "MBdistortion";
9− rev = "v${version}";
10− sha256 = "1rmvfi48hg8ybfw517zgj3fjj2xzckrmv8x131i26vj0fv7svjsp";
9+ rev = "V${version}";
10+ sha256 = "0mdzaqmxzgspfgx9w1hdip18y17hwpdcgjyq1rrfm843vkascwip";
1111 };
1212
13− buildInputs = [ faust2jaqt faust2lv2gui ];
13+ buildInputs = [ faust2jaqt faust2lv2 ];
1414
1515 buildPhase = ''
16− faust2jaqt -t 99999 MBdistortion.dsp
17− faust2lv2 -gui -t 99999 MBdistortion.dsp
16+ faust2jaqt -time -vec -t 99999 MBdistortion.dsp
17+ sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "MBdistortion.dsp"
18+ faust2lv2 -time -vec -gui -t 99999 MBdistortion.dsp
1819 '';
1920
2021 installPhase = ''
pkgs/applications/audio/RhythmDelay/default.nix → pkgs/applications/audio/magnetophonDSP/RhythmDelay/default.nixrenamed+8−7
@@ -1,20 +1,21 @@
1−{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2gui }:
1+{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
22stdenv.mkDerivation rec {
33 name = "RhythmDelay-${version}";
4− version = "2.0";
4+ version = "2.1";
55
66 src = fetchFromGitHub {
77 owner = "magnetophon";
88 repo = "RhythmDelay";
9− rev = "v${version}";
10− sha256 = "0n938nm08mf3lz92k6v07k1469xxzmfkgclw40jgdssfcfa16bn7";
9+ rev = "V${version}";
10+ sha256 = "1j0bjl9agz43dcrcrbiqd7fv7xsxgd65s4ahhv5pvcr729y0fxg4";
1111 };
1212
13− buildInputs = [ faust2jaqt faust2lv2gui ];
13+ buildInputs = [ faust2jaqt faust2lv2 ];
1414
1515 buildPhase = ''
16− faust2jaqt -t 99999 RhythmDelay.dsp
17− faust2lv2 -gui -t 99999 RhythmDelay.dsp
16+ faust2jaqt -time -vec -t 99999 RhythmDelay.dsp
17+ sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "RhythmDelay.dsp"
18+ faust2lv2 -time -vec -t 99999 -gui RhythmDelay.dsp
1819 '';
1920
2021 installPhase = ''
pkgs/applications/audio/magnetophonDSP/VoiceOfFaust/default.nixnew file+56
@@ -0,0 +1,56 @@
1+{ stdenv, pkgs, callPackage, fetchFromGitHub, faust2jack, faust2lv2, helmholtz, mrpeach, puredata-with-plugins }:
2+stdenv.mkDerivation rec {
3+ name = "VoiceOfFaust-${version}";
4+ version = "1.1.4";
5+
6+ src = fetchFromGitHub {
7+ owner = "magnetophon";
8+ repo = "VoiceOfFaust";
9+ rev = "V${version}";
10+ sha256 = "0la9b806qwrlsxgbir7n1db8v3w24wmd6k43p6qpr1fjjpkhrrgw";
11+ };
12+
13+ plugins = [ helmholtz mrpeach ];
14+
15+ pitchTracker = puredata-with-plugins plugins;
16+
17+ buildInputs = [ faust2jack faust2lv2 ];
18+
19+ runtimeInputs = [ pitchTracker ];
20+
21+ patchPhase = ''
22+ sed -i "s@pd -nodac@${pitchTracker}/bin/pd -nodac@g" launchers/synthWrapper
23+ sed -i "s@../PureData/OscSendVoc.pd@$out/PureData/OscSendVoc.pd@g" launchers/synthWrapper
24+ '';
25+
26+ buildPhase = ''
27+ sh install.sh
28+ # so it doesn;t end up in /bin/ :
29+ rm -f install.sh
30+ '';
31+
32+ installPhase = ''
33+ mkdir -p $out/bin
34+
35+ for file in ./*; do
36+ if test -x "$file" && test -f "$file"; then
37+ cp "$file" "$out/bin"
38+ fi
39+ done
40+
41+ cp launchers/* $out/bin/
42+ mkdir $out/PureData/
43+ # cp PureData/OscSendVoc.pd $out/PureData/OscSendVoc.pd
44+ cp PureData/* $out/PureData/
45+
46+ mkdir -p $out/lib/lv2
47+ cp -r *.lv2/ $out/lib/lv2
48+ '';
49+
50+ meta = {
51+ description = "Turn your voice into a synthesizer";
52+ homepage = https://github.com/magnetophon/VoiceOfFaust;
53+ license = stdenv.lib.licenses.gpl3;
54+ maintainers = [ stdenv.lib.maintainers.magnetophon ];
55+ };
56+}
pkgs/applications/audio/faustCompressors/default.nix → pkgs/applications/audio/magnetophonDSP/faustCompressors/default.nixrenamed+13−7
@@ -1,22 +1,28 @@
1−{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2gui }:
1+{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
22stdenv.mkDerivation rec {
3− name = "faustCompressors-${version}";
4− version = "0.1.1";
3+ name = "faustCompressors-v${version}";
4+ version = "1.1.1";
55
66 src = fetchFromGitHub {
77 owner = "magnetophon";
88 repo = "faustCompressors";
99 rev = "v${version}";
10− sha256 = "0x5nd2cjhknb4aclhkkjaywx75bi2wj22prgv8n47czi09jcj0jb";
10+ sha256 = "0mkram2hm7i5za7pfn5crh2arbajk8praksxzgjx90rrxwl1y3d1";
1111 };
1212
13− buildInputs = [ faust2jaqt faust2lv2gui ];
13+ buildInputs = [ faust2jaqt faust2lv2 ];
1414
1515 buildPhase = ''
1616 for f in *.dsp;
1717 do
18− faust2jaqt -double -t 99999 $f
19− faust2lv2 -double -gui -t 99999 $f
18+ faust2jaqt -time -double -t 99999 $f
19+ done
20+
21+ sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "compressors.lib"
22+
23+ for f in *.dsp;
24+ do
25+ faust2lv2 -time -double -gui -t 99999 $f
2026 done
2127 '';
2228
pkgs/applications/audio/magnetophonDSP/pluginUtils/default.nixnew file+41
@@ -0,0 +1,41 @@
1+{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
2+stdenv.mkDerivation rec {
3+ name = "pluginUtils-${version}";
4+ version = "1.1";
5+
6+ src = fetchFromGitHub {
7+ owner = "magnetophon";
8+ repo = "pluginUtils";
9+ rev = "V${version}";
10+ sha256 = "1hnr5sp7k6ypf4ks61lnyqx44dkv35yllf3a3xcbrw7yqzagwr1c";
11+ };
12+
13+ buildInputs = [ faust2jaqt faust2lv2 ];
14+
15+ buildPhase = ''
16+ for f in *.dsp
17+ do
18+ echo "Building jack standalone for $f"
19+ faust2jaqt -vec -time -t 99999 "$f"
20+ sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "$f"
21+ echo "Building lv2 for $f"
22+ faust2lv2 -vec -time -gui -t 99999 "$f"
23+ done
24+ '';
25+
26+ installPhase = ''
27+ rm -f *.dsp
28+ rm -f *.lib
29+ mkdir -p $out/lib/lv2
30+ mv *.lv2/ $out/lib/lv2
31+ mkdir -p $out/bin
32+ cp * $out/bin/
33+ '';
34+
35+ meta = {
36+ description = "Some simple utility lv2 plugins";
37+ homepage = https://github.com/magnetophon/pluginUtils;
38+ license = stdenv.lib.licenses.gpl3;
39+ maintainers = [ stdenv.lib.maintainers.magnetophon ];
40+ };
41+}
pkgs/applications/audio/magnetophonDSP/shelfMultiBand/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
2+stdenv.mkDerivation rec {
3+ name = "shelfMultiBand-${version}";
4+ version = "0.6.1";
5+
6+ src = fetchFromGitHub {
7+ owner = "magnetophon";
8+ repo = "shelfMultiBand";
9+ rev = "V${version}";
10+ sha256 = "1b1h4z5fs2xm7wvw11p9wnd0bxs3m88124f5phh0gwvpsdrd0im5";
11+ };
12+
13+ buildInputs = [ faust2jaqt faust2lv2 ];
14+
15+ buildPhase = ''
16+ faust2jaqt -vec -double -time -t 99999 shelfMultiBand.dsp
17+ faust2jaqt -vec -double -time -t 99999 shelfMultiBandMono.dsp
18+ sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "shelfMultiBand.lib"
19+ faust2lv2 -vec -double -time -gui -t 99999 shelfMultiBandMono.dsp
20+ faust2lv2 -vec -double -time -gui -t 99999 shelfMultiBand.dsp
21+ '';
22+
23+ installPhase = ''
24+ mkdir -p $out/bin
25+ cp shelfMultiBand $out/bin/
26+ cp shelfMultiBandMono $out/bin/
27+ mkdir -p $out/lib/lv2
28+ cp -r shelfMultiBand.lv2/ $out/lib/lv2
29+ cp -r shelfMultiBandMono.lv2/ $out/lib/lv2
30+ '';
31+
32+ meta = {
33+ description = "A multiband compressor made from shelving filters.";
34+ homepage = https://github.com/magnetophon/shelfMultiBand;
35+ license = stdenv.lib.licenses.gpl3;
36+ maintainers = [ stdenv.lib.maintainers.magnetophon ];
37+ };
38+}
pkgs/top-level/all-packages.nix+15−20
@@ -12261,8 +12261,6 @@ in
1226112261 amdappsdk = amdappsdk28;
1226212262 };
1226312263
12264− CharacterCompressor = callPackage ../applications/audio/CharacterCompressor { };
12265−
1226612264 chatzilla = callPackage ../applications/networking/irc/chatzilla { };
1226712265
1226812266 chirp = callPackage ../applications/misc/chirp {
@@ -12311,14 +12309,10 @@ in
1231112309
1231212310 communi = qt5.callPackage ../applications/networking/irc/communi { };
1231312311
12314− CompBus = callPackage ../applications/audio/CompBus { };
12315−
1231612312 compiz = callPackage ../applications/window-managers/compiz {
1231712313 inherit (gnome2) GConf ORBit2 metacity;
1231812314 };
1231912315
12320− constant-detune-chorus = callPackage ../applications/audio/constant-detune-chorus { };
12321−
1232212316 copyq = callPackage ../applications/misc/copyq { };
1232312317
1232412318 coriander = callPackage ../applications/video/coriander {
@@ -13474,8 +13468,6 @@ in
1347413468
1347513469 caps = callPackage ../applications/audio/caps { };
1347613470
13477− LazyLimiter = callPackage ../applications/audio/LazyLimiter { };
13478−
1347913471 lastwatch = callPackage ../applications/audio/lastwatch { };
1348013472
1348113473 lastfmsubmitd = callPackage ../applications/audio/lastfmsubmitd { };
@@ -13605,6 +13597,19 @@ in
1360513597
1360613598 lyx = callPackage ../applications/misc/lyx { };
1360713599
13600+ magnetophonDSP = {
13601+ CharacterCompressor = callPackage ../applications/audio/magnetophonDSP/CharacterCompressor { };
13602+ CompBus = callPackage ../applications/audio/magnetophonDSP/CompBus { };
13603+ ConstantDetuneChorus = callPackage ../applications/audio/magnetophonDSP/ConstantDetuneChorus { };
13604+ faustCompressors = callPackage ../applications/audio/magnetophonDSP/faustCompressors { };
13605+ LazyLimiter = callPackage ../applications/audio/magnetophonDSP/LazyLimiter { };
13606+ MBdistortion = callPackage ../applications/audio/magnetophonDSP/MBdistortion { };
13607+ pluginUtils = callPackage ../applications/audio/magnetophonDSP/pluginUtils { };
13608+ RhythmDelay = callPackage ../applications/audio/magnetophonDSP/RhythmDelay { };
13609+ VoiceOfFaust = callPackage ../applications/audio/magnetophonDSP/VoiceOfFaust { };
13610+ shelfMultiBand = callPackage ../applications/audio/magnetophonDSP/shelfMultiBand { };
13611+ };
13612+
1360813613 makeself = callPackage ../applications/misc/makeself { };
1360913614
1361013615 marathon = callPackage ../applications/networking/cluster/marathon { };
@@ -13613,8 +13618,6 @@ in
1361313618
1361413619 matchbox = callPackage ../applications/window-managers/matchbox { };
1361513620
13616− MBdistortion = callPackage ../applications/audio/MBdistortion { };
13617−
1361813621 mcpp = callPackage ../development/compilers/mcpp { };
1361913622
1362013623 mda_lv2 = callPackage ../applications/audio/mda-lv2 { };
@@ -14318,8 +14321,6 @@ in
1431814321
1431914322 retroshare06 = lowPrio (callPackage ../applications/networking/p2p/retroshare/0.6.nix { });
1432014323
14321− RhythmDelay = callPackage ../applications/audio/RhythmDelay { };
14322−
1432314324 ricochet = qt55.callPackage ../applications/networking/instant-messengers/ricochet { };
1432414325
1432514326 ripser = callPackage ../applications/science/math/ripser { };
@@ -14970,8 +14971,6 @@ in
1497014971
1497114972 vnstat = callPackage ../applications/networking/vnstat { };
1497214973
14973− VoiceOfFaust = callPackage ../applications/audio/VoiceOfFaust { };
14974−
1497514974 volnoti = callPackage ../applications/misc/volnoti { };
1497614975
1497714976 vorbis-tools = callPackage ../applications/audio/vorbis-tools { };
@@ -16924,14 +16923,14 @@ in
1692416923
1692516924 fakenes = callPackage ../misc/emulators/fakenes { };
1692616925
16927− faust = faust2;
16926+ faust = self.faust2;
1692816927
1692916928 faust1 = callPackage ../applications/audio/faust/faust1.nix { };
1693016929
1693116930 faust1git = callPackage ../applications/audio/faust/faust1git.nix { };
1693216931
1693316932 faust2 = callPackage ../applications/audio/faust/faust2.nix {
16934− llvm = llvm_37;
16933+ llvm = llvm_38;
1693516934 };
1693616935
1693716936 faust2alqt = callPackage ../applications/audio/faust/faust2alqt.nix { };
@@ -16948,10 +16947,6 @@ in
1694816947
1694916948 faust2lv2 = callPackage ../applications/audio/faust/faust2lv2.nix { };
1695016949
16951− faust2lv2gui = callPackage ../applications/audio/faust/faust2lv2gui.nix { };
16952−
16953− faustCompressors = callPackage ../applications/audio/faustCompressors { };
16954−
1695516950 fceux = callPackage ../misc/emulators/fceux { };
1695616951
1695716952 flat-plat = callPackage ../misc/themes/flat-plat { };