Open vberthiaume opened 7 years ago
Can't reproduce here. Marked as missing in the browser console or disabled audio tag? which browser?
right, sorry! In internet explorer I see this:
and in chrome I see this:
In chrome, I can press the play button and it seems as if the file is playing, but I get no sound.
oh yeah, and I can download the file from chrome and play it locally. Really weird!
Could you load the page on Chrome with the View/Developer/Javascript Console enabled and post the logs?
latest chrome version?
yes, latest version. Given the error message, I tried changing my sound card sampling rate to 44.1 kHz instead of 48 kHz, and now it works in chrome. Still same error in IE ;)
fixed audioContext creation for Safari, Web Audio API not supported on IE, see: http://caniuse.com/#feat=audio-api
Still, in Chrome :
Uncaught DOMException: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample rate of 44100 does not match the context rate of 48000 Hz. at t.set (https://ircam-rnd.github.io/binauralFIR/binaural-fir.min.js:1:5238) at t.value (https://ircam-rnd.github.io/binauralFIR/binaural-fir.min.js:1:3043) at t.value (https://ircam-rnd.github.io/binauralFIR/binaural-fir.min.js:1:2233) at https://ircam-rnd.github.io/binauralFIR/examples/:79:21
And also
Uncaught DOMException: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample rate of 44100 does not match the context rate of 48000 Hz. at t.set (https://ircam-rnd.github.io/binauralFIR/binaural-fir.min.js:1:5238) at t.value (https://ircam-rnd.github.io/binauralFIR/binaural-fir.min.js:1:3043) at t.value (https://ircam-rnd.github.io/binauralFIR/binaural-fir.min.js:1:2233) at https://ircam-rnd.github.io/binauralFIR/examples/:79:21
The sound file is marked as missing here: https://ircam-rnd.github.io/binauralFIR/