I am looking to play a .wav file using pygame but I can't seem to get it to work. Here is the error I get:
pygame.error: Unable to open file 'Audio Assets\never.wav'
This is the code I use to play the file:
import pygame
pygame.mixer.pre_init()
pygame.mixer.init()
pygame.init()
pygame.mixer.Channel(0).play(pygame.mixer.Sound('Audio Assets\never.wav'), maxtime=1000)
Here is the WAV file itself (Yes it is Logan Paul at the suicide forest because my tiny monkey brain can't come up with a different example):
I have alread tried converting it to a .ogg file but that won't work either.