Re: [linux-audio-dev] Quick question regarding raw midi access via alsa sequencer

From: Chris Cannam <cannam@email-addr-hidden-day-breakfast.com>
Date: Fri Mar 18 2005 - 17:51:21 EET

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
Received on Fri Mar 18 20:15:14 2005

This archive was generated by hypermail 2.1.8 : Fri Mar 18 2005 - 20:15:15 EET