But to address the OP's question, if you can get at MIDI-format data, there's MIDI to convert it into Perl data structures.
In reply to Re^4: listen to a midi keyboard
by educated_foo
in thread listen to a midi keyboard
by kontrapunktstefan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |