CHAPTER 11: MELODY ASSEMBLER

(2-4) Pitch data

The range for selecting pitches differs according to the reference frequency that can be selected from the [Generate] dialog box of winmla. The frequency should be selected according to the the OSC1 oscillation circuit.

Table 11.4.4.4 shows the correspondence between pitches and HEX codes (example) for each reference frequency. In melody data, pitch data should be described.

Table 11.4.4.4 Pitch Data (example)

Reference frequenc: 38.4 kHz

Pitch data

HEX data

Pitch data

HEX data

D4

04

A5

B1

D4#

12

A5#

B5

E4

20

B5

B8

F4

2F

C6

BC

F4#

3B

C6#

C0

G4

44

D6

C4

G4#

51

D6#

C8

A4

5B

E6

CD

A4#

65

F6

CE

B4

6C

F6#

D3

C5

74

G6

D4

C5#

7C

G6#

D9

D5

84

A6

DB

D5#

8D

A6#

DC

E5

92

B6

DE

F5

98

C7

E0

F5#

9E

C7#

E2

G5

A4

D7

E4

G5#

AB

D7#

E6

Reference frequenc: 32.768 kHz

Pitch data

HEX data

Pitch data

HEX data

C4

0A

E5

A3

C4#

18

F5

A6

D4

27

F5#

AD

D4#

33

G5

B0

E4

3F

G5#

B7

F4

48

A5

BA

F4#

55

A5#

BE

G4

5F

B5

C2

G4#

66

C6

C7

A4

71

C6#

CB

A4#

79

D6

CC

B4

81

D6#

D1

C5

89

E6

D2

C5#

8E

F6

D7

D5

94

F6#

D8

D5#

9D

G6

DA

All of the half tones should be described using pitches with a #.

The pitch data consists of a letter that indicates a scale code and a number that indicates an octave number.

"RR" should be described for rests. When specifying "RR", the control bit must be set to 2 for the middle of the melody or 3 for the end of the melody.

(2-5) Jump bit

The jump bit controls the melody flow. It should be set to 1 to repeat a phrase or to jump to another part of the same melody or another melody. It must be set to 1 at the end of a melody if a rest is set there.

0Not jumped.

1Jump is enabled. Set also when changing tempo and specifying a rest at the end of a melody.

(2-6) Tempo No.

Tempo can be selected by a number (0 or 1) from two types set at the tempo data field. However, set tempo No. 0 at the beginning of a melody. Furthermore, it is necessary to set the jump bit to 1 when changing tempo in the middle of the melody.

S5U1C63000A MANUAL

EPSON

273

(S1C63 FAMILY ASSEMBLER PACKAGE)