beautypg.com

MIDI Solutions Relay User Manual

Page 5

background image

NOTE

To program the Relay to respond to a Note message, send it the following System Exclusive programming command:

(

is optional)

All bytes must be in Hexadecimal format (see hexadecimal conversion table at end)

is set as follows:

if

is omitted then:

= 00: relay OPENS for Note-Ons and Note-Offs

= 01: relay CLOSES for Note-Ons and Note-Offs

= 02: relay CLOSES for Note-Ons, OPENS for Note-Offs

= 03: relay OPENS for Note-Ons, CLOSES for Note-Offs

if

is included then:

= 00: relay produces CLOSED pulse for Note-Ons

= 01: relay produces CLOSED pulse for Note-Offs

= 02: relay produces OPEN pulse for Note-Ons

= 03: relay produces OPEN pulse for Note-Offs

= MIDI Note number

= MIDI channel (see MIDI channel table at end)

= Pulse width in 8 ms increments, or 1 s increments if preceded by 00

The Relay will accept a combined total of 10 Note or Control Change settings.

To program the relay to close for 10 seconds when Note-On middle C is received on any MIDI channel, set
(relay produces CLOSED pulse for Note-Ons),

(middle C is Note number 60, 3C is the hexadecimal value

for 60),

(7F specifies all MIDI channels), and

(0A is the hexadecimal value for 10, preceeded by

00 to specify 1s increments). These values result in the following System Exclusive programming command:

F0 00 00 50 06 01

F7

F0 00 00 50 06 01 aa nn cc (pp) F7

pp

aa

pp

aa

aa

aa

aa

pp

aa

aa

aa

aa

nn

cc

pp

Example

aa = 00

nn = 3C

cc = 7F

pp = 00 0A

00 3C 7F 00 0A

5