[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Wave File Compatibility Problem



I downloaded a simple sound effect from FreeSound in .wav format, and it plays fine in several audio players, but it crashes Pygame.

Traceback (most recent call last):
  File "C:\Code\06 Fall\Other\Seagame C\main.py", line 355, in ?
    Conch.j.LoadSound("18403_inferno_xplosm.wav","cannon")
  File "C:\Code\06 Fall\Shining Sea\Conch\conch.py", line 151, in LoadSound
    new_sound = pygame.mixer.Sound( os.path.join(SOUND_DIRECTORY,filename) )
error: Unknown WAVE data format: 0x4x

Ideas?

Kris