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

Unable to make standalone mimic pause and resume at will when reading long text from terminal #217

Open
dln949 opened this issue May 23, 2021 · 5 comments

Comments

@dln949
Copy link

dln949 commented May 23, 2021

Unable to make standalone mimic pause and resume at will when reading long text from terminal. This bug is a problem when listening to Mimic read long text.

@krisgesling krisgesling transferred this issue from MycroftAI/documentation May 24, 2021
@krisgesling
Copy link
Contributor

Hi there, I transferred this to the Mimic repo as it specifically relates to running Mimic as a standalone technology.

I'm not aware of any functionality that exists to gracefully stop or pause Mimic1 output but someone more familiar with the code base might jump in and correct me.

@el-tocino
Copy link

You'd have to chunk the input text into sentences and then scan for a stop event between sentences.

@dln949
Copy link
Author

dln949 commented May 25, 2021

Thanks, but that is not the kind of pausing I meant.

Example: I'm listening as Mimic reads long text, and I get a phone call that I must take. How do I pause Mimic, and then later resume Mimic at that same point?

@forslund
Copy link
Collaborator

Hi @dln949 as @krisgesling said earlier Mimic doesn't have a feature like that at the moment. and I'm not convinced it should have. (Though this is of course up for debate)

@el-tocino's suggestion should work for a basic pause / resume script. Another simple thing that can be done is to save the long text as a wav from mimic and then play that in a proper audio player. will however take up some extra disk space.

@saidwho12
Copy link

I am looking for ability to play/pause as well otherwise I'm going to have to use another library

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

5 participants