英文:
Java TextToSpeech - How do i make my text sound like a question?
问题
我有一个使用TextToSpeech
的简单文本转语音应用程序。但是我无法让它听起来像在问问题。
TextToSpeech mTts;
...
String textInString = "Do you want coffee?";
mTts.speak(textInString, TextToSpeech.QUEUE_FLUSH, null);
我的代码完全正常工作。只是我无法让我的“声音”提问。
使用这个库有可能实现吗?
如果不行,有没有任何免费的库可以实现这个功能?
英文:
I have a simple text to speech app using TextToSpeech
. I can't get it to sound like it is asking a question.
TextToSpeech mTts;
...
String textInString = "Do you want coffee?";
mTts.speak(textInString, TextToSpeech.QUEUE_FLUSH, null);
My code works perfectly well. I just can't get my "voice" to ask things.
Is it possible using this library?
If not, is there any free library which would?
专注分享java语言的经验与见解,让所有开发者获益!
评论