Calculate total text-to-speech duration like MediaPlayer

I want to show a progress bar with text to speech how can I calculate the total time For example we can calculate the duration of a media player in android like this, mp.getDuration()

+3


source to share





All Articles