25 Commits

Author SHA1 Message Date
Will
ecf50b916e Support native playback on Windows (#360)
* Support native playback on Windows

* Use mypy-blessed platform switching logic

* Address feedback

* I think mypy is happy now

* Don't print srt when filename is None

* Fix ctypes imports

* Fix pylint and black complaints

Signed-off-by: rany <rany2@riseup.net>

* Have play_mp3_win32 use a guard clause to reduce nesting

Signed-off-by: rany <rany2@riseup.net>

---------

Signed-off-by: rany <rany2@riseup.net>
Co-authored-by: rany <rany2@riseup.net>
2025-02-27 21:10:43 +02:00
Ramiro Gómez
152a69e77f Add tts-samples repo to README.md (#353)
* Add tts-samples repo to README.md

* Add short project info and link to mp3 folder.
2025-02-03 22:49:39 +02:00
Rany
4f5d79ed57 Drop words_in_cue code for SubMaker and switch to SRT (#323)
WebVTT isn't a very common format in the first place
and attempting to make WordBoundary play nice with
input text is very hard.

Instead we now just display the word that the TTS
is saying at a given time. In the future, we could
try to enable SentenceBoundary but there is a risk
that it will be banned by Microsoft as it is not used
by Microsoft Edge itself.

Closes: https://github.com/rany2/edge-tts/issues/118
Closes: https://github.com/rany2/edge-tts/issues/171
Closes: https://github.com/rany2/edge-tts/issues/229
Closes: https://github.com/rany2/edge-tts/issues/234

Signed-off-by: rany <rany2@riseup.net>
2024-11-22 20:58:47 +02:00
Rany
5a2674cd03 Update README (#322)
Signed-off-by: rany <rany2@riseup.net>
2024-11-22 20:29:26 +02:00
Tharsis Souza
a98e9ac7d3 Add podcastfy example to README.md (#296)
Podcastfy is an Open Source Python alternative to NotebookLM's podcast feature that enables Transforming Multimodal Content into Captivating Multilingual Audio Conversations with GenAI

It uses Edge as one of the TTS backends.
2024-11-01 14:48:04 +02:00
Rany
388e6f2e98 [ReadMe] Link to examples directory directly 2024-04-25 13:32:59 +03:00
scott306lr
0c6e45fd76 added a example of chaning pitch in prompt. 2023-08-31 05:33:52 +08:00
scott306lr
afd4ba8fee added pitch variable back. 2023-08-31 05:19:57 +08:00
rany2
8f096598ab Update README.md 2023-04-30 23:56:35 +03:00
rany2
62bc6a95c0 Fix errors in README 2023-01-06 01:12:21 +02:00
rany2
4862ec8517 Remove pitch option as it no longer has any effect
* Most likely Microsoft started ignoring it along with the custom SSML
  purge
2023-01-05 03:13:40 +02:00
rany2
01c87b7e1c Fix README and fix slight issue with validation for rate and volume
* Rate and volume could be greater than 100 and don't need to have
  a sign at the start.
2023-01-05 03:07:29 +02:00
rany2
8570918ff1 Rename examples 2023-01-05 01:56:15 +02:00
rany2
66e3092ff5 Update README 2023-01-05 01:32:45 +02:00
rany2
39f0441aba Remove potentially out-of-date examples from README 2023-01-05 01:24:47 +02:00
rany2
6b7f9cc146 Fix README example URL 2023-01-05 01:24:47 +02:00
Vuizur
4b529c8f2b Add example for getting a voice for language 2023-01-04 20:51:30 +01:00
Vuizur
3bc7f728c3 Rename example file 2023-01-04 20:12:07 +01:00
rany
5a74ad6527 Update README.md 2022-10-18 20:11:20 +03:00
rany2
68a9e191d7 drop custom SSML support 2022-06-19 21:07:05 +03:00
rany
e135b7d6f9 Fix README for Windows users
See #6
2022-03-09 20:48:00 +02:00
rany
43ee535752 Minor fixes to the README 2022-01-29 20:15:37 +02:00
rany
eb4c2a4400 Update README 2022-01-29 20:10:18 +02:00
rany
0336cfc4cf Some updates 2021-06-05 17:46:14 +03:00
rany
91f62a84d8 Update 2021-06-05 17:29:16 +03:00