Sound Not Playing (SOLVED)

Started by ScottDoom, Thu 19/01/2006 04:43:35

Previous topic - Next topic

ScottDoom

Alright, I'm not using any fancy scripts or anything for this one but for some reason my sound1.wav isn't playing:


I placed sound1.wav in the Music folder, in the Speech folder, and even hand-made a Sound folder and placed it in there just for the heck of it. Still, the sound isn't playing in the game... It might be playing, but the volume could be really low. Can I somehow test that? Is there a way to increase the volume? Or do I need to go about this differently?

Gilbert

Place it in the game's folder and try again:

MyGame  <--- here
|_________ Compiled
|____________________ Music
|______________________________ Speech


Try rebuilding the VOX files if it won't work either, also check if the crap "hide known extension" option of your file manager is enabled, so the file wasn't in fact named sound1.wav.wav .

Barbarian

If after following Gilbot's wonderful advice and the wav file still doesn't play for you, then read the following:

On occasion, I've had problems playing ".wav" sound files I found on the internet. They seem to play fine in say, Windows Media Player, but will refuse to play properly in AGS.

I concluded that it was perhaps something strange about the way that particular wav file was saved or what type of sound software created/saved the wav file did something a "little odd" about the way it was saved which prevented it from playing in AGS.

So, a fairly easy way I found to resolve this problem was to "re-save" the wav file using "sound recorder", a simple sound utility that usually comes with Windows by default.

"Sound Recorder" can usually be found from clicking on "Start", "All Programs", "Accessories", "Entertainment", then select "Sound Recorder".

When you have Sound Recoder running, load in your "wav" file in question. Now, here's the trick to re-saving the wav that may make it work. Select "Save As...", of course you may want to make a new name for the wav file at this point. When the "Save As..." options comes up, look for a line that reads "Format", and the button that reads "Change". Click on that button. Now, when the Change options box pops up, select a format such as "PCM" or "MPEG Layer 3". You might need to experiement to see what results work best, but one of those two formats usually seem to work for me. Then, select from "Attributes" a mode you think should sound decent, example: "12.000 kHz, 16 bit, Stereo, 46kb/sec". Now click "OK", then click "Save" button to save the wav file with the new changes.

Now, try the newly saved wav file in your AGS program and see if the wav file will play now.

Ã,  It's worth a try, and its usually worked for me when I found a stubborn wav file that refused to play in AGS. Good luck.
Conan: "To crush your enemies, see them driven before you, and to hear the lamentation of the women!"
Mongol General: "That is good."

Blade of Rage: www.BladeOfRage.com

ScottDoom

Quote from: Gilbot V7000a on Thu 19/01/2006 04:53:38
Place it in the game's folder and try again:

MyGameÃ,  <--- here
|_________ Compiled
|____________________ Music
|______________________________ Speech


Try rebuilding the VOX files if it won't work either, also check if the crap "hide known extension" option of your file manager is enabled, so the file wasn't in fact named sound1.wav.wav .


Haha... Thanks, that worked. I dunno... AGS didn't really specificy where it wanted me to place the sound1.wav. And I already have my Windows set to show file extensions. I like it that way. Every good PC user should have it set that way.

I feel really dumb now.

Gilbert

Actually the Music and Speech subfolders were introduced only for V2.71 and afterwards, before that everything were to be placed in the game's own folder, CJ didn't add a Sound folder for some unknown reasons.

SMF spam blocked by CleanTalk