[chuck-users] CurveTable example...?
Jascha Narveson
jnarveson at wesleyan.edu
Wed Oct 10 14:19:53 EDT 2007
Hello, ChucK people -
How do I use CurveTable? I've tried chucking a SinOsc to it as one
would an envelope, but that didn't work. I've also tried this:
SinOsc s => Gain g => dac;
CurveTable t;
[0.0, 0.0, 0.0,
2.0, 1.0, 0.0,
3.0, 0.0] @=> float times[];
times => t.coefs;
while (true)
{
1::samp => now;
t.last() => g.gain;
};
thanks,
jascha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20071010/7c5b5b28/attachment.htm
More information about the chuck-users
mailing list