You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Happens in Chrome on OSX but I believe it's platform agnostic.
Underlying issue:
Looking in the Browser Console (F12) I see the following error: benchmark.js:119 Uncaught TypeError: audioContext.createMediaElementSource is not a function at startBenchmark (benchmark.js:119)
which points to this code:
let audioContext = new OfflineAudioContext(numberOutputChannels, durationSeconds * sampleRate, sampleRate); let audioElementSource = audioContext.createMediaElementSource(audioElement);
Happens in Chrome on OSX but I believe it's platform agnostic.
Underlying issue:
Looking in the Browser Console (F12) I see the following error: benchmark.js:119 Uncaught TypeError: audioContext.createMediaElementSource is not a function at startBenchmark (benchmark.js:119)
which points to this code:
let audioContext = new OfflineAudioContext(numberOutputChannels, durationSeconds * sampleRate, sampleRate); let audioElementSource = audioContext.createMediaElementSource(audioElement);
When running the CPU benchmark utility (https://cdn.rawgit.com/resonance-audio/resonance-audio-web-sdk/master/examples/benchmark.html) it hangs.
Steps to Reproduce:
Underlying issue:
Looking in the Browser Console (F12) I see the following error:
benchmark.js:119 Uncaught TypeError: audioContext.createMediaElementSource is not a function at startBenchmark (benchmark.js:119)
which points to this code:
let audioContext = new OfflineAudioContext(numberOutputChannels, durationSeconds * sampleRate, sampleRate); let audioElementSource = audioContext.createMediaElementSource(audioElement);
It seems OfflineAudioContext no longer has the createMediaElementSource function (see WebAudio/web-audio-api#308 and https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext). Looks like OfflineAudioContext now inherits from BaseAudioContext which does not have the necessary function.
The text was updated successfully, but these errors were encountered: