AnalyserNode class
The interface represents a node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. An has exactly one input and one output. The node works even if the output is not connected.
EventTarget
AudioNode
AnalyserNode
Number of inputs
1
Number of outputs
1
(but may be left unconnected)
Channel count mode
"max"
Channel count
2
Channel interpretation
"speakers"
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- AnalyserNode(BaseAudioContext context, [AnalyserOptions? options])
-
factory
Properties
- channelCount ↔ int
-
Available on AudioNode, provided by the PropsAudioNode extension
getter/setter pair - channelCountMode ↔ ChannelCountMode
-
Available on AudioNode, provided by the PropsAudioNode extension
getter/setter pair - channelInterpretation ↔ ChannelInterpretation
-
Available on AudioNode, provided by the PropsAudioNode extension
getter/setter pair - context → BaseAudioContext
-
Available on AudioNode, provided by the PropsAudioNode extension
no setter - fftSize ↔ int
-
Available on AnalyserNode, provided by the PropsAnalyserNode extension
getter/setter pair - frequencyBinCount → int
-
Available on AnalyserNode, provided by the PropsAnalyserNode extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- maxDecibels ↔ double
-
Available on AnalyserNode, provided by the PropsAnalyserNode extension
getter/setter pair - minDecibels ↔ double
-
Available on AnalyserNode, provided by the PropsAnalyserNode extension
getter/setter pair - numberOfInputs → int
-
Available on AudioNode, provided by the PropsAudioNode extension
no setter - numberOfOutputs → int
-
Available on AudioNode, provided by the PropsAudioNode extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smoothingTimeConstant ↔ double
-
Available on AnalyserNode, provided by the PropsAnalyserNode extension
getter/setter pair
Methods
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
connect(
AudioNode destinationNode, [int? output = 0, int? input = 0]) → AudioNode -
Available on AudioNode, provided by the PropsAudioNode extension
-
disconnect(
[AudioNode? destinationNode, int? output, int? input]) → void -
Available on AudioNode, provided by the PropsAudioNode extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
getByteFrequencyData(
Uint8List array) → void -
Available on AnalyserNode, provided by the PropsAnalyserNode extension
-
getByteTimeDomainData(
Uint8List array) → void -
Available on AnalyserNode, provided by the PropsAnalyserNode extension
-
getFloatFrequencyData(
Float32List array) → void -
Available on AnalyserNode, provided by the PropsAnalyserNode extension
-
getFloatTimeDomainData(
Float32List array) → void -
Available on AnalyserNode, provided by the PropsAnalyserNode extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited