code: def testSplitAudioLabelData(self):
      wav_data, sequence = self._CreateSyntheticExample()
      records = audio_label_data_utils.process_record(
          wav_data, sequence, "test", sample_rate=SAMPLE_RATE
      )
  
      for record in records:
          audio = record.features.feature["audio"].bytes_list.value[0]
          velocity_range = music_pb2.VelocityRange.FromString(
              record.features.feature[
                  "velocity_range"
              ].bytes_list.value[0]
          )
          note_sequence = music_pb2.NoteSequence.FromString(
              record.features.feature["sequence"].bytes_list.value[0]
          )
  
          expected_samples = np.zeros(10 * SAMPLE_RATE)
          np.testing.assert_array_equal(
              expected_samples,
              audio_io.wav_data_to_samples(
                  audio, sample_rate=SAMPLE_RATE
              ),
          )
          self.assertEqual(velocity_range.min, 20)
          self.assertEqual(velocity_range.max, 80)
          self.assertEqual(note_sequence.notes[0].velocity, 20)
          self.assertEqual(note_sequence.notes[0].end_time, 5.0)
          self.assertEqual(note_sequence.notes[1].velocity, 80)
          self.assertEqual(note_sequence.notes[1].end_time, 10.0)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from magenta.models.onsets_frames_transcription import audio_label_data_utils
  from note_seq import audio_io
  from note_seq import constants
  from note_seq import testing_lib
  from note_seq.protobuf import music_pb2
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the SplitAudioTest obj's underlying member method code with example usage: obj.testSplitAudioLabelData() without return types