Lfm3AudioEncoderStream class final

A single feature stream with bounded LFM2 convolution/KV state.

add returns newly completed projected rows in time order, possibly empty. Across calls, retains at most 15 spectrogram frames, two gated-input rows per convolution layer and window-1 KV rows per attention layer. Temporary work scales with the current chunk, not elapsed recording duration. Invalid input leaves state intact. A computation/capture failure terminates the stream because some layer caches may already have advanced.

Properties

cachedStateBytes → int
Persistent signal/cache storage only; excludes shared weights and scratch.
no setter
frames → int
no setter
hashCode → int
The hash code for this object.
no setterinherited
isFinished → bool
no setter
retainedFeatureFrames → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tokens → int
no setter

Methods

add(AudioFeatures features, {void capture(String stage, Float32List rows)?}) → Float32List
close() → void
finish({void capture(String stage, Float32List rows)?}) → Float32List
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