Ircam-RnD / binauralFIR

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

missing sound file for Web Audio API Binaural module #9

Open vberthiaume opened 7 years ago

vberthiaume commented 7 years ago

The sound file is marked as missing here: https://ircam-rnd.github.io/binauralFIR/

PyrApple commented 7 years ago

Can't reproduce here. Marked as missing in the browser console or disabled audio tag? which browser?

vberthiaume commented 7 years ago

right, sorry! In internet explorer I see this:

capture

and in chrome I see this:

captur2e

In chrome, I can press the play button and it seems as if the file is playing, but I get no sound.

vberthiaume commented 7 years ago

oh yeah, and I can download the file from chrome and play it locally. Really weird!

PyrApple commented 7 years ago

Could you load the page on Chrome with the View/Developer/Javascript Console enabled and post the logs?

vberthiaume commented 7 years ago

captur3e

PyrApple commented 7 years ago

latest chrome version?

vberthiaume commented 7 years ago

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 ;)

PyrApple commented 7 years ago

fixed audioContext creation for Safari, Web Audio API not supported on IE, see: http://caniuse.com/#feat=audio-api

cbossut commented 7 months ago

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

cbossut commented 7 months ago

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