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

Timestamps of the spoken words #398

Closed
olgabaranov opened this issue Feb 21, 2023 · 1 comment
Closed

Timestamps of the spoken words #398

olgabaranov opened this issue Feb 21, 2023 · 1 comment

Comments

@olgabaranov
Copy link

Is it possible to retrieve the timing of the spoken words from the gtts itself? (Like the ones that will be used in srt subtitle files, though I don't care about the exact format)
I know that there might be hacky ways of speech-to-text'ing it back or splitting text into separate word, but I would prefer not to go this route.

@pndurette
Copy link
Owner

Sorry for the delay—
Yeah, hmm that would be pretty difficult for what this library does (which is request a byte stream and saving it to a file), so there's nothing really that it could directly do for this, since it's not really aware of the resulting data.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants