«flanger» by lambda
on 22 Jul'20 03:49 in1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
(
SynthDef("flange", {arg freq=440, release=0.1;
var x, sig,out, mod1, depth, mfreq,maxfreq, maxdepth, maxdelay, basedelay;
maxfreq=3;
maxdelay=0.01;
basedelay=maxdelay/2;
maxdepth=basedelay/2;
depth = MouseY.kr(0,maxdepth);
mfreq = MouseX.kr(0,maxfreq);
mod1 = SinOsc.ar(mfreq,0,depth);
sig = SoundIn.ar(0,mul:2);
out = DelayC.ar(sig, maxdelay,basedelay+ mod1);
out = Mix.ar([out,sig]);
Out.ar(0,out);
Out.ar(1,out);
}).load(s);
)
a = Synth("flange");
a.free
reception
use audifonos para evitar feedback
use headphones to avoid feedback