Sounds not working in pygame

Hi all. I have coded a platformer from an online tutorial and I cannot for the lofe of me get sounds to work. They are coded properly, there was no resolution that worked for me from asking on stackoverflow and the code runs fine, just no sound whether I use music or sound with pygame mixer. The sound works when I use python and import audio function on replit, just nothing on pygame. Thanks for your helps in advance!

You are viewing a single comment. View All
DarrellFranklin () returns the object needed to play the sound. You can also use it to find out if the sound is still sounding:

channela = ()
while channela.get_busy ():
pygame.time.delay (100)