The hard cases, and what we built for them

A stereo file’s two channels cancel each other into near silence. A reader leaves out an ayah’s last word and runs straight into the next. Someone types a Quranic word the way they write it every day.

Each project below starts from cases like these. It shows what we built, then one number with its kind, its sample and its date, and where that number stops applying. A dated label says whether you can use it today.

How to read each project

Labels

Live
Served now, in the app.
Public code
Merged in the public Bayaan repository, under AGPL-3.0. A store release may not carry it yet.
In testing
Built, and not in a store release yet.
Publishing soon
A fuller write-up of the timing engine is on its way.
In the lab
Research on our bench. Not released.

Figures

Bench
Measured on a fixed test set, not in everyday use.
Counted
A count over the whole text or the whole set.
Measured run
What one real run did.

Timing and listening

Real recordings are messier than the text they follow.

  • Automatic ayah marking

    A reciter repeats an ayah and the highlight falls seconds behind. Our aligner matches each sound to the surah’s own text, and now starts where the ayah begins, not at the repeat.

    6,420 hours

    of recitation aligned automatically, ayah by ayah and word by word

    Measured run: 27,932 surah recordings. Oct 2026. Hours aligned, not hours checked by hand.

    • Live in the app, checked
    • Publishing soon, as of
  • Recitation checking

    Someone talks nearby or the reader restarts an ayah, and a word read correctly turns red. So a second model listens again before any word is marked.

    7 false marks

    on correct recitation, on our bench, down from 68 before the second look

    Bench: 69,693 correctly recited words in 357 takes by 20 reciters. 7 Nov 2026. Professional adult men in studio audio, with other voices mixed in digitally. Never run on a phone. No women or children, and learners’ own mistakes, vowels and tajweed are not caught.

    • Public code, merged
    • In testing for Hafs on iOS, as of

The text

When the text is the Quran, a near match is a bug.

  • Rewayat, held to the official text

    Warsh differs from Hafs in words, in spelling and in where ayat end. Each rewayah’s official text is placed word by word, and one word out of place stops the build.

    83,668 word slots

    per rewayah, every word held to the official text

    Counted: 7 rewayat besides Hafs, from the King Fahd Complex’s official texts. 18 Nov 2026. Pages keep the Hafs layout; each rewayah’s own printed layout is not built yet.

    • Live in the app since
  • People type Quranic words the way they write every day, and a strict search finds nothing. Ours derives those everyday spellings from the mushaf text itself.

    99.86%

    of single words found when typed in everyday spelling, up from 99.01% before the word-specific spelling rules

    Bench: every word of the Quran, typed as the King Fahd Complex’s everyday-spelling (imla’i) text writes it. 19 Nov 2026. Hafs spellings, not those of the other rewayat; no typo tolerance and no transliterated search.

    • Public code, merged
  • Word Study

    The grammar comes from a treebank that splits and spells words its own way. The build matches every word to the mushaf letter by letter, and stops if one does not fit.

    77,429 words

    each with its i’rab and morphology

    Counted: every word of the 6,236 verses, Hafs text. 19 Nov 2026.

    • Public code, merged
  • Mushaf pages, drawn live

    The beta set the new print’s glyphs on the old print’s lines, so lines ran wider or narrower than the page. The rebuilt layout draws each page line for line like the print.

    8,790 full lines

    set flush with both margins, as the print sets them

    Counted: 604 pages of Mushaf 1440, the layout of the 1441H Madinah print. 14 Nov 2026. Checked by tests on every page with the real fonts; not yet run on a device when it merged.

    • Live in the app since
    • Public code for Mushaf 1440, merged

In the lab

Research we run on our bench. None of it is released.

  • The next listener

    A newer follower hears nearly twice as many changed words, and on its own marks too many correct ones. We test our second look on it, and whether a phone can hear a wrong vowel.

    0.17 per 1,000 words

    false marks on correct recitation with our second look on the next follower, on our bench, down from 2.02 on its own

    Bench: 69,693 correctly recited words in 357 takes by 20 reciters; Tilawa 1.0 rc.1, full model. 25 Nov 2026. Professional adult men in studio audio, never run on a phone. Tilawa 1.0 is a release candidate, and our runner for it is not published yet.

    • In the lab, last run

Open problems

The hardest problems still open. We are working on every one of them.

  • Live prayer audio

    Automatic ayah marking

    Our library holds 57 Taraweeh sets, 6,313 surah files, that the app does not show yet. One reason: the aligner cannot yet time a live Taraweeh recording.

    Counted: audio sets in our library with no entry in the app’s catalogue. 29 Oct 2026. Source: r2-staged-sets.md

  • Learners’ own mistakes

    Recitation checking

    On recordings of learners reciting Al-Ikhlas, 0 of 675 labelled mistakes drew a mark. On a second public learner set, 0 of 52 did. Every catch on our bench comes from a professional reciter read against another ayah’s text, not from a learner’s own slip.

    Bench: 787 clips from 201 learners reciting Al-Ikhlas, and 451 clips from 57 learners in a second public learner set. 7 Nov 2026. Source: SCOREBOARD.md

  • Women, children and real rooms

    Recitation checking

    Every reciter on our bench is an adult man recorded in a studio, and the voices behind them were mixed in digitally. None of it has run on a phone yet.

    From the scoreboard’s list of what is untested, 7 Nov 2026. Source: SCOREBOARD.md

  • Wrong vowels and tajweed

    The next listener

    The check hears which word was said, not its vowels or its tajweed. Whether a phone can hear a wrong vowel is one of the questions in the lab.

  • Cheap Android phones

    Following and checking have to run offline on a low-cost Android phone, with little memory and a slow processor, without falling behind the reader. Today recitation checking is in testing on iOS only.

Sources and credits

Every number on this page was read at its source on . Where the source is public, it is linked here.