On Friday 18 Mar 2005 15:40, Ivica Ico Bukvic wrote:
2) The other option is obviously to use alsa-sequencer
API but in that case
is there a way to simply convert the stream of received MIDI data into raw
midi format so that I can use my built-in raw MIDI parsing engine for
parsing the messages?
If I understand the requirement right, then the snd_midi_event_* API can do
it: see <alsa/seq_midi_event.h>. I've used this a couple of times in the
DSSI examples source code, and I'm sure there are plenty of examples
elsewhere.
Chris