Minibatch version
Allowing for trying all candidate MIDI matches.  Chooses the one with the lowest-cost path.  Getting pretty ugly.
Shingling, faster data sampling (maybe), better diagnostics