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

Make a "higher-level" SSIP library. #73

Open
TTWNO opened this issue Dec 13, 2022 · 0 comments
Open

Make a "higher-level" SSIP library. #73

TTWNO opened this issue Dec 13, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed TTS Improvements to the text to speech subsystem

Comments

@TTWNO
Copy link
Member

TTWNO commented Dec 13, 2022

The currently ssip-cleint library is sufficient to handle all communication with speech-dispatcher, however, I'm somewhat concerned that there are a lot of "weird" things about it that won't make sense unless you're familiar with the protocol. For example: If you want to send speech, you must await the return value, or when you send next, speech-dispatcher will have issues, you need to use SendLines(Vec) instead of SendLine(String), unless you want to add your own final "." line to end the wrong.

There should be a less obtuse way to communicate with speech-dispatcher. I'm proposing something like ssip or speechd (on crates.io).

This library will have functions (async and non-async) to communicate with speech-dispatcher, and commands like "cancel", "stop", or "quit" will jump the lin in the internal queue.

Not sure exactly how we'll implement all of this, but let's put some ideas in here.

@TTWNO TTWNO added enhancement New feature or request TTS Improvements to the text to speech subsystem labels Dec 13, 2022
@TTWNO TTWNO pinned this issue Dec 13, 2022
@TTWNO TTWNO added the help wanted Extra attention is needed label Dec 13, 2022
@albertotirla albertotirla unpinned this issue Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed TTS Improvements to the text to speech subsystem
Projects
None yet
Development

No branches or pull requests

1 participant