Sound Tone - Radio Shack PC-2 TRS-80 Owner's Manual

Pc-2 trs-80
Hide thumbs Also See for PC-2 TRS-80:
Table of Contents

Advertisement

BEEP
Sound Tone
BEEP
number, frequency, duration
number
is a numeric expression between 0-65535 and specifies the
number
of times the beep occurs.
frequency
is a numeric expression between 0-255 and specifies the
frequency
of the beep.
frequency
is
optional; if omitted, 8 is used.
duration
is a numeric expression between 0-65279 and specifies the lengh of each beep.
duration
is optional;
if omitted, 160 is used.
Abbreviations: B.
The PC-2 can produce sounds with the BEEP statement. You must specify the number of beeps. You can also
specify the frequency and duration (e.g., the length of each beep).
The frequency can range from 7kHz (0) to 230 Hz (255). This means that each unit of measurement between
0-255 is equal to about 2605Hz.
When you do not specify frequency, the PC-2 uses 8 (approximately 4 kHz.)
60

Advertisement

Table of Contents
loading

Table of Contents