Sounds Are distorted on Mobile platforms

Bugs will be moved here once resolved.

Post » Wed Dec 14, 2016 8:33 pm

Problem Description

On html5 hosted games, sounds are distorted on mobile platforms.



Attach a Capx
Curent project with same sounds as original game - game may not be playable on ios devices due to the browser plugin bug

Original Game sounds


Edited: i cant add a capx for obvious reasons as i said bellow

but : you are free to follow the steps for reproduction, with any sounds imported in C2 from a .wav format. and then follow the steps to reproduce the "bug" or weird effect.

Description of Capx

plays same sounds/musics with no distorted effect or pitched effect.

using the same wav sound formats.

Steps to Reproduce Bug
  • Step 1 add a sound to your project
  • Step 2 run on dekstop pc
  • Step 3 run on mobile platforms

Observed Result

on mobile platforms the sounds are "squiquish" high pitched, like old arcade sounds(16bit-8bit sounds).

Expected Result


play normal sound as on dekstop

Affected Browsers
  • Chrome: (NO)
  • FireFox: (NO)
  • Internet Explorer: (NO)

Operating System and Service Pack

windows 8.1 N Enterprise / Android 5.1 / IOS 9.3.3

Construct 2 Version ID
r240



Edited: Link updated! P.S is probably just how devices work, or my client is really picky on sound differences across devices. might not be a bug, at this point i dont really care about the issue(slight difference in sound played across different devices - could be the auto audio convertor that takes the wav compressed files and makes them .ogg and .m4a but the sound change is insignificant not sure the guy who told me about it picked it up.), only if its officially a bug then im glad i could help to report it. @Ashley
Last edited by gamecorpstudio on Tue Dec 20, 2016 9:08 pm, edited 4 times in total.
B
78
S
23
G
69
Posts: 1,353
Reputation: 44,025

Post » Thu Dec 15, 2016 2:40 am

You must attach a CAPX. It sounds like you are playing the sound every tick, but since you don't provide the code, this can't be confirmed.
ImageImageImage
B
71
S
22
G
257
Posts: 3,788
Reputation: 142,692

Post » Thu Dec 15, 2016 3:30 am

blackhornet wrote:You must attach a CAPX. It sounds like you are playing the sound every tick, but since you don't provide the code, this can't be confirmed.



do i look like someone who wold play the sounds everytick? - sry for being weird. edited: i meant that by now i learned to not double trigger a sound.

the sounds are triggered when either monster collides with a villager or a arrow is created. music starts on menu and then its playing on a loop without any more calls.

if u play the game on pc, you'l hear the sound is same as the original game, if you play on mobile there is the highpitching happening, the bug is not happening because of a condition i use. but is different based on the device it runs on. i cant provide a capx, for obvious reasons, but you are free to follow the steps for reproduction, with any sounds imported in C2 from a .wav format.
B
78
S
23
G
69
Posts: 1,353
Reputation: 44,025

Post » Tue Dec 20, 2016 6:10 pm

The link in the first post is now a 404 and I can't access a .capx, so closing.

Mobile devices often have poor quality speakers/sound output - are you sure it's not that?
Scirra Founder
B
402
S
238
G
89
Posts: 24,613
Reputation: 195,993


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests