Comments (21)
Unfortunately I don't see any timings files on https://everyayah.com/data/timings_files/ for Mishary Al Afasy, so ayahs will have to be split up manually.
Bitrate is indeed the only thing to keep in mind. We currently have 64 and 128 for Al Afasi, so we can simply overwrite the older files and flush the cache from all the CDN PoPs and nothing has to change from an app standpoint.
I'll try and make some time to add the Bismillah to the first ayahs, inshaAllah.
And Aameen, and thank you for help. May Allah SWT accept our works.
from alquran.cloud.
3laykum Salaam @EssamWisam and thank you! I've made a start today on adding the Bismillah to the files and will keep you posted!
Aameen!
from alquran.cloud.
عليكم السلام!
Thank you for reaching out.
For the first request, it is possible, but I'll need to find the time to stitch together the audio files. And obviously 113 because surah al Tawba will not get the bismillah.
For getting better quality audio, we would need to find it by ayah. To be honest I have not looked if these are available by ayah. Yes, there are better recordings available by surah, but again those will require some time to split up by ayah.
Perhaps we can split the work up - but in any case, I'm more than happy to make the updates as long as we can have the audio files.
from alquran.cloud.
Yes, 113 certainly; was a quick thought. Thank you so much. This will be quite helpful for any app or service that plays the Surah ayah by ayah 🙏 .
I have been searching online if there is an ayah by ayah recitation for Afasi with consistent high quality but all the ones I found suffer from the same issue. I procedeed by quickly checking each of the 114 surahs and found that alhamdulilah only three suras in juz Ama need to be updated (Al-Naba, Al-Takwir, Al-Infitar). I'm not sure whether you have a tool that already does audio segmentation or something to split the surah into ayahs but I can handle splitting these manually by ayah from a high quality recording of the suras and upload them on GDrive and get back to you. For this, let me know if I need to take anything extra into consideration; the only thing that crosses my mind is that I need to convert to the supported bitrates.
Thank you so much for your prompt response and this great service.
جعله الله في موازين حسناتك وجزاك الله كل خير 🙏.
from alquran.cloud.
Assalmu Aleikum Meezaan,
I have spent few hours today trying to work on the splits for the suras. I ended up writing a script that would play the audio, record time and save timestamp checkpoint whenever keyboard input is given. I applied it on the three suras and listened to ayah splits repeatedly to do any needed modifications to the timestamps them more precise (now it's still not 100% precise split but I think any imprecision left is so minor or unnoticable). I followed by adding a version with bitrate to 64kb (the default ones shown in top level are 128kb).
You can find the ayah splits for the three suras in this Google drive link: https://drive.google.com/drive/u/0/folders/1qbTig-hyl4pNzM2jbrU96C6_bGQCj452 Note that segment_0
refers to the bismilliah.
Let me know if I should further change or do anything.
Thank you so much. May Allah SWT accept our works.
from alquran.cloud.
Salaam brother. I've made some progress, but there are still some files that need the bismillah added to them. In the meantime, I had a look at the archive you've provided. What I really need is mp3 files named after the ayah numbers - this way I can just push them to the object storage. So, for instance, Surah al-Takwir contains ayah numbers 5801 to 5829 from the Qur'an, and I'd need these files as 5801.mp3, 5802.mp3 ... 5829.mp3.
from alquran.cloud.
@EssamWisam Salaam! Edition ar.alafasy-2
has been added to the CDN which now contains the Bismillah with the first ayah of every surah except surah 9 (at-Tawba).
API still needs and update...watch this space.
from alquran.cloud.
Salaam brother. I've made some progress, but there are still some files that need the bismillah added to them. In the meantime, I had a look at the archive you've provided. What I really need is mp3 files named after the ayah numbers - this way I can just push them to the object storage. So, for instance, Surah al-Takwir contains ayah numbers 5801 to 5829 from the Qur'an, and I'd need these files as 5801.mp3, 5802.mp3 ... 5829.mp3.
W Aleikum Salam w Rahmut Allah,
I have modified them accordingly (same link as above for the Google drive).
Thank you so much and sorry for not being able to respond timely; had a busy weak.
from alquran.cloud.
@EssamWisam Salaam! Edition
ar.alafasy-2
has been added to the CDN which now contains the Bismillah with the first ayah of every surah except surah 9 (at-Tawba).API still needs and update...watch this space.
More than happy to hear this! I tried the API for Alafasi and it worked. Hope it's easy to extend other reciters as well. I am using the following in the app:
export const sheiksDict: { [key: string]: string } = {
"ar.alafasy": "مشاري العفاسي",
"ar.husarymujawwad": "محمود خليل الحصري",
"ar.abdulsamad": "عبدالباسط عبدالصمد", // will require bitrate 64
"ar.shaatree": "أبو بكر الشاطري",
"ar.hudhaify": "علي بن عبدالرحمن الحذيفي",
"ar.mahermuaiqly": "ماهر المعيقلي",
"ar.muhammadjibreel": "محمد جبريل",
"ar.minshawi": "محمد صديق المنشاوي",
};
from alquran.cloud.
Thank @EssamWisam. I will add the files shortly, but FYI they have lost all their ID3 tags. As you have scripted this, would it be possible for you to rerun the script and re-generate the files with the ID3 tags intact, please, and I'll reupload the files? Thank you.
So far I've done only done Mishary Al Afasy, and I did it manually. I'll need to script something to do the others,, so let's leave this issue open until then. Thanks.
from alquran.cloud.
Does this mean to get the ID3 tags from the original mp3s? I had no idea what an ID3 tag is.
I would be happy to help with a script that does it automatically for all of them but I would need to know how does the directory structure look like.
from alquran.cloud.
Does this mean to get the ID3 tags from the original mp3s? I had no idea what an ID3 tag is.
I would be happy to help with a script that does it automatically for all of them but I would need to know how does the directory structure look like.
The original structure is the same. If you pull the same file numbers from ar.alafasy on the CDN they have their id3 tags intact. On ar.alafasy-2, which now has the new files you provided, the id3 tags are missing.
from alquran.cloud.
Got it. Will try to fix the ID3 tags.
When I asked about the directory structure, I meant for the voice files for all sheikhs; I was alluding to helping with a script that automatically merges the bismillah for all of them and generates new folder for those.
Suppose I download all 256K audio for ar.husarymujawwad into one folder and then write a script to automatically add bismillah then call the folder ar.husarymujawwad-2, then would that help you do it for all?
from alquran.cloud.
The directory structure is available at https://raw.githubusercontent.com/islamic-network/cdn/master/info/cdn.txt.
Yes, it would, but I've already got some of this worked out, so it's not necessary for us to duplicate the work. Thank you!
from alquran.cloud.
شكراً جزيلاً لك أخي الكريم ميزان.
اقترحت العمل علي السكربت ظناً أنك قد تكون أكثر انشغالاً مني؛ لم أعرف انك قد بدأت العمل عليه بالفعل. شكراً جزيلاً لك وجزاك الله كل خير.
لقد قمت والحمدلله بإضافة معلومات الID3 إلي مقاطع الآيات علي نفس الرابط أعلاه.
شكراً لك.
from alquran.cloud.
Hope everything is going smoothly.
from alquran.cloud.
Salaam brother! Apologies for the delay. First we had a SSD failure on one of the servers which took up some time and then I had to to travel. The script is ready, but now I see that some reciters already have the Bismillah. So I need to check which ones don't and just feed those names to the script. But we are getting there, and will finish it soon with tawfeeq from Allah SWT inshaAllah.
from alquran.cloud.
Amen. Thank you so much and take your time. May Allah SWT accept your works.
from alquran.cloud.
Salaam! Just to give you an update. Conversion is complete, but syncing and creating all the reciters on the Object Storage cluster will take a few days as there are tens of thousands of files to be sync'd to create the reciter-2
fillesets.
from alquran.cloud.
W Aleikum Assalam w Rahmut Allah.
جزاك الله كل خير علي هذا العمل القيم.
I would be happy if you can give me an update when the sync is complete for me to update my app.
Moreover, I would really happy if you can provide any feedback on it for people to use more widely.
Thank you so much.
from alquran.cloud.
Al Salamu 3laykum,
The files have finally sync'd - apologies that it took this long. There are almost half a million files and S3 is not the fastest protocol to sync remotely, but Alhamdulillah, it has its benefits and we are there. The new file tree is available at https://github.com/islamic-network/cdn/blob/master/info/cdn.txt and all the -2
editions have the bismillah.
I'll make some time, inshalAllah over next week, to get these added to the https://api.alquran.cloud/v1/edition/format/audio endpoint.
from alquran.cloud.
Related Issues (20)
- Kitab Font: علامات الترقيم HOT 2
- Suggestion to change home page text
- The URL is not en.asad edition but the descriptions is HOT 2
- Add font download button to the "arabic font edition tester" page
- Separate basmalah and first verse
- Using Ipfs instead of cdn HOT 4
- GraphQL API HOT 2
- Unterminated quote in 2:113 HOT 2
- Tajweed Quraan in indopak font/text HOT 1
- net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) HOT 1
- Word by word segment info for Surah Audio. HOT 1
- New translation HOT 1
- Got an unexpected error HOT 6
- Alslamo alaikom my brother HOT 1
- Option to get audio in .wav format? HOT 1
- Url text is wrong but Url is correct HOT 1
- gibberish characters in some surah name HOT 2
- Unknown englishName in 3 editions
- wrong englishName in some editions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alquran.cloud.