transformer-xl/utils/performance_event_repo.py [216:221]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if input_midi:
            ns = note_seq.midi_file_to_sequence_proto(input_midi)
            ns = note_seq.sequences_lib.apply_sustain_control_changes(ns)
            del ns.control_changes[:]
        else:
            ns = note_seq.protobuf.music_pb2.NoteSequence()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



transformer-xl/utils/performance_event_repo.py [241:246]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if input_midi:
            ns = note_seq.midi_file_to_sequence_proto(input_midi)
            ns = note_seq.sequences_lib.apply_sustain_control_changes(ns)
            del ns.control_changes[:]
        else:
            ns = note_seq.protobuf.music_pb2.NoteSequence()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



