Forums > MaxMSP

preset not excluding/including objects

January 30, 2010 | 5:52 am

I can’t get the preset object to exclude or include objects in a patcher in the usual way, by connecting to the second and third outlets. Any ideas? Is this basic function now broken? Mac OS X 10.5.8 Max 5.1.1 (41439). I have this problem in all my patchers.


January 30, 2010 | 6:03 am

Have you considered taking the plunge and using pattr? It’s not hard to do, and gets you all kinds of nice new things [parameter interpolation, etc.].

1. Choose any object you want to include, open the Inspector, and fill in the Scripting Name for it.

2. Add a pattrstorage object and name it (i.e., pattrstorage bourbon)

3. Drop an autopattr object into your patch

4. Open the Inspector for the preset object you’ve got and look at the
very bottom of the Inspector listing. See the line called "pattrstorage" there? Double-click in the value column to get a cursor and type in the name of the pattrstorage object (bourbon).

That’s it. You’re done. You can now use all the pattr stuff AND your preset object will control storing and recalling presets stored by pattr.


January 31, 2010 | 3:46 am

the [preset] function should not be broken. works fine here. that said, the advice about [pattr] is good, it’s [preset] on steroids. but again, [preset] should work…and one advantage is not needing an external file like [pattrstorage] does.

if you’ve stored some presets already and then connect/disconnect new objects, you need to re-store your presets so they behave.

A different approach to autopattr is to not bother with scripting names, just use @autoname 1, then manually connect autopattr to the objects you want to include. Both ways should work fine, it’s just a trade-off on effort.


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