Cleanup SentenceBoundary support (#396)
- Default to SentenceBoundary - Modify boundary argument to lowercase to match other options. - Drop merge_cues support as SentenceBoundary renders it obsolete. Signed-off-by: rany <rany2@riseup.net>
This commit is contained in:
@@ -24,7 +24,7 @@ VOICE = "zh-CN-YunjianNeural"
|
||||
|
||||
def main() -> None:
|
||||
"""Main function"""
|
||||
communicate = edge_tts.Communicate(TEXT, VOICE, Boundary="SentenceBoundary")
|
||||
communicate = edge_tts.Communicate(TEXT, VOICE, boundary="SentenceBoundary")
|
||||
submaker = edge_tts.SubMaker()
|
||||
stdout = sys.stdout
|
||||
audio_bytes = []
|
||||
|
||||
Reference in New Issue
Block a user