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

Pause #13

Open
grahamperrin opened this issue Feb 22, 2020 · 1 comment
Open

Pause #13

grahamperrin opened this issue Feb 22, 2020 · 1 comment

Comments

@grahamperrin
Copy link

Please, can you add the ability to pause speech?

If I'm overlooking something: sorry.

@joelpurra
Copy link
Owner

@grahamperrin: it is under consideration, but haven't decided if and how to do it.

Pausing (at least a short period of time, as browsers may unload "inactive" extensions after a while) is technically possible in the Web Speech API. If pausing for longer it might be hard to resume at the previous position, if the extension was unloaded, but perhaps then it would work to resume at the start of the sentence. It also brings a usability change/issue I hadn't planned for when starting to work on Talkie. Basically, the combined play/stop button in the toolbar needs to be reworked to show a menu with additional buttons during playback, and the "right-click selected text to play" menu needs to be expanded similarly. Pausing also adds some complexity to the statefulness of Talkie, so much of the internals (which assume either playing or not playing) would need to be rewritten.

It would probably be a nice improvement, and perhaps also allow for other features. I don't have a timeline for this feature, but will leave this issue open. Thank you for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants