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

Some suggestions for optimizing edge_tts #75

Open
Tspm1eca opened this issue Jul 2, 2024 · 0 comments
Open

Some suggestions for optimizing edge_tts #75

Tspm1eca opened this issue Jul 2, 2024 · 0 comments

Comments

@Tspm1eca
Copy link

Tspm1eca commented Jul 2, 2024

edge_tts_provider.py

  • Using the lameenc library to improve speed and correct sound quality (currently: 33kbps, but should be: 48kbps).

epub_book_parser.py

  • Using book.spine to ensure the output order is correct.
  • Fixing decimal point issue (current problem: 6.3km => 6.km).

Suggestions

  • Remove URLs from the text, such as https://example.com (hearing these in mp3s can be quite annoying).

Actually, I have already made modifications myself, but I changed quite a lot (and mainly focused on the Chinese book). I'm not sure if everyone will accept these changes, which is why I am bringing up the issue here.

Here are my modifications :
epub_book_parser.py
edge_tts_provider.py

@Tspm1eca Tspm1eca changed the title Some suggestions for optimizing edge_tts_provider.py Some suggestions for optimizing edge_tts Jul 2, 2024
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