Audio of the whole Quran recited by Sahl Yasin, one file per surah, with timings for each word so you can highlight words as the audio plays.
Every recitation on QUL comes as audio files plus segment data — the timestamps that say which word is being recited at which moment. Segments are what lets you highlight words as the audio plays.
Recitations come in one of two shapes:
[word position, start in ms, end in ms].
Word positions start at 1 and match the word order of the ayah.
{
"surah": 1,
"ayah": 1,
"audio_url": "https://.../001001.mp3",
"segments": [
[1, 361, 1051],
[2, 1051, 1622]
]
}
Keyed by surah:ayah. timestamp_from and timestamp_to locate the
ayah inside the surah's audio file; the word timings inside segments use the same clock.
{
"1:1": {
"segments": [
[1, 361, 1051],
[2, 1051, 1622],
[3, 1662, 2763],
[4, 2803, 4385]
],
"duration_sec": 4,
"duration_ms": 4224,
"timestamp_from": 361,
"timestamp_to": 4585
}
}
Loading…