Audio problems.
05 July 2016 22:18
I'm pretty sure there's probably just one little thing I'm not doing here.
I have made a test scene. The objective is to just add a background sound
using a speaker object. Seems simple enough but unfortunately I'm getting silence when I view the scene as an exported .html file.
I'm testing with Chrome, IE and authoring with Blend4Web v16.06.
The speaker is positioned pointing down in the center of the space xyz 0,0,5
Tried testing the sound in several formats and resolutions.
but seems like from what I've read , the preferred format is .ogg at 48 kh/16 bit. in this case, stereo,
which is what I'm using.
I ensured that AUDIO is checked in the scene tab and even turned on the dynamic compressor.
I ensured that Audio is un-muted in the viewer
I tested it alternately with the speaker behavior at all three settings( bg musci, bg sound, pos sound).
Still, no sound. Any help would be appreciated.
CraigR
I have made a test scene. The objective is to just add a background sound
using a speaker object. Seems simple enough but unfortunately I'm getting silence when I view the scene as an exported .html file.
I'm testing with Chrome, IE and authoring with Blend4Web v16.06.
The speaker is positioned pointing down in the center of the space xyz 0,0,5
Tried testing the sound in several formats and resolutions.
but seems like from what I've read , the preferred format is .ogg at 48 kh/16 bit. in this case, stereo,
which is what I'm using.
I ensured that AUDIO is checked in the scene tab and even turned on the dynamic compressor.
I ensured that Audio is un-muted in the viewer
I tested it alternately with the speaker behavior at all three settings( bg musci, bg sound, pos sound).
Still, no sound. Any help would be appreciated.
CraigR
06 July 2016 10:31
Hello and welcome to our forum!
Unfortunately, if you don't use NLA to control speakers you need to activate "Cyclic Play" checker to start your sound or use engine API.
Unfortunately, if you don't use NLA to control speakers you need to activate "Cyclic Play" checker to start your sound or use engine API.
Blend4Web Team
https://twitter.com/AlexKowel
https://twitter.com/AlexKowel
15 July 2016 15:29
With Blend4Web 16.07 we're going to introduce a new "Auto-play" option which explicitly enables audio playback. Thanks for your feedback!
Blend4Web Team
https://twitter.com/AlexKowel
https://twitter.com/AlexKowel