Because the tts engine lacks pause and resume functions, I want to generate a wav file and play it with ExoPlayer.
The text is a bit long and the wav generation speed is a bit slow, I use the wait for method to wait for the end, but ExoPlayer cannot automatically play the wav file.
I need a way to wait for the end of the wav file generation, preferably with an end prompt, the next step is to automatically or manually play the wav file safely.
Thank you in advance!
The text is a bit long and the wav generation speed is a bit slow, I use the wait for method to wait for the end, but ExoPlayer cannot automatically play the wav file.
I need a way to wait for the end of the wav file generation, preferably with an end prompt, the next step is to automatically or manually play the wav file safely.
Thank you in advance!