Tandy 1000 Basic Reference Manual page 264

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter 10
I
BASIC Keywords
>
<
N n
P n
Tn
MF
MB
MN
Changes the current octave to the next higher
octave.
Changes the current octave to the next lower
octave.
plays a note.
n
may be in the range
0 to
84. In
the 7 possible octaves, there are 84 notes. Instead
of specifying the letter and the octave of the note,
you may specify its number 1 to 84. Specifying
zero means rest.
rests. n may be in the range 1 to 64 and has the
same meaning as
n
with the
L
option.
sets the number of quarter notes in 1 minute. n
may be in the range of 32 t o 255. If you omit n,
BASIC assumes 120 quarter notes in 1 minute.
That is a moderate tempo. See the SOUND
statement for information on beats per minute for
common tempos.
plays as a dotted note. BASIC plays the note one-
half its length longer. You may use more than
one dot after each note. BASIC scales the length
of time accordingly. Dots may also appear after
the
P
option to scale the length of the rest.
plays the music in the foreground, which includes
sounds made by both PLAY and SOUND. This
means that each subsequent note or sound does
not start until the previous note or sound is fin-
ished. If you omit MF and MB, BASIC assumes
MF.
plays the music in the background, which in-
cludes sounds made by both PLAY and SOUND.
This means that each note or sound is placed in
a buffer allowing the BASIC program to continue
execution while music plays in the background. A
maximum of 32 notes and/or rests can play in
background at a time.
sets "music normal"; each note plays 718 of the
duration as set by the L option. If you omit MN
and MS, BASIC assumes MN.
262

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents