Skip to content

cpfair/qari-stats

Repository files navigation

qari-stats

Find Qur'an recitations by speed & voice pitch at qaris.cpfx.ca.

Usage

  1. Install requirements.txt (Py3k) and ffmpeg
  2. Run python scrape_qari_metadata.py > qari_metadata.json
  3. Download audio files from QuranicAudio.com - they should all be for the same surah (qaris.cpfx.ca uses Surah an-Naba). Make sure the MP3s are named according to the keys in qari_metadata.json
  4. Run python analyze.py path/to/your/mp3s/*.mp3 > qari_stats.json to analyze the audio files.
  5. Run python generate_site.py qari_metadata.json qari_stats.json to generate the website in site/

Licensing and Credits

This project is available under the MIT License. The metadata and recordings used in this project are from QuranicAudio.com, and are licensed separately.