question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spatial sound not working on iOS 14.3, chrome or safari

See original GitHub issue

Spatial sound not working on iOS 14.3, chrome or safari. attachToMesh, spatialSound: true or any setup enabling spatial sound does not work on iOS, while same code works on chrome@windows PC, chrome@macbook pro and firefox@android.

Disabling spatial sound makes the project work, but that’s not what I want.

Not sure who to blame, babylon.js, web audio api, or apple…

Is there a fix?

Thanks!!

Use Github issues ONLY for validated bugs. PLEASE DISCUSS THEM ON THE FORUM FIRST!

A forum discussion started 2 years ago, but seems none has discovered its connection to spatial sound before. https://forum.babylonjs.com/t/sound-issues-on-ios/8067

Repro

  • Bug repro on playground: Unchanged demo code from Babylon.js document: https://playground.babylonjs.com/#EDVU95

  • Expected result: Works on MacOS Chrome, PC, Android phone with firefox browser

  • Current result: iPhone 11 pro, iOS 14.3, neither Safari or Chrome works.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6] iPhone 11 Pro

  • OS: [e.g. iOS8.1] iOS 14.3

  • Browser [e.g. stock browser, safari] safari or chrome

  • Version [e.g. 22]

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kangshiyincommented, Apr 21, 2022

Thanks, I found that my safari was too old to support PannerNode in web audio api , required by babylon spatial audio. https://developer.mozilla.org/en-US/docs/Web/API/PannerNode#browser_compatibility Tried newer versions and they are all good.

1reaction
sebavancommented, Apr 18, 2022

This seems to be all good on https://playground.babylonjs.com/#EDVU95#39 (I moved the effect to the extreme) Can you confirm it is good for you ?

Tested chrome and safari Macos 12.3.1 and on iphone 13 ios 15.4.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sound issues on iOS - Questions - Babylon.js Forum
The issue is still there. Tested on iPhone 11 pro, iOS 14.3, neither Safari or Chrome works. The sound will not be OK...
Read more >
Control Spatial Audio and head tracking - Apple Support
Stop using Personalized Spatial Audio​​ iPhone or iPad: Go to Settings , then tap the name of your AirPods near the top of...
Read more >
Why Is Spatial Audio Not Working iOS 16 And How to Fix?
Problem Solutions: How to Fix Spatial Audio Not Working iOS 16 · Solution 1. Disconnect Your Airpods and Pair Again: · Solution 2....
Read more >
Audio issues on Apple devices, Chrome and Safari browsers
If you hear NO audio in Chrome: First, If there is a button on the WebSDR interface to the right and above the...
Read more >
[Update: Jan. 20] Apple iOS 14/iPadOS 14 update bugs/issues ...
IST 10:20 am: iPhone 12 users are reporting that they are facing keyboard and lock sound issues even after installing the iOS 14.3...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found