estimation.py 文件源码

python
阅读 40 收藏 0 点赞 0 评论 0

项目:psola 作者: jcreinhold 项目源码 文件源码
def hz2erbs(hz):
    """
    Convert values in Hertz to values in Equivalent rectangle bandwidth (ERBs)

    Args:
        hz (float): real number in Hz

    Returns:
        erbs (float): real number in ERBs

    References:
    [1] Camacho, A., & Harris, J. G. (2008). A sawtooth waveform
        inspired pitch estimator for speech and music. The Journal
        of the Acoustical Society of America, 124(3), 1638–1652.
        https://doi.org/10.1121/1.2951592
    """
    erbs = 6.44 * (np.log2(229 + hz) - 7.84)
    return erbs
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号