Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RLIB 3.0a Reference - <b>function:</b> buzz() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function:    BUZZ()

Purpose:     Generate a buzzing sound for warnings or errors.

Syntax:      BUZZ( [ count ] )

Arguments:   count       - Optional numeric variable specifying the number
                           of times to make a BUZZ sound.  If no parameter
                           is specified, one BUZZ will be sounded.

Returns:     A numeric zero.

Description: Whenever you want to make the PC speaker emit a short "BUZZ"
             sound, such as when the user encounters an error condition,
             the Clipper function to do this is TONE(frequency,duration).
             For a Buzz sound, the frequency would be 100Khz and the
             duration should be around 6/18ths of a second.  Instead of
             having to remember the command TONE(100,6) as being the
             command to make a BUZZ sound, it is easier to simply use a
             function named BLIP(), BUZZ(), or BEEP().

Notes:       Nothing weird.

Example:     *-- user does something wrong
             BUZZ()

             *-- user does something really wrong!
             BUZZ(3)

Source:      RL_BUZZ.PRG

See also:    BEEP(), BLIP()

See Also: BEEP() BLIP()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson