System Beep?

David Raymond David.Raymond at tomtom.com
Fri Mar 8 15:01:50 EST 2019


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.com at python.org] On Behalf Of Steve
Sent: Friday, March 08, 2019 1:14 PM
To: python-list at python.org
Subject: System Beep?

How can I cause a system beep using code?
This is using the computer's internal speaker, not an audio external
speaker.
Do I have control of duration or volume?

Steve





Footnote:
Every minute, every single day, the equivalent of a truckload of plastic
enters our oceans.


-- 
https://mail.python.org/mailman/listinfo/python-list


More information about the Python-list mailing list