IR photo interrupter techniques work well for this kind of application.
I once prototyped a photo harp that worked really well (long ago).
It was velocity sensing based on the timing of breaking closely placed pairs of IR beam paths.
If you’re good with DIYing some circuitry, it can be achieved with: (an IR diode, IR photodiode, an opamp, 2x resistors, and a DIN input) x 12, in this case. Also +7V, -5V supply for the op amps.
If you’re good with firmware, the MIDIbox KB, or even NG could be adapted for velocity sensing based on timing between breaks in beam pairs.
Otherwise MIDIO128 would work off the shelf.
Let me know if you’re interested in the circuit for the the IR beam sensor.