espnet2.tts.feats_extract.yin.differenceFunction_np
Less than 1 minute
espnet2.tts.feats_extract.yin.differenceFunction_np
espnet2.tts.feats_extract.yin.differenceFunction_np(x, N, tau_max)
Compute difference function of data x. This corresponds to equation (6) in [1]
This solution is implemented directly with Numpy fft.
- Parameters:
- x – audio data
- N – length of data
- tau_max – integration window size
- Returns: difference function
- Return type: list