Needs help with this Device Preset Storage thing...

    Jan 14 2010 | 10:55 am
    I've been working on this patch that will allow you to store parameters from 8 different devices, 8 Macros.
    You can select the Track number you wish to grab, and the device number in that track you want to grab.
    Turn your Macro Knobs and then store the setting when you get what you like. Then you can recall them easily. You can also recall them with a Program Change number in Live's Midi clips. So if you have lets say a drum rack on Track one, and this device is on track 10 you can choose to receive midi from the drum tracks midi clips with a stored program number that will fire the corresponding preset number.
    MY PROBLEM IS How do I store the preset data so the are there after closing and re opening my live set? I tried store with patcher, but that dosen"t seem to work. I saw someone on the Cycling74 site using a naming convention in the pattrnstorage section of the property inspector for the preset object. But I did not completely understand where to save the file it asks to save after editing etc. It's a .json file?
    If someone could please explain to me precisely how to save the preset data, that would be GREAT!
    Here's the patch as it stands right now.

    • Jan 14 2010 | 4:54 pm
      Probably you want to create pattrstorage presets. Here's an example I just posted on another thread which creates presets for the matrixctrl object. but the same idea could be used to create presets for multiple number boxes as well. Paste this into a device. I think it requires Live 8.1.1 and Max 5.1.1 minimum
    • Jan 14 2010 | 5:36 pm
      THANKS, I had seen that post. Could not relocate it for some reason. I have questions about how this works.
      1. is "foo" just a name you picked out of the hat, or is it Max specific. 2. When it prompts me to save that "foo.json" file, where should I put it? 3. Whats the relationship between the "storagewindow," 1 2 and 3 boxes?
      I would love to know! This works I just don't really know why, and what makes it work.
    • Jan 14 2010 | 5:52 pm
      If you paste that code into a device it should save its state in the device, not in an external file.
      If I make a new device, paste that stuff in , save it, and return to Live, I can switch presets, add presets, etc, without having to modify a pattrstorage external file.
      foo is just the name I gave the pattrstorage object.
      presets 1,2 and 3 in the preset object match slots 1,2 and 3 in the pattrstorage object's storage window
      The preset object is associated with the pattrstorage object by name - have a look in its inspector.
      Check you have the latest version of everything
    • Jan 14 2010 | 11:08 pm
      So in other words, if I use "foo" in the pattrstorage section of the inspector and tick save with device, it should work? Or do you mean I need to put "foo.json" in the inspector?
      I am using Live 8.1.1 and Max 8.1.1.