AiliaVoiceResult class
Holds the result of speech synthesis.
Contains PCM audio data, sample rate, and channel count.
Constructors
-
AiliaVoiceResult.new({required int sampleRate, required int nChannels, required List<
double> pcm}) - Creates an AiliaVoiceResult.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- nChannels → int
-
The number of audio channels.
final
-
pcm
→ List<
double> -
The PCM audio data as a list of float values.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRate → int
-
The sample rate in Hz.
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