2012-05-21 161 views
3

我想提出單擊它們時讀句子的應用程序,所以我用了TTS閱讀。 問題是聲音不那麼清晰,那麼有沒有辦法改變它,或者讓它讀得慢一些?文字轉語音(TTS)

回答

5

1)使用功能setSpeechRate進行語音更快

Speech rate. 1.0 is the normal speech rate, lower values slow down the speech (0.5 is half the normal speech rate), greater values accelerate it (2.0 is twice the normal speech rate). 
+0

謝謝你,它甚至設置setSpeechRate它沒有爲我工作後的工作 – user1283769

+0

歡迎...... :) – Aerrow

+0

@ user1283769 ..是否有可能發佈整個代碼?我需要設置任何引擎嗎? – Naveen