I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: Tamatou on September 20, 2017, 06:10:45 AM

Title: Sound Effects have a slight delay (Latency?)
Post by: Tamatou on September 20, 2017, 06:10:45 AM
Hello people of this forum.
I have a problem. In my aiwanna I made a rhythm minigame. You have to press buttons to the beat in rapid succession. With each press a sound plays.
It was then I noticed that even when pressing buttons frame perfect to the beat, the sounds can't keep up.

I have this problem on both Windows 10 and Windows 7. However I tried it on Windowns XP where the delay seems to be smaller but the rest of the song is desyncronized.

Is there perhaps any sound engine that can fix that? Or is it impossible to universally fix this for everyone (since different computers have different latency rates as far as I know)

Thanks
Title: Re: Sound Effects have a slight delay (Latency?)
Post by: WetWookie on September 21, 2017, 09:01:20 AM
Open the sound file in Audacity and make sure there is no silence at the beginning.
Title: Re: Sound Effects have a slight delay (Latency?)
Post by: Tamatou on September 22, 2017, 07:43:20 AM
Tried that already.
I've heard that GM isn't very suited for Rhythm Games so probably gonna do something else as a minigame
Title: Re: Sound Effects have a slight delay (Latency?)
Post by: WetWookie on September 22, 2017, 04:35:45 PM
Does the shoot sound effect sound responsive in your game?