Is there a simple/efficient way to play a frequency at a volume using c++? I need a way to play sound through the speakers so I don't think Beep() will do the job, but I want to have access to the audio in the memory so I don't thing PlaySound() will work either. I do not want to use any libraries either. I just want to play a frequency, I can load the input file myself. Is there some way I can do this by just using the libraries that come standard on windows XP OS?