Playing Sound

On a windows computer is there a way to play a beep with a certain pitch for a certain amount of time just like

Beep(2000,1000); //beep at pitch 2000 for 1000 milliseconds

except have the sound come out of the speakers plugged into the computer, without having to use an external sound file?
Sure, load the sound driver then pass it raw data until you like the sound it makes. On a Windows machine this will probably require you to do a lot more coding then you want to.
Topic archived. No new replies allowed.