OSC support for MIDI Remote Mapping (for example passing track names to a controller)

hey man, i would relay love to implement in my layout do you think you could share the script and the layout so i can try incorporate this to my layout for cubase

Hey @decko69

It should be here in the replies somewhere - sorry but it’s been a while since I last read the forum and fiddled with both TouchOSC and the MIDI Remote. It’s been sometime since I last sat down to do some music and general tinkering.

Reach me in private if you need anything - at least I receive notifications on my email that way :slight_smile:

Thanks for the reply Fabio, i am useless when it comes to coding so i guess what i would need is a step by step on how to implement this on the cubase end of things, until recently i didnt know the scripting tools were there lol, so if anyone here would be so kind i would be very greatful

The easiest way would be to rig your controller to a Remote MIDI surface that you can edit via the built-in editor in Cubase or Nuendo.

This being said - quirky things like broadcasting the track name or the quick controls names and value can only be done via script. Problem is that the two systems are at the moment mutually exclusive.

I suggest you go to the MIDI Remote API Documentation and have a look at the examples in there. Start with the Simple one and work your way through the others. If you’re unsure what a certain part does, well - any AI model would help you figure it out, really.

i think i am starting to see it now, sorry man i have no scripting experience, but reading the API documentation i wish their was better explanation of the functions, like your script is focused on selected track , i would like to know if their is a command or function in the api to send all track names?,

i have a touch osc layout with a bank of 8 faders that i would get track names to all? sorry if this is a stupid question, but hey scripting is not natural for me but i can rely see a lot of potential when combined with tosc

ps i got your layout and script working , and its excellent, just what i need thank you so much

Hi Jochen , what would be the code for giving the names and colors of all tracks in a mixer bank zone?

Create a MixerBank like this:
var MixerBank = page.mHostAccess.mMixConsole.makeMixerBankZone()

then create 8 MixerBankChannels (I like to store them in an array for simplicity):

var MixerBankChannel = {}

for (var j = 0; j<8; j++) {
MixerBankChannel[j] = MixerBank.makeMixerBankChannel()
}

And then define the mOnTitleChange and mOnColorChange function for each MixerBankChannel that you created. MixerBankChannel[0] would be the first one in this example.