class_docstr: Applies sustain pedal control changes to a NoteSequence.
class_docstr_tok: ["Applies","sustain","pedal","control","changes","to","a","NoteSequence","."]
code: def transform(self, input_object):
      note_sequence = input_object
      return [
          sequences_lib.apply_sustain_control_changes(note_sequence)
      ]
  
imports: import copy
  from magenta.pipelines import pipeline
  from magenta.pipelines import statistics
  from note_seq import constants
  from note_seq import sequences_lib
  from note_seq.protobuf import music_pb2
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the SustainPipeline obj's underlying member method code with example usage: obj.transform(input_object) and returns: list