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

Does the CLI support reading text from a file? #59

Open
pansong291 opened this issue Oct 19, 2023 · 3 comments
Open

Does the CLI support reading text from a file? #59

pansong291 opened this issue Oct 19, 2023 · 3 comments

Comments

@pansong291
Copy link

There is a text file containing several sentences. When specifying this file through the CLI, multiple audio files will be outputted, with each sentence separated by a newline character, and each line representing one audio.

@alekssamos
Copy link
Owner

Hi. I made a new version in a different programming language - Go.
Files are supported there.
https://github.com/alekssamos/edge-tts-go/releases/tag/v0.1.1

@pansong291
Copy link
Author

pansong291 commented Feb 27, 2024

Hi. I made a new version in a different programming language - Go. Files are supported there. https://github.com/alekssamos/edge-tts-go/releases/tag/v0.1.1

@alekssamos thanks

@alekssamos
Copy link
Owner

@pansong291
At first I wanted to add file support here, but the length of one request is 31,000 characters. I think that any people will send files with a lot more text, or files in other formats, and they would end up with a lot of small audio files, or other formats would not be supported. And it would require a large number of other dependencies, or a large amount of additional code. that's why I made a Telegram bot. You can send large files there, including fb2, epub, doc. Here he is @msspeechbot.

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

2 participants