Dumb question, i guess

Learn about building and using Max for Live devices.
Post Reply
disco judas
Posts: 324
Joined: Tue Jan 27, 2009 11:24 am

Dumb question, i guess

Post by disco judas » Thu Nov 05, 2009 11:49 am

Is line~ some kind of signal uzi

DarwinGrosse
Posts: 95
Joined: Tue Sep 01, 2009 4:22 pm

Re: Dumb question, i guess

Post by DarwinGrosse » Sat Nov 07, 2009 5:56 am

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]

Post Reply