In everyone's favorite language, BASIC, the command BEEP does just that--it emits a short beep.