According to the docs , the AudioWorker node should be functional. When I try to create it, the console discards:
TypeError: context.createAudioWorker is not a function.
My code is:
var context;
if (typeof AudioContext !== 'undefined') {
context = new AudioContext();
}
else if (typeof webkitAudioContext !== 'undefined') {
context = new webkitAudioContext();
}
else {
throw new Error('AudioContext not supported. :(');
}
var foo = context.createAudioWorker();
Am I doing it wrong or not implemented in FF / Chrome?
source
share