Hi,
I would like to use a digital piano keyboard attached to the serial port (MIDI-to-host 38400 bps MIDI connection) to generate some events on the computer. E.g. if I press the two lowest notes at the same time, I can move the mouse cursor or switch desktops, etc. I imagine I would have to have a kernel module which would implement filtering of certain events and passing them to some place, like a pipe that my control program (perhaps perl) would read and perform corresponding actions that I would program it to do. Is there currently a way to "insert a MIDI filter" into the MIDI stream received from the digital piano ? Or at least to say "copy all MIDI events into this socket / pipe for pickup by an application" (and that application would then recognize these special "control" events and would generate the system commands / events) ? How can I use the piano to control the computer ? (while I am recording, or some third app is consuming the MIDI stream on its own, and I have no control over that app) If there currently isn't a way to filter or duplicate the incoming MIDI stream, what would be necessary ? thanks - john ______________________________________________________________________ File your taxes online! http://taxes.yahoo.ca _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel