Using [dict] to store presets
I've been reading that a lot of people use [dict] in conjunction with the [pattr] family to store presets, but I haven't been able to find a solid example of this, and the tutorials for [pattr] don't help much for using [dict] objects. Does anyone have an example of this? For reference, my [dict] is basically a set of 512 keys (0 - 511) and values that are either 1 or 0 - I'd like to be able to recall several different sets of key/value pairs in the same Max patch.
Thanks for the patch! How did you get the presets to store in the patcher? This part I can't figure out...
No problem. Shift click a preset slot to store a preset. Send the message "write" to pattrstorage to save the preset file. Make sure to save it to the same folder as the patch or project and it should load automatically when you open the patch. Or send the message "read" to pattrstorage to manually load a file.