def shift_to_f0(v_shift, v_voi, fs, out='f0', b_smooth=True):
v_f0 = v_voi * fs / v_shift.astype('float64')
if b_smooth:
v_f0 = v_voi * signal.medfilt(v_f0)
if out == 'lf0':
v_f0 = la.f0_to_lf0(v_f0)
return v_f0
#==============================================================================
评论列表
文章目录