beautypg.com

6 patch effect macro select, Mz-2000 midi implementation – Casio MZ-2000 User Manual

Page 27

background image

26

MZ-2000 MIDI Implementation

4.5.2 Common Format for Patch Effect Selection Parameter Control

tt

0100aaaa

aaaa = IPC..."SYSEX_ACT_IPC" = 00H

IPR..."SYSEX_ACT_IPR" = 01H

d0[0]

00100000

20H Parmeter Modify Message ID

d0[1]

0000cccc

cccc = Category = CAT_PAT = 01H

d0[2]

0ttttttt

0TTTTTTT0ttttttt = Type ID = _PatchId00 = 0000H

d0[3]

0TTTTTTT

d0[4]

0mmmmmmm

0MMMMMMM0mmmmmmm = MDEV ID = 2F00H (RAM)

d0[5]

0MMMMMMM

d0[6]

0sssssss

0SSSSSSS0sssssss = Section = 0000H Fixed

d0[7]

0SSSSSSS

d0[8]

0nnnnnnn

00NNNNNNNnnnnnnn = PS Number = 0000H Fixed

d0[9]

0NNNNNNN

d0[10] 0ppppppp

qqPPPPPPPppppppp = Parameter ID

d0[11] 0PPPPPPP

= Parameter ID of operation target

(See following section.)

d0[12] 0rbbbbqq bbbb = number of parameter block - 1 = 04H

r = array flag

FX (Effect) Select is not an array parameter, so its value is fixed at 00H.

d1[0]

0iiiiiii 0iiiiiii = block-0 number of parameter = 00H

d1[1]

0jjjjjjj 0jjjjjjj = block-1 number of parameter = 00H

d1[2]

0kkkkkkk 0kkkkkkk = block-2 number of parameter = Effect Part Number

This is the part number that selects the effect (Fx). The part number is defined as

shown below.

Line/Segment

Part#

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

DSP1 / Segment 0 .... 0000H

Segment 1 .... 0001H

Segment 2 .... 0002H

Segment 3 .... 0003H

DSP2 / Segment 0 .... 0004H

Segment 1 .... 0005H

Segment 2 .... 0006H

Segment 3 .... 0007H

DSP3 / Segment 0 .... 0008H

Segment 1 .... 0009H

Segment 2 ... 000AH

Segment 3 .... 000BH

DSP4 / Segment 0 .... 000CH

Segment 1 ... 000DH

Segment 2 .... 000EH

Segment 3 .... 000FH

Master .................................... 0010H

System Chorus ....................... 0011H

System Reverb ....................... 0012H

System Noise Gate ................. 0013H

d1[3]

0lllllll 0lllllll = block-3 number of parameter = 00H

d1[4]

0mmmmmmm 0mmmmmmm = block-4 number of parameter = 00H

✩ One data size (number of bits) minus 1

(Depends on the parameter. See the following section for details.)

d3[0] 000zzzzz

zzzzz = number of bits - 1

When zzzz + 1 is: The number of data bytes is:

1 to 7 1

8 to 14 2

15 to 21 3

22 to 28 4

29 to 35 5

Fx (Effect) Select Mdev Parameter, for example, is 16-bit data with the following values:

zzzzz = 15

Data bytes = 3

✩ Parameter Value

(Depends on the parameter. See 4.5.3 for details.)

16 bits

d4[0] 0xxxxxxx yyXXXXXXXxxxxxxx = Data

d4[1] 0XXXXXXX

d4[2] 000000yy

4.5.3 Parameter Ids and Bit Sizes

The following three parameters can be used to specify the effect parameter set for the source you

want to call up.

ParaID

Parameter

Bit*Len

Value

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

0098H

MdevID

16

Fx (Effect) Parameter Set MdevID = BankROM = 1F00H

0099H

TypeID

16

Fx (Effect) Parameter Set TypeID *Note 1

009AH

Num

16

Serial number 0000H - Maximum number (depends on the

effect) inside memory device with same ID indicated by

Mdev-Type

*Note 1

See "MIDI Implementation" for information about TypeID.

4.5.4 Patch Parameter Effect Select Bulk Dump

This effect select block is also sent when performing a patch parameter bulk dump, but the effect

select block cannot be sent as a bulk dump alone.

4.6 Patch Effect Macro Select

4.6.1 Patch Parameter Effect Macro Select

The following parameter values can be sent in order to actually specify effect macro preset data.

* Num = Number of macro to be assigned (See the "MZ-2000 Effect Module Preset List.")

The array number at this time is indicated by the DSP part.

4.6.2 Effect Macro Select Parameter Control Message Format

When performing an operation or reference of the patch parameter's effect select parameter, cre-

ate and send a message like the one below that specifies the appropriate effect part and parameter

ID.

tt

0100aaaa

aaaa = IPC..."SYSEX_ACT_IPC" = 00H

IPR..."SYSEX_ACT_IPR" = 01H

d0[0]

00100000

Parmeter Modify Message ID = 20H

d0[1]

0000cccc

cccc = Category = CAT_PAT = 01H

d0[2]

0ttttttt

0TTTTTTT0ttttttt = Type ID = _PatchId00 = 0000H

d0[3]

0TTTTTTT

d0[4]

0mmmmmmm

0MMMMMMM0mmmmmmm = MDEV ID = 2F00H (RAM)

d0[5]

0MMMMMMM

d0[6]

0sssssss

0SSSSSSS0sssssss = Section = 0000H Fixed

d0[7]

0SSSSSSS

d0[8]

0nnnnnnn

00NNNNNNNnnnnnnn = PS Number = 0000H Fixed

d0[9]

0NNNNNNN

d0[10] 0ppppppp

qqPPPPPPPppppppp = Parameter ID

d0[11] 0PPPPPPP

= Applicable Parameter ID

(See the next section.)

d0[12] 0rbbbbqq bbbb = number of parameter block - 1 = 04H

r = array flag

Fx (Effect) Select is an array parameter, so its value is fixed at 01H.

d1[0]

0iiiiiii

0iiiiiii

= block-0 number of parameter = 00H

d1[1]

0jjjjjjj

0jjjjjjj

= block-1 number of parameter = 00H

d1[2]

0kkkkkkk

0kkkkkkk

= block-2 number of parameter = 00H

d1[3]

0lllllll

0lllllll

= block-3 number of parameter = 00H

d1[4]

0mmmmmmm

0mmmmmmm = block-4 number of parameter = 00H