Commit 004a8caf authored by wargreen's avatar wargreen
Browse files

cleanup

parent 399cb0ac
......@@ -15,13 +15,9 @@ width = hslider("Stereo Width", 90, -180, 180, 0.01) * (ma.PI/180) : si.smooth(b
erLvl = hslider("Early Reflection Lvl", 0, -20, 0, 0.01) : si.smooth(ba.tau2pole(0.02));
hiLvl = hslider("HiLvl", 0, -10, 10, 0.1);
//FIXME : delay make a Low-pass filter at certain delay time...
delay = de.fdelayltv(3,ma.SR, ma.SR * 1/340*radius : int);
//delay = _ : de.fdelay(ma.SR, ma.SR * 1/340*radius) : _ ;
//filter = delay : fi.high_shelf(3, (-0.43*radius) + 0.43, 15000);
delay = de.fdelayltv(3,ma.SR, ma.SR * 1/340*radius : int);
filter = _ : fi.highshelf(1, (-0.43*radius) + 0.43, 15000);
//filter = delay;
volume(r) = 1. / (r * r * (r > 0.1) + (r < 0.1));
stereAzim(ch) = ma.neg( ba.if(stereo, ba.if(ch < 1, azimut-width/2, azimut+width/2), azimut));
......
This diff is collapsed.
......@@ -24,7 +24,6 @@ stereAzim(ch) = ma.neg( ba.if(stereo, ba.if(ch < 1, azimut-width/2, azimut+width
encodedry(ch) = _ * volume(radius)<: ho.encoder3D(ORD, _, stereAzim(ch), elevation) : _ * ba.db2linear(-3),_,_,_;
encoderev(ch) = _ * ba.db2linear(erLvl) <: ho.encoder3D(ORD, _, stereAzim(ch), elevation) : _ * ba.db2linear(-3),_,_,_;
addout = _,_,_;
dryprocess = par(i, 2, encodedry(i)) :> _, par(i, ORD, addout);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment