ZeroPrompter

Test repeated words in voice-following teleprompters

Voice and permissions5 min readUpdated

Short answer

Test repeated words by reading the real passage once straight through and once with a deliberate skip. ZeroPrompter matches the last dozen heard words against the script around your place, so a doubled word such as “yes, yes” reads on normally. Lines that open with the same phrase are the real risk after a skip. Give each one a different word within its first few words.

Key points

  • Reading on needs almost no proof, so a doubled word such as “yes, yes” is not a problem.
  • Skipping ahead needs a few matching words in a row. Going back needs more.
  • Lines that begin with the same words can only be told apart by what follows the shared opening, so vary the opening.
  • In our automated tests on recorded speech, with a deliberately poor recognizer simulated, there were 0 wrong long jumps in 200 runs.
  • If the script lands on the wrong line, click the word you are on.

Which repeats matter and which do not

ZeroPrompter does not search the whole script for each word. It lines up the last dozen heard words against the script around your place. Reading on needs almost no proof. Skipping ahead needs a few matching words in a row, and going back needs more. That decides which repeats are safe.

Four kinds of repeat and what to expect from each
Kind of repeatExampleWhat to expect
A doubled wordYes, yes, open the blue folder.Reads on normally. A dropped or extra word is a small mishearing, and those are tolerated
A phrase repeated inside a paragraphstep by step, and then step by step againReads on normally while you read in order
Several lines that open the same wayWe will check the totals. We will send the report. We will call the client.Fine in order. After a skip or an ad-lib, the shared opening cannot tell the lines apart, so the words after it have to
A paragraph pasted in twiceThe same introduction at the top and near the endTwo identical passages cannot be told apart by their words. Delete the accidental copy

Run the two-pass test

Use the real passage if you have one. Otherwise paste this: “Yes, yes, open the blue folder. No, no, look at the second chart. We will check the totals. We will send the report. We will call the client.”

Results arrive live and can still change while you speak, so judge by where the script ends up.

  1. Press 1 for Follow my voice and press Start.
  2. Pass one: read all five sentences at your natural pace. The status should stay on “Following you”, and the spoken words should fade through both doubled words.
  3. After “yes, yes”, glance at the heard words beside the level meter. They show whether the recognizer returned the word once or twice. Either way, the script should have moved on.
  4. Press R. Pass two: read the first two sentences, then skip straight to “We will send the report.”
  5. The script should arrive on that line within a few words. If it lands on “We will check the totals”, keep reading. The words after the shared opening should correct it.
  6. Go back and re-read “No, no, look at the second chart.” Going back needs more proof, so give it the whole sentence.

Source: MDN Web Docs, SpeechRecognition result event

Source: MDN Web Docs, SpeechRecognition interimResults property

What our tests showed about wrong jumps

In our automated tests on recorded speech, we simulated a deliberately poor recognizer on top of the recordings: 12% wrong words, 8% dropped, 8% extra, plus restarts. The follower made 0 wrong long jumps in 200 runs. Also in our automated tests on recorded speech, a re-read line was found in about 3 seconds and a skipped paragraph in about 2 seconds.

Those are results on recordings. A live voice through a real microphone has not been measured, so run the two-pass test on your own passage.

Fix the lines that confuse it

Change the script only where the test showed a problem.

  • Vary the opening of lines in a list. “We will check”, “Then we send” and “Last, we call” differ from the first word.
  • Where the repetition is the point, as in a speech with a refrain, keep it and make the words right after the shared opening distinct.
  • Delete accidental duplicates, such as a paragraph pasted in twice.
  • If the script is on the wrong line mid-take, click the word you are on. The Left and Right arrows move one sentence at a time.
  • For a poem, a chant or a list where almost every line repeats, use Steady scroll at your measured pace.

To see how the script behaves when you leave it on purpose, run the ad-lib recovery test.

Common questions

Will voice following get stuck if I say the same word twice?

No. In ZeroPrompter, reading on needs almost no proof and small mishearings are tolerated. A doubled word such as “yes, yes” does not stall the script, whether the recognizer reports the word once or twice.

How do I get back if the script jumps to the wrong repeated line?

Click the word you are actually on, and the script starts from there. You can also press the Left or Right arrow to move one sentence at a time, or scroll the script by hand to move your place.

Does a speech with a refrain work with voice following?

Read in order, yes. The follower works around your current place, so a repeated line further on should not pull it away. The risk comes after a skip or an ad-lib, when lines with the same opening can only be told apart by the words that follow.