这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Menyadar
Copy link

@Menyadar Menyadar commented Sep 25, 2022

List all voices available (installed or not) for given TTS engine. This can be then used with termux-tts-speak to use specific voice instead of guessing valid combination of language / region / variant. Script support in termux-api-package #159

selecting voice directly overrides language + region + variant
@dnlopez
Copy link

dnlopez commented Jun 19, 2025

This works well for me, though lines 193-198 can be removed; after all, lines 215-220 just duplicate them in the case that an explicit voice name has not been given and that fall back to mTts.setLanguage() is actually needed.

(I've been working on this code to get around the apparent restriction that only one termux-tts-speak process can run at a time, and may be back later with a pull request for that.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants