beautypg.com

7 drawbar tone generator, Mz-2000 midi implementation – Casio MZ-2000 User Manual

Page 28

background image

27

MZ-2000 MIDI Implementation

✩ Data array number

d2[0] 0ooooooo

d2[1] 0ppppppp oooooooppppppp = top index number of array to send

(Send start array number)

The length of Fx (Effect) Macro is 4, so this value is 0000H to 0003H.

d2[2] 0qqqqqqq qqqqqqq = number of array members to send

(Number of send members in current packet)

The length of Fx (Effect) Macro is 4, so this value is 0000H to 0003H.

✩ 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:

Data bytes = 3

✩ Parameter Values

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

16 bits

d4[0] 0xxxxxxx yyXXXXXXXxxxxxxx = Data

d4[1] 0XXXXXXX

d4[2] 000000yy

4.6.3 Parameter IDs and Bit Sizes

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

call up.

ParaID

Parameter

Bit*Len

Index #

Value

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

009DH

Num

16*4

DSP

Fx (Effect) Macro Parameter Set #

0...DSP1

0000H - 7F7FH

1...DSP2

2...DSP3

3...DSP4

4.6.4 Patch Parameter Effect Macro Select Block Bulk Dump

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

effect macro select block cannot be sent as a bulk dump alone.

4.7 Drawbar Tone Generator

4.7.1 Drawbar TG Parameter Settings

This section provides information on the following two items.

* MIDI messages received by UserDorg(Tg)

* MIDI messages receive by parts received by the part receiving a drawbar Program Change

message

4.7.2 Parameter Operations

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_TG (02H)

d0[2]

0ttttttt

0TTTTTTT0ttttttt = Type ID

= Operation target Tg Type ID = 02H

d0[3]

0TTTTTTT

d0[4]

0mmmmmmm

0MMMMMMM0mmmmmmm = MDEV ID = 2F00H

d0[5]

0MMMMMMM

d0[6]

0sssssss

0SSSSSSS0sssssss = Section Number = 0000H:UserDorg

d0[7]

0SSSSSSS

0001H:TempDorg

The section number is closely related to the PS number indicated by d0[8]. The

PS Number is recorded in the d0[8]PS Number item.

Section UserDorg

Edited parameters are stored in this section when saved.

When this section is edited, the edited parameters are not reflected in the

tone until the applicable user drawbar tones are assigned to Part by a pro-

gram change message, etc.

Note

Even if the applicable user drawbar tone is already assigned to Part, edits

are not reflected until the tone is assigned again.

See Section TempDorg, below.

Section TempDorg

This section (parameter area) is reserved for note playing purposes.

When a drawbar tone is selected by BankMSB/ProgramChange, the preset

tone and user tone parameters are copied to this section.

When a part has a Drawbar tone assigned to it and d0[8], d0[9] of a received

MIDI messeage specifies the corresponding Paremter Set, the Fett setting

change is reflected immediately, while all other parameter changes are re-

flected the next time the part is played.

Note

Since this is a temporary area, the original PresetDrawber/UserDrawbar

settings are restored whenever the program number is called up again by

Part.

d0[8] 0nnnnnnn 00NNNNNNNnnnnnnn = PS Number = Usertone number 0 to 39, or

d0[9] 0NNNNNNN Oscillation Temporary Tone Number

User Tone Numbers:0 to 39

These parameter set numbers correspond to user drawbar tone numbers.

To edit user tones by directly specifying a user drawbar tone, specify

UserDorg for section d0[7].

Oscillation Temporary Tone Numbers: 0 to 59

These parameter set numbers correspond to oscillation temporary area num-

bers.

Use these numbers when you want to reflect a drawbar tone in a previously

selected part immediately.

The following shows the relationship between the specified parameter set

number, and then preset tone numbers and user tone numbers.

0 to 19 : Preset drawbar tone numbers 0 to 19

20 to 59 : User Drawbar tone numbers 0 to 39

d0[10] 0ppppppp qqPPPPPPPppppppp = Parameter ID

d0[11] 0PPPPPPP

d0[12] 0rbbbbqq bbbb = Number of parameter block - 1 = 02H

r = array flag

In the case of TgTypeDorg, the char Feet[_MaxDrawbar]; preset member is r = 1.

In other cases, r = 0.

d1[0] 0iiiiiii 0iiiiiii = I:Main Block = 0

d1[1] 0jjjjjjj 0jjjjjjj = J:TgCommon = 0

d1[1] 0jjjjjjj 0jjjjjjj = J:Preset = 0

d1[2] 0kkkkkkk 0kkkkkkk = K:PresetWave = 0