r9y9 / nnmnkwii_gallery

A collection of examples demonstrating how we can build speech synthesis systems using nnmnkwii.
https://github.com/r9y9/nnmnkwii
Other
71 stars 21 forks source link

BUG: need to fix log-f0 visualization for all notebook #12

Open r9y9 opened 4 years ago

r9y9 commented 4 years ago

https://r9y9.github.io/nnmnkwii/latest/nnmnkwii_gallery/notebooks/tts/01-DNN-based%20statistical%20speech%20synthesis%20(en).html

    subplot(4,1,3)
    lf0 = y[:,mgc_start_idx]
    vuv = y[:,vuv_start_idx]
    plot(lf0, linewidth=2, label="Continuous log-f0")
    plot(vuv, linewidth=2, label="Voiced/unvoiced flag")
    legend(prop={"size": 14}, loc="upper right")
    lf0 = y[:,mgc_start_idx]

should be

    lf0 = y[:,lf0_start_idx]