observing Launchpad focus area (red ring)?
observing Launchpad focus area (red ring)?
Poking around in matcham's very useful Live API explorer (http://forum.ableton.com/viewtopic.php?f=35&t=125694), I figured out I could set the position of the Launchpad's focus area (the colored ring around the clips/tracks you're controlling) by sending "call set_offsets" to a live.object pointed at the launchpad's session component. I could also find its position by sending "call track_offset" and "call scene_offset", however, I couldn't find a way to tell live.observer to do it for me.
I suppose I could just make those function calls every time an arrow key was pressed, but that seems a little clunky to me. Anyone have any idea how to do this?
I suppose I could just make those function calls every time an arrow key was pressed, but that seems a little clunky to me. Anyone have any idea how to do this?
Re: observing Launchpad focus area (red ring)?
As the only way to my knowledge of moving the red box (i have an apc40) is to press the arrow button i imagine that this is the only way to bang a message to update the live.object
Thanks for finding it though, i wonder how much work i'm gonna need to change my patches so they move with the red box as currently i have lots hard wired into the fact that i use just 8 tracks, would be good to be able to move across and have more tracks....
Cheers
D
Thanks for finding it though, i wonder how much work i'm gonna need to change my patches so they move with the red box as currently i have lots hard wired into the fact that i use just 8 tracks, would be good to be able to move across and have more tracks....
Cheers
D
-
- Posts: 121
- Joined: Fri Oct 30, 2009 3:35 pm
Re: observing Launchpad focus area (red ring)?
that's exactly what I also found out, and - what a pitty - what I also did not find out.
I wrote a eMail to the ableton support with (funny!) exactly the same question, but they didn't answer yet. They only told me, that it isn't properly documented yet.
...So let's push them together...
I wrote a eMail to the ableton support with (funny!) exactly the same question, but they didn't answer yet. They only told me, that it isn't properly documented yet.
...So let's push them together...
Re: observing Launchpad focus area (red ring)?
Any answer on this yet? I'd like to observe these offsets too and right now all I'm getting is "property cannot be listened to"ring wrote:that's exactly what I also found out, and - what a pitty - what I also did not find out.
I wrote a eMail to the ableton support with (funny!) exactly the same question, but they didn't answer yet. They only told me, that it isn't properly documented yet.
...So let's push them together...
Re: observing Launchpad focus area (red ring)?
I want to kinda do the opposite... I want to change the focus ring of my launchpad by pressing track select buttons on another controller (so when I select a track it becomes the leftmost track in the launchpad's focus ring). Ideas?
-
- Posts: 119
- Joined: Sat Feb 06, 2010 2:39 pm
- Contact:
Re: observing Launchpad focus area (red ring)?
Hi ShelLuser,
You're not wrong - in python one can indeed override a method to change its functionality. In this case you would need to override the _bank_left_value, _bank_right_value, _bank_up_value, and _bank_down_value methods if you want to receive notification when the red ring is moved by a control surface (perhaps via a new method which might be called "on_session_highlight_moved" or something similar). The LiveAPI does not provide a red ring position listener, which means that the only other choice is to poll for changes to the track_offset and scene_offset variables. Of course, moving the red ring involves calling set_offsets, which essentially sets these last two variables to new values.
on_scene_list_changed, on_selected_scene_changed, on_selected_track_changed, and on_track_list_changed are ControlSurfaceComponent notification methods, which are meant to be overridden by child components - basically allowing a script to take action when the session state changes. link_with_track_offset is used to "link" SessionComponents from two or more control surfaces (known as "combination mode" and currently only offically used for the APC20/APC40).
Don't know if any of this is helpful or not, but there it is , from a python framework script point-of-view (which is where it all starts).
Best,
Hanz
You're not wrong - in python one can indeed override a method to change its functionality. In this case you would need to override the _bank_left_value, _bank_right_value, _bank_up_value, and _bank_down_value methods if you want to receive notification when the red ring is moved by a control surface (perhaps via a new method which might be called "on_session_highlight_moved" or something similar). The LiveAPI does not provide a red ring position listener, which means that the only other choice is to poll for changes to the track_offset and scene_offset variables. Of course, moving the red ring involves calling set_offsets, which essentially sets these last two variables to new values.
on_scene_list_changed, on_selected_scene_changed, on_selected_track_changed, and on_track_list_changed are ControlSurfaceComponent notification methods, which are meant to be overridden by child components - basically allowing a script to take action when the session state changes. link_with_track_offset is used to "link" SessionComponents from two or more control surfaces (known as "combination mode" and currently only offically used for the APC20/APC40).
Don't know if any of this is helpful or not, but there it is , from a python framework script point-of-view (which is where it all starts).
Best,
Hanz
http://remotescripts.blogspot.com/ - an introduction to the Framework classes
Re: observing Launchpad focus area (red ring)?
Hey guys!
This topic is quite old, but he treats about a question which stays unresolved.
So, does someone has an idea how to move the "red ring" with MFL, bypassing the py control surface scripts.
I use a Novation Launchpad and I have a second "blue ring", 4x4 matrix, connected to a external keypad. Moving the second is easy, but moving the Launchpad one, unless recode some parts of the CS scripts (first I must decompile them ) seems impossible, even with a complex midi message transcription.
I passed few hours with the Live API Explorer, putting random values on random places, no success.
So, does someone discovered hot to achieve that? - Moving around and getting the relative position of the "rings"?
Please, I'm a Newbi in MFL, so be patient
This topic is quite old, but he treats about a question which stays unresolved.
So, does someone has an idea how to move the "red ring" with MFL, bypassing the py control surface scripts.
I use a Novation Launchpad and I have a second "blue ring", 4x4 matrix, connected to a external keypad. Moving the second is easy, but moving the Launchpad one, unless recode some parts of the CS scripts (first I must decompile them ) seems impossible, even with a complex midi message transcription.
I passed few hours with the Live API Explorer, putting random values on random places, no success.
So, does someone discovered hot to achieve that? - Moving around and getting the relative position of the "rings"?
Please, I'm a Newbi in MFL, so be patient
Re: observing Launchpad focus area (red ring)?
It requires some hot-rodding of the py scripts in order to do what you want....it can be accomplished with a combination of m4l and custom _Framework scripts, but the _Framework does not support it 'out of the box'.
a
a
http://www.aumhaa.com for Monomod and other m4l goodies.
Re: observing Launchpad focus area (red ring)?
does anyone know how to move the red box with Push?