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

HTML elements for 3D positional audio #275

Open
trusktr opened this issue Aug 27, 2023 · 0 comments
Open

HTML elements for 3D positional audio #275

trusktr opened this issue Aug 27, 2023 · 0 comments

Comments

@trusktr
Copy link
Member

trusktr commented Aug 27, 2023

We need something like <lume-audio position="1 2 3" rotation="1 2 3"> so we can, for example, place an audio source anywhere in the world just like with visual objects.

Example, a megaphone: a cone-shaped audio object would have a position and rotation, and sound would be louder if camera is positioned in front of the cone shape as opposed to behind at the same distance. The Web Audio API has features for the shape of the sound (f.e. a cone), and Three.js Audio API provides the further positional abstraction using Object3D.

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

1 participant