winsound.PlaySound('1.wav', winsound.SND_FILENAME)
time.sleep(0.15)
winsound.PlaySound('1.wav', winsound.SND_FILENAME)
1.wav
is a sound file of length 01s
There is delay of more then a second between the two winsound.PlaySound
calls, even if time.sleep
is commented out. But if the parameter for time.sleep
is increase for more then 1s
then my code runs as it should.
I need to bring the delay down to a 0.15s
.
Thanks in advance.