3 ms·
FYI WebAudio[1] has a PannerNode[2] that does exactly this (I only mention in case you thought you might need to manually calculate positional audio without THR
by slimsag 9y ago
FYI WebAudio[1] has a PannerNode[2] that does exactly this (I only mention in case you thought you might need to manually calculate positional audio without THREE.js)
[1] https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A...
[2] https://developer.mozilla.org/en-US/docs/Web/API/PannerNode https://developer.mozilla.org/en-US/docs/Web/API/PannerNode
- avaer 9y agoToday I learned! If you're working with a scene graph you still need to glue your matrices to WebAudio, but I'm consistently amazed at how far you can get without a library in modern browsers.