HTBasic Help
×
Menu
Index
BEEP
Sound generation capabilities vary from version to version. On computers that do not provide control for variable frequency sound generation, BEEP generates a beep or bell sound. The range of the duration and frequency are subject to the limits of the computer hardware. Contrast the following capabilities with HP BASIC. HP BASIC rounds the frequency value to a multiple of 81.38 Hz and supports a range of 81 Hz to 5.208 KHz.
 
On the IBM PC, the period (not the frequency) is rounded to a multiple of 0.838 microseconds. The range of frequencies is 40.7 Hz to 32.767 KHz.