Forums > MaxMSP

Interpolation / linear or polynomial. Help needed.

September 8, 2010 | 7:37 pm

Hi all!

I'm working on a project with a Reed Sensor to mesure the speed of a turning wheel sending On/Off values to MAX. I have accomplished to get RPM and Average Speed.

My problem is that I need a constant interpolation of these values, because all I'm getting is points every time the sensor goes on. (See uploaded .png)

In other words: I need to conect every new (RPM or Av.Speed) point with the last one linear or polynomial.

Thanks in advance for your help.


  1. fig01.png


September 8, 2010 | 7:49 pm

You don’t say how you’re doing it now (what you have tried so far), but how about the ‘lineto’ message to jit.lcd?

September 8, 2010 | 8:45 pm

Thanks for your answer.

I`m not interested in drawing this values. All I need are interpolated linear values from non-linear ones.

That means that if for example that if I become a value of 10RPM and later a value of 20RPM I want to go from 10 to 20 (like 10, 11, 12,…,20), later 12RPM (20, 19, 18,…12) and so on.

September 9, 2010 | 12:25 am

Found a Solution.

THANKS Tim Lloyd!

JUMP TO SLIDE / Fading clicks on slider.

— Pasted Max Patch, click to expand. —
Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP