Closed apinge closed 2 weeks ago
The tones_list (in https://github.com/apinge/MeloTTS.cpp/blob/develop/src/tts.cpp#L45) is not correct when using English.
tones_list
For example, text = "machine learning"
In C++ version now
phones_list:_ m ah sh iy n l er n ih ng _ tones_list:0 0 1 0 2 0 0 2 0 1 0 0 word2ph:1 5 5 1
In python version in the same step is
(Pdb) phone ['_', 'm', 'ah', 'sh', 'iy', 'n', 'l', 'er', 'n', 'ih', 'ng', '_'] (Pdb) tone [0, 7, 8, 7, 9, 7, 7, 9, 7, 8, 7, 0] (Pdb) word2ph [1, 5, 5, 1]
fixed in https://github.com/apinge/MeloTTS.cpp/commit/241fb3b5bf07f919f0eb535a3a1da53fcf5074c0
The
tones_list
(in https://github.com/apinge/MeloTTS.cpp/blob/develop/src/tts.cpp#L45) is not correct when using English.For example, text = "machine learning"
In C++ version now
In python version in the same step is