class_docstr: VST inference modules, for models trained with `models/vst/vst.gin`.
class_docstr_tok: ["VST","inference","modules",",","for","models","trained","with","`","models\/vst\/vst.gin","`","."]
docstr: Convert f0 and loudness to synthesizer parameters.
code: def call(self, audio):
      """Convert f0 and loudness to synthesizer parameters."""
      audio = tf.reshape(audio, [1, self.frame_size])
  
      inputs = {
          "audio": audio,
          "f0_hz": tf.zeros([1, 1]),  # Dummy.
          "f0_confidence": tf.zeros([1, 1]),  # Dummy.
      }
      outputs = self.preprocessor(inputs)
  
      # Return 1-D tensors.
      # All shapes are [1, 1, 1].
      f0_hz = outputs["f0_hz"][0, 0]
      f0_scaled = outputs["f0_scaled"][0, 0]
      pw_db = outputs["pw_db"][0, 0]
      pw_scaled = outputs["pw_scaled"][0, 0]
      return f0_hz, f0_scaled, pw_db, pw_scaled
  
imports: import ddsp
  from ddsp.training import models
  from ddsp.training import train_util
  import gin
  import tensorflow
label_desc: Use image node_id 5 for calling the VSTExtractFeatures obj's underlying member method code with example usage: obj.call(audio) and returns: f0_hz,  f0_scaled,  pw_db,  pw_scaled