dict help: creating an array of objects
Hi all ,
I did my homework , searched all over the forum and the net and was able to learn quite a lot about JSON dictionaries. This http://x37v.com/x37v/max/dict-object/ was my best help. thanks for that.
What I want to accomplished: (Main goal) 1. -I would like to have a dynamic preset , where no UI are need and where your data sets are nested in a poly~. - I want to avoid dynamic (patchchord wiring/connection/object creating(route n n n)or unpack n n n n n /) with [thispatcher] script. <--- where the amount of n in [unpack n n n n] is relative to the poly~'s voice amount.
-I couldn't figure out how to use pattrstorage with poly~ and autopattr yes with bpatcher. - don't want UI for flonums nested in poly~.
so basically I have 3 options
coll jit.matrix dict. ----- I was able to get a solid preset manager using jit.matrix with up to 32 preset (max amount of stackable planes). To save a preset, I simply save the matrix "name.jit". The only problem is that to dynamically change between presets you have to dynamically read/load files. The same for coll
So I figured , this is a nice time to learn about dict and save presets into a single file
---
basically What I want is an array of objects :
like in Example 1 in this link: http://x37v.com/x37v/max/dict-object/
(labeled in Blue in my patch)
But I can't figure out how to do it. I think I'm close though but ....
Thanks a lot in advance
phiol
forgot to mention that I'm able to use poly~ and pattrstorage, using a multislider and autopattr
inside each poly instance.
thing is with pattrstorage, is that even though I save my presets as .json files , for some reason they always get corrupted and pattrstorage doesn't want to read/load them.
I open up the files in text edit and the preset are there but pattrstorage doesn't to read them.
phiol