Is there a way to generate a short beep or click (as in the old OPL command "beep")?

It's for the metronome in my Musician app - it's all very well being able to summon up MID or WAV or MP3 sound files, but the very act of calling them is going to mess up the split second timing of the program.

Surely there's a simple way (or hack) to sound something like the built-in system keyclick noise? Or a simple beep?

Thanks
Steve Litchfield