Would be very helpful to have an example sketch to add Keyboard velocity for a midi keybed that has 2 switches per key. That would measure the time from one switch to the next and then convert that measurement to the correct velocity.
Key1 switch1 activated = start time
Key1 switch2 activated (pressed harder) = stop time
Would be very helpful to have an example sketch to add Keyboard velocity for a midi keybed that has 2 switches per key. That would measure the time from one switch to the next and then convert that measurement to the correct velocity.
I have posted this question on the arduino forum in less detail and I received response from @tttapa https://forum.arduino.cc/t/adding-velocity-to-25key-midi-keyboard/1138753