guihkx / com.teamshiginima.ShiginimaLauncher

📦 Flatpak build of Shiginima Launcher (NOT OFFICIAL)
Creative Commons Zero v1.0 Universal
11 stars 3 forks source link

Narrator support #3

Closed guihkx closed 3 years ago

guihkx commented 3 years ago

From the log file:

ERROR : Couldn't load Narrator library : Unable to load library 'fliteWrapper':
Native library (linux-x86-64/libfliteWrapper.so) not found in resource path

But it seems very complicated to add pronunciations other than English to Flite. And bundling all languages will increase the size of the launcher considerably. And even then, I'm not sure if Minecraft will be able to choose the correct pronunciation for whatever language is set on Minecraft.

So I might end up just adding support for English and instructions on how to add new languages? We'll see.

guihkx commented 3 years ago

https://boredomed.wordpress.com/2019/03/07/festvox-to-flite-tts-conversion/

Yeah, there's no way I'm doing that.

Narrator will be only available in English (female voice + american accent), plus I'll make a separate build for it.

guihkx commented 3 years ago

It seems that Minecraft looks directly for the cmu_us_kal16 (US male voice) library file, even if you compile Flite with a single language (e.g. cmus_us_slt). That's really unfortunate, because I think cmu_us_slt sounds much better than kal16. Oh well.

There's probably a way to work around this by patching Flite, but who's got the time? :)

US male it is.