How to map midi controller to focus only on selected track in Ableton Live?

434 viewsGeneral
0

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

admin Changed status to publish May 22, 2024
Attached Files:
0

Hi,

I’m quite new at CSS myself but I’d like to take a guess on how to proceed.

For each track I would make an exclusive mode, that has all the mappings I want to use on that track. Then, I would setup a reaction that listens if the selected track has changed which then, based on the condition of what track number is selected, changes modes.

REACTION
LISTENER:
Live Object Model > Song > “Selected Track” has changed

ACTION BLOCKS:
Make an “action block” for each track with the following parameters
– CONDITIONS: Script > Selected Track Number (int) > is equal to > Track Number
!!! Remember that the script starts counting track numbers from 0 (Track 1 = 0, Track 2 = 1, …)
– ACTIONS: Script > Set Active Mode > Mode number that corresponds to the selected track
I don’t know what number CSS starts counting its Modes from
I’m guessing the first mode = 1

For this to work, the reaction itself would need to be in the Global Mode, the one that is always active even when you change modes. It is referenced in the following Remotify tutorial as Mode 0 (https://remotify.io/docs/tutorials/do-8-times-more-with-Mode-and-Shift#zero), however, I can’t seem to find it in the current state of CSS. Maybe Mode 0 is called Shift Mode now?

EDIT: I just found this comment by JohnC saying Global Mode isn’t used anymore (https://remotify.io/community/question/switch-modes#comment-1190) so we’ll either need a different approach or need to copy the same mode switching reaction multiple times but change the mode in which it is active for each, so that it’s accessible from all the different modes.

admin Changed status to publish May 22, 2024
Attached Files:
You are viewing 1 out of 4 answers, click here to view all answers.