[linux-audio-dev] Quick question regarding raw midi access viaalsa sequencer
Ivica Ico Bukvic
ico at fuse.net
Fri Mar 18 20:14:24 UTC 2005
Thanks all for your replies. I tried messing with the snd_midi_event_* stuff
but none provided proper data as when I tried accessing the struct with
8-bit data I got number like 15360 or something like that. I am sure that I
am misreading something or simply doing something incorrectly, pointers to a
working code would be highly appreciated!
Ivica Ico Bukvic, composer & multimedia sculptor
> -----Original Message-----
> From: linux-audio-dev-bounces at music.columbia.edu [mailto:linux-audio-dev-
> bounces at music.columbia.edu] On Behalf Of Chris Cannam
> Sent: Friday, March 18, 2005 10:51 AM
> To: linux-audio-dev at music.columbia.edu
> Cc: Ivica Ico Bukvic; alsa-devel at lists.sourceforge.net
> Subject: Re: [linux-audio-dev] Quick question regarding raw midi access
> viaalsa sequencer
> 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
> > is there a way to simply convert the stream of received MIDI data into
> > 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
> 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
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005
More information about the Linux-audio-dev