GithubHelp home page GithubHelp logo

azan's Introduction

Azan Player

This repository contains go file to fetch the prayers times from my-masjid.com and then extract the salah times from the api response so it can be played on micro computers like rasperrypi.

The problem that I wanted to solve, there is no a good app to play the real times of the prayers in Berlin (as I'm living in berlin), I tried to use many mobile apps that at the end found they are not accurate, and also wanted to have something that keep running in my home and not consuming so much power.

my-masjid.com has prayers for most of the mosquees and it added by the mosquee itself and make it easy to follow a unified way to have azan.

Prerequisites

  • If you are using it on rasperry pi like me, you can use the generated binary at the release page.
  • Any rasperry-pi model, but also you can try to use it on mini PC if you can't find one to buy online.
  • Speakers you can connect to rasperry pi.
  • install sox on you rasperry pi so you can play the wav files from terminal.

Getting Started

sudo apt-get update
sudo apt-get install sox -y

Usage

I use crontab to schedule running every minute.

* * * * * /home/pi/salah
  • Create a directory on rasperry pi with directory media under this directory azan and duaa directory is placed.
  • azan is the azan dir contain all the wav files for the azans which can played randomly everytime if there is many files.
  • duaa is the duaa dir contain all the wav files for the duaa which can played randomly after azan.
  • Download the binary file and place it in the same directory.

In this repo two wav samples you can directly use.

License

MIT license

azan's People

Contributors

oaattia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.