Forums > Javascript

[Sharing is jumping] Prevent MIDI jump with javascript

Aug 17 2013 | 1:58 am

I’m wondering if there is someone out there who tryed to create some check over the MIDI input to prevent the value jumping.

Let me explain with an example, if you have got the controller knob on 10 and the relative patch value is 120, then, when you move the knob the value will jump to the controller value.

I’ve done this little javascript to avoid this. I want to share it, maybe it can be improved and someone can do it. It works with a [pvar] and a named numberbox.

The javascript handle float input because I work with normalized 14bit MIDI input.

Yes this is not only for MIDI but it works with every kind of input, you can avoid jump with Kinect input, Arduino or something else.

Viewing 1 post (of 1 total)

Forums > Javascript