Blk : Block Number; Pkt : Packet Number; Prm : Parameter Id; Idx : Data Index Number - Casio AP-200 Manual

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

Advertisement

16.3.9

blk : Block Number

This supplementary number specifies which block is the object when there are multiple blocks within the same parameter set.
Format: 0iiiiiiiB (LSB)
In the cases when there are multiple parameters in a category with the same ID (such as the mixer channel volume setting),
for example, the block number required in order to specify the block where the data belongs is indicated as
kkkkkkkjjjjjjjiiiiiiiB (Binary).
When the parameter block has a multi-dimensional array structure, bit 21 of the block number is divided into prescribed
bit fields based on the rules explained below.
Block Bit Field Division
Case 1
When an array has three or fewer nesting levels and the number of arrays in each dimension is 128 or less, they are assigned
below the three 7-bit fields. Unused regions are filled will zeros.
Example:
parameter [A][B][C]
With a 3-dimensional array parameter that consists of A=8 (3 bits), B=5 (3 bits) and C=10 (4 bits), the block bit fields are
allocated as: Block = 0000aaa 000bbb ccccccc (Binary).
Case 2
When Case 1 conditions are not satisfied, the minimal number of fields required for each number of arrays is reserved from
the lower bit of the block. Unused regions are filled will zeros.
Example 1:
parameter [A][B][C][D]
With a 4-dimensional array parameter that consists of A=3 (2 bits), B=4 (2 bits), C=3 (2 bits) and D=4 (2 bits) like the one
shown above, the block bit fields are allocated as: Block = 0000000 00000a abbccdd (Binary).
Example 2:
parameter [A][B]
A=3 (2 bits), B=200 (8 bits)
With a 2-dimensional array parameter like the one shown above, the block bit fields are allocated as: Block = 0000000
000aab bbbbbbb (Binary).
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, 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.
0jjjjjjjB
0jjjjjjjB
30
0kkkkkkkB (MSB)
0kkkkkkkB (MSB)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ap-400Px-120Px-720

Table of Contents