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 Why? thanks again, jascha
Jascha Narveson wrote:
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
Why?
The docs needs an update. The times in ADSR are now of type dur (which makes much more sense BTW). 2::ms => env.attackTime; -- peace, love & harmony Atte http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://modlys.dk
ah, so. thanks! - jascha On Oct 10, 2007, at 2:55 PM, Atte André Jensen wrote:
Jascha Narveson wrote:
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
Why?
The docs needs an update. The times in ADSR are now of type dur (which makes much more sense BTW).
2::ms => env.attackTime;
-- peace, love & harmony Atte
http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://modlys.dk _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
Atte André Jensen
-
Jascha Narveson