Forums > MaxMSP

Pattrstorage Morphing tricks

December 15, 2006 | 1:15 am

Righto -

I have finally learnt a little bit of pattrstorage trickery, preset
interpolation being the current fave, but I would like, if I may, to ask
one or two questions:

I have a set of number boxes that are set with the mouse. I would like
to have a "current state" that I can morph into a "preset state". The
"current state" should be automatically saved while editing the values
with the mouse.

I tried this using "numbox->T B->Store 0" and then interpolating between
0 and 1 (the preset state) but of course this will make the numboxes
move, overwriting preset 0 on the way….
Is there any workaround for this? I imagine there are loads… Or will I
"have to" use a "Store 0" button? That solution will definitely be
doable for me, as I wouldn’t mind mapping a controller button to this.

Also, are there some good strategies for "saving last state" as Stefan
hinted elsewhere? I am looking for any and all hints to making the whole
pattr system click with me.

Andreas.


December 15, 2006 | 5:26 am

Possibly you could use the mousestate object to automatically store your current state each time you release the mouse button. Save it into some dedicated, not-otherwise-accessible pattr preset (maybe 0 would be OK, but I’m not sure, maybe you’d need a higher one). This would be fine for your "saving last state" question too.

–CJ


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