SoundStroke was a program that we wrote for the UW-Madison Facebook Hackathon 2010. It lets you draw pictures on a canvas, and have sound outputted based on what you drew. There are a variety of instruments to use, and they all correspond to a color.


The sound produced by drawing is modified by the shape of the stroke. Drawing up or down controls whether the instrument goes up or down on the scale. The speed of movement determines speed of notes being played. The black lines denote where the key changes.
The various keys are, from top to bottom: Chromatic, Hawaiian, Major, Blues, Minor.

It was written in 12 hours, and is done entirely in Python. The Launchpad repository can be found at here:

https://code.launchpad.net/~soundstroke-team/soundstroke/trunk
However, it requires pygame and FluidSynth, the latter of which you basically need to run linux to get to work. It also might need PaintBrush (which can be found on the pygame website).


Michael Bethencourt, David Capel, Will McCardell, and Tim Swast worked on it.


Controls:
Pressing 'r', 'g', 'b', 'v', 'y' will change the colors and also instruments.
'r' - Red - Percussion
'g' - Green - Guitar
'y' - Yellow - Trumpet
'v' - Violet - Violin
'b' - Blue - Synth
'space' will clear the screen.
'escape' is quit
'q' is record on the current channel.
'p' is play or stop the current channel.
1-9 will change what the current channel is.