Beeper

Beeper describes a speaker device. A Beeper instance contains the following methodes:

Table A.7. Beeper's methodes:

NameDescription
init()

The UObject constructor

Example

beeper = new Beeper();
play(frequency, duration)

Plays a beep of a custom frequency for a custom duration.

frequency is the frequency of the beep (in Hz), between 200 and 14000.

duration is the duration of the beep (in ms), 0 is infinite.

Example:

beeper.play(200,1000);