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/Stop Functionality on Text to Speech Feature #31

Open
sahaiderali opened this issue Oct 26, 2022 · 4 comments
Open

Pause/Stop Functionality on Text to Speech Feature #31

sahaiderali opened this issue Oct 26, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request In Progress Tasks that are in progress v0.3 Version 0.3

Comments

@sahaiderali
Copy link

I'm trying to pause/stop an ongoing reading but can't found anyway to do that. Could you please help to resolve this issue?

@AppDevGuy
Copy link
Owner

AppDevGuy commented Oct 26, 2022

Hi @sahaiderali I don't think that functionality exists currently. You could always fork or clone the repo and implement the functionality yourself with something like:

func stopSpeaking() {
    speechSynthesizer.stopSpeaking(at: .immediate)
}

Looks fairly simple to implement, I just haven't worked on this project in a while. I'll add it as a feature request for the project though.

UPDATE:
Reference to the Apple docs code for stopSpeaking(at:)

@AppDevGuy AppDevGuy self-assigned this Oct 26, 2022
@AppDevGuy AppDevGuy added enhancement New feature or request To-Do Issue or item in the backlog. v0.4 Version 0.4 labels Oct 26, 2022
@sahaiderali
Copy link
Author

Thanks, Sounds Great!

@AppDevGuy
Copy link
Owner

I'm going to reopen this ticket if that's ok as it's a valid feature request.

@AppDevGuy AppDevGuy reopened this Oct 26, 2022
@sahaiderali
Copy link
Author

Okay, Thank You.

@AppDevGuy AppDevGuy added v0.3 Version 0.3 In Progress Tasks that are in progress and removed To-Do Issue or item in the backlog. v0.4 Version 0.4 labels Feb 25, 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 In Progress Tasks that are in progress v0.3 Version 0.3
Projects
None yet
Development

No branches or pull requests

2 participants