[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function: Sound()
Sound() will generate sound of a specified
frequency for an undeterminate time. Using this
function it is possible to generate Smoother tones
as the speaker does not have to be turned On and
Off for different frequencies, or kept on at least
1/18th of a second. The thing not to forget is to
turn the speaker off using Nosound().
Syntax: Sound(<nFreq>)
Arguments: <nFreq> is the frequency you wish to set, any
frequency from 20 up to a very very high pitch are
supported.
Returns: Nothing.
Usage: * - An example beep()
Sound(550)
Delay(20)
Sound(880)
Delay(20)
NoSound()
See Also:
NoSound()
Delay()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson