MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / get_cont_lf0

Function get_cont_lf0

utils/cwt.py:46–50  ·  view source on GitHub ↗
(f0, frame_period=5.0)

Source from the content-addressed store, hash-verified

44
45
46def get_cont_lf0(f0, frame_period=5.0):
47 uv, cont_f0_lpf = convert_continuos_f0(f0)
48 # cont_f0_lpf = low_pass_filter(cont_f0_lpf, int(1.0 / (frame_period * 0.001)), cutoff=20)
49 cont_lf0_lpf = np.log(cont_f0_lpf)
50 return uv, cont_lf0_lpf
51
52
53def get_lf0_cwt(lf0):

Callers 3

get_f0cwtMethod · 0.90
normalize_cwt_lf0Function · 0.85
get_lf0_cwt_normFunction · 0.85

Calls 1

convert_continuos_f0Function · 0.85

Tested by

no test coverage detected