In the sample of demo.py, stonemask is performed after harvest, but since stonemask is supposed to be used only for dio, it may be less correct if it is.
|
_f0_h, t_h = pw.harvest(x, fs) |
|
f0_h = pw.stonemask(x, _f0_h, t_h, fs) |
|
sp_h = pw.cheaptrick(x, f0_h, t_h, fs) |
|
ap_h = pw.d4c(x, f0_h, t_h, fs) |