Configuration Files > Software Initialisation File Keywords >

# MidiDevice

The MidiDevice keyword identifies MIDI devices that are used with Autodesk Visual Effects and Finishing systems. Only one device is recognized at a time.

The MidiDevice keyword uses the following syntax

MidiDevice <name>, <device_configuration_file>, <serial_port>, <protocol>, <baud_rate>, <parity>[, <stopbit>]

Where: | Is:
--- | ---
<name> | The name by which you want to identify the MIDI device in the application.
<device_configuration_file> | The name and path of the device configuration file for the MIDI device. The path is optional.
<serial_port> | The serial port to which the MIDI device is connected.
<protocol> | The protocol used to communicate with the MIDI device. It can be either direct_RS422 or direct_RS232.
<baud_rate> | The baud rate used to communicate with the MIDI device.
<parity> | The parity setting to communicate with the MIDI device. It can be set to EVEN, ODD, or NOPARITY.
<stopbit> | The size of the stop bit (optional).

Example of use

MidiDevice myMidiDevice, midi_LUCID_ADA8824_A232, /dev/ttyS1, direct_RS232, 9600, NOPARITY