2016-11-07 13:06:35 +00:00
|
|
|
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
2015-05-30 21:17:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "constant-detune-chorus-${version}";
|
2016-11-07 13:06:35 +00:00
|
|
|
version = "0.1.3";
|
2015-05-30 21:17:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "constant-detune-chorus";
|
2016-11-07 13:06:35 +00:00
|
|
|
rev = "V${version}";
|
|
|
|
sha256 = "1sipmc25fr7w7xqx1r0y6i2zwfkgszzwvhk1v15mnsb3cqvk8ybn";
|
2015-05-30 21:17:03 +01:00
|
|
|
};
|
|
|
|
|
2016-11-07 13:06:35 +00:00
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
2015-05-30 21:17:03 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
2016-11-07 13:06:35 +00:00
|
|
|
faust2jaqt -time -vec -t 99999 ConstantDetuneChorus.dsp
|
|
|
|
faust2lv2 -time -vec -t 99999 -gui ConstantDetuneChorus.dsp
|
2015-05-30 21:17:03 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
2016-05-06 12:56:40 +01:00
|
|
|
cp ConstantDetuneChorus $out/bin/
|
2015-05-30 21:17:03 +01:00
|
|
|
mkdir -p $out/lib/lv2
|
2016-05-06 12:56:40 +01:00
|
|
|
cp -r ConstantDetuneChorus.lv2/ $out/lib/lv2
|
2015-05-30 21:17:03 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A chorus algorithm that maintains constant and symmetric detuning depth (in cents), regardless of modulation rate. For jack and lv2";
|
|
|
|
homepage = https://github.com/magnetophon/constant-detune-chorus;
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
};
|
|
|
|
}
|