After install this SpeakLocal extension, it would ask you to install espeak to use it. But in ubuntu-18.04, we can only install espeak-1.49, which can not speaks Chinese(Mandarin) correctly.
Then we can restart textgen web ui with SpeakLocal again, and choosing Chinese (Mandarin, latin as Pinyin) in SpeakLocal section, and maybe decrease Speech rate alittle bit.
Now you can enjoy the correct but robotic Chinese(Mandarin)!
After install this SpeakLocal extension, it would ask you to install espeak to use it. But in ubuntu-18.04, we can only install espeak-1.49, which can not speaks Chinese(Mandarin) correctly.
So instand of
sudo apt install espeak
, we should build espeak-ng-1.51 from source: https://github.com/espeak-ng/espeak-ng/blob/master/docs/building.md#linux-mac-bsdThen we can restart textgen web ui with SpeakLocal again, and choosing
Chinese (Mandarin, latin as Pinyin)
in SpeakLocal section, and maybe decreaseSpeech rate
alittle bit.Now you can enjoy the correct but robotic Chinese(Mandarin)!