Work on generating events from list of MIDI events