(hz)
return 2595 * numpy.log10(1 + hz / 700.)
Convert a value in Hertz to Mels

    :param hz: a value in Hz. This can also be a numpy array, conversion proceeds element-wise.
    :returns: a value in Mels. If an array was passed in, an identical sized array is returned.
Convert a value in Hertz to Mels
Convert a value in Hertz to Mels
def hz2mel(hz):
  """Convert a value in Hertz to Mels

    :param hz: a value in Hz. This can also be a numpy array, conversion proceeds element-wise.
    :returns: a value in Mels. If an array was passed in, an identical sized array is returned.
    """
  return 2595 * numpy.log10(1 + hz / 700.)
def hz2mel ( hz ) : return 2595 * numpy . log10 ( 1 + hz / 700. )