[Tutor] No beep from winsound.Beep(500, 500)

Richard D. Moores rdmoores at gmail.com
Sat Dec 19 13:55:38 CET 2009


On Sat, Dec 19, 2009 at 03:48, ALAN GAULD <alan.gauld at btinternet.com> wrote:
>>> Try
>>> echo ^G
>>> in a DOS box (ie Control-G)
>>
>>You mean the command line?
>>
>> C:\Users\Dick>echo ^G
>>
>> Nothing.
>
> You should get a beep - that's what Ctrl-G is,
> the Beep character.
>
> That means your windows sound setup is
> faulty somehow, it might be turned off
> in the BIOS...

Alan, did you see Marc Tompkins post suggesting that my 64-bit Vista
OS might be the cause?

"Richard -  It works (in Python 2.6, mind you) on my 64-bit Win7
machine, but I suspect that that may be because of Microsoft's
compatibility twiddling on the back end.  I Googled, and there seem to
be a number of reports of people having trouble with 64-bit Vista and
winsound.Beep().  I suspect that allowing programs access to the
system speaker is one of those things that MS decided to cut out in
Vista, but then decided to bring back in 7.

"Chris - if it were just a disconnected speaker, I don't think he'd
get the runtime error..."

What do you think?

Dick


More information about the Tutor mailing list