How do you get the system to BEEP!

Andy Maskell's icon

This is probably a dumb question but is there a way to get Max to issue a sound via the OS?

I have an idea to create an alarm to go with the clock display that I have running on my MIDI controller. I'm sure that there are plenty of ways in which I could get Max to play an alert sound via my audio interface but to keep things simple I was wondering if there was a simple way to get Max to output an alert sound via the OS?

Andy Maskell's icon

So, I've got my alarm clock working and at present it's generating an alarm sound by playing the telephone sound on the GS Wavetable Synth as well as flashing a lamp on my X-Touch MIDI controller. However, hearing the sound is dependent on the sound from my PC audio going through the amp I'm controlling with the patch and the MIDI controller but I won't hear anything if the amp is muted. I really would like to find a way to beep the built in speaker at OS level as a backup.

Dan Laüt's icon

Getting to the system beep is well nigh impossible. I use this:

Max Patch
Copy patch and select New From Clipboard in Max.