Skip to contentSkip to conversation

ALSA kernel sequencer client

DISCUSSION Lee Revell 2 participants 3 messages Jul 21, 2006 – Jul 24, 2006

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

I'm developing a driver for a device that's like an MPU output port, but some extra hardware registers need to be written to when note on/off messages arrive. Since the MIDI stream must be interpreted and hardware needs to be accessed directly I think I need to develop an ALSA sequencer kernel client.

I remember seeing some docs for developing this kind of thing, but can't find them - can someone point me in the right direction?

Lee

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw
Quoted 5 lines · Lee Revell

I'm developing a driver for a device that's like an MPU output port, but some extra hardware registers need to be written to when note on/off messages arrive. Since the MIDI stream must be interpreted and hardware needs to be accessed directly I think I need to develop an ALSA sequencer kernel client.

Currently, a sequencer client is only used for devices where all MIDI messages must be interpreted by the driver and where the device doesn't ever see them. The USB MIDI and serial MIDI drivers do their own parsing.

This doesn't mean that you shouldn't use a sequencer client.

Quoted 1 line

I remember seeing some docs for developing this kind of thing,

I'm sure there never were such docs.

Quoted 1 line

but can't find them - can someone point me in the right direction?

Use the Source, Luke^H^H^Hee: the USB MIDI driver was a sequencer client before October 2002.

HTH
Clemens

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

author
#2 lore raw
Quoted 7 lines · Clemens Ladisch
Quoted 5 lines · Lee Revell

I'm developing a driver for a device that's like an MPU output port, but some extra hardware registers need to be written to when note on/off messages arrive. Since the MIDI stream must be interpreted and hardware needs to be accessed directly I think I need to develop an ALSA sequencer kernel client.

Quoted 7 lines

Currently, a sequencer client is only used for devices where all MIDI messages must be interpreted by the driver and where the device doesn't ever see them. The USB MIDI and serial MIDI drivers do their own parsing.

This doesn't mean that you shouldn't use a sequencer client.

I think I'm going to use a rawmidi device and snoop the MIDI stream for note on/note off. It does not look too hard, and unlike the sequencer is documented.

Quoted 8 lines
Quoted 1 line

I remember seeing some docs for developing this kind of thing,

I'm sure there never were such docs.

Quoted 1 line

but can't find them - can someone point me in the right direction?

Use the Source, Luke^H^H^Hee: the USB MIDI driver was a sequencer client before October 2002.

Thanks for the info.

Lee

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV