简体   繁体   English

文本转语音重启

[英]Text-To-Speech Restarting

I have text-to-speech services in my app.我的应用程序中有text-to-speech服务。 I also have a Check Box.我也有一个复选框。 When the text-to-speech completed.I want the text-to-speech to be restarted all the time when the checkBox is true.当文本转语音完成时。我希望文本转语音在复选框为真时一直重新启动。 Please anyone help me.请任何人帮助我。

Generate the “text to speech” first to an MP3 file and play the audio file.首先将“文本转语音”生成为 MP3 文件并播放音频文件。 Normally the audio control has an “on end” event in each language.通常,音频控件在每种语言中都有一个“结束”事件。 Here you can put the check if you need play the audio again.It can also reduce the cost of using the TTS service.如果需要再次播放音频,您可以在这里勾选。它还可以降低使用 TTS 服务的成本。 Pay once and play unlimited一次付费无限畅玩

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM