Refactoring of MIDI events getters