[chuck-users] .set() in example adsr.ck

2g electriclightheads at gmail.com
Sun Sep 9 20:37:57 EDT 2007


.set doesn't seem to be in the manual.pdf
but thanks to the example adsr.ck
i found it super useful when setting up things all at once
and am wondering which parameter of ADSR it takes care of

am using something like:

sun_adsrs[n].set( 10::ms, 30::ms, .3, 5::ms);

but before that
was trying something like this
(which didn't work ... i remember):

sun_adsrs[n].attackTime(5::ms);
sun_adsrs[n].attackRate(1.0);
sun_adsrs[n].decayTime(30::ms);
sun_adsrs[n].decayRate(.3);
sun_adsrs[n].sustainLevel(.1);
sun_adsrs[n].releaseTime(5::ms);
sun_adsrs[n].releaseRate(0.0);

there seems to be a lot of parameter over there in ADSR
but
don't see any comma in .set() to ignore(?) those

tia

-- 
2g
http://micro.ispretty.com


More information about the chuck-users mailing list