mimic1 icon indicating copy to clipboard operation
mimic1 copied to clipboard

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

Open dln949 opened this issue 3 years ago • 5 comments

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.

dln949 avatar May 23 '21 19:05 dln949

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.

krisgesling avatar May 24 '21 11:05 krisgesling

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

el-tocino avatar May 25 '21 07:05 el-tocino

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?

dln949 avatar May 25 '21 12:05 dln949

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.

forslund avatar May 25 '21 16:05 forslund

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

saidwho12 avatar Aug 03 '23 20:08 saidwho12