Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python create a pinging sound

On Windows, if you want to just make the computer make a beep sound:

import winsound
frequency = 2500  # Set Frequency To 2500 Hertz
duration = 1000  # Set Duration To 1000 ms == 1 second
winsound.Beep(frequency, duration)


The winsound.Beep() can be used wherever you want the beep to occur.
 
PREVIOUS NEXT
Tagged: #python #create #pinging #sound
ADD COMMENT
Topic
Name
3+2 =