Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1016 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 1016 Bytes

The Key of Evil

An image display program that uses midi to trigger image transitions. Inspired (read stolen) from Bill Bailey's stand up 'The Scale of Evil'. This version is still pretty rough around the edges, with no way to configure images to notes easily, but it works well enough for a simple song.

Thanks to the GTK homepage and http://home.roadrunner.com/~jgglatt/tech/arawmidrec.htm for the various bits of info on how to use the GTK and ALSA API's

Setup

Currently 'The Key of Evil' looks in the cwd for images named c4.jpg, d4.jpg ... c5.jpg (ie all the white notes from middle c up an octave). This will go into a config file at some point

Issues

The configuration is ugly and hard coded (it was for a once off party ... sorry), in future versions I'll add a system for mapping images to notes from a config file

Build

This was built in Code::Blocks but it should build ok with gcc, requires alsa and gtk dev packages.