live objects documentation

Learn about building and using Max for Live devices.
Post Reply
julienb
Posts: 1816
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

live objects documentation

Post by julienb » Thu Sep 17, 2009 6:10 pm

I'm looking for some documentation about live.x objects..
I probably missed something
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

stringtapper
Posts: 6303
Joined: Sat Aug 28, 2004 6:21 pm

Re: live objects documentation

Post by stringtapper » Thu Sep 17, 2009 6:20 pm

Documentation is incomplete. Not all live.* objects have help files. I believe all of the live.* objects do have at least partial reference pages, which you can access by clicking on an inlet of the object to bring up the contextual menu and select "Open 'live.*' Reference. Some of the refernce file links in the Help Browser aren't working but if you're on a Mac you can navigate to the folder with the .xml files of the reference pages and open them using Max 5.1:

Applications/Max5/Cycling '74/docs/refpages/m4l-ref
Unsound Designer

julienb
Posts: 1816
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: live objects documentation

Post by julienb » Thu Sep 17, 2009 6:30 pm

ok
thanks a lot

on XP: C:\Program Files\Cycling '74\Max 5.0\Cycling '74\docs\refpages\m4l-ref
there is an .xsl file that contains the style for all the xml files :)


I'll begin my protodeck interface patch tonight... IT IS A GREAT DAY !
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

julienb
Posts: 1816
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: live objects documentation

Post by julienb » Thu Sep 17, 2009 6:36 pm

m4l_live_object_model.maxref.xml is a must!

1st OFFICIAL document about this pretty nice Live API :)
WOW!
I'm so happy.

we(they) already have a lot of hacked infos about that.
but official means supported, and supported means safe/sure/reliable even if version evolves!!
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: live objects documentation

Post by Surreal » Fri Sep 18, 2009 2:31 am

what julien said.

man, i just made a pretty simple patch making the monome trigger some clips...and it was actually simple. somehow that makes me giddy.

julienb
Posts: 1816
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: live objects documentation

Post by julienb » Fri Sep 18, 2009 5:34 am

cool!
"where" do you put your patch? in a track you choose randomly?

i mean, this kind of global patch could be put everywhere, right?
the place nevermind?!

i'll test it
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: live objects documentation

Post by Surreal » Fri Sep 18, 2009 10:17 am

i have actually made two that do roughly the same thing and i useed an audio effect and a midi effect. sing the triggering come froe a udp recieve, it doesnt matter.

julienb
Posts: 1816
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: live objects documentation

Post by julienb » Fri Sep 18, 2009 10:19 am

ok.

I posted here too: http://forum.ableton.com/viewtopic.php?f=35&t=124627

this:
Image

doesn't work here with the latest installers :(

anyone saw that?
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

julienb
Posts: 1816
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: live objects documentation

Post by julienb » Fri Sep 18, 2009 10:41 am

"set" is not a root_object
the correct one is "live_set"
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

julienb
Posts: 1816
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: live objects documentation

Post by julienb » Fri Sep 18, 2009 10:54 am

ok!

as written in the Live Object Model document, "set" isn't a root_object.
they renamed it: "live_set"

with "live_set" keyword it works

the two following systems are the same (for those interested)

Code: Select all

