MIDI Solutions Event Processor User Manual

Page 7

Advertising
background image

STORE INCOMING VALUE IN A VARIABLE

VALUE RANGE AND VARIABLE SPECIFICATION

To program the Event Processor to store an incoming value in one of two variable locations, send it the following
System Exclusive programming command:

followed by

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

= setting to be programmed (00 - 09)

is related to the parameters

as follows:

= 00:

specifies the incoming range of the first byte #

of MIDI Event A to be processed

= 01:

specifies the incoming range of the second byte #

of MIDI Event A to be processed

= 02:

specifies the range the first byte is scaled to before it is stored in Variable

(00 - 01)

= 03:

specifies the range the second byte is scaled to before it is stored in Variable

(00 - 01)

To program setting #1 to store volume (CC#7) on MIDI channel 5 in Variable 1, with the incoming range 0 - 127
scaled to the stored range 0 - 100, send the Event Processor the following programming commands:

F0 00 00 50 28 07

F7

Up to two values of each incoming and outgoing MIDI event can be qualified by parameters

that specify

value ranges or variables to be compared to. Incoming MIDI events are processed only if each value falls within the
specified value range or matches the value stored in the specified variable. Values of outgoing MIDI events are
scaled to the specified outgoing value ranges or assigned to the values stored in the specified variables.

For incoming MIDI events,

is defined as follows:

First value of incoming MIDI event:

= 00

: Value of byte #

qualified by range

= 1

00 00: Value of byte #

compared to variable

= 0 to 1

(if MIDI event is non-System Exclusive then

= 02)

Second value of incoming MIDI event:

= 01

: Value of byte #

qualified by range

= 1

00 00: Value of byte #

compared to variable

= 0 to 1

(if MIDI event is non-System Exclusive then

= 03)

For outgoing MIDI events,

is defined as follows:

First value of outgoing MIDI event:

= 02

: Value of byte #

scaled to outgoing range

= 2

00 00: Value of byte #

assigned the value stored in variable

= 0 to 1

(if MIDI event is non-System Exclusive then

= 02)

Second value of outgoing MIDI event:

= 03

: Value of byte #

scaled to outgoing range

= 2

00 00: Value of byte #

assigned the value stored in variable

= 0 to 1

(if MIDI event is non-System Exclusive then

= 03)

When multiple parameter sets

are used in a single programming command the sets must appear in the

order shown above.

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

F0 00 00 50 28 07 ss (aa bb xx yy) F7

"MIDI Event A"

ss

aa

bb xx yy

aa

xx yy

bb

aa

xx yy

bb

aa

xx yy

bb

aa

xx yy

bb

Example

00 01 03 00 7F 03 00 00 64

B4 07 00

aa bb cc dd

aa bb cc dd

aa bb cc dd

bb cc dd

bb

cc dd

aa bb cc dd

x bb

bb

x

bb

aa bb cc dd

bb cc dd

bb

cc dd

aa bb cc dd

x bb

bb

x

bb

aa bb cc dd

aa bb cc dd

bb cc dd

bb

cc dd

aa bb cc dd

x bb

bb

x

bb

aa bb cc dd

bb cc dd

bb

cc dd

aa bb cc dd

x bb

bb

x

bb

aa bb cc dd

7

Advertising