---
title: "SharpTalkTTS - s&box library"
description: "a formant TTS engine"
canonical: "https://sbox.watch/zh-cn/libraries/bytesizedfox/sharptalktts/"
generated_at: "2026-11-27T14:17:25.295Z"
---

# SharpTalkTTS

a formant TTS engine

- 类型: 库
- 标识符: bytesizedfox.sharptalktts
- 创作者: bytesizedfox
- 规范地址: https://sbox.watch/zh-cn/libraries/bytesizedfox/sharptalktts/
- Markdown: https://sbox.watch/zh-cn/libraries/bytesizedfox/sharptalktts/index.md
- sbox.game: https://sbox.game/bytesizedfox/sharptalktts/
- 生成时间: 2026-11-27T14:17:25.295Z

## 统计

- 24小时热度: +0
- Terry 评分: 53%
- 收藏: 4
- 好评: 3
- 差评: 0
- 更新时间: 2026年5月13日
- 创建时间: 2026年4月29日
- 大小: 2.5 MB
- 文件: 42
- 标签: wip

## 描述

Getting Started:
to get started, install the library and begin with this template
(note, in my testing, i had to restart the editor before it worked, so if it breaks please try that before reporting a bug)
template code:
Add a SharpTalkSpeaker component to any GameObject in the editor, then speak from code:
public sealed class MyComponent : Component
{
 \[Property\] SharpTalkSpeaker Speaker { get; set; }

 protected override void OnStart()
 {
 \_ = Speaker.Speak( "Hello, world!" );
 }
}Runtime Voice Switching:
Speaker.SetVoice( VoiceData.WhisperVoice );
\_ = Speaker.Speak( "This is a whisper." );

Speaker.SetVoice( VoiceData.BaselineVoice );
\_ = Speaker.Speak( "Back to normal." );Lipsync:
OnPhoneme fires on the main thread as each phoneme begins playing, giving you a timeline to drive blend shapes, jaw bones, or any other animation:

Speaker.OnPhoneme += e =>
{
 Log.Info( $"Phoneme {e.Phoneme} at {e.TimeSeconds:F3}s" );
 // Drive a blend shape, animate a jaw bone, etc.
};
\_ = Speaker.Speak( "Watch my mouth move." );
