Sound

Basic Sound class that you can use to play sounds!

Utilization

sound = Sound('path_to_sound.mp3')
sound = Sound('path/to/sound.mp3', autoplay=True) # plays immediately

Playing

You cannot pause or scrub the sound, but you can play it repeatedly by calling the play method:
sound.play()
Last modified 10mo ago