Pkt : Packet Number; Prm : Parameter Id; Idx : Data Index Number; Len : Data Length - Casio AP-500 Implementation Manual

Midi implementation
Hide thumbs Also See for AP-500:
Table of Contents

Advertisement

16.3.10

pkt : Packet Number

Format: 0iiiiiiiB (LSB)
This is the divided packet number kkkkkkkjjjjjjjiiiiiiiB (Binary) for transferring a single parameter set.
16.3.11

prm : Parameter ID

Format: 0pppppppB (LSB) 0qqqqqqqB (MSB)
The Parameter ID indicates the parameter type. When transferring parameters (see "Part V Parameter List" below) individually
(as opposed to bulk transfer), this field is used to identify the parameter being transferred by its parameter ID.
16.3.12

idx : Data Index Number

Format: 0iiiiiiiB
The data index number indicates the first array number of the array from which transfer starts.
16.3.13

len : Data Length

Format: 0lllllllB
Data length indicates the transfer array length minus 1 for individual parameter transfer when the parameter contains a
character string or other similar array structure.
In the case of bulk parameter set transfer, data length indicates the number of data words (16-bit data) included within a
packet minus 1.
16.3.14

data : Parameter Data

Format: 0dddddddB
Parameter data indicates the parameter value. Data that is the size of the number of arrays equivalent to len + 1 follows.
For the structure of one data item, the length depends on the data bit width, as shown below.
dddddB + 1
Number of Data
1 - 7
8 - 14
15 - 21
22 - 28
29 - 32
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 LSB of the first "data" block, and the highest weighted bit is the MSB of the final "data" block. The following
shows an example of how data would be divided for transfer in the case of 32-bit data.
0jjjjjjjB
(0eeeeeeeB)
(0fffffffB)
1
2
3
4
5
0kkkkkkkB (MSB)
(0gggggggB)
:
:
32
(0hhhhhhhB)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Px-200Px-800

Table of Contents