Midi cc via Menu

Hi! In the process of migrating from TouchOsc to O-S-C I’m still getting a little lost in terminology (but, I’m loving it).

I created a Menu to send mid cc, however, the value is only sent in 0 (I want to send 127).

CONTROL_CHANGE: channel=7, cc=1, value=0

Below the characteristics of my Menu so that, if possible, someone will tell me where I am wrong:

image

image

The default way of sending messages for widgets is:

/widget_address PRE_ARGS VALUE

For midi messages the formatting must match the specification. If the default behavior doesn’t suit your needs you have to use scripting to send the messages instead:

// script property, javascript code executed when the widget's value changes
// here the cc number depends on the widget's value
send('midi:my_port', '/control', 8, value, 127)
1 Like

Thanks jean! :raised_hands: