Enable JavaScript in the browser to display LibreOfficeDev Help pages.
Beep Statement
Plays a tone through the computer's speaker. The tone is system-dependent and you cannot modify its volume or pitch.

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).
Sub ExampleBeep
Beep
Beep
Beep
End Sub