MIDI Interface

I am wondering where I might find some information on the MIDI interface via
the Audio driver in qnx4.25. I have the /etc/readme/technotes/Audio.doc and
that gave me enough information to realize that I can get /dev/midi by using
“Audio mpu -b330 -i2 &” but what do I do with /dev/midi? Is it a character
device, block device, or what?

My application is this: I need to control a MIDI instrument from a
SoundBlaster compatible card (PC/104) which has a Yamaha MPU-401 UART MIDI
port (I only need the MIDI, not the SoundBlaster stuff).

Just for kicks I tried taking a MIDI music file that I copied from my NT box
called canyon.mid and I tried to send it out by:

  1. cp canyon.mid /dev/midi

(didn’t work: said “cp: Can’t open destination file. (/dev/midi): No such
device or address”)

  1. cat canyon.mid >/dev/midi

(didn’t work: said “/dev/midi: cannot create (No such device or address)”

Does anyone have any advice on how I might test out my card installation and
application software for using the MIDI port?

Thanks,
Mark Austin
New York Air Brake, TDS Group

Although there is a /dev/midi device created it is not supported.

“Mark Austin” <idontthinkso@nowhere.com> wrote in message
news:soj4sn6adbm182@corp.supernews.com

I am wondering where I might find some information on the MIDI interface
via
the Audio driver in qnx4.25. I have the /etc/readme/technotes/Audio.doc
and
that gave me enough information to realize that I can get /dev/midi by
using
“Audio mpu -b330 -i2 &” but what do I do with /dev/midi? Is it a
character
device, block device, or what?

My application is this: I need to control a MIDI instrument from a
SoundBlaster compatible card (PC/104) which has a Yamaha MPU-401 UART MIDI
port (I only need the MIDI, not the SoundBlaster stuff).

Just for kicks I tried taking a MIDI music file that I copied from my NT
box
called canyon.mid and I tried to send it out by:

  1. cp canyon.mid /dev/midi

(didn’t work: said “cp: Can’t open destination file. (/dev/midi): No such
device or address”)

  1. cat canyon.mid >/dev/midi

(didn’t work: said “/dev/midi: cannot create (No such device or address)”

Does anyone have any advice on how I might test out my card installation
and
application software for using the MIDI port?

Thanks,
Mark Austin
New York Air Brake, TDS Group