code: def test_audio_only(self, sample_rate):
      prepare_tfrecord_lib.prepare_tfrecord(
          [self.wav_path],
          os.path.join(self.test_dir, "output.tfrecord"),
          num_shards=2,
          sample_rate=sample_rate,
          frame_rate=None,
          example_secs=None,
          chunk_secs=None,
      )
  
      self.validate_outputs(
          1,
          {
              "audio": int(self.wav_secs * sample_rate),
              "audio_16k": int(self.wav_secs * CREPE_SAMPLE_RATE),
          },
      )
  
imports: import os
  import sys
  from absl import flags
  from absl.testing import absltest
  from absl.testing import parameterized
  from ddsp import spectral_ops
  from ddsp.training.data_preparation import prepare_tfrecord_lib
  import numpy
  import scipy.io.wavfile
  import tensorflow.compat.v2
label_desc: Use image node_id 10 for calling the PrepareTFRecordBeamTest obj's underlying member method code with example usage: obj.test_audio_only(sample_rate) without return types