I wanted to extend your test.html to use MediaElementAudioSource with Web Audio API instead of just using AudioElement, something like this:
myAudioElement = new Audio(sound.previews['preview-hq-mp3']);
mySource = gAudioContext.createMediaElementSource(myAudioElement);
mySource.connect(gAudioContext.destination);
But no sound is heard, neither in Firefox nor in Chrome. Chrome gives this error message:
client-test.html:1 MediaElementAudioSource outputs zeroes due to CORS access restrictions for https://www.freesound.org/data/previews/96/96541_7037-hq.mp3
I wanted to extend your test.html to use MediaElementAudioSource with Web Audio API instead of just using AudioElement, something like this:
But no sound is heard, neither in Firefox nor in Chrome. Chrome gives this error message: