createMidi sample fixed.