code: def __init__(
      self,
      sr,
      n_fft,
      hop_length,
      n_mels,
      top_db,
      length,
      quantize,
      dtype=None,
  ):
      self.sr = sr
      self.n_fft = n_fft
      self.hop_length = hop_length
      self.n_mels = n_mels
      self.top_db = top_db
      self.mu_law = MuLaw(quantize)
      self.quantize = quantize
      if length is None:
          self.length = None
      else:
          self.length = length + 1
      self.dtype = chainer.get_dtype(dtype)
  
file_path: chainer/examples/wavenet/utils.py
imports: import random
  import librosa
  import numpy
  import chainer
label_desc: Use image node_id 1 to create a new Preprocess object from inherited base classes: object with example: obj = Preprocess(sr, n_fft, hop_length, n_mels, top_db, length, quantize, dtype)