[Tutor] No beep from winsound.Beep(500, 500)
Chris Fuller
cfuller084 at thinkingplanet.net
Sat Dec 19 11:02:15 CET 2009
Something to keep in mind is that the audio output of your computer and the
system speaker are independent. Sometimes the BELL character (ACSII 0x07)
will sound the system speaker, spending on your OS, drivers, etc.
The winsound docs say it's the speaker, which is connected to the motherboard
with an odd four pin connector (with only two wires). It's normally only used
during boot up, so it could have been left disconnected and not missed.
Cheers
On Saturday 19 December 2009, Richard D. Moores wrote:
> My laptop, a Toshiba Satellite running Python 3.1 and Vista 64-bit
>
> SP2, with the speakers on and otherwise working, won't give me a beep:
> >>> from winsound import Beep
> >>> Beep(500, 500)
>
> Traceback (most recent call last):
> File "<pyshell#1>", line 1, in <module>
> Beep(500, 500)
> RuntimeError: Failed to beep
>
> Please give me some hints as to what I can do about this.
>
> Thanks,
>
> Dick Moores
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list