I'm trying to use the code posted by Sylvain to get the track names from Logic using Mackie control protocol.
I've managed to get the full track name from logic on the virtual MCU lcd.
Problem is getting it correctly...
With cubase, the track name always start at the same position on the LCD and the actual code to get the track name is simple :
// update text widget
With logic, MCU LCD look like this :
Track 1 "yourtrackname" channel strip
Track 258 "yourtrackname1234567890123" channel strip
Track 12 "yourtracknameotherlenght" channel strip
My first issue is with the starting slice :
after Track 9, the track name will be sliced at the wrong place as it will start one step further, more issues after the Track 99...
what code should I use to remove " at the beginning of the track name string and to also remove Space" while keeping the start if the string doesn't begin with " or Space" ?
Second issue is at the end of the track name, depending on its length, "channel strip" will be more or less closer.
Any idea of script slicing everything from the last " at the end of the track name will also be greatly appreciated.
I'm sorry, I'm not the best coder
I've managed to get the full length Logic track names from touch OSC in OpenStageControl (and it is really easier), but I'd rather use the MCU way as it is directly implemented in Logic and it should be a cleaner solution than using bridge and touch OSC as a Logic controller and as a relay to OpenStageControl on the top
Thanks for your help !