echo

Started by kierslowsky, Fri 05/12/2003 16:07:52

Previous topic - Next topic

kierslowsky

First of all sorry if this is not related to this forum, but I wasnt quite sure its not a technical problem itself.
Now my ninja starts in a low mountain, close to the ocean. I set the sound of the sea  and it hears loud but with much echo. Quite... vibrating I migt say. Well its hard to explain in english but its like if he was in a cave or something. Could this be due to the fact that my file is WAV, not OGG? or why do u think this happen?
thanks in advance

kierslowsky

Alynn

Does it do it when you play the wav normally?

Get yourself a wav editor and take out the reverb if it does.

Ben

Well, if the echo is actually in the wav file itself, then it's going to be almost impossible to remove it.

If you only hear the echo in the game, then it's probably because of your sound settings. Sometimes if a game takes a lot of CPU power, the sound processing will slow down and prodice sort of a grinding sound that may sound like an echo. I'd say run the game setup and change your selected sound device.. Also, I think running in full-screen gives better performance.

kierslowsky

Well, actually the file sounds normal outside the game.The problem comes when using it in AGS. I use the script (PlaySound 0) in the repeteadly execute inteaction menu and it all goes good except for that.
Besides, Im playing it in full screen mode so...

thanks anyway Alynn and Ben!

ki

Ishmael

in rep_ex?? every how many loops? why not trying PlayAmbientSound()?
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Ghormak

QuotePlaySound 0) in the repeteadly execute inteaction menu

That is exactly your problem. Your sound is starting over from the beginning 40 times per second, and as you can probably imagine that's not going to sound good.

Either look up PlayAmbientSound() as TK suggested (I recommend it as well), or if you definitely want to use PlaySound, do this:

if(IsSoundPlaying() == 0)
 PlaySound(0);
Achtung Franz! The comic

kierslowsky

wow!
worked perfectly!!
thnxxxxxxxxxx

ki

Gemmalah

i get an echo on wav files. i want to put a piano in my game. i got a file with one note on it. when you click on the hotspot it plays the sound.

but it seems to echo because i set repeat to only play once.
Dragon Slayers demo finally finishedGet it here!

SMF spam blocked by CleanTalk