TTSResult class
Result of TTS synthesis Matches Swift's TTSOutput
Constructors
- TTSResult({required Float32List samples, required int sampleRate, required int durationMs})
-
const
Properties
- durationMs → int
-
Duration of audio in milliseconds
final
- durationSeconds → double
-
Duration in seconds
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- numSamples → int
-
Number of audio samples
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRate → int
-
Sample rate in Hz (typically 22050 for Piper)
final
- samples → Float32List
-
Audio samples as PCM float data
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited