-
-
Notifications
You must be signed in to change notification settings - Fork 39
Text to Speech
UBA users can access text-to-speech through right-click context menu "Speak" feature, Master Control "Miscellaneous" tab and Note Editor "Text Utility" toolbar.
We added a config flag "useLangDetectOnTts" in version 21.77, It is set to False by default, because the feature is not always reliable. - Turning it on will use python module "langdetect" to detect language on selected text when user uses "Speak" feature from right-click context menu. - Turning it off will use Default Text-to-Speech language specified by user.
There are several other config flags related to text-to-speech features.
You may open "Set Config Flags" Window and hover related flags and read description from tooltips.
Default Text-to-Speech Language applies to "Speak" feature from right-click context menu, if config flag "useLangDetectOnTts" is set to False.
Default text-to-speech language is configurable via Focus menu layout: UniqueBible > Language Settings > Text-to-Speech Language
Qt text-to-speech engine is used for running text-to-speech feature in UBA. Linux users can have an extra option to use espeak.
You may read the following link about setup of espeak (some languages, e.g. Chinese & Russian, need an extra step for installation):
https://github.com/eliranwong/ChromeOSLinux/blob/main/multimedia/espeak.md
From version 21.78, changing text-to-speech language on Master Control Miscellaneous tab changes default text-to-speech language.
Therefore, users can allow quickly change the default text-to-speech language by calling Miscellaneous tab with keyboard shortcut Ctrl+M.
You can adjust speed via Master Control Miscellaneous tab.
You can make use of multi-line editor in note editor and text-to-speech features together.