Commit Graph

8 Commits

Author SHA1 Message Date
rany2
3a4595d6d6 Fix "ValueError: the metadata doesn't contain a Duration field"
* seems like microsoft updated their API to include this metadata type

Fixes #16
2022-07-27 20:15:17 +03:00
rany2
68a9e191d7 drop custom SSML support 2022-06-19 21:07:05 +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
zhisenyang
863c545f9a add proxy 2022-04-24 16:58:01 +08:00
rany
7d03764943 fix unbound local variable python error 2022-03-11 17:46:44 +02:00
rany
16d5dc273c fix sentence boundary 2022-03-01 21:42:01 +02:00
rany
cbc6ca1b11 Fix bug with split_text_by_byte_length 2021-12-07 22:36:03 +02:00
rany
4fcecddaf0 Update to edge-tts 4.0.0 2021-12-07 22:09:43 +02:00