hamzah
Place 2 of 17, in al-ḥalq, the throat
أقصى الحلق aqṣā al-ḥalq. The deepest part of the throat, furthest from the mouth.
Qualities
- jahr voiced
- shiddah strong
- istifāl lowered
- infitāḥ open
- iṣmāt restrained
Weight. Always light (tarqīq).
A speech model Quran Lab is building to hear tajweed: the sound made, where it was made, how long it was held, and how it was coloured.
Status In training. Not released.
وَلَا ٱلضَّآلِّينَ
A teacher of tajweed hears four things in every letter, almost at once. TajweedFormer is being built to listen for the same four, from a phone's microphone, while the reciter is still reading. It is meant to describe what it heard against what the text and its rules allow, including both ways where the tradition allows two. It is not meant to invent mistakes, and it is not a teacher.
Was it ṣād or sīn, ḍād or ẓāʾ, a fatḥah or a kasrah? A letter said in the wrong way can become another letter, and the meaning of the word can change with it.
The sound-identity output names each sound as it is spoken.
Each letter has one place in the throat, tongue, lips or nose. Two letters that sound close to an untrained ear, like the two hāʾ letters, come from different places.
There is no separate output for place: a letter made in the wrong place is a different sound, and the sound-identity output hears it as one.
Madd is counted in ḥarakāt, and so is the ghunnah of a doubled nun or mim. The count is relative to the reciter: what matters is whether six was six against that same reciter's two.
A timing output marks where each sound starts and how long it lasts, so lengths are measured, not guessed.
Heavy or light, whispered or voiced, with or without ghunnah, with or without the rebound of qalqalah. These qualities complete the letter once its place is right.
Letter-attribute outputs report ghunnah, qalqalah, tafkhīm and tarqīq, and the other qualities.
Ibn al-Jazari (died 833 AH, 1429 CE), the master of the readings, opens his short poem on tajweed with the places of articulation, the makhārij. He counts seventeen, in five regions, and every one of the twenty-nine letters belongs to exactly one of them. A reciter who puts a letter in the wrong place has made a different letter. Choose a letter to see its place, the posture of the tongue and lips, and its qualities, the ṣifāt.
Place 2 of 17, in al-ḥalq, the throat
أقصى الحلق aqṣā al-ḥalq. The deepest part of the throat, furthest from the mouth.
Weight. Always light (tarqīq).
Place 1 of 17, in al-jawf, the open space of the mouth and throat
الجوف al-jawf. The hollow of the mouth and throat. The three letters of madd have no fixed point of contact: they end where the breath ends.
Weight. Alif has no weight of its own: it is heavy after a heavy letter and light after a light one.
Place 16 of 17, in ash-shafatān, the two lips
الشفتان ash-shafatān. The two lips: closed firmly for ba, closed gently for mim, rounded and left open for waw.
Weight. Always light (tarqīq).
Place 12 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue against the roots of the upper incisors.
Weight. Always light (tarqīq).
Place 14 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue against the edges of the upper incisors.
Weight. Always light (tarqīq).
Place 7 of 17, in al-lisān, the tongue
وسط اللسان wasaṭ al-lisān. The middle of the tongue against the hard palate above it.
Weight. Always light (tarqīq).
Place 3 of 17, in al-ḥalq, the throat
وسط الحلق wasaṭ al-ḥalq. The middle of the throat.
Weight. Always light (tarqīq).
Place 4 of 17, in al-ḥalq, the throat
أدنى الحلق adnā al-ḥalq. The part of the throat nearest the mouth.
Weight. Always heavy (tafkhīm).
Place 12 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue against the roots of the upper incisors.
Weight. Always light (tarqīq).
Place 14 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue against the edges of the upper incisors.
Weight. Always light (tarqīq).
Place 11 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue, close to the place of nun but taking in more of the top of the tongue.
Weight. Heavy or light depending on its own vowel and on what comes before it.
Place 13 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue just above the lower incisors, with a narrow channel for the whistle of the air.
Weight. Always light (tarqīq).
Place 13 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue just above the lower incisors, with a narrow channel for the whistle of the air.
Weight. Always light (tarqīq).
Place 7 of 17, in al-lisān, the tongue
وسط اللسان wasaṭ al-lisān. The middle of the tongue against the hard palate above it.
Weight. Always light (tarqīq).
Place 13 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue just above the lower incisors, with a narrow channel for the whistle of the air.
Weight. Always heavy (tafkhīm), and the heaviest group, because the tongue also closes over the palate.
Place 8 of 17, in al-lisān, the tongue
حافة اللسان ḥāffat al-lisān. One or both sides of the tongue against the upper molars, the left side or the right. The contact is along the side, so the diagram marks it beside the molars.
Al-Jazari warns that ḍād must be kept apart from ẓāʾ: they differ in point and in istiṭālah.
Weight. Always heavy (tafkhīm), and the heaviest group, because the tongue also closes over the palate.
Place 12 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue against the roots of the upper incisors.
Weight. Always heavy (tafkhīm), and the heaviest group, because the tongue also closes over the palate.
Place 14 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue against the edges of the upper incisors.
Weight. Always heavy (tafkhīm), and the heaviest group, because the tongue also closes over the palate.
Place 3 of 17, in al-ḥalq, the throat
وسط الحلق wasaṭ al-ḥalq. The middle of the throat.
Weight. Always light (tarqīq).
Place 4 of 17, in al-ḥalq, the throat
أدنى الحلق adnā al-ḥalq. The part of the throat nearest the mouth.
Weight. Always heavy (tafkhīm).
Place 15 of 17, in ash-shafatān, the two lips
بطن الشفة baṭn ash-shafah. The inside of the lower lip against the edges of the upper incisors.
Weight. Always light (tarqīq).
Place 5 of 17, in al-lisān, the tongue
أقصى اللسان aqṣā al-lisān. The back of the tongue against the soft palate above it. Qaf is made deepest, close to the throat.
Weight. Always heavy (tafkhīm).
Place 6 of 17, in al-lisān, the tongue
أقصى اللسان aqṣā al-lisān. The back of the tongue against the palate, a little lower and further forward than qaf.
Weight. Always light (tarqīq).
Place 9 of 17, in al-lisān, the tongue
أدنى حافة اللسان adnā ḥāffat al-lisān. The front rim of the tongue to its very tip, against the gums of the upper front teeth.
Weight. Light, except in the name Allah after a fathah or a dammah, where it is heavy.
Place 16 of 17, in ash-shafatān, the two lips
الشفتان ash-shafatān. The two lips: closed firmly for ba, closed gently for mim, rounded and left open for waw.
Its body is made with the lips; its ghunnah resonates in the khayshum.
Weight. Always light (tarqīq).
Place 10 of 17, in al-lisān, the tongue
طرف اللسان ṭaraf al-lisān. The tip of the tongue against the gum of the upper incisors, just below the place of lam.
Its body is made at the tip of the tongue; its ghunnah resonates in the khayshum.
Weight. Always light (tarqīq).
Place 2 of 17, in al-ḥalq, the throat
أقصى الحلق aqṣā al-ḥalq. The deepest part of the throat, furthest from the mouth.
Weight. Always light (tarqīq).
Place 16 of 17, in ash-shafatān, the two lips
الشفتان ash-shafatān. The two lips: closed firmly for ba, closed gently for mim, rounded and left open for waw.
As a consonant, wāw is made with the lips. When it carries sukun after a fathah, as in khawf, it is a letter of līn.
Weight. Always light (tarqīq).
Place 7 of 17, in al-lisān, the tongue
وسط اللسان wasaṭ al-lisān. The middle of the tongue against the hard palate above it.
As a consonant, yāʾ is made with the middle of the tongue. With sukun after a fathah, as in bayt, it is a letter of līn.
Weight. Always light (tarqīq).
Place 1 of 17, in al-jawf, the open space of the mouth and throat
الجوف al-jawf. The hollow of the mouth and throat. The three letters of madd have no fixed point of contact: they end where the breath ends.
Wāw with sukun after a dammah is a letter of madd and comes from the jawf.
Weight. Light; it carries the vowel before it.
Place 1 of 17, in al-jawf, the open space of the mouth and throat
الجوف al-jawf. The hollow of the mouth and throat. The three letters of madd have no fixed point of contact: they end where the breath ends.
Yāʾ with sukun after a kasrah is a letter of madd and comes from the jawf.
Weight. Light; it carries the vowel before it.
الجوف al-jawf, the open space of the mouth and throat
الحلق al-ḥalq, the throat
اللسان al-lisān, the tongue
الشفتان ash-shafatān, the two lips
الخيشوم al-khayshūm, the nasal passage
Nun and mim have two places: the body of the letter where the tongue or lips close, and its ghunnah in the khayshum, place 17. Waw and ya are made at the lips and the middle of the tongue as consonants, and in the jawf as letters of madd.
Madd is lengthening. Its unit is the count, a ḥarakah, the time of one short vowel. Each kind of madd has the lengths it allows, and those lengths are fixed in counts, not in seconds: a slow reciter's six counts last longer than a quick reciter's six. Where the tradition transmits more than one length, every one of them is correct.
Each row is one kind of madd; each bar is one permitted length, read right to left. A dashed bar is permitted only under a condition, given beside it when you choose the row.
المد الطبيعي, natural
Cause. A letter of madd with no hamzah and no sukun after it.
مَٰلِكِ يَوْمِ ٱلدِّينِ
Two counts, never more and never less. It is the yardstick for every other length: a reciter who reads slowly holds it longer in seconds, and every other madd stretches with it.
المد الواجب المتصل, joined
Cause. A letter of madd followed by a hamzah in the same word.
إِذَا جَآءَ نَصْرُ ٱللَّهِ
Al-Jazari calls it wājib, required: it must be lengthened beyond two. In Hafs by way of al-Shatibiyyah it is four or five counts. If the word ends on that hamzah and the reciter stops there, six is also read.
Dashed: 6 counts, when the reciter stops on a hamzah that ends the word.
المد الجائز المنفصل, separated
Cause. A letter of madd at the end of one word, and a hamzah at the start of the next.
إِنَّآ أَعْطَيْنَٰكَ ٱلْكَوْثَرَ
Al-Jazari calls it jāʾiz, permitted: the readings differ on it. In Hafs by way of al-Shatibiyyah it is four or five counts, and some turuq of Hafs shorten it to two. Other riwayat have their own lengths. A reciter keeps one choice throughout a recitation.
Dashed: 2 counts, by other turuq of Hafs recorded in al-Nashr.
المد اللازم, necessary
Cause. A letter of madd followed by a sukun that is there whether the reciter stops or continues.
وَلَا ٱلضَّآلِّينَ
الٓمٓ
Six counts, and no shorter length is read. It also occurs in the letters that open some surahs: in alif lām mīm, the lām and the mīm are each held for six.
المد العارض للسكون, for a stop
Cause. A letter of madd before the last letter of a word, when the reciter stops on that word.
ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ
The sukun exists only because of the stop. Read on without stopping and this is a plain two-count madd. At the stop, two, four and six are all transmitted.
مد اللين, ease
Cause. Wāw or yāʾ with sukun after a fathah, before the last letter of a word, when the reciter stops.
فَلْيَعْبُدُوا۟ رَبَّ هَٰذَا ٱلْبَيْتِ
The diphthong of bayt or khawf. Read on and there is no madd at all. At the stop, two, four and six are transmitted, like the ʿāriḍ.
A nun with sukun, and the tanwīn that sounds like one, changes with the letter that follows it. Al-Jazari gives four outcomes: iẓhār, idghām, iqlāb, ikhfāʾ. Mim with sukun has three of its own. What a listener has to hear is small: whether the tongue closed, whether the lips closed, and whether sound went through the nose.
Choose the letter that comes next.
nūn sākinah, then bāʾ
iqlāb
iẓhār إظهار
No added ghunnah, before
ء ه ع ح غ خ
Before the six letters of the throat, the nun is said plainly, with no added ghunnah.
صِرَٰطَ ٱلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ
idghām with ghunnah إدغام بغنة
With ghunnah, before
ي ن م و
Before the four letters of yanmū, the nun merges into the next letter and its ghunnah is held. Inside a single word, as in dunyā, the nun stays clear.
فَمَن يَعْمَلْ مِثْقَالَ
تَرْمِيهِم بِحِجَارَةٍ مِّن سِجِّيلٍ
idghām without ghunnah إدغام بلا غنة
No added ghunnah, before
ل ر
Before lām and rāʾ, the nun disappears completely into the next letter, which is doubled.
وَلَمْ يَكُن لَّهُۥ كُفُوًا
iqlāb إقلاب
With ghunnah, before
ب
Before bāʾ, the nun turns into a mim, with its ghunnah, the lips closing lightly.
مِنۢ بَعْدِ مِيثَٰقِهِۦ
لَنَسْفَعًۢا بِٱلنَّاصِيَةِ
ikhfāʾ إخفاء
With ghunnah, before
ت ث ج د ذ ز س ش ص ض ط ظ ف ق ك
Before the remaining fifteen letters, the nun is neither said plainly nor merged: the tongue does not close for it, and the sound passes through the nose while the mouth prepares the next letter.
إِنَّآ أَنزَلْنَٰهُ
ikhfāʾ shafawī إخفاء شفوي
With ghunnah, before
ب
Before bāʾ, the mim is hidden with ghunnah. Al-Jazari records this as the choice of the masters of performance.
تَرْمِيهِم بِحِجَارَةٍ
idghām shafawī إدغام شفوي
With ghunnah, before
م
Before another mim, the two merge into one doubled mim with ghunnah.
ٱلَّذِىٓ أَطْعَمَهُم مِّن جُوعٍ
iẓhār shafawī إظهار شفوي
No added ghunnah, before every other letter
Before every other letter, the mim is said plainly. Al-Jazari warns to keep it clear before wāw and fāʾ, where it is easiest to lose.
لَمْ يَلِدْ وَلَمْ يُولَدْ
Five letters, gathered in the phrase quṭbu jad: ق ط ب ج د. Each is made by closing the mouth completely and then releasing it. When one of them carries sukun, the release is still heard as a small rebound, without a vowel after it. In the middle of a reading it is light. At a stop it is fuller, because the letter is the last sound the listener hears.
The rebound is short, and it is easy to hear a vowel that is not there or miss a rebound that is. This is one of the sounds the model is being trained to report directly from the audio.
لَمْ يَلِدْ وَلَمْ يُولَدْ
In the middle: the dāl of yalid, with the reading continuing.
قُلْ أَعُوذُ بِرَبِّ ٱلْفَلَقِ
At a stop: the qāf of al-falaq.
The separated madd may be four counts or five. A stop on al-ʿālamīn may hold the yāʾ for two, four or six. A model that learns one canonical answer will mark correct reciters wrong. So the target for every such place is the whole set of transmitted faces, and the report names the face it heard.
Read on from al-ʿālamīn into the next ayah and the final nun keeps its vowel and the madd before it is two counts. Stop there and the vowel goes, and the madd may grow. The rule depends on where this reciter chose to pause, which can only be known from the audio. A pause to breathe is not a mistake.
ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ
The model hears audio as a stream of frames, each twenty milliseconds long. A count is not a fixed number of frames: at a pace of 0.4 s per count it is twenty frames, at 0.25 s it is about twelve. Lengths have to be measured against the same reciter's short vowels and natural madd, in the same breath.
The people who most need feedback are learners, many of them children, reciting into a phone in an ordinary room. Their voices are higher, rooms echo, and the sounds that decide a rule, a short release or a trace of nasal sound, are among the quietest in the recitation.
TajweedFormer is a streaming model: it reads the recitation in short pieces as they arrive, so it can answer while the reciter is still on the word. It is designed to run on the phone itself, in real time. Its encoder is a Zipformer, whose middle layers work at a slower frame rate than its outer ones; its authors designed it to be faster and lighter on memory than the encoders before it. On top of the encoder sit several small outputs, one for each kind of listening.
It reports the sounds it heard. Those sounds are then compared with the text, and with every face the rules allow at each place, so that a permitted reading is never reported as a mistake.
Audio, in short pieces
The microphone signal, cut into chunks and into frames of 20 ms.
Zipformer encoder
Six stacks; the middle ones see fewer, coarser frames, then the rate rises again.
Outputs
The text and its rules
Outside the model: the ayah being read, every face transmitted at each place, and the reciter's own stops.
What was heard
A description per place, with the face chosen, or a plain "unsure".
The sounds it heard, in order.
As they were spoken, not as they are written.
What it heard at each rule, beside what the rules allow.
For example: four counts were held here; two, four and six are all transmitted.
Which permitted face the reciter chose.
Where the tradition allows more than one, naming the one heard is the answer.
Unsure, when the audio does not settle it.
A phone in a noisy room will sometimes not carry enough sound to decide.
A grade for the person.
It describes a recitation. It does not score the reciter.
A permitted face as a mistake.
Every transmitted length and reading at a place counts as correct.
A pause for breath as a mistake.
The stop is described under the rules for stopping, and the reading continues from there.
A mistake it did not hear.
Nothing is reported from the text alone.
What cannot be heard.
Ishmām, the rounding of the lips without sound, is not judged from audio.
Tajweed is taken from a teacher, who took it from a teacher, back to the Prophet, peace be upon him. A model can help a learner hear their own recitation more clearly between lessons. It does not replace the one who teaches it.