rserota / wad

Web Audio DAW. Use the Web Audio API for dynamic sound synthesis. It's like jQuery for your ears.
MIT License
1.88k stars 160 forks source link

Added an AudioListener Wrapper #122

Closed frastlin closed 4 years ago

frastlin commented 4 years ago

Added a new module called audio-listener.js that just wraps the existing API, and for Safari and Firefox, it keeps track of the user's position. Also wrote tests and added a section in the documentation about this feature. This PR closes: https://github.com/rserota/wad/issues/121

frastlin commented 4 years ago

This was tested on Firefox, Safari, and Chrome.