Is there an issue with gate_gain_mono in effect.lib? I can't get hold
time working, I have it controlled by a slider like this but changing
the value of it doesn't make any difference.

gate_hold = hslider("gate_hold",100,0,5000,1)/1000.0;

The gate_gain_mono in effect.lib looks like this:

gate_gain_mono(thresh,att,hold,rel,x) = extendedrawgate :
amp_follower_ud(att,rel) with {
  extendedrawgate = max(float(rawgatesig),holdsig);
  rawgatesig = inlevel(x) > db2linear(thresh);
  inlevel(x) = amp_follower_ud(att/2,rel/2,x);
  holdsig = ((max(holdreset & holdsamps,_) ~-(1)) > 0);
  holdreset = rawgatesig > rawgatesig'; // reset hold when raw gate falls
  holdsamps = int(hold*SR);
};



-- 
/Jonatan
http://kymatica.com

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to