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

Ivica Ico Bukvic ico at fuse.net
Fri Mar 18 15:40:17 UTC 2005


Hi all,

I did a bit of hacking on my app trying to make it alsa sequencer compatible
but did not want to do too much changing in terms of how it deals with raw
MIDI data. From looking at the API reference it seems that I have 2 choices:

1) Use raw midi option and specify "virtual" name which makes my app's MIDI
I/O appear in the alsa sequencer, *but* does not give me an option of
changing the node names which obviously is very important when it comes to
working with a lot of apps concurrently. So therefore here's my first
question:

Is there a way to specify a "virtual" port so that I can receive raw MIDI
data, have ports show in the alsa sequencer and on top of that be able to
*rename* the port as necessary?

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?

Any help is greatly appreciated!

Best wishes,

Ivica Ico Bukvic, composer & multimedia sculptor
http://meowing.ccm.uc.edu/~ico/
 


-- 
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 mailing list