Knowing the present string being spoken by TTS

Home Forums OpenEars Knowing the present string being spoken by TTS

Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)

  • Author
    Posts
  • #15130
    Arpit Raniwala
    Participant

    Hello
    I am using the openEars text to speech feature in my app. but somewhere i want my app to know which string is currently being spoken by the TTS. is it possible for me to know this using some methods of openEar framework?

    #15131
    Halle Winkler
    Politepix

    Welcome,

    Isn’t it just the string that you have entered into FliteController’s say:withVoice: method? Maybe I’m not understanding your question 100%, can you elaborate on why you can’t use your own string that you entered into say:withVoice:?

    #15132
    Arpit Raniwala
    Participant

    Actually its like i have a very long string and while TTS is reading the string, i also want to highlight the string that is presently being read.

    #15133
    Halle Winkler
    Politepix

    OK, that makes sense, but there is no callback which identifies the word that is being spoken because the entire phase is synthesized at once when you use FliteController. The best workaround would be to send a series of very short statements, highlighting the statement as you send it.

    #15134
    Arpit Raniwala
    Participant

    Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.