Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spatialization orientation not clearly defined in Chrome #1112

Closed
MrSonicMaster opened this issue Dec 30, 2018 · 4 comments
Closed

Spatialization orientation not clearly defined in Chrome #1112

MrSonicMaster opened this issue Dec 30, 2018 · 4 comments

Comments

@MrSonicMaster
Copy link

Using the public spatial audio demo located here, the audio does not mix very well and favors the right channel in Chrome. Other browsers such as Edge and Firefox offer better separation, making it much easier to distinguish the location of sounds. Other implementations that use Howler.js spatial audio, such as krunker.io seem to work correctly in all browsers.

@alessandroTola
Copy link

Hi, I've the same problem, in my project I have located 4 sounds, front-left, front-right, rear-left, rear-right, the camera is in the center and I can only rotate. With firefox I hear the sound changing position when I rotate the camera, on Chrome the sound doesn't change. I try to search this issue online but I didn't find anything.

@MrSonicMaster
Copy link
Author

The owner seems to be ignoring this issue though, unfortunate that we can't get some insight into what might be causing it because its possible for it to work on Chrome.

@Joeywp
Copy link
Contributor

Joeywp commented Aug 30, 2019

Having the same issue here. I found that v2.0.9 (the one Krunker uses) actually does do the spatial audio correctly in Chrome, couldn't yet find however, why the newer versions don't handle this correctly anymore.

@Joeywp
Copy link
Contributor

Joeywp commented Aug 30, 2019

It appears to be be related to this commit and in specific these lines:
ringcrl@e9b7e8c#diff-a34d0d8427da25a3cae0aae630554c45R117

I tested to see if undoing this hunk of the commit did work, so just using the setOrientation here and it actually did work. I don't however know why the setTargetAtTime implementation doesn't work there, trying to find that out now.

goldfire added a commit that referenced this issue Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants