beep(...)
beep(sound);
beep(); // flash the menu bar
The beep command causes your iPad to play a beep sound. If a sound is not specified, beep will flash the menu bar. See sound for a list of built-in sounds.