Casio CTK-4200 Midi Implementation Manual page 27

Hide thumbs Also See for CTK-4200:
Table of Contents

Advertisement

19.3.13
len : Data Length
Format:
LSB
0lllllllB
MSB
0mmmmmmmB
As shown below, the meaning of this field differs depending on whether an individual transfer or a
bulk parameter set transfer is being performed.
Individual Parameter Transfer Data length indicates the length of the array being transferred
minus 1 when the parameter contains a character string or other similar array structure.
Bulk Parameter Set Transfer Data length indicates the number of bytes of data included within a
packet. When this value is zero, it means the data itself does not exist.
19.3.14
data : Parameter Data
Individual Parameter Transfer
Format:
index0
index1
index2
:
indexN
Parameter data indicates the parameter value. Data is repeatedly placed in an array of the size equiv-
alent to len+1. For the structure of one data item, the length depends on the data bit width(Parameter
List Size), as shown below.
Size
Number of Data
1 - 7
1
8 - 14
2
15 - 21
3
22 - 28
4
29 - 32
5
Each block of data is packed from the lowest order byte first. In the case of multiple-byte data, the
lowest weighted bit is the least significant digit of the first data byte, and the highest weighted bit is
the most significant digit of the final data byte. The following shows an example of how data would be
divided for transfer in the case of 32-bit data.
7
6
data0:
0
[bit06]
data1:
0
[bit13]
data2:
0
[bit20]
data3:
0
[bit27]
data4:
0
0
0dddddddB (0eeeeeeeB) (0fffffffB) (0gggggggB) (0hhhhhhhB)
0dddddddB (0eeeeeeeB) (0fffffffB) (0gggggggB) (0hhhhhhhB)
0dddddddB (0eeeeeeeB) (0fffffffB) (0gggggggB) (0hhhhhhhB)
:
0dddddddB (0eeeeeeeB) (0fffffffB) (0gggggggB) (0hhhhhhhB)
5
4
[bit05]
[bit04]
[bit12]
[bit11]
[bit19]
[bit18]
[bit26]
[bit25]
0
0
3
2
[bit03]
[bit02]
[bit10]
[bit09]
[bit17]
[bit16]
[bit24]
[bit23]
[bit31]
[bit30]
27
1
0
[bit01]
[bit00]
[bit08]
[bit07]
[bit15]
[bit14]
[bit22]
[bit21]
[bit29]
[bit28]

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ctk-5300Lk-211Wk-225Lk-280Wk-330Wk-220 ... Show all

Table of Contents