Knob touch sript

In a Panel i have several knobs which just should send values when "untouch" them.
that works with a dummyknobs script

if (touch !== undefined){
if (touch == 0) {
console.log('touch ' + getProp('this','id'));
send('/' + getProp('this','id'),value)
}
}

called from the knobs script:

@{dummyknob.script}

but know i have made quit a lot of knobs where this does not work (the only difference is that VISIBLE, INTERACTION, RANGE and STEPS properties receive their value via OSC{...} commands and a preArg value is sent) even copy in the original script does not work.
(sending values while touched, this new knobs are in a panel -> modal, as the working knobs are just in a panel).

Thanks!

Could you please provide a very minimal session and step-by-step instructions to reproduce the issue ?

Of course.

On Stomp A instead of “off” choose “WAH WAH”
On the botton right to it, move the knob labeled “manual” (it doesn’t matter which one), every value is sent out, instead of the one when “untouching”. One of the knobs like “gain” or “bass” are working like expected(the knobs, not in the STOMP sections).

reduced.json (208.5 KB) openstagecontrol4reaper_redesign_v3.js (57.9 KB)

Thanks!

I’m sorry but by minimal I mean only the absolute necessary to reproduce the issue (even in the custom module). Going through these files is very time consuming and I’m likely to miss the problem simply because I’m not in your head ;). Also the server’s config would help.

Ok I took the time to look at it. Everything works as expected, setting the script does not prevent the widget from sending the usual messages. Use ignoreDefaults or bypass to do so.

bypass did the trick, thank you very much!