Generic-MIDI ctrl: tweak pitch-bend message behavior
authorRobin Gareus <robin@gareus.org>
Thu, 9 May 2019 14:06:00 +0000 (16:06 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 9 May 2019 14:06:00 +0000 (16:06 +0200)
commit9ac18a8e0ff50e31654d169b4a6ee331814a8045
tree3fe009f5d69e456f0b9ed5369a577cfd5cd43664
parent48b960fdefef2b3c02f47baca328638e9ecef9a4
Generic-MIDI ctrl: tweak pitch-bend message behavior

Add support for smoothing, ignore message when controllers are
not in sync to avoid discontinuous jumps.

This is mainly useful for Mackie-like devices that use pitch-bend
messages for faders.

see also https://discourse.ardour.org/t/feature-lazy-sliders/100961
libs/surfaces/generic_midi/midicontrollable.cc