Table of Contents

Class TtsResult<T>

Namespace
AiDotNet.Audio.TextToSpeech
Assembly
AiDotNet.dll

Result of text-to-speech synthesis.

public class TtsResult<T>

Type Parameters

T

The 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

double

ProcessingTimeMs

Gets or sets the processing time in milliseconds.

public long ProcessingTimeMs { get; set; }

Property Value

long

SampleRate

Gets or sets the sample rate of the audio.

public int SampleRate { get; set; }

Property Value

int