Disable midi return on some widget

Hi,

I have a dropdown menu that send midi value, and that set some visibility container on or off.
but when I set my dropdown menu to a value, I get a midi feedback that reset my menu to 0 so the container goes back to hidden.
Is it possible to disable the midi return just for this widget ?

best

Hi

Something like Bypass
I am far from a computer

Hi,
no Bypass prevent the widget from sending an OSC / Midi message.

hi,
can you give us a minimal sesssion json file ?
cheers

The dropdown menu in the top left is an example, but it's only working when you have midi learn something in a daw (in my case Ableton)

mini42_idModification.json (169.1 KB)

You can empty the widget's target property and use its onValue script to send messages, this way it won't receive midi messages (since the target must match the message's origin).

1 Like

This work.
@jean-emmanuel is there a way to see what happening in midi / osc message inside OSC.
Maybe something around Console.log() ?

The server debug option would be the way.

I have an error in the console withe the dropdown "(ERROR, MIDI) invalid address (/dropdown_maxmode1)"

var id = get('variable_id1')
send('/control', id, 1, get('this'))

The widget is attempting to send its default message on its address property + target property (or server's default target defined with the send option). Empty the target property and/or set bypass to true.

perfect thx

So to be sure i was right ? :grinning:

not really because bypass turn off all message, also the output.
the solution from J-E is to use script

the bypass wasn't necessary

Thanks for your clarification but without a simple example i am not sure i get what the issue was.

Nevermind.
See you

I posted the patch here :
curious if you get the same issue

It s okay. I have see your patch. No issue.
See you

using ableton ?