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