Javascript Internet Explorer中未加载AudioContext

Javascript Internet Explorer中未加载AudioContext,javascript,web,internet-explorer-11,audiocontext,Javascript,Web,Internet Explorer 11,Audiocontext,我正在使用一个可视化工具,它使用音频上下文获取频率数据。它在Internet explorer中不起作用 前面的堆栈溢出问题有些相关: 因此,我使用以下代码来获取AudioContext function audioContextCheck() { if (typeof window.AudioContext !== "undefined") { console.log('AudioContext'); return new window.AudioContext(); }

我正在使用一个可视化工具,它使用音频上下文获取频率数据。它在Internet explorer中不起作用

前面的堆栈溢出问题有些相关:

因此,我使用以下代码来获取AudioContext

function audioContextCheck() 
{
if (typeof window.AudioContext !== "undefined") {
    console.log('AudioContext');
    return new window.AudioContext();
} else if (typeof webkitAudioContext !== "undefined") {
    console.log('webkitAudioContext');
    return new window.webkitAudioContext();
} else if (typeof window.mozAudioContext !== "undefined") {
    console.log('mozAudioContext');
    return new window.mozAudioContext();
} else {
   console.log('NONE OF THEM!');
}
}
控制台返回“无一个”,这意味着Internet Explorer(版本11)无法加载任何音频内容

微软自己的文档引用AudioContext():


我很困惑,我遗漏了什么吗?

我发现IE的结果不支持某些音频功能,但这是2013年的结果。当然现在支持了?您链接到的文档仅对边缘浏览器IIUC有效,而不是IE11。我发现IE的结果不支持某些音频功能,但这是从2013年开始的。您链接到的文档仅对边缘浏览器IIUC有效,而不是IE11。