Well I don't think that keyboards have speakers
If your computer doesn't beep when you turn it on, then it's likely that the speaker inside your PC isn't connected... And there is no script available that can fix that
Maybe there should be an option to play a MP3, WAV file etc. Through the computers normal speakers?
Cloudy