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

End callback for Syntesizing function #23

Open
danilolmc opened this issue Dec 9, 2023 · 0 comments
Open

End callback for Syntesizing function #23

danilolmc opened this issue Dec 9, 2023 · 0 comments

Comments

@danilolmc
Copy link
Owner

How about add support for onEnd callback when Utterance finishes, this way it's possible to do any other task, including get an user answer through audio input

Example:

const synthesizer = VoiceSynthesizer({ lang: 'pt-BR', onEnd: () => getUserAnswer() })

@danilolmc danilolmc changed the title End callback for Syntesizing mdule End callback for Syntesizing function Dec 9, 2023
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