Analog midi instrument

slipstick:
Try reposting the code in </> code tags so it's not in italics.

How do you expect the analog inputs to work? If the analog level controls the velocity when do you decide to send a NoteOn with that velocity? Every time the input changes? By how much? Or what?

Steve

I want the first analog input to send a note (any, because the program I use accepts even as low notes as 1, but can be any)
If fader 1-6 is in the "zero" position, a NoteOff signal is sent.
When I raise the fader above the threshold, it will switch to NoteOn and will change the velocity of this note linearly from 0 to 127.

Digital inputs - simply:
open - NoteOff
closed - NoteOn and holds
released - NoteOff

Does this explain my intentions?