Distorted Sound Effect Playback

Discussion and feedback on Construct 2

Post » Mon Nov 11, 2013 4:36 pm

I'm making an endless runner game with an accelerating heartbeat sound effect that speeds up as your character runs faster.

I'm running into audio quality issues with my sound effect, though. The beat sounds deflated and "blown out" when I preview the game, even though the .wav, .ogg, and .m4a files all sound perfect when played from Windows and the Construct browser. I have tried lowering the volume on the sound effects, but it still plays distorted.

Any ideas as to why this is happening?
B
11
S
3
Posts: 30
Reputation: 745

Post » Mon Nov 11, 2013 8:11 pm

If you're using Firefox, it's a Firefox bug. Chrome should sound OK.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361

Post » Mon Nov 11, 2013 11:29 pm

I've actually only tested this on Chrome and the sound is giving me this issue.

Additionally, I can't seem to get it to preview in Firefox, even if I set it as the default browser in Preferences.
B
11
S
3
Posts: 30
Reputation: 745

Post » Mon Nov 11, 2013 11:46 pm

Make sure you are playing the sound just once. I've seen plenty of people accidentally play the sound repeatedly - it ends up sounding distorted.
ImageImageImage
B
71
S
22
G
247
Posts: 3,756
Reputation: 137,558

Post » Tue Nov 12, 2013 12:25 am

It looks like it's only playing once. I have the sounds playing on specific animation frames.
B
11
S
3
Posts: 30
Reputation: 745

Post » Tue Nov 12, 2013 4:47 am

Is loop off?

also you can share a minimum capx would be helpful(I only run stable).
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Tue Nov 12, 2013 10:46 am

@rythom even if it's triggering on frames you still need to use 'trigger once while true.'
B
44
S
13
G
8
Posts: 622
Reputation: 7,417

Post » Tue Nov 12, 2013 10:51 am

When you go to play the sound add a condition that checks the sound is not already playing. That way you know for sure that's not it.

I had that happen once where it sounded fine on PC, but on a mobile, you could here really maxed out audio where the sounds overlapped.
B
239
S
62
G
33
Posts: 903
Reputation: 40,562

Post » Tue Nov 12, 2013 11:50 am

Yes, loop is off, but adding the "Trigger Once" condition fixed everything!

Thank you all so much for your contributions! With your help I might just figure out this game making thing
B
11
S
3
Posts: 30
Reputation: 745


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests