Forums > MaxMSP

Rounding Numbers

August 30, 2008 | 1:43 pm

Hello, I have an incoming stream of numbers that I would like to be able to round to useful values.

So if the stream coming in was: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14…

I could, for example, round it to:

Hoping to do this with MAX’s standard objects if possible… Can anyone point me in the right direction please?

Thank you kindly,

August 30, 2008 | 2:12 pm

this can be done in a lot of different ways, using [split] is one option
[if] another…

— Pasted Max Patch, click to expand. —


August 30, 2008 | 2:18 pm

Great! Thanks very much, Jakob! :)


August 30, 2008 | 8:05 pm

Seems like table would be the simplest solution.

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

Forums > MaxMSP