Manual Reference Pages - MIDIDEV (n)
- tclmidi command to create a MIDI device and modify the configuration
creates a MIDI device and allows you to modify the configuration of
an existing device if
was built with device support.
A device driver for some MIDI interfaces is included with this
release for the following architectures:
The first form of
is used when the device is created for the first time.
The second form is used once the device has been created.
The first parameter is the device identifier.
In the first case, it should be a path name for the device.
In the second form it is a device identifier returned from a call
to the first form.
In the third form,
is returned if
was built with MIDI device support
is returned if it does not have device support.
The remaining arguments are parameters or commands that can be used
to query or modify the device configuration.
This command can only be used once a device has been created by
the first form of this command.
It closes the device.
Once the device has been closed, it cannot be used again until it
is reopened by a call to the first form of the
Without a value, this command returns the status of midithru.
It will return
if midithru is enabled, and
if it is disabled.
If a value is specified is should be a boolean value from one of,
The device will be conigured to the specified value.
This command allows the device to be made a slave to another.
When a device is a slave, it will be synchronized to the master.
It will not begin playing until the master device does and will
stay in time with the master.
Each device can only have one master, but a master device can
have any number of slaves.
The MasterDevID is the device ID of the master device as returned
from a call to the first form of
The slave feature is useful if you want to play a MIDI song that
has more than 16 channels, and you have multiple hardware MIDI
Without an argument, this command returns the current list of all
channels that are active.
With an argument, it will add a list of channels to the current
The active list is a list off all channels that will receive events.
If a channel is inactive, any events on it will be masked.
By default, all channels are active.
This is similar to the channel_on option, but returns a list off
all channels that are inactive.
If an argument is specified, it will remove a list of channels from
the current active list.
In the first form,
returns a device ID that can be used in later calls to
or calls to other functions that deal with the MIDI interface.
In the second form it returns values according to the options
See the list above for details.
In the third case,
was built with device support or not.
Mike Durian - email@example.com
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.