Melody data, Melody assembler winmla (3) development tools – Epson S5U1C63000A User Manual

Page 341

Advertising
background image

Melody Data

; melody sample file

Comment

TEMPO

Start mark of tempo data

; m0-tempo 0,1

TEMPO 0 0 = 4 TEMPO 0 1 = 10

Tempo data (0–15)
Tempo No. (0, 1)
Melody No. (0–15)

END

End mark of tempo data

MAIN

Start mark of main data

;no. cntl note scale jump tempo

;m0 test

0 1 7 G5 0 0

(a)

1 1 6 F5 0 0

(b)

2 1 5 D5# 0 0

(c)

3 2 4 RR 1 0

(d)

4 0 3 E5 0 1

(e)

5 1 2 E5 0 1

(f)

6 1 1 D5 0 1

(g)

7 1 0 C5 0 1

(h)

8 3 0 RR 1 1

(i)
Tempo No. (0, 1)
Jump bit (0, 1)
Pitch data (D4–D7#/38.4kHz, C4–G6/32.768kHz, RR: Rest)
Note data (0–7)
Control bit (0–3)
Main data No.(0, 1, 2, ...494 max.)

END

End mark of main data

CONTROL

Start mark of control data

m0

Melody No. (m0–m15)

0

m0 starts from (a); (a

b

c

d)

0

Jump from (d) to (a); (a

b

c

d)

4

Jump from (d) to (e); (e

f

g

h

i)

END

End mark of control data

Sample melody Data

Tempo data

Jump bit

Melody Assembler winmla (3)

Development Tools

Tempo data

0
1
2
3
4
5
6
7

Tempo ( )

30.0
32.0
34.0
36.9
40.0
43.6
48.0
53.3

Tempo data

8
9

10
11
12
13
14
15

Tempo ( )

60.0
68.6
80.0
96.0

120.0
160.0
240.0
480.0

=.

.

=.

.

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

Control bit

0: Attack is disabled. (Tie)
1: Attack is enabled.
2: Rest
3: End of a melody

Note data

Note data

Note

Rest

0

1

2

3

4

5

6

7

Advertising