Skip to content

dahburj/aCompas

 
 

Repository files navigation

A Compás

A flamenco metronome available in two versions :

It makes use of Web Audio API to play various flamenco rhythms and features a visual animation.

Installing the web application (the simple way)

# Clone the git repository in the current folder
git clone https://github.com/ElJere/aCompas.git
# Go inside the folder created by the previous command
cd aCompas
# Install dependencies using bower
bower install
# Synchronize assets to the web/ and crosswalk/ folders
./sync_assets.sh
# Run a basic web server on port 8000
./server.sh

Then, open your favorite web browser and go to http://localhost:8000

Installing the web application (the vagrant way)

Get the latest version of vagrant at https://www.vagrantup.com/downloads.html

Then in the project folder

# Clone the git repository in the current folder
git clone https://github.com/ElJere/aCompas.git
# Go inside the folder created by the previous command
cd aCompas
# Create and provision the vm
vagrant up --provision
# ssh into the vm
vagrant ssh
# Go inside mounted project folder
cd /vagrant
# Setup dependendencies
bower install
# Synchronize assets to the web/ and crosswalk/ folders
./sync_assets.sh
# Run a basic web server on port 8000
./server.sh

Then, in the host operating system (not inside the virtual machine), open your favorite web browser and go to http://192.168.50.2:8000

Building the mobile app for Android

# Clone the git repository in the current folder
git clone https://github.com/ElJere/aCompas.git
# Go inside the folder created by the previous command
cd aCompas
# Install dependencies using bower
bower install
# Synchronize assets to the web/ and crosswalk/ folders
./sync_assets.sh
# Build the app
python /path/to/crosswalk/make_apk.py --package=audio.acompas.app --manifest=crosswalk/manifest.json --enable-remote-debugging --compressor=js --compressor=css

Credits

  • The metronome's audio core is inspired by the following code from Chris Wilson.
  • The palmas sordas and jaleo sounds are recordings of Aziz Andry.

About

A flamenco metronome for the Web

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 69.7%
  • HTML 15.5%
  • CSS 11.9%
  • Shell 2.9%