EasyManua.ls Logo

Sharp MZ-800 - Page 126

Sharp MZ-800
221 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
(iii)
Duration
specification
The
duration
specification
determines
the
length
of
the
specified
note.
Dura-
tions
from
1/32
to
1
are
specified
as
numbers
from
0
to
9
as
shown
below.
(When
R
is
specified,
the
length
of
the
silent
interval
is
determined.)
7;
F
FF
#
}
meme
Dotted
Dotted
Dotted
Dotted
W32rest
Wrest
Freres:
WErest
yraresr
W4rest yates:
W2eest
yro
reg,
Whole
rest
Pode
dad
1
Ds
tted
Dotted
Dotted
Dotted
1/32
note
1/16
note
1/16
note
1/8
note
1/8
note
1/4
note
1/4
note
1/2
note
1/2
note
Whole
note
°
4
2
3
4
S
6
7
8
9
The
following
program
plays
‘Oh!
Susanna’’,
composed
by
Stephen
Foster:
10
TEMPO
6
20
A1$
="'02G1A1B3
+
D3
+
D3
+
E3
+
D3B3G4A
1B3B3A3G3A6G1A1B3
+
D3
+
D3
+
E3
+
D3B3G4A1B3B3A3A3G6R3"
30
A2$
=''G1A1G3B3B3
+
C3B3G3G4G
1G3G3G3G3E6G
1A1G3B3B3
+
C3B3G3G4G1G3G3E3E3G6R3""
40
MUSIC
A1$;A2$
50
END
The
following
options
can
be
defined
in
the
<melody>
specification:
n=integer
Default
ry
value
value
Desceos
On
O0to6
2
Sets
the
current
octave.
The
frequency
of
A
is
|
440Hz
if
n=2.
Nn
0
to
83
Specifies
the
note
directly
through
the
cor-
responding
note
number
rather
than
through
thi
octave
number
and
note
name.
The
values
of
n
are
listed
in
the
table
on
the
following
page.
Values
NO
to
N8
means
rest.
—-
Tn
lto7
4
Sets
the
tempo
in
the
same
way
as
the
TEMPO
statement.
Vn
0
to
15
15
Sets
the
sound
volume,
The
volume
is
maxi-
mum
when
n=15
and
no
sound
is
generated
4
when
n=0.
Sn
0to7
8
Sets
the
envelope
pattern
(sound
waveform).
For
the
values
of
n,
see
the
figures
for
enve-
I
lopes
on
the
following
page.
Mn
1
to
255 255
Always
used
with
the
S
parameter
to
specify
the
rate
at
which
the
envelope
pattern
is
to
change.
1
=approx.
The
rate
is
maximum
when
n=
1
and
decreases.
10m/s
The
slope
of
the
envelope
becomes
slower
as
the
value
of
n
increases.
Values
of
Mn
which
are
too
large
may
generate
inaudible
sound
depend-
ing
on
the
envelope
pattern.
Ln
0to9
5
Sets
the
length
of
the
note.
|

Other manuals for Sharp MZ-800

Related product manuals