class_docstr: Synthesize audio with a bank of harmonic sinusoidal oscillators.
docstr: Synthesize audio with harmonic synthesizer from controls.
  
  Args:
    amplitudes: Amplitude tensor of shape [batch, n_frames, 1]. Expects
      float32 that is strictly positive.
    harmonic_distribution: Tensor of shape [batch, n_frames, n_harmonics].
      Expects float32 that is strictly positive and normalized in the last
      dimension.
    f0_hz: The fundamental frequency in Hertz. Tensor of shape [batch,
      n_frames, 1].
  
  Returns:
    signal: A tensor of harmonic waves of shape [batch, n_samples].
docstr_tok: ["Synthesize","audio","with","harmonic","synthesizer","from","controls",".","Args",":","amplitudes",":","Amplitude","tensor","of","shape","[","batch",",","n_frames",",","1","]",".","Expects","float32","that","is","strictly","positive",".","harmonic_distribution",":","Tensor","of","shape","[","batch",",","n_frames",",","n_harmonics","]",".","Expects","float32","that","is","strictly","positive","and","normalized","in","the","last","dimension",".","f0_hz",":","The","fundamental","frequency","in","Hertz",".","Tensor","of","shape","[","batch",",","n_frames",",","1","]",".","Returns",":","signal",":","A","tensor","of","harmonic","waves","of","shape","[","batch",",","n_samples","]","."]
code: def get_signal(self, amplitudes, harmonic_distribution, f0_hz):
      """Synthesize audio with harmonic synthesizer from controls.
  
      Args:
        amplitudes: Amplitude tensor of shape [batch, n_frames, 1]. Expects
          float32 that is strictly positive.
        harmonic_distribution: Tensor of shape [batch, n_frames, n_harmonics].
          Expects float32 that is strictly positive and normalized in the last
          dimension.
        f0_hz: The fundamental frequency in Hertz. Tensor of shape [batch,
          n_frames, 1].
  
      Returns:
        signal: A tensor of harmonic waves of shape [batch, n_samples].
      """
      signal = core.harmonic_synthesis(
          frequencies=f0_hz,
          amplitudes=amplitudes,
          harmonic_distribution=harmonic_distribution,
          n_samples=self.n_samples,
          sample_rate=self.sample_rate,
          amp_resample_method=self.amp_resample_method,
          use_angular_cumsum=self.use_angular_cumsum,
      )
      return signal
  
imports: from ddsp import core
  from ddsp import processors
  import gin
  import tensorflow.compat.v2
label_desc: Use image node_id 3 for calling the Harmonic obj's underlying member method code with example usage: obj.get_signal(amplitudes, harmonic_distribution, f0_hz) and returns: signal