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

Spatial Audio not working correctly anymore in AR (nor VR) #26331

Closed
marwie opened this issue Jun 26, 2023 · 2 comments
Closed

Spatial Audio not working correctly anymore in AR (nor VR) #26331

marwie opened this issue Jun 26, 2023 · 2 comments

Comments

@marwie
Copy link
Contributor

marwie commented Jun 26, 2023

Description

Hi,

in three 153 spatial / positional audio stopped working in AR.
152 does still work

Possibly related to #26041

Is it now expected to add synchronization to the AudioListener in the camera in user code?

Reproduction steps

  1. Clone:
    https://github.com/needle-tools/three.js/tree/spatial-audio-doesnt-work-in-ar
  2. Start local dev server npm install && npm start
  3. Open examples/webxr_vr_teleport.html on a AR ready device (e.g. phone)
  4. Enter AR
  5. Audio is playing but doesnt react to AR movement

Code

See branch in reproduction steps (basically just added the audio related code from the position audio example)

Screenshots

No response

Version

r153

Device

Mobile, Headset

Browser

Chrome

OS

Windows, Android

@mrdoob
Copy link
Owner

mrdoob commented Jun 29, 2023

Can you try again now that it has been reverted? #26350

@marwie
Copy link
Contributor Author

marwie commented Jun 29, 2023

Thanks, it works again on r154

@marwie marwie closed this as completed Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants