A set of python scripts to handle audio playback for a Christmas light show.
C Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
audio
.gitignore
lightorgan
lightorgan.c
readme.md
run.py

readme.md

Getting Started

Step 1: Follow the setup guide on zacvineyard.com.

Step 2: Start lightorgan with sudo:

sudo ./lightorgan

Step 3: Run any of the Python scripts to hear audio and see lights

python bells.py

To stop all lights and audio, you can kill the processes:

killall aplaymidi && killall mpg123

Getting the audio to sync up

Make sure you adjust the time.sleep(0.6) in each Python script to get mp3 and midi audio to sync up on your device. You may also need to invert which file starts playing first, the midi or the mp3.

Mp3 and Midi files were downloaded for free from this website: http://www.mfiles.co.uk/christmas-music-and-carols.htm. The monsters.py file is for "Scary Monsters And Nice Sprites" by SKRILLEX. The elvis.py is for "Blue Christmas" by Elvis. You'll need to download those audio files on your own.