Re: [Tutor] Beep sound

2013-03-24 Thread Phil
On 25/03/13 00:27, Bod Soutar wrote: Your on the right track, the other thing I've seen is pcspkr being blacklisted. Look in /etc/modprobe.d/blacklist.conf for a line like 'blacklist pcspkr' if it's there, remove it then modprobe or reboot and it should be working again. Thanks Bodsda, I had

Re: [Tutor] Beep sound

2013-03-24 Thread Phil
On 25/03/13 04:30, xDog Walker wrote: Maybe something here: http://code.activestate.com/search/recipes/#q=beep Thanks xDog, yet another sound library (pyaudio) to play with. -- Regards, Phil ___ Tutor maillist - Tutor@python.org To unsubscribe o

Re: [Tutor] Beep sound

2013-03-24 Thread xDog Walker
On Friday 2013 March 22 18:48, Phil wrote: > 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.T

Re: [Tutor] Beep sound

2013-03-24 Thread Bod Soutar
> Thank you for your reply Bodsda, > > Actually, I didn't think there was any need to make any guesses since "echo > -e" is exclusively a Linux command. Anyway, I had already spent some time > searching for an answerer and the answer given most often was to "modprobe > pcspkr". This didn't lead to

Re: [Tutor] Beep sound

2013-03-24 Thread Phil
On 24/03/13 18:24, eryksun wrote: PulseAudio also suggests that you're using Linux or BSD, though I think it does have ports for OS X and Windows. The ossaudiodev module exists on Linux/BSD, so try something relatively simple like outputting a square wave to /dev/dsp. Here's an example device

Re: [Tutor] Beep sound

2013-03-24 Thread eryksun
On Sun, Mar 24, 2013 at 12:38 AM, Phil wrote: > On 24/03/13 12:18, Steven D'Aprano wrote: >> Nonsense. Not only does echo exist as a command on any Unix, including >> Apple Mac OS, FreeBSD, OpenBSD, Solaris and others, it also exists on >> Windows and DOS: > I don't want to appear augmentative but

Re: [Tutor] Beep sound

2013-03-23 Thread Phil
On 24/03/13 12:18, Steven D'Aprano wrote: On 24/03/13 10:31, Phil wrote: Actually, I didn't think there was any need to make any guesses since "echo -e" is exclusively a Linux command. Nonsense. Not only does echo exist as a command on any Unix, including Apple Mac OS, FreeBSD, OpenBSD, Solar

Re: [Tutor] Beep sound

2013-03-23 Thread Steven D'Aprano
On 24/03/13 10:31, Phil wrote: Actually, I didn't think there was any need to make any guesses since "echo -e" is exclusively a Linux command. Nonsense. Not only does echo exist as a command on any Unix, including Apple Mac OS, FreeBSD, OpenBSD, Solaris and others, it also exists on Windows

Re: [Tutor] Beep sound

2013-03-23 Thread Phil
On 24/03/13 03:42, Bod Soutar wrote: On Mar 23, 2013 2:24 AM, "Steven D'Aprano" mailto:st...@pearwood.info>> wrote: > > On 23/03/13 12:48, Phil wrote: >> >> Just out of curiosity how can a beep sound be generated? >> >> My interest in this came about because echo -e '\a' no longer works. A

Re: [Tutor] Beep sound

2013-03-23 Thread Bod Soutar
On Mar 23, 2013 2:24 AM, "Steven D'Aprano" wrote: > > On 23/03/13 12:48, Phil wrote: >> >> 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

Re: [Tutor] Beep sound

2013-03-22 Thread Steven D'Aprano
On 23/03/13 12:48, Phil wrote: 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',

[Tutor] Beep sound

2013-03-22 Thread Phil
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 ico