Binaural Sound with the Web Audio API
blog.kaistale.com
Binaural Sound with the Web Audio API
1–10 of 10 posts
Re: Binaural Sound with the Web Audio API
#2> main.js:129 Uncaught SyntaxError: Unexpected token var
Re: Binaural Sound with the Web Audio API
#3Re: Binaural Sound with the Web Audio API
#4Uncaught NotSupportedError: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample rate of 44100 does not match the context rate of 48000 Hz.
hpl.init_convolver main.js:464 hpl.init main.js:506 main.js:559 (anonymous function)
Re: Binaural Sound with the Web Audio API
#5A great demo of binaural sound - https://www.youtube.com/watch?v=PKdDA_jhgX8
Re: Binaural Sound with the Web Audio API
#6Yup not working for me either :( Version 39.0.2171.95 m Uncaught NotSupportedError: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample rate of 44100 does not match the context rate of 48000 Hz. hpl.init_convolver main.js:464 hpl.init main.js:506 main.js:559 (anonymous function)
I found this: https://github.com/WebAudio/web-audio-api/issues/300
Apparently it's not implemented yet?
Re: Binaural Sound with the Web Audio API
#7A great demo of binaural sound - https://www.youtube.com/watch?v=PKdDA_jhgX8
To make this work, you would need to record the location of every sound. Easy to do for a video game (where the software knows the exact object or person emitting a sound). But it would be harder for movies, as this sounds localization data would need to be captured on set and handled during all post production work.
I did a little research and a field known as ambisonics (http://en.m.wikipedia.org/wiki/Ambisonics) generalizes this concept to more than 2 speakers. Now that I think about it I remember that the guy behind the xiph.org videos debunking digital audio myths lamenting that not enough research was being done on ambisonics.
Re: Binaural Sound with the Web Audio API
#8A great demo of binaural sound - https://www.youtube.com/watch?v=PKdDA_jhgX8
Re: Binaural Sound with the Web Audio API
#9Re: Binaural Sound with the Web Audio API
#10Yup not working for me either :( Version 39.0.2171.95 m Uncaught NotSupportedError: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample rate of 44100 does not match the context rate of 48000 Hz. hpl.init_convolver main.js:464 hpl.init main.js:506 main.js:559 (anonymous function)
Well, this is a shame.. Apparently the sample rate of the AudioContext (for some people 48 kHz) isn't definable (it should be 44.1 kHz here), which makes this a tough thing to fix. For me, it works in osx but not in windows 8 (bootcamp). I found this: https://github.com/WebAudio/web-audio-api/issues/300 Apparently it's not implemented yet?