Page 1 of 1

Dumb question, i guess

Posted: Thu Nov 05, 2009 11:49 am
by disco judas
Is line~ some kind of signal uzi

Re: Dumb question, i guess

Posted: Sat Nov 07, 2009 5:56 am
by DarwinGrosse
line~ is a smoothing tool. It goes from wherever it is at, to wherever you want it to go, smoothly over a period of time. So, if the last value you sent it was 0.0, and you send it the message "1.0 500", it will smoothly ramp from 0.0 to 1.0 in 500 milliseconds.

You will see line~ all over an experienced Max programmer's code. This is the easiest way to provide smooth changes in things like delay times, filter cutoff values and gain changes.

The equivalent in events is the line (with no tilde) object.

[ddg]