Added MidiFilter for MidiEvents.