control_surfaces N
I'm having a hard time finding any information on how to use this path.
I'd like to be able to modify how my apc40 responds to physical pushes, but it would seem to do that one must use Python.
?
On APC40 MK 1 you need to look at the components and find calls to set enabled... Then it'll list the buttons that you can disable in each component...
Grab and Release doesn't work.... And some elements can be disabled bu not re-enabled...
I've covered most in my Isotonik template... www.isotonikstudios.com which uses MaxforLive and not JS which the next version will be written in...
CHeers
D
ok wow, bunch of questions. but so far have figured out that by pointing live.path to e.g. "live.path control_surfaces N components M" and then use get name and gettype I'm getting some info.
However you talk about disabling and enabling, I haven't encountered that terminology in regards to the LOM yet. What do you mean?
Also exactly what do you mean by not being able to re-enable?
thanks a bunch for the little bread crumbs btw
also, calls to set enabled? I don't understand this sequence of words. haha
oh one more thing, is there a page or tutorial on this subject? I'd rather be able to study that then rely on asking you questions.
cheers
I'm not getting it. How am I supposed to get the properties and/or functions for each object at a certain path and know their access? Usually that's just provided in the LOM reference, but in this case I can't seem to get how to find that info.
There isn't anything documented, that's the whole point, they've never supported it from day one. The only controller that has any support is the Push the rest you have to figure out for yourself...
The scripts have changed so many times that if Ableton had documented them we'd be up in arms each time theyve broken a device we've created....
There's a ton of patches on Maxforlive.com that you can reverse engineer...
Cheers
D
I was fearing that...
Thanks man!
I have a device with many banks of parameters I want to show appropriate bank on push 2 when I select a parameter on my device, everything is in place apart from communication with Push 2.
I looked on Maforlive.com for a device that might hint on how to remotely select a parameter banks on Push 2 but found no candidate.
Does anyone know how to do this or a device that I can look at?
I found this was quite helpfull:
I managed to select surface and device component. Sending getinfo to the device component give a list which contains some bank functions:
info function restore_bank
info function set_bank_buttons
info function set_bank_nav_buttons
info function set_bank_next_button
info function set_bank_prev_button
I tried calling these functions with some values but got errors or nothing. I'm not sure what I'm doing at this point...
Whoops I was looking at the wrong script, followed the KM blog to make sure I was selecting Push2..... digging commences....
I've been looking into this today, and my results haven't been encouraging. I've found components that seem to handle bank switching, but can't get the function calls right to actually do anything.
Interested to see if anyone else has any ideas.
Same here...
Any leads, anyone?
Hi, the functions for changing banks are not exposed to M4L....