Open rolandomunoz opened 4 years ago
Windows 10 Python 3.8.5
Dear Marcos:
I tried the following code and found that when an audio finishes playing, the AudioPlayer().state remains as PLAYING. Is this the expected behaviour?
AudioPlayer().state
PLAYING
import audioplayer f1 = r'C:\Users\rolan\Desktop\test2\test1.wav' a = audioplayer.AudioPlayer(f1) while True: char = input('> ') if char == 'p': a.play(0) if char == 'i': print(a.position) print(a.state) print(a.duration) elif char == 'q': break
Thank you for sharing your package! I was looking for something like this!
Windows 10 Python 3.8.5
Dear Marcos:
I tried the following code and found that when an audio finishes playing, the
AudioPlayer().state
remains asPLAYING
. Is this the expected behaviour?Thank you for sharing your package! I was looking for something like this!