So I'm trying to play a sound called 'Jump10.wav' I've saved the file in the in the folder with my project but when I run my code I get an error saying: File Directory not Found. Here is my code:
self.snd_dir = path.join(self.dir, 'snd')
self.jump_sound = pg.mixer.Sound(path.join(self.snd_dir, 'Jump10.wav'))
And then in another method I've put:
self.jump_sound.play()
I don't understand why the file can't be found because I've saved it.