AnalyserNode.AnalyserNode()

这篇翻译不完整。请帮忙从英语翻译这篇文章

The AnalyserNode constructor of the Web Audio API creates a new AnalyserNode object instance.

Syntax

var analyserNode = new AnalyserNode(context, options)

参数

继承参数自 AudioNodeOptions 字典.

context
AudioContext 的引用.
options 可选
Options are as follows:
  • fftSize: 用于频域分析的FFT初始尺寸。默认值是2048。
  • maxDecibels: 用于FFT分析的初始最大功率(dB)。默认值是-30。
  • minDecibels: 用于FFT分析的初始最小功率(dB)。默认值是-100。
  • smoothingTimeConstant: 用于FFT分析的初始平滑常数。默认值是0.8。

返回值

A new AnalyserNode object instance.

Specifications

Specification Status Comment
Web Audio API
AnalyserNode
Working Draft Initial definition.

Browser Compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 55Edge ? Firefox Full support 53IE No support NoOpera Full support 42Safari ? WebView Android Full support 55Chrome Android Full support 55Edge Mobile ? Firefox Android Full support 53Opera Android Full support 42Safari iOS ? Samsung Internet Android Full support 6.0

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

文档标签和贡献者

此页面的贡献者: joy-yu
最后编辑者: joy-yu,