alekssamos / msspeech

not official API for Microsoft speech synthesis from Microsoft Edge web browser read aloud
https://pypi.org/project/msspeech/
57 stars 10 forks source link

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

Open pansong291 opened 11 months ago

pansong291 commented 11 months ago

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 commented 7 months ago

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 commented 6 months ago

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 commented 6 months ago

@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.