Subject: MIDI programming with OSS compatability API
To: NetBSD Help mailing list <netbsd-help@netbsd.org>
From: Chris Wareham <chris.wareham@iosystems.co.uk>
List: netbsd-help
Date: 09/05/2002 09:40:52
I've been following the recent messages about using OSS
on NetBSD, and have a couple of questions of my own about
the MIDI and audio API.

I am attempting to write a small MIDI sequencer with a
curses interface, and hope to run it on an x86 laptop.
My first question is more USB related, as my laptop
doesn't have a serial or soundcard style 'games' port.
Can I assume that most USB MIDI interfaces should work
under NetBSD (I have enabled support in my custom kernel),
or do they each use a proprietary protocol? If they do
use their own protocol then I will concentrate on
an interface made by a company called Midiator, as a
Linux driver exists for their serial port device which
I can probably use as a reference.

My second question is on the MIDI API itself. Can I use
the OSS compatability functions and the documentation
on the OSS website, or are the API's likely to have
subtle differences? Otherwise, is there any documentation
(apart from the header files themselves) on the NetBSD
native MIDI API?

Any pointers would be greatly appreciated, as I consider
myself a good application level programmer, but would
be a little bit daunted by having to code up a device
driver for the MIDI interface.

Regards,

Chris
-- 
chris.wareham@iosystems.co.uk (work)
cwareham@btinternet.com (home)