Forums > MaxMSP

slide – what is it exactly?

Jan 13 2012 | 5:54 am

What does the slide object do, specifically? I know what smoothing is, in the abstract, but what do the two other inlets actually do to the input?



Jan 13 2012 | 4:39 pm

Well, here’s what the refpage says. It’s a clearer explanation than I could manage on one cup of coffee….

When a new value is received, object filters an input value logarithmically between changes using the formula

y (n) = y (n-1) + ((x (n) – y (n-1))/slide)

A given sample output from slide is equal to the last value plus the difference between the last value and the input divided by the slide value. Given a slide value of 1, the output will therefore always equal the input. Given a slide value of 10, the output will only change 1/10th as quickly as the input. This can be particularly useful for lowpass filtering or envelope following.

Jan 14 2012 | 3:01 am

Sorry I missed that

Thanks again


Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP