Re: Beep on WIndows 11

2023-11-12 Thread Chris Angelico via Python-list
On Mon, 13 Nov 2023 at 04:13, MRAB via Python-list wrote: > In the old days, with a BBC micro, that was simple. It had 3 tone > channels and 1 white noise channel, with control over frequency, > duration and volume, beeps on different channels could be synchronised > to start at the same time, the

Re: Beep on WIndows 11

2023-11-12 Thread MRAB via Python-list
On 2023-11-12 11:16, Chris Angelico via Python-list wrote: On Sun, 12 Nov 2023 at 21:27, Y Y via Python-list wrote: I am curious and humble to ask: What is the purpose of a BEEP? There are several purposes. I can't say which of these are relevant to the OP, but some or all of them could eas

Re: Beep on WIndows 11

2023-11-12 Thread Chris Angelico via Python-list
On Sun, 12 Nov 2023 at 21:27, Y Y via Python-list wrote: > > I am curious and humble to ask: What is the purpose of a BEEP? > There are several purposes. I can't say which of these are relevant to the OP, but some or all of them could easily be. * A very very simple notification that can be trig

Re: Beep on WIndows 11

2023-11-12 Thread Dan Sommers via Python-list
On 2023-11-11 at 23:44:19 +, Y Y via Python-list wrote: > I am curious and humble to ask: What is the purpose of a BEEP? It's a simple way for a terminal-based program to alert (hence '\a') a user or an operator that their attention is requested or required. See also

Re: Beep on WIndows 11

2023-11-12 Thread jak via Python-list
Rob Cliffe ha scritto:  Apologies if this is not a Python question. I  recently moved from a WIndows 10 laptop to a Windows 11 one. Although there is nothing wrong with the sound on the new machine (I can listen to podcasts and watch videos), I find that outputting "\a" to the console (aka std

RE: Beep on WIndows 11

2023-11-12 Thread Y Y via Python-list
I am curious and humble to ask: What is the purpose of a BEEP? -Original Message- From: Python-list On Behalf Of Rob Cliffe via Python-list Sent: Sunday, November 12, 2023 6:50 AM To: Python Subject: Beep on WIndows 11  Apologies if this is not a Python question. I  recently moved fr

Re: Beep

2008-12-23 Thread Ivan Illarionov
On Dec 22, 3:16 am, Jeffrey Barish wrote: > I use sys.stdout.write('\a') to beep.  It works fine on Kubuntu, but not on > two other platforms (one of which is Ubuntu).  I presume that the problem > is due to a system configuration issue.  Can someone point me in the right > direction?  Thanks. > -

Re: Beep

2008-12-23 Thread Jeremiah Dodds
On Mon, Dec 22, 2008 at 10:42 PM, Jeffrey Barish wrote: > > > On Ubuntu, it is possible to set visual and audible beeps separately. When > I set both, I get the visual beep, but not the audible one. It's not a > Python issue -- so I should take this thread to Ubuntu -- because I observe > this b

Re: Beep

2008-12-22 Thread Jeffrey Barish
Tobias Andersson wrote: > Jeffrey Barish skrev: >> Chris Rebert wrote: >>> Is the 'pcspkr' kernel module built and loaded? >> >> Yes. And I should have mentioned that I get sound from Ubuntu >> applications that produce sound. > > Also, is the terminal bell set to "visual"? If so chr(7) only >

Re: Beep

2008-12-22 Thread Tobias Andersson
Jeffrey Barish skrev: Chris Rebert wrote: Is the 'pcspkr' kernel module built and loaded? Yes. And I should have mentioned that I get sound from Ubuntu applications that produce sound. Also, is the terminal bell set to "visual"? If so chr(7) only produces a brief flash (or similar). -- ht

Re: Beep

2008-12-21 Thread Jeffrey Barish
Chris Rebert wrote: > > Is the 'pcspkr' kernel module built and loaded? Yes. And I should have mentioned that I get sound from Ubuntu applications that produce sound. -- Jeffrey Barish -- http://mail.python.org/mailman/listinfo/python-list

Re: Beep

2008-12-21 Thread Stef Mientki
Jeffrey Barish wrote: I use sys.stdout.write('\a') to beep. It works fine on Kubuntu, but not on two other platforms (one of which is Ubuntu). I presume that the problem is due to a system configuration issue. Can someone point me in the right direction? Thanks. I started a thread about t

Re: Beep

2008-12-21 Thread Chris Rebert
On Sun, Dec 21, 2008 at 4:16 PM, Jeffrey Barish wrote: > I use sys.stdout.write('\a') to beep. It works fine on Kubuntu, but not on > two other platforms (one of which is Ubuntu). I presume that the problem > is due to a system configuration issue. Can someone point me in the right > direction?

Re: beep or sound playing under linux

2007-01-23 Thread hg
Chuck Rhode wrote: > hg wrote this on Mon, Jan 22, 2007 at 04:12:50PM +0100. My reply is > below. > >> Is there a way to do that? (Make noise.) > > In Gnome there is: > > gtk.gdk.beep() > > -- > .. Chuck Rhode, Sheboygan, WI, USA > .. Weather: http://LacusVeris.com/WX > .. 28° ? Wind WSW 10

Re: beep or sound playing under linux

2007-01-23 Thread hg
hg wrote: > Hi, > > Is there a way to do that ? > > Regards, > > hg Thanks to all ... got some reading to do. hg -- http://mail.python.org/mailman/listinfo/python-list

Re: beep or sound playing under linux

2007-01-23 Thread Michele Petrazzo
hg wrote: > Hi, > > Is there a way to do that ? I can do it, into my debian, with a: michele:~$ echo -e "\007" >/dev/tty It's very simple to reproduce it with python and os.system or subprocess. Michele -- http://mail.python.org/mailman/listinfo/python-list

Re: beep or sound playing under linux

2007-01-23 Thread Laurent Pointal
hg a écrit : > Hi, > > Is there a way to do that ? > > Regards, > > hg > Some links: Official doc: http://docs.python.org/lib/mmedia.html ==> http://docs.python.org/lib/module-ossaudiodev.html PyAudio (binding to portaudio): ==> http://people.csail.mit.edu/hubert/pyaudio/ Maybe with pyG

Re: beep or sound playing under linux

2007-01-22 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, hg wrote: > Is there a way to do that ? Maybe this helps: http://paste.pocoo.org/show/316/ Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list

Re: beep or sound playing under linux

2007-01-22 Thread Chuck Rhode
hg wrote this on Mon, Jan 22, 2007 at 04:12:50PM +0100. My reply is below. > Is there a way to do that? (Make noise.) In Gnome there is: gtk.gdk.beep() -- .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 28° — Wind WSW 10 mph — Sky overcast. -- http://mail.python

Re: beep or sound playing under linux

2007-01-22 Thread hg
hg wrote: > Hi, > > Is there a way to do that ? > > Regards, > > hg PS: I'm actually under wpPython -- http://mail.python.org/mailman/listinfo/python-list