class_docstr: Resamples and scales 'f0_hz' and 'loudness_db' features.
class_docstr_tok: ["Resamples","and","scales","'f0_hz","'","and","'loudness_db","'","features","."]
code: def __init__(
      self,
      time_steps=1000,
      frame_rate=250,
      sample_rate=16000,
      compute_loudness=True,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.time_steps = time_steps
      self.frame_rate = frame_rate
      self.sample_rate = sample_rate
      self.compute_loudness = compute_loudness
  
imports: import ddsp
  from ddsp.training import nn
  import gin
  import tensorflow
label_desc: Use image node_id 1 to create a new F0LoudnessPreprocessor object from inherited base classes: nn with example: obj = F0LoudnessPreprocessor(time_steps, frame_rate, sample_rate, compute_loudness)