How to output a sound in the Mac Terminal

How do I output a sound in the Mac Terminal? It can be as simple as a beep or a bloop or anything along those lines. Now how would I play the sounds in the background while a 'text game' is playing kind of like music or something.
Hello Handge,

I am not familiar with a Mac, but you might try std::cout << "\a"; the escape sequence for the BELL.

Hope that helps,

Andy
Topic archived. No new replies allowed.