Tracking Tarawih in real time: showing the ayah and translation on screen in your masjid
In many masjids, a large part of the congregation follows the Tarawih recitation without understanding most of it. Some bring a mushaf, a few follow on a phone app, most simply listen. A screen near the musalla that shows the ayah being recited, with its translation, changes that: the meaning is there while the imam recites, not afterwards in a tafsir class.
This post describes how such a screen can work automatically, what it needs, and where it struggles. The Tarawih demo on our home page shows the screen itself.
What the screen shows
- The current ayah in Arabic, large, with the word the imam is on highlighted.
- Its translation, in our demo Saheeh International in English, shown unmodified with its source, as its publisher asks.
- Where we are: the surah, the page, and how far through the night's passage the recitation has come.
- The ayah before, faded, so someone who looked away can catch up.
Nobody operates it. It listens through a microphone near the speaker or on the sound system's output and follows the imam.
How it follows the imam
It uses the same engine as our phone app's Prayer view: a speech model that runs on the laptop's CPU and a tracker that places what it hears in the Quran (how tracking works).
Prayer has a structure the tracker can use. Every rak'ah begins with Al-Fatiha. So the screen starts listening in Sync mode at the first word of Al-Fatiha. After Al-Fatiha the imam moves on to the night's passage, and the tracker searches the whole Quran for it by itself. Each new rak'ah begins with Al-Fatiha again, and the screen follows.
On the two masjid prayer recordings we tested, starting at Al-Fatiha locks on at 1:1 in about 4 seconds, where a blind search first finds it at 1:3 after about 11 seconds. Between units the screen simply waits while there is takbir, ruku and sujud.
Why no internet
A masjid's Wi-Fi in Ramadan is not something to depend on, and the recitation of a congregation is not something to stream to a company's server. The model runs on the laptop itself and needs no network once it is loaded. There is no subscription and no per-minute charge, which matters for a masjid budget.
What you need
- A laptop or a small PC with a current browser (Chrome, Edge, Safari or Firefox). The speech model uses a few percent of one CPU core.
- A TV or projector.
- An audio feed: a microphone near the imam's speaker, or better, a line from the mixing desk. Clean audio is the single biggest factor in how well it follows.
Where it struggles
- Reverberation. Large halls blur the sound. A line feed from the desk avoids most of this.
- The imam's own corrections. When an imam slips into a similar ayah and corrects himself, the screen follows him there and back. In one recording an imam opened 6:133 ("وربك الغني ذو الرحمة"), continued for about 12 seconds with the rest of 18:58, which starts almost the same way, then restarted 6:133; the tracker followed both. That is correct behaviour, but the screen briefly shows the other ayah.
- Long duas and the qunut. These are not Quran text; the screen holds the last ayah until the recitation resumes.
- Very fast recitation loses more words.
Getting it for your masjid
The Naml Masjid kit ($500, one-time) is this screen: the app set up for a big display, launchers that open it full-screen with the microphone allowed, and a setup guide for the laptop, the screen and the audio feed. A masjid volunteer can install it in an evening. If you would rather have it set up for you, including a test on a recording from your own masjid, write to us.
A note on our demo: the page currently plays a placeholder recording, a phone recitation of Ar-Rahman, until we add a real Tarawih recording we have the right to show. If your masjid would like to contribute one, we would be glad to hear from you.