nnsvs.gen.postprocess_duration
- nnsvs.gen.postprocess_duration(labels, pred_durations, lag, frame_period=5)[source]
Post-process durations based on predicted time-lag
Ref : https://arxiv.org/abs/2108.02776
- Parameters:
labels (HTSLabelFile) – HTS labels
pred_durations (array or tuple) – predicted durations for non-MDN, mean and variance for MDN
lag (array) – predicted time-lag
- Returns:
labels with adjusted durations
- Return type:
HTSLabelFile