namespace Agent.Core.TextToSpeech;/// <summary>Options for <see cref="KokoroTts"/> (KokoroSharp local TTS).</summary>public sealed class KokoroTtsOptions{ /// <summary>Kokoro voice id (e.g. af_heart). See KokoroSharp voice manager.</summary> public string VoiceId { get; init; } = "af_heart"; /// <summary>If true, wait for speech to finish before returning from SpeakAsync.</summary> public bool WaitForTts { get; init; } = false;}
Documentation
KokoroTtsOptions
Configuration for KokoroTts.
KokoroTtsOptions.cs
- Voice id, speed, and related synthesis options passed to KokoroSharp.