On Tue, 23 Jul 2013 17:52:37 +0100 nev young nev@nevilley.org.uk wrote:
I find it hard to believe that such a simple thing is eluding me. I just have to be looking in the wrong place.
I want to make the speakers on my PC go beep or beeeep.
Currently writing a project in C but I'm pretty flexible on source language.
According to a book I have here, it says 'many C compilers provide a 'sound' function and then lists this :-
#include <dos.h> (it was written with Windows in mind obviously!) void sound(unsigned frequency); void nosound(void);
It then goes on to list a program to produce a siren sound but I won't trouble you with that ;-)