help with storing text with pattr

Jun 30, 2013 at 10:04am

help with storing text with pattr

I’m very new to the pattr object. I have a hard time getting it to do what I try.
I want to store settings in my patch that a standalone user needs to be able to edit. This are ip-addresses, audio channels, midi device names and so forth. so having a separate xml file that you can edit should be perfect, right?
Any help to point me in the right direction is greatly appreciated. I seem to only be able to store numbers? Also it’s hard to understad the relationship of pattrhub, autopattr and pattrstorage. How do i make pattrstorage see my objects with scripting names?

Thanks for the help. Here is a simple snip with the things I’m trying to do. I hope im doing this “paste” thing the right way!

– Pasted Max Patch, click to expand. –
Jun 30, 2013 at 10:19am

Hi Iisak !

ive got some thoughts .
I would use JSON instead of XML . first of all ,you can easily create such data/file with DICT object . Where u can and you should format your data in such style .
Then you can easily PATTRize you DICT , its very very helpful for many data soulutions . just take a look at the help file .

Jun 30, 2013 at 12:16pm

thanks KRISW! This got me forward. I’m then using zl nth to get to the values.
What do you mean by PATTRizing my DICT?

Jun 30, 2013 at 12:54pm

great !
with PATTRizing i mean , you can use pattr family to store your DICT data :) sorry


You must be logged in to reply to this topic.