docstr: Tests converting between MIDI values and their frequencies in hertz.
docstr_tok: ["Tests","converting","between","MIDI","values","and","their","frequencies","in","hertz","."]
code: def test_midi_to_hz_is_accurate(self):
      """Tests converting between MIDI values and their frequencies in hertz."""
      midi = np.arange(128)
      librosa_hz = librosa.midi_to_hz(midi)
      tf_hz = core.midi_to_hz(midi)
      self.assertAllClose(librosa_hz, tf_hz)
  
imports: from absl.testing import parameterized
  from ddsp import core
  import librosa
  import numpy
  from scipy import signal
  import tensorflow.compat.v2
label_desc: Use image node_id 1 for calling the UtilitiesTest obj's underlying member method code with example usage: obj.test_midi_to_hz_is_accurate() without return types