吹笛者团结
启用离线文字可以在Unity应用程序中发出Speach
安装
- 将git repo添加为包装窗口 - >软件包管理器 - >添加来自git url https://github.com/mrtrizer/unitypiper.git
- Download espeak-ng-data (You need only espeak-ngshareespeak-ng-data from archive) and put into StreamingAssets - https://github.com/rhasspy/espeak-ng/releases/tag/2023.9.7-4
- 下载训练有素的语音模型(.onnx和.json文件!),然后放入streamingassets -https://huggingface.co/rhasspy/piper-voices/tree/tree/v1.0.0
- 将test.prefab放在场景中的包装中,输入示例组件字段中的模型路径,然后单击“播放”
平台支持
使用我的叉子使用cmake -https://github.com/mrtrizer/piper构建库