Commit Graph

9 Commits

Author SHA1 Message Date
rany2
c4c3dc5a13 add more typing 2023-01-05 00:56:15 +02:00
rany2
23370b4c27 Simplify edge_tts library usage 2023-01-04 23:49:29 +02:00
rany2
93f2e452ce lint 2022-07-27 20:17:42 +03:00
rany2
797d04f182 Update edge-tts to version 4.0.11
* Add pylint check for lint.sh
* Change overlapping default from 5second to 1second for SubMaker and util.py
* Default to WordBoundary for edge-playback (from SentenceBoundary)
* Drop SentenceBoundary support (never works properly and too many hacks)
  - No longer actually supported by Azure's official SDK for a few years
    already
* Stop attempting to correct broken offsets sent back to us by Azure
  - Fixes never work properly because AI voice sometimes takes odd pauses
    at the start and sometimes doesn't do so. It's never predictable and
    cannot be fixed on the library's end.
  - Solution is for Microsoft to fix the integer overflow bug they are facing
    in the {Word,Sentence}Boundary offsets. It doesn't affect us until we reach
    30min long TTS anyway.
* Have edge-tts --list-voices use the configured HTTP proxy
* More misc changes and fixes
2022-05-29 18:17:48 +03:00
rany
e2e3f26928 fix broken offset a bit, it is still bad 2022-03-04 20:48:50 +02:00
rany
8caf678f7a accurately limit to 79 chars 2022-03-01 22:12:12 +02:00
rany
1d8d56793d its already escaped by the service 2022-03-01 22:09:44 +02:00
rany
16d5dc273c fix sentence boundary 2022-03-01 21:42:01 +02:00
rany
4fcecddaf0 Update to edge-tts 4.0.0 2021-12-07 22:09:43 +02:00