Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Freydall on Sun 25/09/2005 18:42:04

Title: Sound effects
Post by: Freydall on Sun 25/09/2005 18:42:04
I've followed the manual's istructions but my sound effect doesn't work.
I've got an mp3 sound file of a hammer hitting an anvil. One of the character's who is a weaponsmith is hitting the anvil with his hammer. I set it as an idle view. On the frame he hits it I've made it play the sound but I can't hear it. There's no problem with my speakers because it's playing the music in the background and the music isn't too loud for me to hear the sound effect either.
Title: Re: Sound effects
Post by: Ishmael on Sun 25/09/2005 18:46:38
You sure you got the naming of the file right? What's the full filename?
Title: Re: Sound effects
Post by: Freydall on Sun 25/09/2005 18:56:55
SOUND1... I would've used SOUND0 but it said that SOUND0 (in the View mode) was for no sound.
Title: Re: Sound effects
Post by: Ishmael on Sun 25/09/2005 19:05:12
The full filename is "SOUND1"?

I remember some nuisance about the frame sounds a while back, but I don't remember what it was about exactly. Might relate to this...
Title: Re: Sound effects
Post by: Freydall on Sun 25/09/2005 19:26:35
I found the problem. If it's an mp3 and it's less than 2 seconds long it won't play so I just converted it to a wav. file. Everything works now.
Title: Re: Sound effects
Post by: Pet Terry on Sun 25/09/2005 22:37:25
You know, I had the same problem some time ago, only in my case the sounds didn't work if they were very very short, like, a second or less. I solved the problem by copying emptiness to the end of the sound to make it slightly longer.

I found the old thread, http://www.adventuregamestudio.co.uk/yabb/index.php?topic=18060.0
Title: Re: Sound effects
Post by: Candle on Sun 25/09/2005 23:52:19
Ummmmm thats why mine would not play. thanks for the heads up.