Code, tutorial, and music: How to script  a Processing sketch using MIDI for synchronized music video.