Set pendingRecordedNoteEvents to an empty dictionary rather than remove each item individually
Set pendingRecordedNoteEvents to an empty dictionary rather than remove each item individually

bamboostick/MIKMIDI,bamboostick/MIKMIDI,alessandrostone/MIKMIDI,bamboostick/MIKMIDI,alessandrostone/MIKMIDI,alessandrostone/MIKMIDI