Home Contents | # audio.buzz | Audio | Core4 Lua Commands

## SYNOPSIS

audio.buzz([freq, length])

## DESCRIPTION

Generates a beep signal to the piezo buzzer output. freq specifies the frequency and length the time in ms. If frequency is zero, a pause is inserted.

Without arguments, the function generates a default beep.

All buzz requests are buffered and processed concurrently. The Lua program continues while beeps and pauses are processed.

Please note that a piezo buzzer is not part of the default hardware configuration.

## EXAMPLE

>
audio.buzz(4000, 100)

## SEE ALSO

audio.beep, audio.mix, audio.mixers, audio.play, audio.source, audio.sources, audio.vol