Just out of curiosity how can a beep sound be generated?

My interest in this came about because echo -e '\a' no longer works. Also print '\a' doesn't work, presumably for the same reason. The following is also mute:

import Tkinter
Tkinter.Tk().bell()

Print '\a', under Idle, causes a bell icon to be displayed so it seems that the lack of a beep is due to a system setting.

A Google search has shown several methods to play .wav files, some easier than others. Perhaps Pulse Audio has made '\a' redundant?

--
Regards,
Phil
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to