BOX AND LAUNCH CLIP => AUTOMATICALLY HIGHLIGHTED TRACK WHERE CLIP IS PLAYING

0

Hello

Why aren’t clips in a box only played? The highlighted track becomes the track where the clip is played.

Is it possible to play only the clip and stay on another track at the same time?

Thank you in advance for your response

Rick Evertsz Answered question

I believe this is how the session component in Ableton Live functions.
There’s no way to turn this off as far as I know.

0

I’m very new to CSS and using controllers with Live, so this info might not be useful. I don’t understand your use case, but if you have a track highlighted and want to trigger a clip in another track while keeping the track highlighted, you could do what I did below. I found that Live changed the highlighted track when I used my controller to solo a different track. The following Reaction snippet reverts the track selection after toggling the solo button. It toggles solo for the first track in the session box. Other buttons do the same for the other tracks in the session box.

Like I say, I’m completely new to all of this, so my solution might be overly complex. It worked in the end, so I’m happy 🙂

def is_visible_track(track):
“””Return True if track and all its parent groups are unfolded.”””
parent = getattr(track, “group_track”, None)
while parent:
if parent.fold_state:
return False
parent = getattr(parent, “group_track”, None)
return True

def get_visible_tracks(song):
“””Return tracks that are not hidden inside folded groups.”””
return [t for t in song.tracks if is_visible_track(t)]

song = self.song()
visible_tracks = get_visible_tracks(song)

# Save the currently selected track
selected_track = song.view.selected_track
selected_track_index = list(song.tracks).index(selected_track)

# Get Session Box position
session_box_offset = self._session.track_offset()

# Get target track and toggle SOLO
target_track = visible_tracks[session_box_offset + 0]
target_track.solo = not target_track.solo

# Re-select the originally selected track
song.view.selected_track = song.tracks[selected_track_index]

Rick Evertsz Answered question
You are viewing 1 out of 2 answers, click here to view all answers.