TTS synthesis + serve cleanup#15
Merged
Merged
Conversation
Squash of the tts-cleanup branch (reviewed commit-by-commit by corteza), applied over main's revert so the wav-mono fix is preserved. - chatterbox(load = TRUE): one-call construct + load; idempotent load_chatterbox()/load_chatterbox_turbo(). - generate(output_path=): optional WAV sink; tts_to_file() demoted to a thin wrapper. - T3 input text-token guard; CFM sized from actual generated tokens. - normalize_tts_text(caps=, punctuation=) single entry; normalize_text defaults FALSE (the caps mitigation patched a since-fixed bug). - tts_chunked(): long-form layer - word-safe splitting, voice resolved once, T3 run first so batching/caps use actual speech-token lengths; size-one groups keep the traced CFM path. - generate_batch() split into reusable T3 and S3Gen stage helpers. - serve(): base-R-socket HTTP server, routes through tts_chunked(), forwards request knobs. Version 0.1.0.9.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Squash of the reviewed
tts-cleanupbranch, applied over main's revert so the wav-mono fix is preserved.Highlights: one-call
chatterbox(load = TRUE),generate(output_path=), T3 text-token guard, unifiednormalize_tts_text()(defaultnormalize_text = FALSE),tts_chunked()long-form layer with actual-token bucketing,generate_batch()split into T3/S3Gen stage helpers, and the base-R-socketserve()server. Reviewed commit-by-commit by corteza; fulltinytest::test_packagegreen (92/92). Version 0.1.0.9.