class_docstr: Conventional frontend structure for TTS.
  
  Stft -> amplitude-spec -> Log-Mel-Fbank
class_docstr_tok: ["Conventional","frontend","structure","for","TTS",".","Stft","-",">","amplitude-spec","-",">","Log-Mel-Fbank"]
code: def __init__(
      self,
      fs: Union[int, str] = 16000,
      n_fft: int = 1024,
      win_length: int = None,
      hop_length: int = 256,
      window: Optional[str] = "hann",
      center: bool = True,
      normalized: bool = False,
      onesided: bool = True,
      n_mels: int = 80,
      fmin: Optional[int] = 80,
      fmax: Optional[int] = 7600,
      htk: bool = False,
      log_base: Optional[float] = 10.0,
  ):
      assert check_argument_types()
      super().__init__()
      if isinstance(fs, str):
          fs = humanfriendly.parse_size(fs)
  
      self.fs = fs
      self.n_mels = n_mels
      self.n_fft = n_fft
      self.hop_length = hop_length
      self.win_length = win_length
      self.window = window
      self.fmin = fmin
      self.fmax = fmax
  
      self.stft = Stft(
          n_fft=n_fft,
          win_length=win_length,
          hop_length=hop_length,
          window=window,
          center=center,
          normalized=normalized,
          onesided=onesided,
      )
  
      self.logmel = LogMel(
          fs=fs,
          n_fft=n_fft,
          n_mels=n_mels,
          fmin=fmin,
          fmax=fmax,
          htk=htk,
          log_base=log_base,
      )
  
file_path: espnet/espnet2/tts/feats_extract/log_mel_fbank.py
imports: from typing import Any, Dict, Optional, Tuple, Union
  import humanfriendly
  import torch
  from typeguard import check_argument_types
  from espnet2.layers.log_mel import LogMel
  from espnet2.layers.stft import Stft
  from espnet2.tts.feats_extract.abs_feats_extract import AbsFeatsExtract
label_desc: Use image node_id 1 to create a new LogMelFbank object from inherited base classes: AbsFeatsExtract with example: obj = LogMelFbank(fs, n_fft, win_length, hop_length, window, center, normalized, onesided, n_mels, fmin, fmax, htk, log_base)