Merge pull request #8072 from magnetophon/VoiceOfFaust-master

init VoiceOfFaust at v0.7

+67
+65
pkgs/applications/audio/VoiceOfFaust/default.nix
··· 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 +
+2
pkgs/top-level/all-packages.nix
··· 12742 12742 12743 12743 vnstat = callPackage ../applications/networking/vnstat { }; 12744 12744 12745 + VoiceOfFaust = callPackage ../applications/audio/VoiceOfFaust { }; 12746 + 12745 12747 vorbisTools = callPackage ../applications/audio/vorbis-tools { }; 12746 12748 12747 12749 vue = callPackage ../applications/misc/vue { };