{
	"boxes" : [ 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "unpack s s 0",
				"outlettype" : [ "", "", "int" ],
				"fontname" : "Arial Bold",
				"id" : "obj-4",
				"fontsize" : 10.0,
				"numinlets" : 1,
				"patching_rect" : [ 323.0, 109.0, 71.0, 18.0 ],
				"numoutlets" : 3
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "number",
				"outlettype" : [ "int", "bang" ],
				"fontname" : "Arial Bold",
				"id" : "obj-6",
				"fontsize" : 10.0,
				"numinlets" : 1,
				"patching_rect" : [ 375.0, 135.0, 50.0, 18.0 ],
				"numoutlets" : 2
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "live.path live_set",
				"outlettype" : [ "", "", "" ],
				"fontname" : "Arial Bold",
				"id" : "obj-8",
				"fontsize" : 10.0,
				"numinlets" : 1,
				"patching_rect" : [ 291.0, 80.0, 91.0, 18.0 ],
				"numoutlets" : 3
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "getcount tracks",
				"outlettype" : [ "" ],
				"fontname" : "Arial Bold",
				"id" : "obj-10",
				"fontsize" : 10.0,
				"numinlets" : 2,
				"patching_rect" : [ 291.0, 49.0, 85.0, 16.0 ],
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "button",
				"outlettype" : [ "bang" ],
				"id" : "obj-11",
				"numinlets" : 1,
				"patching_rect" : [ 291.0, 16.0, 20.0, 20.0 ],
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "unpack s s 0",
				"outlettype" : [ "", "", "int" ],
				"fontname" : "Arial Bold",
				"id" : "obj-7",
				"fontsize" : 10.0,
				"numinlets" : 1,
				"patching_rect" : [ 131.0, 109.0, 71.0, 18.0 ],
				"numoutlets" : 3
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "number",
				"outlettype" : [ "int", "bang" ],
				"fontname" : "Arial Bold",
				"id" : "obj-5",
				"fontsize" : 10.0,
				"numinlets" : 1,
				"patching_rect" : [ 183.0, 135.0, 50.0, 18.0 ],
				"numoutlets" : 2
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "newobj",
				"text" : "live.path",
				"outlettype" : [ "", "", "" ],
				"fontname" : "Arial Bold",
				"id" : "obj-3",
				"fontsize" : 10.0,
				"numinlets" : 1,
				"patching_rect" : [ 99.0, 84.0, 51.0, 18.0 ],
				"numoutlets" : 3
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "message",
				"text" : "goto live_set, getcount tracks",
				"outlettype" : [ "" ],
				"fontname" : "Arial Bold",
				"id" : "obj-2",
				"fontsize" : 10.0,
				"numinlets" : 2,
				"patching_rect" : [ 99.0, 49.0, 152.0, 16.0 ],
				"numoutlets" : 1
			}

		}
, 		{
			"box" : 			{
				"maxclass" : "button",
				"outlettype" : [ "bang" ],
				"id" : "obj-1",
				"numinlets" : 1,
				"patching_rect" : [ 99.0, 16.0, 20.0, 20.0 ],
				"numoutlets" : 1
			}

		}
 ],
	"lines" : [ 		{
			"patchline" : 			{
				"source" : [ "obj-10", 0 ],
				"destination" : [ "obj-8", 0 ],
				"hidden" : 0,
				"midpoints" : [ 300.5, 81.0, 300.5, 81.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-8", 2 ],
				"destination" : [ "obj-4", 0 ],
				"hidden" : 0,
				"midpoints" : [ 372.5, 102.0, 332.5, 102.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-4", 2 ],
				"destination" : [ "obj-6", 0 ],
				"hidden" : 0,
				"midpoints" : [ 384.5, 132.0, 384.5, 132.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-11", 0 ],
				"destination" : [ "obj-10", 0 ],
				"hidden" : 0,
				"midpoints" : [ 300.5, 36.0, 300.5, 36.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-1", 0 ],
				"destination" : [ "obj-2", 0 ],
				"hidden" : 0,
				"midpoints" : [ 108.5, 36.0, 108.5, 36.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-2", 0 ],
				"destination" : [ "obj-3", 0 ],
				"hidden" : 0,
				"midpoints" : [ 108.5, 81.0, 108.5, 81.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-7", 2 ],
				"destination" : [ "obj-5", 0 ],
				"hidden" : 0,
				"midpoints" : [ 192.5, 132.0, 192.5, 132.0 ]
			}

		}
, 		{
			"patchline" : 			{
				"source" : [ "obj-3", 2 ],
				"destination" : [ "obj-7", 0 ],
				"hidden" : 0,
				"midpoints" : [ 140.5, 108.0, 140.5, 108.0 ]
			}

		}
 ]
}
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

stringtapper
Posts: 6303
Joined: Sat Aug 28, 2004 6:21 pm

Re: live objects documentation

Post by stringtapper » Fri Sep 18, 2009 12:47 pm

julienb wrote:ok!

as written in the Live Object Model document, "set" isn't a root_object.
they renamed it: "live_set"

with "live_set" keyword it works

the two following systems are the same (for those interested)
Tip: When posting patches to fora, select the objects in your patch and under the Edit menu choose "Copy Compressed" and then paste that into your post. That way you minimize the amount of code on the screen.
Unsound Designer

julienb
Posts: 1816
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: live objects documentation

Post by julienb » Fri Sep 18, 2009 12:59 pm

ok stringtapper :)
thanks for the tip ! I didn't know that


(playing with observer, packing values etc ... nice feedback from live to max!!)
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

Post Reply