Hello,
Is there a way to interpolate MIDI input values?
Currently when I turn a knob on a parameter it jumps from value to value (for example: 5 -> 10 -> 15 -> 20).
Is it possible somehow to smooth out these values so when I turn a knob, it ramps up from say 5 - 10 smoothly?
I am using a KORG Nano Kontrol I borrowed from a friend, but am looking into buying my own controller very soon, so if there is a better hardware solution for this problem please let me know.
Thank you,
M
MIDI smooth interpolation?
Re: MIDI smooth interpolation?
With MIDI, as far as I know, you get 128 steps from 0 to 127 (2^7) and that's it! If the parameter you're trying to control has large MIN-MAX values such as a Position X (-16384.0 - 16384.0) then the MIDI value will have to be converted to span the full range unless you choose to limit the range within Resolume.
If you want finer control you should look into Open Sound Control which lets you use floats so even though sometimes you may be limited to using normalized values between 0.0f and 1.0f you can easily interpolate values. In Position X example -16384 would be 0.0 and 16384 would be 1.0 and any value in between would be a float so 0 would be 0.5 and 960 would be 16384/[(16384-(-16384))-960)=0.515091
If you want finer control you should look into Open Sound Control which lets you use floats so even though sometimes you may be limited to using normalized values between 0.0f and 1.0f you can easily interpolate values. In Position X example -16384 would be 0.0 and 16384 would be 1.0 and any value in between would be a float so 0 would be 0.5 and 960 would be 16384/[(16384-(-16384))-960)=0.515091