QUL supports two types of Quranic recitations audio data:
1. Surah-by-Surah (Gapless)
- Contains 114 audio files, one per surah.
- Each audio file plays the entire surah continuously without gaps.
- Often referred to as gapless audio.
2. Ayah-by-Ayah (Gapped)
- Contains 6,236 audio files, one for each ayah (verse) in the Quran.
- Each audio file corresponds to a single ayah.
- Also called gapped audio due to discrete audio segments for each ayah.
- Useful for playing single ayah without loading the full surah audio.
Ayah-by-Ayah Segments Data Format
{
"surah": <surah_number>,
"ayah": <ayah_number>,
"audio_url": "audio file url",
"segments": [
[ <segment_index>, <start_time_ms>, <end_time_ms> ],
...
]
}
Surah-by-Surah Segments Data Format
{
"surah:ayah": {
"duration_sec": <duration in seconds>,
"timestamp_from": "start time of this ayah within audio file",
"timestamp_to": "end time of ayah",
"segments": [
[ <segment_index>, <start_time_ms>, <end_time_ms> ],
...
]}
}
Sample data for surah segment
{
"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
}
}