Lexicon, Inc.

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

15.5.2 Get Effect Definition

Once we know how many effects the DC-2/MC-1 has resident we can then start to step through each effect for its definition. This is done by sending a GET_EFFECT command packet:

SOP

DLL DC

CMD

App DC

DATA0

EOP

 

 

 

 

EffectId

 

F1

04

1B

01

0F

F2

The DC-2/MC-1 responds with a DC_RESP_EFFECT_DEF packet:

SOP

 

DLL DC

 

CMD

 

App DC

DATA0

 

DATA1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Max

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EffectId

 

Params

 

 

 

 

 

 

 

 

F1

 

13

 

 

85

 

 

10

 

0F

 

 

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DATA2

 

DATA3

 

DATA4

 

DATA5

DATA6

DATA7

 

DATA8

DATA9

DATA10

DATA11

DATA12

DATA13

DATA14

DATA15

EOP

Effect

 

Effect

 

 

Effect

 

Effect

Effect

Effect

 

Effect

Effect

Effect

Effect

Effect

Effect

Effect

Effect

 

Name[0]

Name[1]

Name[2]

 

Name[3]

Name[4]

Name[5]

 

Name[6]

Name[7]

Name[8]

Name[9]

Name[10]

Name[11]

Name[12]

Name[13]

 

4C

 

4F

 

47

 

49

43

20

 

 

37

20

20

20

20

20

20

00

F2

L

 

O

 

 

G

 

 

I

 

C

(sp)

 

7

 

(sp)

(sp)

(sp)

(sp)

(sp)

(sp)

00

 

Here we can see that we requested effect number 16 and the DC-2/MC-1 responded with the effect number 16 definition. Effect 16 has 22 parameters and it is currently named “LOGIC 7”. Note there are trailing spaces.

15.5.3

Set Input Name

 

 

 

 

 

 

 

 

 

 

 

 

In order to change an Input name all we must do is send a DC_CMD_SET_INPUT_NAME packet:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SOP

 

DLL DC

CMD

 

App DC

DATA0

DATA1

DATA2

DATA3

DATA4

DATA5

DATA6

DATA7

DATA8

DATA9

EOP

 

 

 

 

 

 

 

Max

Input

Input

Input

Input

Input

Input

Input

Input

 

 

 

 

 

 

 

InputId

Params

Name[0]

Name[1]

Name[2]

Name[3]

Name[4]

Name[5]

Name[6]

Name[7]

 

F1

 

0D

2E

 

0A

03

4D

59

20

49

4E

50

55

54

00

F2

 

 

 

 

 

 

 

M

Y

(sp)

I

N

P

U

T

0

 

Here we see that we are telling the DC-2/MC-1 to change the AUX(3) input to be renamed as “MY INPUT”.

43 of 44

Page 43
Image 43
ABC Office DC-2, MC-1 manual Get Effect Definition, Set Input Name