quran / quran_android

a quran reading application for android
http://android.quran.com
GNU General Public License v3.0
2.02k stars 890 forks source link

can someone help with the specific word recitation, the reference in the code i mean? #932

Open Fahad-pnw opened 6 years ago

Fahad-pnw commented 6 years ago

asalamoalaikum,

i'm looking forward to integrate recitation within an app, i tried to go through documentation but unfortunately couldn't have found it yet, thought it would be easier to ask the community here.

so what i want to do it, pass an sdk/api a specific word by the reference with which this platform works, in return it could return be the audio particular to that word.

i know its all in there, but with so much information, i'm not too sure where should i start looking (besides diving in the code).

hoping to be pointed in some direction that allows to review existing code / documentation / help regarding this :) thank you! and thank you for the platform.

Ahmed9914 commented 6 years ago

و عليكم السلام و رحمة الله و بركاته @fahadbilal I think that timing database here is aya-by-aya, but if you want timing files for word-by-word, you can check this repo.

Fahad-pnw commented 6 years ago

i was reading this one too but now this one utilizes python and other tools i've never heard of. but on the web/react part there's some code which suggest how i'd go on about implementing it, since the Quran.com's web app allow you to particularly hit a single word and get its recitation.

also, i'm not yet entirely sure if the APIs respond with corresponding raw audio or if there's an sdk, or the database exists and you must call upon the right file by referencing some api? i mean what's the process for Ayah recitation? is there a REST API?

Fahad-pnw commented 6 years ago

also, to clarify, is there a possibility to reference an ayah by Surah # : Ayah# and get its raw audio? and then get the timing file for the ayah and then utilize how Quran.com is referencing word recitation?

naveed-ahmad commented 6 years ago

@Fahad-pnw you're looking for word by word recitation, right? yes there is REST api but you've to get permission from recitequran.com for using this data. Quran.com has sourced this data from recitequran.com.

Fahad-pnw commented 6 years ago

Thankyou both. JZK!

Could you please tell more, could i review the api or the docs or anything? Should i just email them or do they have anything open sourced?

On Sat, Mar 31, 2018, 08:33 Naveed Ahmad notifications@github.com wrote:

@Fahad-pnw https://github.com/Fahad-pnw you're looking for word by word recitation, right? yes there is REST api but you've to get permission from recitequran.com for using this data. Quran.com has sourced this data from recitequran.com.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/quran/quran_android/issues/932#issuecomment-377662624, or mute the thread https://github.com/notifications/unsubscribe-auth/AJERSi5yt-WMiA_9As_-R2YKfNgDQ_31ks5tjvkFgaJpZM4RsR_2 .

naveed-ahmad commented 6 years ago

Please got the permission and ill share the api.

naveed-ahmad commented 6 years ago

But above all, why not contribute this feature in this app? Why you're trying to build something from scratch.

Fahad-pnw commented 6 years ago

Where could i get the permission? Contacting via the email on web hasn't got me any reply brother. Do you have any other contact info too?

I don't think I'm trying to build something from scratch therefore, i am looking for an api. I am working on a mobile app that has arabic, quranic Ayahs and i need particular words to sound only. So I'm not too sure yet how to go on about that, what I'm trying to do is have a mualim/scholar take care of it which is quite a hassle unless someone else already has an api.

While playing from timing files from ayahs seem a very tedious task, a more straight forward api would be meaningful.

On Sun, Apr 1, 2018, 01:16 Naveed Ahmad notifications@github.com wrote:

But above all, why not contribute this feature in this app? Why you're trying to build something from scratch.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/quran/quran_android/issues/932#issuecomment-377720261, or mute the thread https://github.com/notifications/unsubscribe-auth/AJERSmj-aAoULKhCiTyPeKVzN1zCXu64ks5tj-QUgaJpZM4RsR_2 .

Fahad-pnw commented 6 years ago

also, if you have an email/contact number or any particular detail so i could reach them out directly, it would be helpful, someone who's working along contacted their website and didn't get no answer, so any hint from here would be helpful and thank you!

naveed-ahmad commented 6 years ago

https://web.facebook.com/sheikyusufestes

On Sun, Apr 1, 2018 at 8:02 AM, Penandweb notifications@github.com wrote:

also, if you have an email/contact number or any particular detail so i could reach them out directly, it would be helpful, someone who's working along contacted their website and didn't get no answer, so any hint from here would be helpful and thank you!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quran/quran_android/issues/932#issuecomment-377739566, or mute the thread https://github.com/notifications/unsubscribe-auth/AAq0f_y7zHvD5Lao6jFocCpwfDBfmjWaks5tkEM3gaJpZM4RsR_2 .

-- Naveed Ahmad Github http://www.github.com/naveed-ahmad | Stackoverflow http://stackoverflow.com/users/671046/naveed | Linkdin http://stackoverflow.com/users/671046/naveed | D https://delicious.com/naveedahmadelicious https://delicious.com/naveedahmad Skype: naveed.ahmad.36 | Direct: +923234263188