[chuck-users] unexpected ADSR arg assignment errors

Jascha Narveson jnarveson at wesleyan.edu
Wed Oct 10 14:28:48 EDT 2007

If I type this:

ADSR env;
2.0 => env.attackTime;

I get this error:

[Untitled 2]:line(2): arguments type(s) do not match:
[Untitled 2]:line(2): ... for function 'ADSR.attackTime(...)' ...
[Untitled 2]:line(2): ...(please check the argument types)

Even though the docs define attackTime for ADSR as a float:

   .attackTime - ( float , WRITE only ) - attack time


thanks again,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20071010/207d469b/attachment.htm 

More information about the chuck-users mailing list