Re: [chuck-users] Newbie envelope glide confusion
Envelope e => blah; 2.0 => e.target; This has bitten me more than once. I think a great default behavior for an envelope that has nothing chucked into it would be to yield its current value (as if a 1.0 Step function were chucked into it). That way it would act like an envelope "generator" rather than only an envelope "generator and applier." I'll try to remember to lobby to get this folded into a future version of ChucK. PRC
Perry; Envelope e => blah;
2.0 => e.target;
This has bitten me more than once.
Me too. Once I need shots.
I think a great default behavior for an envelope that has nothing chucked into it would be to yield its current value
I feel the same way but thought I would be the only one to want this. I did suggest this to a friend who is contemplating designing a analogue envelope module. The one good thing here is that I tend to call the Step "unity" (for unity-gain) and I get to write; true => unity.next; ...that has to be one of the friendliest looking lines of code ever.
I'll try to remember to lobby to get this folded into a future version of ChucK.
+1 vote. Kas.
participants (2)
-
Kassen
-
Perry R Cook