Regarding WebAudio Implementation

Discussion and feedback on Construct 2

Post » Sun Dec 01, 2013 3:59 pm

[quote] @Ashley recall long ago that I reported long music didn't play bug on chrome? Strangely, Node Webkit played all audio just fine without any trouble. It's quite strange that node webkit is essentially... Chrome, but we have different result. Something inside must be different...[/quote]

OK, something is up. After I updated to r152 64 bits, Node Webkit starts to have identical results as Chrome. If long music is played, any new sound effect that has not been loaded will not be played... :(
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,459

Post » Sun Dec 01, 2013 4:21 pm

[quote]
[quote]@Ashley recall long ago that I reported long music didn't play bug on chrome? Strangely, Node Webkit played all audio just fine without any trouble. It's quite strange that node webkit is essentially... Chrome, but we have different result. Something inside must be different...[/quote]
OK, something is up. After I updated to r152 64 bits, Node Webkit starts to have identical results as Chrome. If long music is played, any new sound effect that has not been loaded will not be played... :([/quote]

@Ashley After some more testing, I see that the preview of Node Webkit has this problem. However, if I exported my same project into stand alone node webkit first, then launch the .exe, all sounds seem to play correctly.

What are the differences between preview version and standalone version?   Like are the audio engine treated the same way or the preview version has some quicker method for launching the preview?
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,459

Post » Sun Dec 01, 2013 7:06 pm

It's a known bug and appears to be a networking issue in Chrome that only affects preview. After export audio should work correctly.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests