[chuck-users] Envelope.last()
dan trueman
dtrueman at Princeton.EDU
Sat Jan 13 00:32:37 EST 2007
whoops, i meant
10. => e.time;
for line 3.
dt
On Jan 13, 2007, at 12:27 AM, dan trueman wrote:
> can Envelope work like SinOsc to control ugen parameters? meaning,
> something like this, hacked from the lovely ChucK manual blackhole
> example:
>
> SinOsc s => dac;
> Envelope e => blackhole;
> 10. => lfo.time;
> s.freq = 220.;
> e.target(440.);
>
> while (20::ms => now){
> e.last() => s.freq;
> }
>
> ?
>
> it doesn't work, and it seems that e.last() doesn't actually give
> you anything. obviously there are other ways to do this, but i'm
> trying to *learn* here!
>
> takk,
> dan
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20070113/075e2a61/attachment.htm
More information about the chuck-users
mailing list