Forums > MaxMSP

autopattr always in conjuction with pattrstorage?

October 9, 2008 | 8:08 am

Hi there,

Is it sufficient to just drop an autopattr in my patch with a message, that I also write as cripting name in the inspector of my numberboxes, faders etc to make my patch open with stored values?

Cheers & thank you


October 9, 2008 | 8:18 am

[autopattr] has many interesting arguments:
you could try @autoname 1 for example and @autorestore 1 (default) also.


October 9, 2008 | 8:24 am

no i don’t think so, maybe i’m wrong but
you have to store a default preset in the pattrstorage
and write an xml file
(or a preset that will automatically be recalled at loadbang)

g

2008/10/9 marlon brando

>
> Hi there,
>
> Is it sufficient to just drop an autopattr in my patch with a message, that
> I also write as cripting name in the inspector of my numberboxes, faders etc
> to make my patch open with stored values?
>
>
> Cheers & thank you
>


October 9, 2008 | 9:56 am

autopattr will remember the values of named objects in the patch when the patch is saved, by default. No pattrstorage required.

jb


October 9, 2008 | 9:59 am

the "@autorestore 1" by default …


October 9, 2008 | 4:49 pm

marlon brando schrieb:
> Is it sufficient to just drop an autopattr in my patch with a
> message, that I also write as cripting name in the inspector of my
> numberboxes, faders etc to make my patch open with stored values?

Did you try? (You should ;-)

(You only need to name the UI objects, no message necessary…)

Guillaume Evrard schrieb:
> no i don’t think so, maybe i’m wrong but you have to store a default
> preset in the pattrstorage and write an xml file

Did you try? (You should ;-)

(No pattrstorage necessary…)

Typically these questions answer themself. Its a good habit to ask Max
first, it can tell you a lot….

This is my test and proof:

– Pasted Max Patch, click to expand. –


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


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