Table of Contents

Class SpeechSynthesisRouter

Namespace
Oscova.Agents.Speech
Assembly
Oscova.Agents.dll

Routes speech synthesis operations to an explicitly configured provider.

public sealed class SpeechSynthesisRouter

Inheritance

Inherited Members

Constructors

SpeechSynthesisRouter(ISpeechProviderCatalog)

Routes speech synthesis operations to an explicitly configured provider.

Methods

GetAvailableVoicesAsync(SpeechProviderConfig, string?, bool, CancellationToken)

Gets voices from the configured provider.

GetDownloadModelPath(SpeechProviderConfig, bool)

Gets the configured provider's local model path.

IsAvailableAsync(SpeechProviderConfig, string?, bool, CancellationToken)

Determines whether the configured provider is available.

StartDownloadAsync(SpeechProviderConfig, string?, bool, CancellationToken)

Starts downloading model assets for the configured provider.

StartSessionAsync(SpeechProviderConfig, string?, string, string?, bool, CancellationToken)

Starts a synthesis session through the configured provider.

StopSessionAsync(SpeechProviderConfig, string, bool, CancellationToken)

Stops a synthesis session through the configured provider.

SynthesizeAsync(SpeechProviderConfig, string?, string, SpeechSynthesisRequest, bool, CancellationToken)

Synthesizes speech through the configured provider.