Forums > MaxMSP

the offer function – but with floats

Feb 17 2013 | 10:47 am

the offer function is very cool. im wondering if theres a way or alternative to do it with floats? thanks for any help guys. i have tried storing a multiplied value in, but the range is too limiting.

Feb 17 2013 | 11:13 pm

here is something i tried, for some reason it is not working perfectly for the X value (its just a decimal off, and i cant figure out why!), but it does work for the Y value. It should send you in the right direction anyway! Oh and yes, the patch is a bit of a mess inside :-(

-- Pasted Max Patch, click to expand. --

Feb 18 2013 | 12:07 am

I figured it should be doable with [coll] and converting the floats into symbols for storing and retrieving. Seems to work fine. There’s the float precision issue (try typing 55.567 into a message box and you’ll see what I mean), but as long as the numbers are consistent, you can retrieve the data.

-- Pasted Max Patch, click to expand. --

Feb 19 2013 | 9:37 pm

thanks guys! coll will work. it just needs to remove the value after it comes out thanks!

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

Forums > MaxMSP