(frequencies_hertz)
return _MEL_HIGH_FREQUENCY_Q * np.log(
      1.0 + (frequencies_hertz / _MEL_BREAK_FREQUENCY_HERTZ))
Convert frequencies to mel scale using HTK formula.

  Args:
    frequencies_hertz: Scalar or np.array of frequencies in hertz.

  Returns:
    Object of same size as frequencies_hertz containing corresponding values
    on the mel scale.
Convert frequencies to mel scale using HTK formula.
Convert frequencies to mel scale using HTK formula .
def HertzToMel(frequencies_hertz):
  """Convert frequencies to mel scale using HTK formula.

  Args:
    frequencies_hertz: Scalar or np.array of frequencies in hertz.

  Returns:
    Object of same size as frequencies_hertz containing corresponding values
    on the mel scale.
  """
  return _MEL_HIGH_FREQUENCY_Q * np.log(
      1.0 + (frequencies_hertz / _MEL_BREAK_FREQUENCY_HERTZ))
def HertzToMel ( frequencies_hertz ) : return _MEL_HIGH_FREQUENCY_Q * np . log ( 1.0 + ( frequencies_hertz / _MEL_BREAK_FREQUENCY_HERTZ ) )