I am trying to make a simple metronome in Python using the playsound
module. But when I run it, there's the following error:
Traceback (most recent call last):
File "/run/media/mb/Volume/Dokumente/Coding/Python/Metronom/metronom.py", line 5, in <module>
playsound("Cowbell.wav")
File "/usr/lib/python3.7/site-packages/playsound.py", line 106, in _playsoundNix
"playbin.set_state returned " + repr(set_result))
playsound.PlaysoundException: playbin.set_state returned <enum GST_STATE_CHANGE_FAILURE of type Gst.StateChangeReturn>