KF2
KF2

Reputation: 10173

highlight sentence while play sound file

i have a persian sentence and a mp3 file that read this text. I'm trying to highlight text on a sentence as an audio clip of that text is read to the reader. Any ideas?

i could not use speech-2-text algorithm

please help!

Upvotes: 0

Views: 573

Answers (1)

KF2
KF2

Reputation: 10173

I find a solution for this:

  1. I get duration of sound file

  2. second Word count in sentence

  3. Divide sound duration by word count

  4. and highlight each world in divided sec amount

I done it with a timer

Upvotes: 1

Related Questions