Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sun 18/04/2004 17:47:18

Title: Sound errors
Post by: on Sun 18/04/2004 17:47:18
I keep geting this error when I try to play a sound effect.

(in room 900) Sound sample load failure: cannot load sound 1

any ideas on what could be wrong?
Title: Re:Sound errors
Post by: Scummbuddy on Sun 18/04/2004 18:53:46
you don't have a space between sound and the # do you?
Title: Re:Sound errors
Post by: Dusty D. on Sun 18/04/2004 19:24:00
I had the same problem... see this thread:

http://www.agsforums.com/yabb/index.php?board=6;action=display;threadid=12907 (http://www.agsforums.com/yabb/index.php?board=6;action=display;threadid=12907)

Other sounds work fine. So, if you get that message try replacing by another sound (or have a look to the other suggestions on that topic).
Title: Re:Sound errors
Post by: strazer on Sun 18/04/2004 19:46:50
Scummbuddy, the error message automatically adds the space, so I don't think that's it.

- Check if the file is in your game directory, not the compiled directory.
- Check if its name is sound1.wav, not sound01.wav
- Check if the file is not actually named sound1.wav.wav (turn off "Hide file extensions" in Windows-Explorer/Extras/Folder options/View)
- Check if you saved the file as an uncompressed PCM wave file, ADPCM compressed wave files produce the error message you've described
Title: Re:Sound errors
Post by: on Mon 19/04/2004 01:23:09
Its weird, but I think it has to do with the last thing strazer said, the sounds from other sites work fine, its only the .wav's from this one site. I didn't post that before becouse I didn't know it.
Title: Re:Sound errors
Post by: strazer on Mon 19/04/2004 02:17:40
To make sure, if you have Winamp, play the wave file with it and press the "File info" button (the small "i") to see if it's compressed or not.