This the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

MIDI Input

This connection type listens to a MIDI input device and exposes incoming MIDI messages as read-only parameters.

Each received MIDI short message is mapped by its raw status byte and first data byte. The second data byte is then published as the parameter value.

This makes it possible to react to note, controller, program change, and other MIDI messages directly in BTConnect.

Configuration

  • Device: Select the MIDI input device to listen to.

BTConnect opens the selected device when the connection starts.

Parameters

The MIDI Input connection provides a fixed set of read-only integer parameters in the form:

  • <status>/<data1> (integer, read-only) - receives the value of the second MIDI data byte (data2) for incoming messages with the specified status byte and first data byte.

The valid ranges are:

  • status: 0 to 255
  • data1: 0 to 127
  • parameter value (data2): 0 to 127

For example:

  • 144/60 receives the velocity value for a MIDI Note On message on channel 1 for note 60.
  • 176/7 receives controller values for MIDI Control Change 7 on channel 1.

Only incoming MIDI short messages are exposed as parameters.