Is there a way to take complete control of the motherboard speaker in Windows? So, instead of calling a function like this:
beep(durationMs, frequency);
I can use:
beepContinuous(frequency);
So all I have to specify is a frequency and it will output the correct voltage to play that frequency.