Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ghostlady on Wed 30/12/2009 01:15:01

Title: Anyone having problems with music stuttering?
Post by: Ghostlady on Wed 30/12/2009 01:15:01
I am using the current version of AGS and .ogg files.  I notice the music stuttering on change of rooms.  Any suggestions?
Title: Re: Anyone having problems with music stuttering?
Post by: LimpingFish on Wed 30/12/2009 02:34:52
Games that run at higher resolutions, and which use the "fade in/out" room transition, can sometimes suffer from stuttering audio.

If you are using the fade transition, try switching it to "instant" and see if you notice a difference. Or, if you're running the game full-screen, try setting it to run in a window.

Or it could be a performance issue.
Title: Re: Anyone having problems with music stuttering?
Post by: Ghostlady on Wed 30/12/2009 03:33:53
I was using the fade transition.  I switched it to "instant" and it seemed to help the music but made the sound effects worse.  Like when opening a door (which is a switch of a room) I have a sound effect of the door closing and now it drags for like three times.
Title: Re: Anyone having problems with music stuttering?
Post by: Ghostlady on Wed 30/12/2009 05:33:48
I changed the sound file to a .wav instead of .ogg and it is 90% better.  Just every so often I hear a drag.
Title: Re: Anyone having problems with music stuttering?
Post by: Calin Leafshade on Wed 30/12/2009 13:22:17
I had this problem too.

I have a feeling it might be due to the buffer size of lower spec soundcards (especially ones on laptops)

This is really an engine issue though I think.
Title: Re: Anyone having problems with music stuttering?
Post by: Danman on Wed 30/12/2009 14:53:43
mp3 should be better I would think?? if it is the sound card. But that is just a guess.
if it is a performance problem and
you are using an old laptop it could be the graphics ( such as lots of animations).
Title: Re: Anyone having problems with music stuttering?
Post by: Ryan Timothy B on Wed 30/12/2009 17:41:20
Yes I also experience this problem quite a bit with my new laptop anytime a room changes.
Title: Re: Anyone having problems with music stuttering?
Post by: LimpingFish on Wed 30/12/2009 19:48:58
Yes, most of the time it's a performance issue, rather than any specific failing of AGS.

AGS does seem to handle WAV files better, and converting sound files to a lower quality (eg. 22hz instead of 44hz, mono instead of stereo, 16-bit instead of 32-bit) can ease performance burdens.
Title: Re: Anyone having problems with music stuttering?
Post by: Ghostlady on Wed 30/12/2009 23:10:57
Well, I am using a laptop.  I guess that's the problem.