Manual

149
_play
Nn Plays note n
out of the 84 possible notes. n may range from one to 84, or zero.
N36 specifies middle C. N37 specifies middle C-sharp. N38 specifies middle D.
N0 specifies a rest note.
on Selects octave n out of the seven possible octaves for all subsequent notes. n
may range from zero to six.
o0
selects the lowest octave.
o3
selects the middle
octave, which contains middle C.
o6
selects the highest octave. The user must
specify the "
o
" in lower case.
Pn Specifies a rest note of length 1/n. For example, P1 specifies a whole-note rest,
P2 specifies a half-note rest, L3 specifies third-note rest. n may range from one
to 64.
Tn Selects the tempo for all subsequent notes. n specifies the number of quarter-
notes per minute. For example,
T120
selects 120 quarter-notes per minute. n
may range from 32 to 255.
> Selects the next higher octave. If the user has the highest octave selected, PAL
will ignore this instruction.
< Selects the next lower octave. If the user has the lowest octave selected, PAL
will ignore this instruction.
# Sharpens the preceding note. For example,
C#
selects C-sharp.
+ Sharpens the preceding note. For example, C+ selects C-sharp. Same as #.
- Flattens the preceding note. For example,
C-
selects C-flat.
. Lengthens the preceding note by 50%. Each subsequent "." will lengthen the
note by an additional 50%. For example, "L4C" will play a quarter-note C.
"L4C#." will play a 3/8-note C-sharp. "L4E-.." will play a 7/16-note E-flat.
The following example plays the full middle scale in a rising manner at 120 quarter-notes per
second using music legato.
(T120MLL4o3CC#DD#EFF#GG#AA#B) _play
The following example plays a two octave falling scale at 70 half-notes (140 quarter-notes) per
second using music staccato.
(T140MSL2o4BB-AA-GG-FEE-DD-C<BB-AA-GG-FEE-DD-C) __play
Hints
PAL does not provide a mundane "beep" or similar operator. Instead, PAL relies upon any
operation equivalent to "(C) _play" to perform this function. The user should experiment with
different notes and durations to get the desired effect.










