Dumb question, i guess
-
- Posts: 324
- Joined: Tue Jan 27, 2009 11:24 am
Dumb question, i guess
Is line~ some kind of signal uzi
-
- Posts: 95
- Joined: Tue Sep 01, 2009 4:22 pm
Re: Dumb question, i guess
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]
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]