AnalyserNode
constructor of the
Web 音频 API
creates a new
AnalyserNode
对象实例。
var analyserNode = new AnalyserNode(context, ?options);
Inherits parameters from the
AudioNodeOptions
字典。
AudioContext
or
OfflineAudioContext
.
fftSize
: The desired initial size of the
FFT
for
frequency-domain
analysis.
2048
.
maxDecibels
: The desired initial maximum power in
dB
for FFT analysis.
-30
.
minDecibels
: The desired initial minimum power in dB for FFT analysis.
-100
.
smoothingTimeConstant
: The desired initial smoothing constant for the FFT analysis. The default is
0.8
.
新的
AnalyserNode
对象实例。
| 规范 | 状态 | 注释 |
|---|---|---|
|
Web 音频 API
The definition of 'AnalyserNode() constructor' in that specification. |
工作草案 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
AnalyserNode()
构造函数
|
Chrome 55 | Edge ≤79 | Firefox 53 | IE 不支持 No | Opera 42 | Safari 6 | WebView Android 55 | Chrome Android 55 | Firefox Android 53 | Opera Android 42 | Safari iOS 6 | Samsung Internet Android 6.0 |
完整支持
不支持
BaseAudioContext.createAnalyser()
, the equivalent factory method