Advanced BIOS Functions
6-14
Table 6-5 Duration Values
DURATION
FUNCTION (FOR REST NOTE)
0
0
whole
~
1
J.
dotted 1/2
-...
2
d
1/2
---
3
J.
dotted 1/4
~.
4
J
1/4
~
5
P.
dotted 1/8
i.
6
J)
1/8
7
7
~~. dotted 1/16
7.
8
~
1/16
1
9
~
1/32
. .
1
The format of the scale data command follows.
[S] note [duration]
The accent command is indicated by the value S in the scale data command. Both
accent and duration are optional. The accent applies only to the note value it
preceeds. The duration is effective until the next duration is specified.
The complete melody data format, then, is:
[control data] [scale data] ...
The control data is effective until the next control data is specified.
An example of melody data follows.
M2
TI
+A3
SG#l
SE5-A#O
T3-F4
S-D#2 ...
'?
Y
~
Y.,;>J
C(C/
Y
control
scale
control
scale
da~
d~a
da~
da~