Table of Contents

Interface IStreamingSynthesisSession<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Interface for streaming TTS synthesis sessions.

public interface IStreamingSynthesisSession<T> : IDisposable

Type Parameters

T

The numeric type used for calculations.

Inherited Members

Methods

FeedText(string)

Feeds text to the streaming session.

void FeedText(string textChunk)

Parameters

textChunk string

Text chunk to synthesize.

Finalize()

Finalizes the session and returns any remaining audio.

IEnumerable<Tensor<T>> Finalize()

Returns

IEnumerable<Tensor<T>>

Final audio chunks.

GetAvailableAudio()

Gets available audio chunks that have been synthesized.

IEnumerable<Tensor<T>> GetAvailableAudio()

Returns

IEnumerable<Tensor<T>>

Audio chunks ready for playback.