Midi note value

Hi. I’m setting up some keyswitches in Kontakt. In the instrument, keyswitches are labelled C0, C#2 etc. When creating a button, I must use the midi note number for the value.

preArgs [1,5] computes as channel 1, note F0.

I know I could have a chart up and always look to what the keyswitches of an instrument are, and then manually enter the correct number…but I have many many tracks and many instruments.

Could it be implemented that when entering

address:/note
pre Args [1,F-2] osc could parse the F-2 and output

preArgs [1,5]

Hrmm. But then when editing the template, you see preArgs [1,5] and don’t know what note it is. I’m really not sure. Is it even a good idea? It’s for cubase, which has no osc built in, only midi…

Or an option to display midi note as note name instead of note number? But then in the background, osc does what it needs to do. Just in the gui, an option to show the note name in the preArgs?

Just a thought. Cheers again for all your hard work.

Update: it’s ok, in my custom module, I managed to create a function that I can call to convert the note name into a note value.

But maybe this is still a good idea? Not sure.

MIDI in Open Stage Control is really just a converter at the end of the chain, I’d rather keep it this way. Creating a script or a custom module for converting note names to numeric arguments sounds like the o-s-c way to do it :slight_smile: