def METHOD_NAME(self, e):
    """Returns a list of integers representing a MIDI message from event."""
    t = type(e)
    if t is event.NoteEvent:
        return self.convert_note_event(e)
    elif t is event.PitchBendEvent:
        return self.convert_pitchbend_event(e)
    elif t is event.ProgramChangeEvent:
        return self.convert_programchange_event(e)
    elif t is event.ControllerEvent:
        return self.convert_controller_event(e)