Am Wed, 11 Mar 2009 08:49:54 -0500 (CDT) schrieb "Gabriel M. Beddingfield" <[email protected]>:
> > On Wed, March 11, 2009 8:19 am, Krzysztof Foltman wrote: > > Gabriel M. Beddingfield wrote: > > > >>> Or maybe clamping release at "safe" time like 30msec would be a good > >>> enough "low-tech" solution for 0.9.4? > >> Hmmm... I think the users will sometimes want a 0-time release. > > > > Maybe, but I can't think of any use cases (for attack=0 it's obvious, > > for decay = 0 it's possible). > > I think you're right. I think when I'm using other synths (hardware and > software), I just *think* I'm getting a 0-release when I set it to 0... > but they're probably actually setting a minimum release time to bring the > signal back to zero. > in analog world i use a ac bridge to detect a zero-time called null-detector to reduce clicks for switches. if i build a e.g. gate the release with 0 is like a on-off switch. so we have the problem of difference between last voltage value and null. what produce a pop or click. so imo the easy way is to define a "min release frame-value" and use this as a release offset from 0-release. maybe the best min release is e.g.16 frames what is imo the shortest buffersice. i am not sure if a linear interpolation from last max volt value to 0 in 16 steps is enough to get a clean and noiseless fade out. but its completely unimpossible to create a 0 release without a null-detector. but the null-detector also need min 1 buffersize to locate the zero and or for lower frequencies e.g. 30hz it take more frames to reach the next zero. so the fast min-release is much better and faster. wolke ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
