QTextToSpeech Locales
-
Hi and welcome to devnet,
Base on the documentation of the function, it looks like it depends on the backend used. So which are you using ?
-
Searched in the internet and found that it looks like as microsoft bug (or feature?), voices, installed for microsoft speech runtime are not visible for system itself (in Narrator or in speech properties) , but visible for other third-party utilities (digit, balabolka etc) or vba scrypt. Seems like qt uses the same algorithms as system and dont know that other languages are exist. So, there is another question - any ways to add voice to engine or add existing ebgine go qt? qttexttospeechengine-createvoice is protected and asks Qvariant data, which i cant understand what have to be to filled with
-
Can you share where you found out that information ? Could be useful to other people.
You'll likely have to tweak the current backend to improve that part.
-
@SGaist russian forums about including voices for tts into windows,don't think that it'd valuable here, furthermore it isnt helping anyway, just states the fact.
So, now i'm interested in adding a new engine it qt qtexttospeech, but as far as i understand, it is impossible now? -
Why would it be impossible ?
Just grab the module and add your custom engine there. You could even consider submitting it for inclusion.
-
How are you trying to add it ?
-
@SGaist qtexttospeechplugin::createtexttospeechengine - it is not quite clear how to use it, and would it help in my situation or not. There is not much info in manual at all, i installed voices for sapi 4, sapi 5 and MSP, which third-party tts programs are able to find and use, but neiter microsoft speaker nor qtexttospeech are.
Sorry for my eng, not a native speaker -
Because the engines are not part of the public API, you have to take a look at sources of the module.
-
The module is not that big. What didn't you find ?
As for the non-system voice, I don't know.