def hz2bark(frq):
    """Convert hz to bark scale.

    Parameters
    ----------
    frq : np.ndarray, float
        frequency

    Returns
    -------
    bark : np.ndarray, float
        bark value
    """
    return 26.81 * frq / (1960 + frq) - 0.51
