mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3721] [CLOSED] Add configurable pauses between TTS dialogue lines #6073
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6073
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3721
Author: @KeKKERUUU
Created: 7/16/2026
Status: ❌ Closed
Base:
staging← Head:fix/tts-dialogue-pause📝 Commits (1)
bd9eaeaAdd configurable pauses between TTS dialogue lines📊 Changes
5 files changed (+122 additions, -10 deletions)
View changed files
📝
packages/client/src/components/panels/settings/TTSConfigCard.tsx(+27 -0)📝
packages/client/src/lib/tts-dialogue.ts(+11 -6)📝
packages/client/src/lib/tts-service.ts(+51 -4)📝
packages/shared/src/types/tts.ts(+1 -0)📝
scripts/regressions/tts-source-persistence.regression.ts(+32 -0)📄 Description
Linked issue
Closes #3718.
Why this change
When Only read dialogues is enabled, separate dialogue lines from the same message are played immediately one after another.
Because the TTS sequence currently starts the next generated clip as soon as the previous clip ends, conversations with multiple dialogue lines can sound unnaturally continuous.
What changed
dialoguePauseMsTTS setting.0to1500milliseconds.300milliseconds.User impact
Users can control the pacing between separate dialogue lines without affecting normal full-message TTS playback.
The selected delay is saved with the existing TTS configuration and applies to newly started playback.
Technical notes
The delay is playback metadata and is not included in generated-audio cache keys.
Audio generation may continue progressively during the delay, but playback waits for the configured interval before starting the next clip.
Manual playback and autoplay already use
buildTTSVoiceRequests()withspeakSequence(), so no call-site changes were required.Validation
git diff --check: passed.The exact
pnpm regression:ttsandpnpm lintwrappers were attempted, but the Codex pnpm runtime stopped during its automatic install step because third-party dependency build scripts are not approved. The same underlying build, regression, TypeScript, and ESLint commands were run directly with the installed workspace binaries and passed.Manual verification
0–1500 mswith50 mssteps.UI evidence
A screenshot of the TTS settings panel still needs to be added before marking this PR ready for review.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.