AudioVisualizer class Audio

Provides audio visualization (waveform data) for the currently playing music.

Delegates platform-specific capture to an AudioVisualizerBackend.

Constructors

AudioVisualizer([int fftSize = 2048])

Properties

fftSize int
The FFT size. Must be a power of 2 between 32 and 32768.
getter/setter pair
frequencyBinCount int
The number of frequency bins available.
no setter
hashCode int
The hash code for this object.
no setterinherited
isSupported bool
Whether the audio visualizer is supported on the current platform.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disconnect() → void
Disconnect and release resources.
initFromBackend(AudioBackend backend) → void
Initialize the visualizer from the audio backend.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateWavefromData() Uint8List
Updates and returns the current waveform (time-domain) data.

Operators

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