def parse_midi_input(midi_key_presses):
    """Takes in a list of MidiKeyPress objects, returns the notes, ordered by 
    time pressed."""
    midi_key_presses.sort(key=lambda x: x.time)
    return [x.note for x in midi_key_presses if x.velocity > 0]