ProcessedAudioStream class

Represents the filtered speech tokens and their acoustic durations.

Constructors

ProcessedAudioStream({required List<String> tokens, required List<double> durations, List<double> starts = const [], List<double> ends = const [], List<double> spikeTimes = const []})

Properties

charDurations → List<double>
Returns durations distributed across characters. Guarantees that text.length == charDurations.length for DTW alignment.
no setter
charTokenIndices → List<int>
Maps every character in text to its source token index in tokens.
no setter
durations → List<double>
final
ends → List<double>
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
isNotEmpty → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spikeTimes → List<double>
final
starts → List<double>
final
text → String
Returns the continuous phoneme text without CTC blanks.
no setter
tokens → List<String>
final

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