# beep

Beep beep!

Syntax

    beep [-p=<pitch>] [-d=<duration>] [-s] [volume]

Description

Beeps (when possible :D)
...
No , really..
This command rings the bell on the keyboard (the PC speaker). The volume must be in range 0-100; the default is 100.
The pitch is specified in Hz and must be positive.
The duration is specified in milliseconds.
An invalid (or unspecified) pitch, volume or duration makes KVIrc to use the default values set by the system.
The duration of the bell is only indicative and can be shortened by a subsequent call to /beep (that will override the currently playing one).
On Windows, the bell is always synchronous and it is not event granted that the bell will be a bell at all... you might get the system default sound instead.. so be careful if you want to write portable scripts :)
If the -s switch is specified the bell becomes synchronous: KVIrc waits the bell to complete before continuing.
Obviously -s is senseless on Windows.
(WARNING : the main KVIrc thread is stopped in that case so if you play long notes (duration > 100) the entire application will appear to freeze for a while).
The precision of the bell pitch, duration and volume is strongly dependant on the system and the underlying hardware.

Index, Commands

KVIrc 3.2.0 Documentation
Generated by root at Thu Mar 9 08:43:54 2006