(1)Exclusive Status
(2)manufacturer ID=GENERAL MUSIC
(3)Command ID(3=RealTime) + device ID (1=2° device ID)
(4)Set Subfunction
(5)Model ID (0=WK4)
(6)c=1(Yes checksum),f=0(7 bit data value)
(7)EOX
The checksum value is obtained with an XOR of all the bytes starting from the GeneralMusic ID (2FH) included; using ^ as the
operator XOR ( OR Exclusive ), then:
cc=checksum = 2F ^ 31 ^ 01 ^ 00 ^ 10 ^ 0A ^ 1C ^ 00 ^ 4D = 54
the message to send is:
F0 2F 31 01 00 10 0A 1C 00 4D 54 F7 .
< Example 3 > : Setting the M.Transpose to -6 using common channel 2, format 0 (7 bit data value) with and without checksum.
According to the address map relating to the Global Parameters - GLOBSET the address is 00 09 02H (transpose) and the
value to set is 24-6=18=12H; therefore the set stream without checksum is as follows:
F0
2F 31
01
00
(1)
(2) (3)
(4)
(5)
(1)Exclusive Status
(2)manufacturer ID=GENERAL MUSIC
(3)Command ID(3=RealTime) + device ID (1=2° device ID)
(4)Set Subfunction
(5)Model ID (0=WK4)
(6)c=0( No checksum),f=0(7 bit data value)
(7)EOX
with the checksum, the stream will be:
F0 2F 31 01 00 10 00 09 02 12 16 F7 .
< Example 4 > : setting the parameter FltCutoff of the group AUDIOIN1 to 147 ( >127 ) on command channel 2 and format 2
( data in nibble ) with and without checksum.
According to the address map relating to Global Parameters - AUDIOIN1 the address is 00 0B 05H (FltCutoff) and the value to
set in nibble format is, 09 03H; infact 147=93H, therefore the value is sliced in two nibbles 9 and 3 obtaining 09 03H; therefore
the set stream without checksum is as follows:
F0
2F 31
01
00
(1)
(2) (3)
(4)
(5)
(1)Exclusive Status
(2)manufacturer ID=GENERAL MUSIC
(3)Command ID(3=RealTime) + device ID (1=2° device ID)
(4)Set Subfunction
(5)Model ID (0=WK4)
(6)c=0 ( No checksum), f=2 (nibble)
(7)EOX
with the checksum, the stream will be:
F0 2F 31 01 00 12 00 0B 05 09 03 09 F7 .
< Example 5 > : To know the value of the parameter HighGain of the Equalizer using common channel 9 and format 0 (7 bit data
value).
According to the address map relating to the Global Parameters - EQUALIZER the addrress is 00 00 01H (HighGain) and the
size is 00 00 01H; therefore, the get stream is as follows:
○
○
○
○
○
○
○
○
○
○
A•30 Apéndice
00
00 09 02
12
(6)
address
data (7)
02
00 0B 05
09 03 F7
(6)
address
data (7)
○
○
○
○
○
○
○
○
○
○
F7
○
○