Quote:

beep();
Halts game execution for 100 ms while playing a short sound. Useful during function development, as it allows to quickly find out whether a certain instruction was reached or a certain function was executed at all. The sound can be given through the beep_sound sound pointer, e.g.:
SOUND* beep_sound = "beep.wav";


The method mentioned in the manual.