
10 Oct
2007
10 Oct
'07
2:55 p.m.
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