吹笛者團結
啟用離線文字可以在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構建庫