beautypg.com

Manual-25 – Rane SR 2 User Manual

Page 25

background image

Manual-25

ISR
Input Suggest Raw

Same operation as IS Input Suggest except ISR returns the command state byte and

button time. Suggests new main level and second level.

Resets the command state to No Operation.

If Auto Level is enabled, the main level is updated and indicated by the LED only if

the device’s main level has not changed by someone turning the encoder. Otherwise,

if Auto Level is disabled, the main level is updated and indicated by the LED regard-

less of encoder input.

If Auto Second Level is enabled, the second level is updated and indicated by the

flashing LED only if the device’s second level has not changed by someone pushing in

and turning the encoder. Otherwise, if Auto Second Level is disabled, the second level

is updated regardless of encoder input.

Send: ISR,n1,n2

Where: n1 is the suggested new main level. The main level

range is [0, 31]. If n1 is zero, the main level remains

unchanged.

n2 is the suggested new second level. The second level

range is [0, 31]. If n2 is zero, the second level remains

unchanged.

Example: ISR,3,5 suggests a new main level of 3 and a new

second level of 5.

Response: n1,n2,n3,n4,"OK"

Where: n1 is the current main level. The main level range

is [1, 31].

n2 is the current second level. The second level range

is [1, 31].

n3 is the current command state. The command state

represents the state of the encoder.

The possible states follow:

0 No Operation The encoder has not changed.

1 Encoder Left

The encoder has been turned counter clockwise.

2 Encoder Right The encoder has been turned clockwise

16 Selection Left The encoder has been pushed in and turned counter clockwise.

32 Selection Right The encoder has been pushed in and turned clockwise.

64 Enter The encoder has been pushed in and released without being turned.

n4 is the length of time the encoder button has been pressed. The time the button has

been pressed is in units of .01 seconds and the range is [0, 255] or 0 to 2.55 seconds.

The button timer starts at the press of the button and is reset to zero when the button

is released.

Example: 3,5,0,0,"OK" means the current main level is 3, the current second level

is 5, the current command state byte is a No Operation and the button is not

pushed in. This means the main level and second level were updated. A response of

3,7,32,100,"OK" means the current main level was updated to 3, the current second

level is 7 and was last changed by someone pushing in and turning the encoder, the

current command state byte is a Second Level Right, and a non-zero button time

means someone is still holding the button in.