Hi there,
I have set up my Audio Session to enable ducking of music while FliteController is playing its text-to-speech. This leads to some strange behavior when using NeatSpeech to say several sentences of text. Basically, the music will unduck and then duck again in between each sentence of text, which leads to a bad user experience.
I have worked around this for the free TTS voices by modifying the FliteController source code to generate and save a WAV file of the TTS in the say:withVoice: method. The music will duck for the duration of the WAV file, which works great. I would like to use a similar solution for NeatSpeech, but since I don’t have the source code to the method sayWithNeatSpeech:withVoice: I am unable to do this.
Do you have any suggestions? Is there a way to save the output of sayWithNeatSpeech:withVoice: to a WAV file? If not, what do you suggest?
Thanks in advance.
Peter