Sound duration with view frames and slower computers.

Started by RetroJay, Mon 18/02/2019 20:28:38

Previous topic - Next topic

RetroJay

Hi, All good Peeps.

Yes 'tis I RetroJay. :-D
I am still lurking around here. (laugh)

Currently working on a game with another AGS'er at the moment.
I am making some sound effects and suddenly had a thought that I've never thought before...

Say I have a view of 10 frames. I make a sound effect and link it with the first frame. On my computer that sound lasts for the 10 frames perfectly.
Now... Will that still be so for someone who is playing on a slow machine, where the game runs noticeably slower?
Or... Will the sound end before the animation?

Thanks.
Jay. 

Snarky

Yes, if the framerate drops, you'll lose sync between music and animation, and potentially introduce gaps, if you're counting on "looping" the audio by playing it each time a certain frame rolls around.

RetroJay

Thanks for the reply, Snarky.
I thought this may be the case.

Yours.
Jay.

SMF spam blocked by CleanTalk