AudioLiveSession class final
Rolling language contexts on a caller-owned backbone. The prompt/text-end is deferred until a chunk completes audio rows. A sampled closing marker is not fed; a nonfinal block queues text-end for the next chunk, even at the token cap.
Properties
- contextAudioTokens → int
-
no setter
- contexts → int
-
no setter
- generatedTokens → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFinished → bool
-
no setter
- maxContextAudioTokens → int
-
Maximum encoded rows in one language context, at 80 ms per row.
final
- model → Lfm3Model
-
final
- retainedTextTokens → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
no setter
- tokenizer → Lfm3Tokenizer
-
final
Methods
-
addProjected(
Float32List rows, {bool isFinal = false, int? maxNewTokens}) → Future< AudioLiveBlock> -
close(
) → void -
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
Static Methods
-
start(
Lfm3Model model, Lfm3Tokenizer tokenizer, {int maxContextAudioTokens = 375}) → Future< AudioLiveSession>