blob: f85df83401e08430dc974a6dfd438f98685d285b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib, stdenv, fetchFromGitHub, faust2jack, faust2lv2, helmholtz, mrpeach, puredata-with-plugins, jack-example-tools }:
stdenv.mkDerivation rec {
pname = "VoiceOfFaust";
version = "1.1.5";
src = fetchFromGitHub {
owner = "magnetophon";
repo = "VoiceOfFaust";
rev = version;
sha256 = "sha256-vB8+ymvNuuovFXwOJ3BTIj5mGzCGa1+yhYs4nWMYIxU=";
};
plugins = [ helmholtz mrpeach ];
pitchTracker = puredata-with-plugins plugins;
buildInputs = [ faust2jack faust2lv2 ];
enableParallelBuilding = true;
dontWrapQtApps = true;
makeFlags = [
"PREFIX=$(out)"
];
patchPhase = ''
sed -i "s@pd -nodac@${pitchTracker}/bin/pd -nodac@g" launchers/synthWrapper
sed -i "s@jack_connect@${jack-example-tools}/bin/jack_connect@g" launchers/synthWrapper
sed -i "s@../PureData/OscSendVoc.pd@$out/bin/PureData/OscSendVoc.pd@g" launchers/pitchTracker
'';
meta = {
description = "Turn your voice into a synthesizer";
homepage = "https://github.com/magnetophon/VoiceOfFaust";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
};
}
|