ragaeeb / quran10

Quran10 repository
4 stars 1 forks source link

Support page-by-page downloads of recitation #5

Closed GoogleCodeExporter closed 7 years ago

GoogleCodeExporter commented 9 years ago
There is currently a performance issue where the recitation playback sometimes 
has awkward pauses because of the verse-by-verse nature of the audios.

Even with the dual-channel playback optimization this can still be heard 
because the audio might not be cut properly.

As a result download the full surahs and use the timings to do the verse 
highlighting.

Original issue reported on code.google.com by canadai...@gmail.com on 22 Jul 2013 at 9:19

GoogleCodeExporter commented 9 years ago

Original comment by canadai...@gmail.com on 22 Jul 2013 at 9:20

GoogleCodeExporter commented 9 years ago

Original comment by canadai...@gmail.com on 29 Jul 2013 at 11:35

GoogleCodeExporter commented 9 years ago
I don't agree with this being an acceptable solution to a rather minor problem 
in my opinion.
In terms of user experience it would be much preferred for a user to select a 
Surah and let it Stream almost immediately rather than downloading the entire 
Surah which can easily take > 15 minutes

Original comment by goo...@emtunc.org on 30 Jul 2013 at 3:19

GoogleCodeExporter commented 9 years ago
Hi,

The reason for this solution is not so much of a performance problem as a 
dependency issue. Currently the app downloads the verses one at a time from 
http://www.versebyverse.com to be able to play the surah.

The problem is that these verses are split by random users and uploaded to 
their database. Not all the verses are split properly, and sometimes the users 
unintentionally split the verses too late (there are many cases of this for 
certain reciters). When they do this an awkward pause happens when you try to 
transition from one ayat to another.

We tried to optimize this solution in the last update (v2.5.0.1) by having a 
dual-channel playback algorithm. Essentially to avoid the awkward pause, just 
as the first ayat is about to finish, we already have the second ayat buffered 
and we begin playback of the second ayat simultaneously while the first ayat is 
just about to finish to the transition is smoother.

This solution sounded a bit better but after testing we found it to still be 
problematic because if the source files are not split properly and consistently 
then the pauses can still be heard. Sometimes the ayat overlap with one another 
if certain parts of the surah was split properly and others were not.

As a result the solution we have to fall back on is this one. Where recitation 
will not be interrupted, and the "ayats" will be considered to be an 
independent variable, where we will simply know the timings for the ayats in 
each of the files. From there we can map the ayats to the positions in the mp3 
file and the playback will be completely uninterrupted.

I do agree though the best solution is if we could let it play verse by verse 
but it is not possible without introducing the problem mentioned above (which 
users have left reviews against). Also due to the lack of resources we do not 
have anyone in our team who can manually split the verses one by one.

If you have a better solution though to solve this problem however, we would be 
definitely happy to hear it and consider it for implementation.

Original comment by canadai...@gmail.com on 30 Jul 2013 at 6:05

GoogleCodeExporter commented 9 years ago
http://download.quranicaudio.com/quran/mishaari_with_saabir_mkhan/

Original comment by canadai...@gmail.com on 5 Jan 2014 at 7:57

GoogleCodeExporter commented 9 years ago
Defer

Original comment by canadai...@gmail.com on 21 Apr 2014 at 3:36

GoogleCodeExporter commented 9 years ago
Please explain and guide me how can I play recitation ..able to download whole 
quran but can't play the surah/ audio..thanks

Original comment by ottymaya...@gmail.com on 1 Jun 2014 at 10:51

GoogleCodeExporter commented 9 years ago
@ottymayasari, simply tap on the "Play All" button and it should work in shaa 
Allah.

Original comment by canadai...@gmail.com on 15 Jun 2014 at 12:04

GoogleCodeExporter commented 9 years ago
http://mirrors.quranicaudio.com/everyayah/

Original comment by canadai...@gmail.com on 15 Jun 2014 at 12:04

GoogleCodeExporter commented 9 years ago
Reduce priority

Original comment by canadai...@gmail.com on 21 Jan 2015 at 4:47

ragaeeb commented 7 years ago

Currently you can't listen to recitations when you are reading the pages.

ragaeeb commented 7 years ago

c053cfc5f3075870c31b5965f1ae518b93032ac5

ragaeeb commented 7 years ago

Verified with GCR v4.5.0.0