Reaction Triggered by Selected track Rename

1

I really don’t know if it’s a bug. but sometimes wors, sometimes don’t. I have this script controlling my TouchOSC. There’s a reaction “Track Names Teste” that sends SysEx messages to the track labels on TouchOSC. It works most of the time. It have some listeners, like session box position change (works 100%), Song’s tracks value changed (works 100%). The one that doesn’t work every time is Track’s name value has changed. It is seted to select track, since Ableton aways select the track when I’m renaming on DAW interface. But sometimes I rename the track, and the actions don’t go. Sometimes, I rename the track and the track names are updated. I’m posting the json files, for anyone could may help me.

MartinJ Answered question
0

I have found nothing about sysex messages and how to make them go to touch osc, I know it’s not the topic but have you some tutorials or documentation about that?

Jean-Yves Prost Answered question
0

I found some info on this forum. Some post about clip colors, there’s a glipse of info about track names. The method is to make a reaction to loop over tracks, and send sysEX as RAW midi data. I use this syntax to send the track names, relative to the session box:

tuple([240, 126] + [loop_number – self.get_sessbox_track_offset()] + [ord(c) for c in self.song().tracks[loop_number].name] + [247])

Then I tried to get the selected device name. It works with some devices, but with VSTs and some instruments, it don’t work. The syntax I use on this case is:

tuple([240, 5, 0] + [ord(c) for c in self.song().view.selected_track.view.selected_device.class_display_name] + [247])

I’d like to know if there is better way to get the name of the device, that works everytime.

Robledo Silva Answered question
0

Hi, I use:

…self.song().appointed_device.name]…

to send selected/appointed (blue hand) device name.

Regards, mj

MartinJ Answered question