Track names won’t be updated for some song templates
Hi, I use a reaction to send track names inside of the session box to LiveCtrl (Open Stage Control template).
Obviously this doesn’t work for some Ableton Live (12.4.2) song templates for example: “quick start song”, “default live set” and my own default startup template (just 1 MIDI track and 1 audio track).
But it works as expected when using: “quick start beat”, “vocal recording”, “8-track recording” or “podcast & radio” song templates as default live set.
—————————
The reaction listeners:
- script is initialised
- refresh was moved (midi button)
- session box position changed
- song’s track value has changed
- track’s name value has changed
Action:
- loop through: self.song().visible_tracks + self.song().return_tracks
- condition: loop_number >= self.get_sessbox_track_offset() + loop_number < self.get_sessbox_last_track_number()
- action script:
offset = self.get_sessbox_track_offset()
width = 8
# combined track list
all_tracks = list(self.song().visible_tracks) + list(self.song().return_tracks)
# relative index
rel_index = loop_number – offset
trkName = all_tracks[loop_number].name
data = tuple(trkName.encode(‘ascii’, ‘replace’))
sysexMsg = (240, 126, 4, rel_index) + data + (247,)
self._send_midi(sysexMsg)
—————————
Any hints what could cause the problem ? Regards, mj
Sign up
User registration is currently not allowed.