Audio seems to be totally broken?

Discussion and feedback on Construct 2

Post » Fri May 04, 2012 12:17 am

I played Skeletor in space and all I could hear is the ambient sound; no scream, no lazer, nothin. Very interesting. Gamekill are you running windows 7 in a bootcamp environment as well?

@JohnnySix I can watch youtube videos just fine, and even other Construct2 games will work (for the most part. I have found a couple that only load music and not sound FX)

I will just have to test my games with firefox and hope that they are working in Chrome for most people. Thanks everyone for the help. Gamekill, maybe we can put our heads together and isolate the issue. nihakue2012-05-04 00:18:10
B
5
Posts: 18
Reputation: 461

Post » Fri May 04, 2012 12:36 pm

I could run this game and the sound was just fine with the latest Chrome and Opera browsers. It even works in Safari. All in Windows 7.

But, it does NOT work with Firefox. Everything works fine except the sound. I'm running Firefox 13.0 and this is not good!

I don't get it. My latest game works just fine. Tilt-A-Twirl

Wait! Are you using .mp3 or .m4a or .aac files only? You have to have .ogg as an alternative to play music on dear old Firefox.

You should always have .m4a and .ogg on offer. .mp3 is bad, .ogg is good, and .m4a is pretty good (as long as you don't think of it as .aac).

Isn't audio fun!
Check out my HTML5 Firefox OS Game Programming and Game Playing blog at http://firefoxosgaming.blogspot.com/ and my book on Amazon at http://www.amazon.com/dp/B00IZUYIGO. I wrote a newer post on using Construct for Firefox OS at http://firefoxosgaming.blogspot.com/201 ... -game.html.
B
16
S
4
G
4
Posts: 181
Reputation: 3,837

Post » Fri May 04, 2012 3:46 pm


I am using Windows 7 x64 on a PC, not Mac/Bootcamp..
I guess the problem is not bootcamp.

Also, I am importing .ogg and .m4a files directly to C2.



B
10
S
2
G
3
Posts: 28
Reputation: 2,690

Post » Fri May 04, 2012 4:20 pm

[QUOTE=gamekill]
I am using Windows 7 x64 on a PC, not Mac/Bootcamp..
I guess the problem is not bootcamp.

Also, I am importing .ogg and .m4a files directly to C2.



[/QUOTE]

Darn so it's not Bootcamp the problem. Not good. =\
B
47
S
10
G
6
Posts: 455
Reputation: 8,326

Post » Fri May 04, 2012 7:30 pm

@nihakue Try opening Developer Tools in Chrome (Ctrl+Shift+I) and check for any error messages when you load the sound file. It look like this: (screenshot). It's also worth a try clearing your cache.

@gamekill I'm sure your problem is got to do with mime types. Your server isn't setup for ogg files.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Sat May 05, 2012 1:37 am

@ramones

Everything seems to check out... I don't really know what I'm looking for, though.

B
5
Posts: 18
Reputation: 461

Post » Sat May 05, 2012 5:09 am

[QUOTE=ramones]
@gamekill I'm sure your problem is got to do with mime types. Your server isn't setup for ogg files.
[/QUOTE]

No, it's something else.

I just checked again at home, and all sound effects + background ambiance play fine on my Chrome browser. I cleared the cache and forced the entire game to re-download. Audio is perfect.

At work earlier today I tried the same thing, Win7 also, newest Chrome also. No sound, only ambiance.

I also asked my brother to try the game out at his workplace (he uses a Mac) and he got no audio whatsoever (I didn't ask the browser but still).

This is puzzling..

B
10
S
2
G
3
Posts: 28
Reputation: 2,690

Post » Sat May 05, 2012 7:48 pm

@nihakue So it's loading ok. What happens if you drag n drop the ogg file directly into Chrome? Does it play?
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Sat May 05, 2012 7:57 pm

@gamekill Chrome will play ogg files without the correct mimetype set but Firefox (and possibly other browsers) won't. Firefox error console shows the content-type is 'application/octet-stream' when it should be 'application/ogg' or 'audio/ogg'.

B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Sun May 06, 2012 3:54 am

@ramones Yeah, it plays no problem.

I really appreciate everyone's help on this one. I haven't been able to find a solution yet.
B
5
Posts: 18
Reputation: 461

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests