[Stk] setting release time of ADSR to zero generates nan's with no warning

Gary Scavone gary at ccrma.Stanford.EDU
Mon Oct 10 19:19:17 PDT 2011


Hi Morgan,

This is fixed in the latest release.

--gary

On 2011-10-10, at 8:26 PM, Morgan Packard wrote:

> Hello,
> I'm using an older version of STK, so it's possible that ADSR no longer behaves this way. Currently, if I set the release time to zero, I get no warning, but wind up with a NaN for release rate. I'm putting some checks in my version of the file, so that if I pass a zero for release time, everything blows up in an obvious way. I'm happy to explain more or send my code that would be helpful to anyone.
> -Morgan
> _______________________________________________
> Stk mailing list
> Stk at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/stk




More information about the Stk mailing list