Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use TTS in termux without delay #148

Open
aniket16122004 opened this issue Mar 7, 2022 · 1 comment
Open

How to use TTS in termux without delay #148

aniket16122004 opened this issue Mar 7, 2022 · 1 comment

Comments

@aniket16122004
Copy link

I want to create a python speak() function by termux-tts-speech but there is a delay because the engine is restarting every time I call the function.

def speak(text):
subprocess call(["termux-tts-speak",f"{text}])

Problem description

Whenever I call the function there also comes a delay caused by the TTS engine to start .
Is there any way to fix it ?

@aniket16122004
Copy link
Author

H

@aniket16122004 aniket16122004 reopened this Mar 8, 2022
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

No branches or pull requests

1 participant