Spaces:
Sleeping
Sleeping
Commit History
-
Fix turn-audio splice drift; harden Turn Review; add Quick Synthesize tab
Splice/pause (tts/core/pause_synthesis.py): insert_pauses and splice_sentence_audio now shift/space timestamps by the crossfade-adjusted audio length, not the nominal pause/clip length, so regenerated selections splice at the right position instead of drifting later through a turn. Multi-word selections keep internal comma/period pauses (synthesize_clip internal_only). Sentence pauses now fire on ? and ! and before closing quotes (."), not only bare periods; decimals still excluded. Turn Review robustness (app.py, project_store.py): reload with a changed glossary drops the offset map instead of splicing the wrong region; a failed audio download on load no longer lets autosave orphan stored audio+alignment; the sweeper refreshes mtime on render so live-session audio isn't reclaimed, and Download All/Accept guard against a missing file; Create Turns no longer mints a duplicate project (reload on upload/clear, not programmatic .change); per-turn Generate resets the stale regenerate banne…c198355
-
Add word-level highlight-to-regenerate for Turn Review audio
Highlighting any text in a turn's textbox (down to part of a single word) snaps to the whole word(s) touched and offers to regenerate just that span via ElevenLabs, previewing the take before splicing it into the turn's existing audio at the exact time offset from its original character-time alignment, with a crossfade at each cut and downstream timestamps shifted to stay correct for further edits. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>bd5fe5b