Class TtsResult<T>
- Namespace
- AiDotNet.Audio.TextToSpeech
- Assembly
- AiDotNet.dll
Result of text-to-speech synthesis.
public class TtsResult<T>
Type Parameters
TThe numeric type.
- Inheritance
-
TtsResult<T>
- Inherited Members
Properties
Audio
Gets or sets the generated audio waveform.
public required T[] Audio { get; set; }
Property Value
- T[]
Duration
Gets or sets the duration in seconds.
public double Duration { get; set; }
Property Value
ProcessingTimeMs
Gets or sets the processing time in milliseconds.
public long ProcessingTimeMs { get; set; }
Property Value
SampleRate
Gets or sets the sample rate of the audio.
public int SampleRate { get; set; }