Forums > MaxMSP

pattrstorage & symbols

October 28, 2008 | 3:30 am

running max5 on a windows xp sp2

is there a convenient way to store/recall presets in pattrstorage using symbols/ characters as arguements?

i know this is a stretch, but if there isn’t then I have to write a coll that stores symbols as indices and #s as elements, which is pretty sloppy and i would need to save them for each piece.

thanks for any help


October 28, 2008 | 6:04 pm

eli schrieb:
> is there a convenient way to store/recall presets in pattrstorage
> using symbols/ characters as arguements?

yes…

hint: subpatcher [p slotnames] in the help file of pattrstorage…

You might still need to store them in a coll or menu for recall purposes…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


October 29, 2008 | 12:11 pm

You might want to look at the p.storage abstraction which enables storing
presets as symbols. You can also edit the symbols and presets in a number
of ways. You can get it here:

http://www.pelado.co.uk

pelado

On Tue, Oct 28, 2008 at 7:04 PM, Stefan Tiedje
wrote:

> eli schrieb:
>
>> is there a convenient way to store/recall presets in pattrstorage
>> using symbols/ characters as arguements?
>>
>
> yes…
>
> hint: subpatcher [p slotnames] in the help file of pattrstorage…
>
> You might still need to store them in a coll or menu for recall purposes…
>
> Stefan
>
> –
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>
>
>
>


October 30, 2008 | 7:19 pm

ok, so i stole the pelado method and used the umenu’s # output (thanks buddy.) Just remember to set the output and then bang it, as I don’t think umenu has a convenient way to just output a given index.

does anyone know how many presets pattrstorage can hold? I have #s going into the thousands I’m gonna see if it dies or not.


October 30, 2008 | 10:04 pm

Quote: theblackpeacock wrote on Thu, 30 October 2008 12:19
—————————————————-
> does anyone know how many presets pattrstorage can hold? I have #s going into the thousands I’m gonna see if it dies or not.
—————————————————-

Not sure, but I do know that it can hold thousands of pattrs with dozens of presets, so it seems to scale up pretty well.

Let us know if you hit a limit, I’m sure people will be interested to know.



jml
October 30, 2008 | 10:21 pm

> You might still need to store them in a coll
> or menu for recall purposes…

You can use the messages
[getslotname ]
or
[getslotnamelist]

either will allow you to recall them.

jml


Viewing 6 posts - 1 through 6 (of 6 total)