code: def testExtractPerformancesSplitInstruments(self):
      music_testing_lib.add_track_to_sequence(
          self.note_sequence, 0, [(60, 100, 0.0, 4.0)]
      )
      music_testing_lib.add_track_to_sequence(
          self.note_sequence,
          1,
          [(62, 100, 0.0, 2.0), (64, 100, 2.0, 4.0)],
      )
      quantized_sequence = (
          sequences_lib.quantize_note_sequence_absolute(
              self.note_sequence, steps_per_second=100
          )
      )
  
      perfs, _ = performance_pipeline.extract_performances(
          quantized_sequence, split_instruments=True
      )
      self.assertLen(perfs, 2)
  
      perfs, _ = performance_pipeline.extract_performances(
          quantized_sequence,
          min_events_discard=8,
          split_instruments=True,
      )
      self.assertLen(perfs, 1)
  
      perfs, _ = performance_pipeline.extract_performances(
          quantized_sequence,
          min_events_discard=16,
          split_instruments=True,
      )
      self.assertEmpty(perfs)
  
file_path: magenta/magenta/pipelines/performance_pipeline_test.py
imports: from absl.testing import absltest
  from magenta.pipelines import performance_pipeline
  from note_seq import sequences_lib
  from note_seq import testing_lib
  from note_seq.protobuf import music_pb2
label_desc: Use image node_id 6 for calling the PerformancePipelineTest obj's underlying member method code with example usage: obj.testExtractPerformancesSplitInstruments() without return types