Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
DoBaoProject@onejay@cloud.cn
相关使用
在场景中添加预制体:DoBaoMessage
脚本功能
Chat.cs :实现对话功能
BotChat.cs :实现角色对话功能
TTS.cs :实现文字转语音功能
ASR.cs :实现语音转文字功能
MicRecord.cs :实现麦克风获取语音输入功能
ChatPrefab.cs :控制文字输入输出对话框
DoBaoMessage.cs :实现相关API的调用
使用时先进行初始化(Init函数,传递相关参数),接着根据需要发送数据内容,在回调函数中处理相关信息
右上角进入设置界面
注意:
使用的模型面部,要包含唇部相关的BlenderShapes
在模型上挂在AudioSource、ULipSync、ULipSyncBlendShapes
在ULipSyncBlendShapes中,选择模型的SkinnedMeshRenderer,并配置正确的blendshape
在ULipSync中,选择配置文件
在AudioSource中,AudioClip为空,PlayOnAwake、Loop为False,Priority为128
1.密钥生成
通过API Explorer获取,有效时间最长为30天
2.模型ID
根据调用模型填写
https://console.volcengine.com/ark/region:ark+cn-beijing/endpoint?current=1&pageSize=10
3.测试使用,每天语音识别有效次数为500次
注册讯飞并开通语音识别服务后,可以在该网址查询到使用的asr_APIKey、asr_APISecret、asr_APPID