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

Learn about building and using Max for Live devices.
Post Reply
disco judas
Posts: 324
Joined: Tue Jan 27, 2009 11:24 am

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

Post by disco judas » Sun Apr 04, 2010 6:49 pm

Hi,

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

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

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

Post by Tone Deft » Sun Apr 04, 2010 7:00 pm

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
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

Gregory Taylor
Posts: 268
Joined: Tue Sep 01, 2009 3:11 pm

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

Post by Gregory Taylor » Mon Apr 05, 2010 7:07 am

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.

technog0d
Posts: 265
Joined: Mon May 26, 2008 1:14 pm
Location: Philly
Contact:

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

Post by technog0d » Mon Apr 05, 2010 11:24 am

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
Websites:
Max For Live Community site:
http://www.max4live.info
http://www.noisemakers.info

Controllers: Lemur, Ohm 64, Monome, APC40, Launchpad
Daw: Live 8 Suite
Audio Interfaces: Apogee Ensemble & Duet
Monitors: JBL LSR 4300

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

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

Post by Tone Deft » Mon Apr 05, 2010 6:24 pm

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.
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

disco judas
Posts: 324
Joined: Tue Jan 27, 2009 11:24 am

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

Post by disco judas » Mon Apr 05, 2010 7:16 pm

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

Gregory Taylor
Posts: 268
Joined: Tue Sep 01, 2009 3:11 pm

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

Post by Gregory Taylor » Mon Apr 05, 2010 7:28 pm

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.

disco judas
Posts: 324
Joined: Tue Jan 27, 2009 11:24 am

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

Post by disco judas » Mon Apr 05, 2010 10:10 pm

Thanks again, very helpful!

Cheers

Post Reply