Need help adding velocity to Midi Keyboard

Hi guys, looking for help or to hire someone to add velocity CODE to a midi keyboard PROJECT I built on the Due board with programmer overseas.

The project is 95 percent done. A Fatar keybed is hooked up and plays when I press keys but, it only plays at a single volume/velocity.

Velocity is when if you press keys softly, it plays the note softly, the harder your press, the harder and louder it plays.

The key bed has 2 switches per key to measure the velocity, so no additional hardware is required.

I originally had this project built with a guy from Pakistan but he had to move on to other projects and trying to explain what I want to another person in that region gets frustrating as they don't know what midi is, etc.... so any help or offers are appreciated.

Code is too long to post so I added it as a file. Along with pdf of the keys and wiring in the replies.

lync_revision_2-20-21.ino (21.7 KB)

The wiring

the pdf of the keybed
https://filebin.net/c7j385drfzniouiq

Is it a case of timing how long it is before you see the second sensor for the key? I assume that you don't have those wired up yet?

Almost simultaneous.

Everything is wired up as seen in diagram

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.