Add effects to MIDI playback.

Closes #154.