[Tkinter-discuss] why no sound?

Michael Lange klappnase at web.de
Wed Aug 24 10:47:58 CEST 2011


Thus spoketh "Michael O'Donnell" <michael.odonnell at uam.es> 
unto us on Tue, 23 Aug 2011 14:49:24 +0200:

> In a linux terminal, try:
> 
> xset b on
> 
> Then try the tkinter coder again.
> 
> May or may not work, don't have linux here to test it.
> 
> mick

It works here (debian squeeze).

I am not sure if the OP is aware of the fact that the "bell" sound is
supposed to come out of the PC speaker, not the sound card. So if there
is no PC speaker or it is turned off you will not hear a thing.

I don't know about windows, on unix systems you could also try a more
generic PC speaker test than Frame.bell() with

>>> print '\a'

>>> 

from the python prompt or even

 echo -e "\a"

from a standard shell.

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Is not that the nature of men and women -- that the pleasure is in the
learning of each other?
		-- Natira, the High Priestess of Yonada, "For the World is
		   Hollow and I Have Touched the Sky", stardate 5476.3.


More information about the Tkinter-discuss mailing list