[sharing is fun] Live.API_explorer

Learn about building and using Max for Live devices.
3dot...
Posts: 9996
Joined: Tue Feb 20, 2007 11:10 pm

Re: [sharing is fun] Live.API_explorer

Post by 3dot... » Sun Oct 04, 2009 12:14 pm

matcham wrote:
S4racen wrote:seriously, i can open the max window but it's totally blank.....!
D
serioulsy, you probably have a problem with you Max for Live installation.. (?)
this a standard device, not frozen, without any abstractions or dependencies ; so there is no reason why you couldn't edit it.


MathieU
can't edit either...
Image

S4racen
Posts: 5987
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: [sharing is fun] Live.API_explorer

Post by S4racen » Sun Oct 04, 2009 5:23 pm

I think there is something wrong with my installation, it crashes when i'm trying to save a patch virtually every time...

Cheers
D

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

Re: [sharing is fun] Live.API_explorer

Post by Surreal » Sun Oct 04, 2009 5:42 pm

charles_2 wrote:As I'm becoming more familiar with the Live Object Model I'm really starting to hope that we'll get some objects that will provide a more immediate way to talk to the APC and Launchpad control surfaces. The live.path/object/observer/remote~ objects are fine for adding an extra LFO to Operator or something, but trying to use them to create custom remappings looks like it could get pretty painful.
things like button matrix make me hopefull, i think we should probably just wait for the control surface path for these talks

charles_2
Posts: 24
Joined: Thu Sep 17, 2009 7:58 am

Re: [sharing is fun] Live.API_explorer

Post by charles_2 » Sun Oct 04, 2009 7:02 pm

hoffman2k wrote:Have you been able to do anything with that data?
For example, can you monitor the offset of the red rectangle in Session view?
I was able to call functions "turn_on" and "turn_off" to turn buttons on and off; so far I haven't found anything about the red rectangle, or how to intercept incoming signals. I'd investigate further but I think Surreal is right, there's probably more to come, so for the time being I'm going to focus on what I can do with the existing objects.
http://www.authenticfilms.com

Config: MBP 2.4 GHz Intel Core 2 Duo
2 GB RAM, Nvidia 8600M GT, OS 10.5.6
Live 8.1b6, Max4Live 5.1.0a1 (40387)

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

Re: [sharing is fun] Live.API_explorer

Post by Surreal » Sun Oct 04, 2009 11:14 pm

3dot... wrote:
matcham wrote:
S4racen wrote:seriously, i can open the max window but it's totally blank.....!
D
serioulsy, you probably have a problem with you Max for Live installation.. (?)
this a standard device, not frozen, without any abstractions or dependencies ; so there is no reason why you couldn't edit it.


MathieU
can't edit either...
Do not double click on the patcher.

charles_2
Posts: 24
Joined: Thu Sep 17, 2009 7:58 am

Re: [sharing is fun] Live.API_explorer

Post by charles_2 » Mon Oct 05, 2009 7:50 am

I'm able to open and edit Mathieu's device with no problems.
http://www.authenticfilms.com

Config: MBP 2.4 GHz Intel Core 2 Duo
2 GB RAM, Nvidia 8600M GT, OS 10.5.6
Live 8.1b6, Max4Live 5.1.0a1 (40387)

3dot...
Posts: 9996
Joined: Tue Feb 20, 2007 11:10 pm

Re: [sharing is fun] Live.API_explorer

Post by 3dot... » Mon Oct 05, 2009 6:24 pm

yeah me too.. it's a bug I guess....
it happens also with patches I saved...
first time they're open I can't edit...
second time... I can
...weird
Image

rabouille
Posts: 282
Joined: Fri Jun 01, 2007 6:22 pm
Location: Perpignan France
Contact:

Re: [sharing is fun] Live.API_explorer

Post by rabouille » Mon Jan 18, 2010 7:34 am

excellent, please post that to www.maxforlive.com, would be great for the community
thx :)

natecraypo
Posts: 150
Joined: Sat May 03, 2008 9:33 pm
Location: ATX
Contact:

Re: [sharing is fun] Live.API_explorer

Post by natecraypo » Tue Jun 22, 2010 1:25 pm

charles_2 wrote: Here's a list of the controls for the APC control_surface object:
Thank you for that. I think we all needed that BIG TIME. I can tell you that control values 60 & 61 are for footswitches. However, I do not think they have a designated control name. I made a post on this here: http://forum.ableton.com/viewtopic.php?f=35&t=144702

Thanks again.

Hanz_Petrov
Posts: 119
Joined: Sat Feb 06, 2010 2:39 pm
Contact:

Re: [sharing is fun] Live.API_explorer

Post by Hanz_Petrov » Wed Jun 23, 2010 8:50 pm

Interesting. The footswitches correspond to the missing numbers in charles_2's list of controls (60 & 61). In fact, the control IDs seem to be assigned sequentially as the control elements are instantiated in the APC40 python remote script - starting with the Shift_Button, and ending with Send_C_Button.

Also, the python code confirms that for some reason Ableton has not assigned Name values to the footswitches (actually mapped as slot_launch_button and launch_button). This would have been trivial to do; might be worth reporting as a bug.

Best,

Hanz
http://remotescripts.blogspot.com/ - an introduction to the Framework classes

natecraypo
Posts: 150
Joined: Sat May 03, 2008 9:33 pm
Location: ATX
Contact:

Re: [sharing is fun] Live.API_explorer

Post by natecraypo » Wed Jun 23, 2010 9:48 pm

Hanz_Petrov wrote:mapped as slot_launch_button and launch_button)
cool. thanks.

Post Reply