[chuck-users] interpolated step? (equivalent to max's line)

Kassen signal.automatique at gmail.com
Fri Jul 13 13:49:45 EDT 2012


On 13 July 2012 19:24, George Locke <george.locke.maxmsp at gmail.com> wrote:
> Hi,
>
> I still feel new to chuck, and I'm wondering if there's a UGen that will
> make a (linear/whatever) ramp from its current value to a specified new
> value over a specified time?  Might there be a way to hack the GenX or
> Envelope objects to behave this way?  (For ppl familiar with max/msp, I'm
> looking for something equivalent to line~)

That is exactly what Envelope does, when used like this;

Step unity => Envelope e => whatever;
1 => unity.next;

from there on you can set e.value, e.target and e.duration as you please.

Hope that helps,
Kas.


More information about the chuck-users mailing list