def add_spectral_frame(frame): mp.add_event(note, onset, vel, dur)
def add_midi_event(note, onset, vel, dur): mp.add_event(note, onset, vel, dur)