Bug Issue: Muffled Sounds On HTML5


Pages: 1 2

RosalinaGalaxer

  • Level 3 Stencyler
March 05, 2019, 01:15:47 pm
When testing on HTML5, all sounds (Music and Sound Effects) are muffled and get random pops. This is not the case on Flash. I haven't tested any other platforms as of yet.


Justin

  • Master Stencyler
  • *
July 27, 2020, 11:58:28 pm
Okay, I've made some changes to our copies of Lime/OpenFL.

- Panning and position are two distinct operations on audio streams. Where possible, panning does not go through 3D spatialization now.
- Panning and position are only enabled if explicitly set, to avoid unnecessary CPU burden.

The issue with setting the 3D position for sounds on HTML5 causing them to become muffled is still there, but again, we don't provide blocks for that in Stencyl anyway.

This will be part of the public 4.0.3 release.
  • Status changed from Assigned to Resolved
  • Tags added: html5, 4.0.3


Justin

  • Master Stencyler
  • *
July 31, 2020, 10:01:31 pm
Also, before I forget, a note on platform differences regarding sound spatialization:
On native targets (desktop, mobile), we use OpenAL to play sounds. When the sound is stereo, OpenAL doesn't apply any spatialization, and we depend on spatialization to simulate panning. So stereo sound = no panning on desktop/mobile.


Pages: 1 2

Details

  • Reported
    March 05, 2019, 01:15:47 pm
  • Updated
    July 31, 2020, 10:01:31 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.5
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    Sound Editor

Tags