where does pattrstorage store data
I’ve been messing around with pattrstorage and noticed that the priority and interpolation settings are not stored in the XML file where the rest of the data is stored.
I managed to work out that the order of the data in the XML file corresponds to the priority set in Max, but how can max retrieve the exact priority int that I set from before?
In other words, where can I find the priority and interpolation settings data? Is it stored in the patch rather than the XML file? That would seem strange to me.
Thanks in advance.
On 18 mai 08, at 15:14, jonathan wrote:
> In other words, where can I find the priority and interpolation
> settings data? Is it stored in the patch rather than the XML file?
> That would seem strange to me.
The priority is indeed stored in the patch.
Centre de Recherches et de Formation Musicales de Wallonie asbl
Thanks for that, Patrick. This is slightly disappointing, since I was hoping that the priority could be transported to a different version of a patch from within the XML file. I suppose a pen a paper to note the priorities is the easiest solution then!
> Thanks for that, Patrick. This is slightly disappointing, since I was
> hoping that the priority could be transported to a different version
> of a patch from within the XML file. I suppose a pen a paper to note
> the priorities is the easiest solution then!
Or try to read them out, and dump them into a coll… Patching sometimes
is faster than pen & paper…
That’s probably a better idea, Stefan.
You wouldn’t happen to know of a nice user interface to pattrstorage? I once spent weeks programming a front end using jit.cellblock but it’s buggy and not all that pleasant to use. I was hoping Max 5 would present a graphical and intuitive solution to preset management, but I can’t find one.
Thanks for your help.
The ‘preset’ object can be used as a UI for pattrstorage in Max 5.
Thanks for the hint, Jeremy, I’ll have a look at it later tonight. I hope it allows you to type preset names and re-order them!
If that’s what you need, don’t even bother — you’ll just be disappointed. It’s just a simple interface for storing and recalling presets. If you need something more sophisticated, you might want to look at this:
Probably, you can modify either of them to do what you need.
[p.storage] is just what I need – offers access to all the details. I also quite like [pattr_ui.js] – I find the idea of dragging the cursor between presets blocks a really nice way of performing with presets. In the past, I’ve resorted to creating a colour map with jitter and assigning the red, green and blue colour values beneath the cursor to different synthesis parameters. But [pattr_ui.js] lookis like a simple ready made solution.
Thanks a lot.
> I hope it allows you to type preset names and re-order them!
No, naming would be your responsability…
I have a clumpsy preset UI in my St.ools (for 4.x), and a patch to
invent preset names, like in Kyma. You can have a look at that. In Max 5
it is very nice now to link the old style preset with a pattrstorage…
For names, I would combine preset with an umenu. I have also abhaXions
which link a menu to a coll. A coll you can sort, and link to a
Here’s a pattrstorage interface based on js that lets you rename, inc/dec, and access via a menu. I’ll leave read/write up to you!
Forums > MaxMSP