Hello, how is it possible to automatically get the mapped parameter names on a midi display via javascript?
Hi @ojggaspar,
you can do that by setting your surface elements’s mOnTitleChange
callback. It is invoked when the mapped parameter changes, receiving the new parameter title:
mySurfaceElement.mSurfaceValue.mOnTitleChange = function (activeDevice, title1, title2) {
// Here you'll need to map the `title1` or `title2` string to the bytes your device needs to display it
midiOutput.sendMidi(activeDevice, [0xf0, ..., 0xf7]);
}