Skip to content

Implement a cache for the TTS #6

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

Open
enrico3 opened this issue Dec 6, 2023 · 0 comments
Open

Implement a cache for the TTS #6

enrico3 opened this issue Dec 6, 2023 · 0 comments

Comments

@enrico3
Copy link

enrico3 commented Dec 6, 2023

I find the delay waiting for the TTS a bit too long. Some ideas to solve it:

  1. Cache the mp3 locally and play the local file when you already downloaded it. Only delete mp3s at shutdown or with a user option.
  2. Additionally download the TTS of the whole text / current page / some words ahead in advance so you always have the local file ready when the user requests it.
@enrico3 enrico3 changed the title Download audio in advance Implement a cache for the TTS Dec 6, 2023
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

1 participant