The online docs ( http://chuck.cs.princeton.edu/doc/program/ugen_full.html#Dyno ) say; - *.attackTime* - ( float, READ/WRITE ) - duration for the envelope to move linearly from current value to the absolute value of the signal's amplitude - *.releaseTime* - ( float, READ/WRITE ) - duration for the envelope to decay down to around 1/10 of its current amplitude, if not brought back up by the signal The type should instead be "duration". This is slightly relevant-ish as some of the STK UGens would express times in float. I think we got most of those by now but it can't hurt to keep such confusing inconsistencies to a minimum. Yours, Kas.
Hi fellow chucKers, My example prog crashes if I leave the condition part of the for() loop empty (no error message, just crash): for (0 => int i; ; i++) { <<<i>>>; if (i == 100) { break; } } In C, it is legal, but whatever, I'd like to see an error message instead of a program crash :). Not so urgent, I can fix it adding a "true" keyword like this: for (0 => int i; true; i++) { <<<i>>>; if (i == 100) { break; } } Regards, Szilveszter aka Hillaby
Hi Kassen!
The online docs ( http://chuck.cs.princeton.edu/doc/program/ugen_full.html#Dyno ) say; * .attackTime - ( float, READ/WRITE ) - duration for the envelope to move linearly from current value to the absolute value of the signal's amplitude * .releaseTime - ( float, READ/WRITE ) - duration for the envelope to decay down to around 1/10 of its current amplitude, if not brought back up by the signal
The type should instead be "duration".
This has been corrected. Thanks for your meticulousness, as always! All the best, Ge!
participants (3)
-
Ge Wang
-
Kassen
-
Szilveszter Tóth