Constrain value's into a specified range

Feb 25, 2013 at 6:09pm

Constrain value's into a specified range

I am trying to constrain two sets of values into a certain range of numbers to control audio output. I have a ball in a 3d world and I want to use the x and y values of the ball to control audio output, which has the range of 0 to 127. I know there must be a very simple way of doing this but with my very limited knowledge of Max I haven’t been successful in finding one.

Feb 25, 2013 at 6:29pm

Any help would be greatly appreciated.

Björn Halldór

Feb 25, 2013 at 6:43pm
Feb 26, 2013 at 2:19am

[scale] and [zmap] are useful too, they will preserve the range proportionally.

Feb 26, 2013 at 10:01am

Thanks, this is just what I was looking for.


You must be logged in to reply to this topic.