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

Is there a future for Text to Speech integration in Kaldi engine ? A way around ? #57

Open
Wil31 opened this issue Jun 28, 2021 · 3 comments

Comments

@Wil31
Copy link

Wil31 commented Jun 28, 2021

Hello,
I'm interrrested in having some Text to Speech feedback while using the voice commands.
I assume it isn't planned for integration in this engine yet, so is there a way around we could use ? (I would like to keep using kaldi-active-grammar as engine and no internet connection)

def speak(self, text):
        """ Speak the given *text* using text-to-speech. """
        # FIXME
        self._log.warning("Text-to-speech is not implemented for this engine; printing text instead.")
        print_(text)
@daanzu
Copy link
Owner

daanzu commented Jun 30, 2021

That would be a good feature to add, but I haven't gotten around to it yet. There are many text to speech programs and libraries available nowadays, but the problem can be packaging them to make installation easy. The quality of the speech varies. If you want to get going quickly, I would suggest trying to use espeak, either through a python library or via the CLI binary and subprocess. There has been discussion with @Danesprite about adding something like this to dragonfly.

@drmfinlay
Copy link

drmfinlay commented Mar 12, 2022 via email

@drmfinlay
Copy link

drmfinlay commented Mar 23, 2022 via email

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

3 participants