servo/media

Implement HRTF support

jdm opened this issue · 5 comments

jdm commented

https://webaudio.github.io/web-audio-api/#Spatialization-hrtf-panning

unimplemented!()

It may be possible to reuse code from some existing rust implementations of HRTF:

https://github.com/mrDIMAS/rg3d-sound/blob/master/src/hrtf.rs

We may end up using one of the binaries from https://github.com/mrDIMAS/hrir_sphere_builder/tree/master/hrtf_base/IRCAM as the database for the underlying impulse/elevation data.

jdm commented

There is reference code in Firefox; see all of the files named HRTF* in https://searchfox.org/mozilla-central/source/dom/media/webaudio/blink.

Me and my team will be taking on this issue with assistance from @jdm

We will no longer be taking this issue due to time constraints for our project. If anyone else would like to work on implementing this, you are free to.