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@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users