HTML5 Audio

HTML5 Audio

Anonymous
Not applicable
1,698 Views
4 Replies
Message 1 of 5

HTML5 Audio

Anonymous
Not applicable

Hi.

 

I have a model based on the basic template that I have added extra audio events to.  I'm using the same "sfx_spawn_sound" that is used on starting the main level and applying it to collisions.  It works fine when testing the project.  I've followed the guidance given on http://help.autodesk.com/view/Stingray/ENU/?guid=__stingray_help_working_with_audio_wwise_basics_loa... and packaged it for both Windows and HTM5.  When I run the Windows EXE the sound plays.  When I run the HTML5 package in a browser, no sound plays.

 

I've tried loading the default sound bank in both Flow and Lua.  Both work when packaged for Windows, neither work when packaged for HTML5.

 

Any pointers or suggestions greatly appreciated.

 

Thanks,

Alan

Reply
Reply
0 Likes
Accepted solutions (1)
1,699 Views
4 Replies
Replies (4)
Message 2 of 5

__ben__
Alumni
Alumni

It sounds like you've done everything correctly. This may be an issue with Stingray. I will check with our engineering team and see if they can provide suggestions.

Reply
Reply
0 Likes
Message 3 of 5

Anonymous
Not applicable

Thanks for the response, Ben - very much appreciated.  I'll look forward to hearing any suggestions.

 

Alan

Reply
Reply
0 Likes
Message 4 of 5

__ben__
Alumni
Alumni

Lack of audio on HTML5 is expected as it is currently not implemented. Specifically, our web assembly does not support Wwise yet. This was because threading was not supported yet by web assembly.

Reply
Reply
0 Likes
Message 5 of 5

Anonymous
Not applicable
Accepted solution

Well, that's disappointing - but understood.  I'll check into possible workarounds as well as see if I can find when webassembly might implement threading.

 

I appreciate the update, Ben - thanks.

Reply
Reply
0 Likes