How to pause android.speech.tts.TextToSpeech?

前端 未结 10 984
不知归路
不知归路 2020-12-01 03:47

I\'m playing text with android TTS - android.speech.tts.TextToSpeech

I use: TextToSpeech.speak to speak and .stop to stop. Is

10条回答
  •  抹茶落季
    2020-12-01 04:24

    It seems that if you put a period after a word AND start the next word with a capital letter, just like a new sentence, like this:

    after we came home. We ate dinner.

    the "home. We" will then have a pause in it.

    • This becomes a grammatically strange way of writing it.
    • So far I have only tested this in my own language, Swedish.
    • It might be important that the space is there.

提交回复
热议问题