ill13 / SpeakLocal

A TTS extension for oobabooga text WebUI
MIT License
26 stars 1 forks source link

A solution for ubuntu-18.04 Chinese(Mandarin) espeak-1.49 mess #11

Open cyizhuo opened 10 months ago

cyizhuo commented 10 months ago

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-bsd

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)!

ill13 commented 5 months ago

That sounds fantastic, I'll have to try this on a Linux box. Thank you!