Ircam-RnD / binauralFIR

Binaural module for the Web Audio API
https://ircam-rnd.github.io/binauralFIR/
BSD 3-Clause "New" or "Revised" License
146 stars 16 forks source link

Added distance attenuation #8

Closed PyrApple closed 8 years ago

PyrApple commented 8 years ago

for now based on a simple 1/dist gain attenuation: if acceptable, I'd suggest a form like 1/pow(dist,att_factor), where users can fix the att_factor by themselves.