beautypg.com

10 drum setup, Mz-2000 midi implementation – Casio MZ-2000 User Manual

Page 49

background image

48

MZ-2000 MIDI Implementation

4.9.2.2 Mix Parameter Set Bulk Dump

The Mix Parameter Set can be sent and received using bulk dump. There are two protocols, One-

Way and Handshake, which are the same as those described under "4.1 MZ-2000 Sound Source

Common System Exclusive Format."

The following shows the section that applies to Mix only.

tt

0100aaaa

aaaa = BDS..."SYSEX_ACT_BDS" = 02H

BDR..."SYSEX_ACT_BDR" = 03H

HDS..."SYSEX_ACT_HDS" = 04H

HDR..."SYSEX_ACT_HDR" = 05H

HDA..."SYSEX_ACT_HDA" = 06H

HDJ..."SYSEX_ACT_HDJ" = 07H

HDE..."SYSEX_ACT_HDE" = 08H

d0[0] 0ooocccc

cccc = Parameter Set Category = MIX = 04H

ooo = 00H

d0[1] 0ttttttt

0TTTTTTT0ttttttt = Type ID = 0000 Fixed

d0[2] 0TTTTTTT

d0[3] 0mmmmmmm

0MMMMMMM0mmmmmmm = Mdev ID = Internal RAM = 2F00 Fixed

d0[4] 0MMMMMMM

d0[5] 0sssssss

00SSSSSSSsssssss = Section Number = 0000 Fixed

d0[6] 0SSSSSSS

d0[7] 0nnnnnnn

00NNNNNNNnnnnnnn = PS Number = 0000 Fixed

d0[8] 0NNNNNNN

The volume of data that follows the above is very large, so it is not included here. This data can be

looked up by sending HDR and BDR.

4.10 Drum Setup

4.10.1 Drum Setup Parameter Control Message Format

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_SUB (05H)

d0[2]

0ttttttt

0TTTTTTT0ttttttt = Type ID

= Target operation Sub Type ID = 05H

d0[3]

0TTTTTTT

d0[4]

0mmmmmmm

0MMMMMMM0mmmmmmm = MDEV ID = 2F00H

d0[5]

0MMMMMMM

d0[6]

0sssssss

0SSSSSSS0sssssss = Section Number = 0000H Fixed

d0[7]

0SSSSSSS

d0[8]

0nnnnnnn

00NNNNNNNnnnnnnn = PS Number = 00H -- 03H

d0[9]

0NNNNNNN

The Parameter Set Number specified here is a Map number.

0 = Map1, 1 = Map2, 2 = Map3, 3 = Map4

d0[10] 0ppppppp

qqPPPPPPPppppppp = Parameter ID = 01H -- 08H

d0[11] 0PPPPPPP

For details, see "4.10.1.1 Drum Setup Parameter ID and Value

Range."

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

r = array flag = 0

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

d1[1]

0jjjjjjj 0jjjjjjj = J:Setup Block= 0 to 127

Specifies the Drum Part Note Number.

✩ One data size (number of bits) minus 1

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

✩ Parameter Values

7 bits or less

d4[0] 0xxxxxxx xxxxxxx = Data

4.10.1.1 Drum Setup ParameterID and Value Range

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

ParaID

Parameter

Bit Value

default

Description

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

0001

PlayNoteNum

7

00H - 7FH

--

Pitch coarse

0002

Level

7

00H - 7FH

--

Instrument TVA Level

0003

AssignGrp

7

00H - 7FH

--

Group Number(0:Non,1--127)

0004

Pan

7

00H - 7FH

--

-64(RANDOM)

-63(LEFT),+63(RIGHT)

0005

RevSendLevel

7

00H - 7FH

--

Reverb Send Level

0006

RxNoteOff

1

00H - 01H

--

0:Off, 1:On

0007

ChoSendLevel

7

00H - 7FH

--

Chorus Send Level

0008

RxNoteOn

1

00H - 01H

--

0:Off, 1:On

4.10.1.2 Setup Example

Example: Drum Setup Map2, KeyNumber=60(C4), Level=127

Header Block (Hexadecimal)

No. Data

00

F0

[System Exclusive Status]

01

44

[Manufacturer's ID] 44H = CASIO ID

02

7E

[Model ID MSB] MZ-2000 Sound System Model-ID MSB

03

02

[Model ID LSB] MZ-2000 Sound System Model-ID LSB

04

00

[Message Version]

05

10

SysEx Device Id

Data Block

No. Data

06

40

tt

:Message Type

07

20

d0[0] :Message Id

08

05

d0[1] :CAT CAT_SUB

09

05

d0[2] :Type Id LSB : **05H

10

00

d0[3] :Type Id MSB : 00**H

11

00

d0[4] :MdevId LSB :

12

2F

d0[5] :MdevId MSB :

13

00

d0[6] :Section Number LSB

14

00

d0[7] :Section Number MSB

15

01

d0[8] :Parameter Set Number LSB ( Map2 = **01H )

16

00

d0[9] :Parameter Set Number MSB ( Map2 = 00**H )

17

02

d0[10] :Parameter ID LSB ( Level ParameterID = 2 )

18

00

d0[11] :Parameter ID :

19

04

d0[12] :Parameter ID MSB & Block Number & Array Flag

20

00

d1[0] :Main Block

21

3C

d1[1] :Setup Block ( 3CH = KeyNumber 60 )

22

06

d3[0] :Number of Data bit - 1 (Data number of bits = 7)

23

7F

d4[0] :Data LSB ( Level = 127 )

EOX

No. Data

24

F7

[EOX]