Forums > MaxMSP

strange behavior of pattrstorage

Feb 23 2012 | 4:30 pm


Im getting really strange behavior from pattrstorage with umenu (same happens to numboxes, etc)

I enclosed a simple patch that demonstrates this behavior. tested with both max5 and max6. it doesn’t happen with help patchers. my patch is so simple and i really don’t see where am i mistaken.

1. select any umenu item and save preset 1
2. select some other umenu item and save preset 2
3. observe storage window. values are stored properly
4. recall presets 1 and 2. as soon i recall preset 2, value of the umenu object in second preset changes to the value of the first preset!

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

Feb 23 2012 | 4:40 pm

You never recall preset 2 because the 2 message isn’t connected to pattrstorage but to the store 2 message.

Feb 23 2012 | 4:44 pm

uh, this is slightly embarassing. at least behavior is correct :)

now i have to sort out why exactly my bigger patch has problems…..

thank you a lot


Feb 23 2012 | 4:50 pm

yeah, i just rechecked everything, and now it works as expected.

maybe it’s time to take a break ;)

thank you again patric

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

Forums > MaxMSP