startmidi(1) startmidi(1)
startmidi, stopmidi - start MIDI daemon
startmidi [-n name] [-s speed] [-p proto] -d /dev/tty{d,f}x
stopmidi -d /dev/ttydx
stopmidi -n name
startmidi
Startmidi initializes the serial ports and links them to the MIDI streams
driver. startmidi also reports the names of the MIDI interfaces
currently configured. stopmidi removes the specified interface. The
following options control the startmidi command:
-n name
Name of the interface.
-d device
The actual driver this interface will talk to, either a serial port
or internal.
-p proto
Specifies the protocol used. This parameter is optional, and
defaults to RS422 with an external clock (Macintosh (r) compatible
mode). Possible values are rs232 for RS232 communications, aso232
for RS232 on an ASO board, aso422 for RS422 on and ASO board and
rs422 for externally clocked 422.
-s speed
The speed the interface operates at, if not 31250 baud. Options are
9600, 19200, 31250, 38400, 115200 and 125000. This options allows
different sorts of interfaces to be connected to the machine. 38400
is normally used for connecting to a Key MIDIator. 125000 is used
by "high speed" Macintosh intefaces. 115200 is used by some PC
serial port interfaces.
With no parameters, startmidi prints a list of the available MIDI
interfaces.
Stopmidi shuts off MIDI on the specified device, or the interface
specified by name.
An internal MIDI device is specified by passing the string "internal" for
the -d parameter. Internal MIDI allows programs to use MIDI
communications and timing for interprocess communication. See
mdRegister(3dm).
Page 1
startmidi(1) startmidi(1)
If startmidi is killed, the devices linked to the MIDI driver will be
unlinked, and applications will cease to be able to send and receive
MIDI.
For the most part, startmidi is used by the system administration tools
for port configuration. This tool is accessed through the system manager
menu selection in the desktop toolbox. However, the system manager as
yet has no way of setting up internal MIDI ports, so that must be done by
hand.
115200 baud rates are only supported on the ASO board at this time.
Cabling can be problematical for some combinations of serial port and
MIDI interface. The manual page serial(7) has the pinouts for all SGI
serial ports and may be helpful in obtaining the necessary cabling.
mdInit(3dm), mdGetName(3dm), asoser(7)
PPPPaaaaggggeeee 2222 [ Back ]
|