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

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited