Page 1 of 1

Is it advicable to use patch cords with the preset object?

Posted: Sun Apr 04, 2010 6:49 pm
by disco judas
Hi,

In the tutorial patches, sometimes the preset is wired, sometimes not. Can I trust the preset unwired with say, 20 numberboxes?

Re: Is it advicable to use patch cords with the preset object?

Posted: Sun Apr 04, 2010 7:00 pm
by Tone Deft
generally speaking it's kind of a flaky object. it affects objects that it's tied to, or if it's not connected to any objects it affects all object in the patch. I just to the latter.

with max4Live the Live specific buttons (the ones with green triangles in the lower left of the object menu) store their state when you save the patch. so, make a patch with those and save the patch off as a regular Ableton Live preset, just like you would with Operator or Impulse.

hth

Re: Is it advicable to use patch cords with the preset object?

Posted: Mon Apr 05, 2010 7:07 am
by Gregory Taylor
I apologize for sounding like a broken record here, but....

If you're really hot to trot about using the preset object, the single most absolutely robust way to do it is by pattrizing your device.

It's not rocket science to do, and you get other nice stuff in the bargain like the ability to morph between patches in addition to using the pretty buttons.

If you've set your device up to work with automation by giving your parameters a Scripting Name in each object's Inspector and linking it to the "Long Name" (which is what shows up when you work with Automation), you've already done most of the work.

If you haven't, you should check out the Parameters window - it lets you view and set that kind of thing for ALL the Max for Live UI objects in our patch.

http://www.cycling74.com/docs/max5/vign ... indow.html

If you've named and done the "Link to Long Name" stuff for your parameters, the rest is easy:

1. Add a pattrstorage object to the patch and give it a name as an argument.

2. Select the pattrstorage object and click on the Inspector icon in the Patcher Window toolbar to display the object’s Inspector. Click in the checkbox for the "parameter_enable" attribute, which lets you save parameter data in the pattrstorage object itself.

3. Add an autopattr object to your patch.

Your patch is pattrized and using pattr will now save presets "inside" your device.

4. Add a preset object from the Max palette, select the object and click on the Inspector icon in the Patcher Window toolbar to display the object’s Inspector. Scroll down to the very bottom of the listings in the Inspector window and find the one called "pattrstorage."

5. Double-click in the Value column to get a cursor and type in the same name you gave the pattrstorage object, and then close the Inspector.

That's it. The Preset object now functions in its most useful and robust state, and you get to do the other cool pattr things with it as well.

Re: Is it advicable to use patch cords with the preset object?

Posted: Mon Apr 05, 2010 11:24 am
by technog0d
There are so many people that are confused about this. I wonder why... Maybe i should do a screencast on it. I see the same questions asked over and over. I agree with Gregory Taylor on this point... The pattr objects are very powerful and easy to implement. If you setup your patches the right way, then you will have a lot more flexibility over your presets.

Mike

Re: Is it advicable to use patch cords with the preset object?

Posted: Mon Apr 05, 2010 6:24 pm
by Tone Deft
Gregory Taylor wrote:I apologize for sounding like a broken record here, but....
not at all!

the forum here is by and large Ableton Live users who are just starting out with max/msp. I have no doubt that even the most obvious advice you would want to give would help someone out. it's safe to say that any and all advice obvious or not is greatly appreciated.

thanks for you posts, yourself, technog0d and many other experienced max users have been a HUGE help. I get the impression many of the Live users that are new to max/msp are being VERY shy about asking for help. sometimes it's hard to know where to begin to ask for help and the "I posted my patch, fix it" routine rarely works.

thank you.

Re: Is it advicable to use patch cords with the preset object?

Posted: Mon Apr 05, 2010 7:16 pm
by disco judas
Tone Deft wrote: it affects objects that it's tied to, or if it's not connected to any objects it affects all object in the patch
hth
Thanks, I used to know this, but knowledge of this kind has a tendency to get lost in my brain.
Thanks to Gregory for the patter stuff.
But is it the case with more objects that ships with max, that it is not good parctice to use them? Would maybe be helpful with a list of objects that I should not use, so I dont waste time learning them.

Cheers

Re: Is it advicable to use patch cords with the preset object?

Posted: Mon Apr 05, 2010 7:28 pm
by Gregory Taylor
In terms of working with pattr, the only difference between the Live UI objects and regular Max objects is that they need to be pattrized for use in Max for Live. That's not really difficult at all. You should feel free to use either one.

Re: Is it advicable to use patch cords with the preset object?

Posted: Mon Apr 05, 2010 10:10 pm
by disco judas
Thanks again, very helpful!

Cheers