Basic rhythm pattern generator with MIDI output (via midge)