[GH-ISSUE #7762] [Issue]: Preserve descriptive emotion cues in dialogue TTS #4286

Closed
opened 2026-10-21 06:14:11 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7762

Originally assigned to: @SpicyMarinara on GitHub.

Summary

With AI dialogue formatting and emotion indicators enabled, square-bracketed vocal directions can be removed by the playback bracket filter. The formatter also demonstrates mostly single-word emotions rather than nuanced delivery, and Game generation does not request these cues.

Expected behavior

Keep bracketed delivery directions in the speech text when emotion indicators are enabled. Request natural descriptions of voice, pace, volume, emotion, pauses, and small vocal sounds while preserving the original Roleplay dialogue and Game speaker/type/expression metadata.

Actual behavior

The bracket filter can strip the requested cues. Existing examples underspecify nuanced delivery, and Game scene, party, and combat prompts lack matching instructions.

Steps to reproduce

  1. Enable TTS, the Roleplay speaker extractor, emotion indicators, and the square-bracket playback filter.
  2. Format or play dialogue containing [Low, steady voice, restrained urgency] Stay close. [Brief pause] Keep moving.
  3. Inspect the text sent for speech: the bracket filter drops the vocal directions. In Game, inspect the scene, party, or combat prompt: no equivalent guidance requests descriptive directions.

Environment

  • Marinara Engine version: 2.5.0; source baseline eed2c7c2266e66c0326c5cdf07995d9a2e82949e
  • Install type: source
  • OS + version: macOS; exact version not supplied in the report
  • Browser or app shell: original reported browser not supplied; local playback checks cover desktop Chromium, mobile Chromium, and mobile WebKit emulation

Logs, screenshots, or video

The deterministic baseline/current comparison reproduces bracket removal with emotion indicators enabled. Focused regressions cover cue preservation, disabled settings, Game request forwarding, and long-text chunk boundaries. No live speech-service generation was performed.

Additional context

Requested by @SpicyMarinara. Implementation owner: Codex, working with @SpicyMarinara, branch fix/tts-emotion-cues.

Use descriptive inline audio cues rather than an undocumented top-level emotion API field. Reference: https://elevenlabs.io/docs/overview/capabilities/text-to-speech/best-practices

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7762 Originally assigned to: @SpicyMarinara on GitHub. ## Summary With AI dialogue formatting and emotion indicators enabled, square-bracketed vocal directions can be removed by the playback bracket filter. The formatter also demonstrates mostly single-word emotions rather than nuanced delivery, and Game generation does not request these cues. ## Expected behavior Keep bracketed delivery directions in the speech text when emotion indicators are enabled. Request natural descriptions of voice, pace, volume, emotion, pauses, and small vocal sounds while preserving the original Roleplay dialogue and Game speaker/type/expression metadata. ## Actual behavior The bracket filter can strip the requested cues. Existing examples underspecify nuanced delivery, and Game scene, party, and combat prompts lack matching instructions. ## Steps to reproduce 1. Enable TTS, the Roleplay speaker extractor, emotion indicators, and the square-bracket playback filter. 2. Format or play dialogue containing `[Low, steady voice, restrained urgency] Stay close. [Brief pause] Keep moving.` 3. Inspect the text sent for speech: the bracket filter drops the vocal directions. In Game, inspect the scene, party, or combat prompt: no equivalent guidance requests descriptive directions. ## Environment - Marinara Engine version: 2.5.0; source baseline `eed2c7c2266e66c0326c5cdf07995d9a2e82949e` - Install type: source - OS + version: macOS; exact version not supplied in the report - Browser or app shell: original reported browser not supplied; local playback checks cover desktop Chromium, mobile Chromium, and mobile WebKit emulation ## Logs, screenshots, or video The deterministic baseline/current comparison reproduces bracket removal with emotion indicators enabled. Focused regressions cover cue preservation, disabled settings, Game request forwarding, and long-text chunk boundaries. No live speech-service generation was performed. ## Additional context Requested by @SpicyMarinara. Implementation owner: Codex, working with @SpicyMarinara, branch `fix/tts-emotion-cues`. Use descriptive inline audio cues rather than an undocumented top-level `emotion` API field. Reference: https://elevenlabs.io/docs/overview/capabilities/text-to-speech/best-practices ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:14:11 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4286
No description provided.