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

Morgan Packard morgan at morganpackard.com
Mon Oct 10 19:27:10 PDT 2011


Awesome. Thanks.
-m-

On Mon, Oct 10, 2011 at 10:19 PM, Gary Scavone <gary at ccrma.stanford.edu>wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20111010/b75f297c/attachment.html 


More information about the Stk mailing list