mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3718] [Feature]: Add configurable pauses between TTS dialogue lines #2006
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#2006
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?
Originally created by @KeKKERUUU on GitHub (Jul 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3718
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
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.
Proposed solution
Add a persisted global TTS preference that inserts a configurable pause between distinct dialogue utterances when Only read dialogues is enabled.
Suggested behavior:
300 ms0–1500 ms50 msAlternatives considered
A fixed hard-coded pause would improve pacing, but it would not suit every voice or user preference. A configurable delay also allows users to select
0 msto preserve immediate playback.Adding a delay after every generated TTS request was also considered, but that would incorrectly introduce pauses between chunks of the same long dialogue line.
Additional context
The existing sequence-based TTS flow already creates individual voice requests and plays them through
speakSequence()for both manual playback and autoplay. The pause can therefore be represented as playback metadata on the final chunk of each non-final dialogue utterance without changing generated audio or its cache identity.Template check
@SpicyMarinara commented on GitHub (Jul 17, 2026):
Resolved by #3732, now merged into staging.