On Wed, Mar 13, 2019 at 12:16 AM wrote:
>
> On Saturday, March 9, 2019 at 12:53:35 AM UTC-5, Terry Reedy wrote:
> > On 3/8/2019 1:13 PM, Steve wrote:
> > > How can I cause a system beep using code?
> >
> > >>> import winsound as ws
> > >>> ws.Beep(500, 1000)
> >
> > and
> >
> > >>> from
On Saturday, March 9, 2019 at 12:53:35 AM UTC-5, Terry Reedy wrote:
> On 3/8/2019 1:13 PM, Steve wrote:
> > How can I cause a system beep using code?
>
> >>> import winsound as ws
> >>> ws.Beep(500, 1000)
>
> and
>
> >>> from tkinter import Tk
> >>> root = Tk()
> >>> root.bell()
>
> work
.
Rene Descartes
-Original Message-
From: Python-list On
Behalf Of Terry Reedy
Sent: Saturday, March 9, 2019 12:53 AM
To: python-list@python.org
Subject: Re: System Beep?
On 3/8/2019 1:13 PM, Steve wrote:
How can I cause a system beep using code?
>>> import winsound as ws
&g
On 3/9/19, Dennis Lee Bieber wrote:
>
> ... produces a sound on my system... But has to be run from a Windows
> console (command line -- either "DOS" or PowerShell).
Say "CMD" if that's what you mean. DOS was an OS (albeit a simple
one). The CMD shell is not an OS and was never a DOS program.
On Sat, Mar 9, 2019 at 10:33 PM Karsten Hilbert wrote:
>
> On Sat, Mar 09, 2019 at 11:55:03AM +1300, DL Neil wrote:
>
> > You've piqued my interest. I haven't worked with sound using Python, but a
> > future project, presently graphics/video, could easily expand...
> >
> > I don't think it is an
On Sat, Mar 09, 2019 at 11:55:03AM +1300, DL Neil wrote:
> You've piqued my interest. I haven't worked with sound using Python, but a
> future project, presently graphics/video, could easily expand...
>
> I don't think it is an OpSys fault, per-se. Someone with some Python-audio,
> indeed
-list On
Behalf Of Terry Reedy
Sent: Saturday, March 9, 2019 12:53 AM
To: python-list@python.org
Subject: Re: System Beep?
On 3/8/2019 1:13 PM, Steve wrote:
> How can I cause a system beep using code?
>>> import winsound as ws
>>> ws.Beep(500, 1000)
and
>>> fr
Thank you, both work for me too.
Mischief managed.
Steve
Footnote:
I am simply a thing that thinks.
Rene Descartes
-Original Message-
From: Python-list On
Behalf Of Terry Reedy
Sent: Saturday, March 9, 2019 12:53 AM
To: python-list@python.org
Subject: Re: System Beep?
On 3/8/2019 1
On 3/8/2019 1:13 PM, Steve wrote:
How can I cause a system beep using code?
>>> import winsound as ws
>>> ws.Beep(500, 1000)
and
>>> from tkinter import Tk
>>> root = Tk()
>>> root.bell()
work for me. The bell is not exactly a bell, but different from a
monotone beep.
--
Terry Jan Reedy
On 3/8/19, Grant Edwards wrote:
>
> I just tested three of the terminals on my laptop, and none of them
> beep when they receive a BEL.
In Ubuntu, enable sound effects and select an alert sound, and then
enable "Terminal bell" in GNOME Terminal's preferences.
In Windows, the console calls
On 2019-03-08, Steve wrote:
> I tried all three, nothing audio. I am beginning to wonder if
> something I the operating system is at fault. The three lines do
> produce symbols. The first two are a rectangle with a space in the
> middle and the last one spelled out "bel" in short/small
Steve,
On 9/03/19 11:03 AM, Steve wrote:
I tried all three, nothing audio. I am beginning to wonder if something I the
operating system is at fault.
The three lines do produce symbols. The first two are a rectangle with a space in the
middle and the last one spelled out "bel" in short/small
the internal
speaker. (Is it even a speaker? It might be a piezo buzzer.)
-Original Message-
From: Python-list On Behalf
Of Peter Otten
Sent: Friday, March 8, 2019 3:42 PM
To: python-list@python.org
Subject: RE: System Beep?
Steve wrote:
You have a typo. It is winsound, not winDsound
Of Peter Otten
Sent: Friday, March 8, 2019 3:42 PM
To: python-list@python.org
Subject: RE: System Beep?
Steve wrote:
>> You have a typo. It is winsound, not winDsound.
> Yes, I saw that. It still failed with, or without, the “d”. I played
> with case and the use of (). They all produ
8, 2019 3:51 PM
To: python-list@python.org
Subject: Re: System Beep?
Dear Squeak, sorry, Dear Steve,
Back in the ?good, old days when we used to walk alongside a mainframe CPU
whilst it cogitated, we would often use the BEL character to alert us to job
completion (and meantime bunk-off
On Fri, Mar 08, 2019 at 03:16:28PM -0500, Steve wrote:
> = RESTART: C:\Gork\Med Insulin codes\MedReminder 127.py
> =
> Traceback (most recent call last):
> File "C:\Gork\Med Insulin codes\MedReminder 127.py", line 13, in
>
> windsound.Beep #(frequency, duration)
>
Dear Squeak, sorry, Dear Steve,
Back in the ?good, old days when we used to walk alongside a mainframe
CPU whilst it cogitated, we would often use the BEL character to alert
us to job completion (and meantime bunk-off to go have a coffee, cakes,
...) - more seriously, it alerted telegraph and
Steve wrote:
>> You have a typo. It is winsound, not winDsound.
> Yes, I saw that. It still failed with, or without, the “d”. I played
> with case and the use of (). They all produced similar errors
Did you import the winsound module before trying to use it?
--
asound Technician Asks Pregnant Woman If She’d Like To Know Baby’s Name
From: Ivan "Rambius" Ivanov
Sent: Friday, March 8, 2019 3:25 PM
To: Steve
Cc: David Raymond ; python-list@python.org
Subject: Re: System Beep?
Hello,
On Fri, Mar 8, 2019, 3:19 PM Steve mailto:Gronicus@sg
her 2% a bad name.
>
>
> -Original Message-
> From: Python-list On
> Behalf Of David Raymond
> Sent: Friday, March 8, 2019 3:02 PM
> To: python-list@python.org
> Subject: RE: System Beep?
>
> Windows has the built in winsound module that lets you set frequency and
&g
Sent: Friday, March 8, 2019 2:56 PM
To: Steve
Cc: python-list@python.org
Subject: Re: System Beep?
Hi,
On Fri, Mar 8, 2019 at 1:35 PM Steve wrote:
>
> How can I cause a system beep using code?
> This is using the computer's internal speaker, not an audio external
> speaker.
Print
I believe you added an extra D there. winsound, not winDsound
-Original Message-
From: Steve [mailto:Gronicus@SGA.Ninja]
Sent: Friday, March 08, 2019 3:16 PM
To: David Raymond; python-list@python.org
Subject: RE: System Beep?
= RESTART: C:\Gork\Med Insulin codes
sing in my code?
98% of lawyers give the other 2% a bad name.
-Original Message-
From: Python-list On
Behalf Of David Raymond
Sent: Friday, March 8, 2019 3:02 PM
To: python-list@python.org
Subject: RE: System Beep?
W
Windows has the built in winsound module that lets you set frequency and
duration, not sure about other OS's.
https://docs.python.org/3.7/library/winsound.html
-Original Message-
From: Python-list
[mailto:python-list-bounces+david.raymond=tomtom@python.org] On Behalf Of
Steve
Hi,
On Fri, Mar 8, 2019 at 1:35 PM Steve wrote:
>
> How can I cause a system beep using code?
> This is using the computer's internal speaker, not an audio external
> speaker.
Print 0x07.
Thank you.
> Do I have control of duration or volume?
>
> Steve
>
>
>
>
>
> Footnote:
> Every minute,
25 matches
Mail list logo