Melody Assembler winmla (3)

 

Melody Data

 

 

 

Sample 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); (abcd)

 

0

 

 

 

 

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

 

4

 

 

 

 

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

END

 

 

 

 

 

End mark of control data

Development Tools

Tempo data

 

 

 

 

 

 

 

 

 

 

.

 

 

 

.

Tempo data

Tempo (

 

=.)

Tempo data

Tempo (

 

=.)

0

30.0

 

 

8

60.0

 

 

1

32.0

 

 

9

68.6

 

 

2

34.0

 

 

10

80.0

 

 

3

36.9

 

 

11

96.0

 

 

4

40.0

 

 

12

120.0

 

 

5

43.6

 

 

13

160.0

 

 

6

48.0

 

 

14

240.0

 

 

7

53.3

 

 

15

480.0

 

 

Jump bit

0:Not jumped.

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

Note data

 

 

 

 

 

 

 

 

 

Note data

0

1

2

3

4

5

6

7

Note

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Rest

 

 

 

 

 

 

 

 

 

 

Control bit

 

 

 

 

 

 

 

 

 

0:Attack is disabled. (Tie)

1:Attack is enabled.

2:Rest

3:End of a melody