Maybe positional sensing stuff can be processed faster if you consider only steps of the full 127 CC range, I mean, having values 0, 10, 20, 30 till 127 instead of 127 different values. A ruder interpolation. I don't know exactly, it is a suggestion.
I understand you dmitri not wanting to make available your source code, but at least you could explain how you sample the analog signal (a common sampling maybe? quantizing the signal?) and what algorithm you use to determine which is a hit a which is not and its velocity. More minds thinking in the same problem makes it easier to solve it
I also understand that number of inputs is one of the main advantages of the megadrum, but that problem can be solved multiplexing more signals (can't wait to see the new 32 inputs version
) or building two identical 22inputs megadrums and have both connected to the computer to have 44 inputs. ...That problem is widely solved (I think). I offer you a more challenging problem to solve
that once solved will convert your megadrum in the best diy drum module ever invented.
Synthex, you seem to also have a good mind for electronic stuff. Do you think in any efficient way to implement positional sensing?
PD: after seeing a PD-80r pad signal, I can see that the first half-wave is in the range of 1ms long. Which is the sampling speed (samples per second) the megadrum does?