How to map midi controller to focus only on selected track in Ableton Live?
I want to custom map a seperate plug-in on every track to my MIDI controller. Can I do this so only the currently selected track mapping is active?
If so how do I go about setting ups control script for this?
Thanks
A different approach would be similar to my first comment but instead of using mode changes we can stay within one mode. In each of your reactions, you’ll have to start with an action block that only lets you continue if the correct track is selected. For example:
__REACTION__
LISTENER: can be anything, like a button press or knob turn
ACTION BLOCK 1
CONDITIONS:
Script > Selected Track Number (int) > is not equal to > Track Number
This time we check if the selected track is NOT the track we want for this reaction to occur.
!!! Remember that the script starts counting track numbers from 0 (Track 1 = 0, Track 2 = 1, …)
ACTIONS:
Script > Exit Reaction Here
After Action Block 1 you can make more blocks containing any actions you want to happen while in the track of which you entered its Track Number in the condition of Action Block 1.
Action Block 1 will only give access to the other action blocks when its condition is NOT met; in other words, if the track number entered in the condition is from the currently selected track, then the condition of Action Block 1 is False, therefore the action of exiting the reaction will not happen.
To give a larger view of the situation, through this method you can have multiple reactions mapped to the same Listener, but a reaction will only be fully acted upon when the correct track is selected.
Sign up
User registration is currently not allowed.