Lfm3AudioFrontend class final

Fixed preprocessing contract of LFM3-Audio-2B format version 1.

Uses a periodic Hann window, uncentered 400-point DFT, power spectrum, 128 area-normalized Slaney filters, log10 floor -12 and (x + 4) / 4. The direct DFT is a portable reference, not a realtime optimized FFT.

Constructors

Lfm3AudioFrontend()

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

extract(Float32List pcm, {required int samplingRate}) → AudioFeatures
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startStream() → Lfm3AudioFeatureStream
Independent stream state; the immutable tables are shared by streams.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

frameCount(int samples) → int
Number of frames after right-padding a clip to include its last sample.

Constants

hopSize → const int
melBins → const int
sampleRate → const int
windowSize → const int