[GH-ISSUE #8306] [Issue]: Gacha Forge regenerates dialogue audio instead of reusing existing audio #8238

Closed
opened 2026-10-26 04:03:37 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Dialogue audio is generated again even when audio for that dialogue has already been generated.

Expected behavior

Reuse the existing dialogue audio when the line and applicable voice configuration match. Repeated playback or revisiting the same line should not issue another generation request. A changed line or voice configuration should use the corresponding updated audio.

Actual behavior

The maintainer reports repeated generation instead of reuse of the audio already produced.

Steps to reproduce

Reported path to verify; not independently reproduced during issue filing.

  1. Generate and play audio for a Gacha Forge dialogue line.
  2. Replay or revisit that same dialogue with the same voice configuration.
  3. Check whether the saved audio is reused or a new generation request is made.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided
  • Active Gacha Forge installation metadata checked during this sweep: 1.15.2

Logs, screenshots, or video

No audio request log or recording was supplied with this additional report.

Additional context

Owner: @SpicyMarinara / Codex. Added to the authorized issue sweep and the Gacha Forge package work in Marinara-Agents PR #1674. Filed in Engine alongside the maintainer's other Gacha Forge reports; implementation belongs in Marinara-Agents unless a host integration defect is found.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8306 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Dialogue audio is generated again even when audio for that dialogue has already been generated. ## Expected behavior Reuse the existing dialogue audio when the line and applicable voice configuration match. Repeated playback or revisiting the same line should not issue another generation request. A changed line or voice configuration should use the corresponding updated audio. ## Actual behavior The maintainer reports repeated generation instead of reuse of the audio already produced. ## Steps to reproduce Reported path to verify; not independently reproduced during issue filing. 1. Generate and play audio for a Gacha Forge dialogue line. 2. Replay or revisit that same dialogue with the same voice configuration. 3. Check whether the saved audio is reused or a new generation request is made. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided - Active Gacha Forge installation metadata checked during this sweep: 1.15.2 ## Logs, screenshots, or video No audio request log or recording was supplied with this additional report. ## Additional context Owner: @SpicyMarinara / Codex. Added to the authorized issue sweep and the Gacha Forge package work in [Marinara-Agents PR #1674](https://github.com/Pasta-Devs/Marinara-Agents/pull/1674). Filed in Engine alongside the maintainer's other Gacha Forge reports; implementation belongs in Marinara-Agents unless a host integration defect is found. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-26 04:03:37 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Oct 25, 2026):

Maintainer clarification: this happens when replaying dialogue in the same open app, without a browser reload.

The Gacha Forge repair in Agents PR #1674 gives dialogue synthesis a stable cache identity for matching text and voice settings while keeping each playback request distinct. The actual Engine TTS route regression covers replay/revisit reuse and text/voice/speed invalidation. A final same-app reuse check against the combined Engine build remains before closure; this issue does not require changing iOS's cache lifetime across full browser reloads.

<!-- gh-comment-id:6397086354 --> @SpicyMarinara commented on GitHub (Oct 25, 2026): Maintainer clarification: this happens when **replaying dialogue in the same open app**, without a browser reload. The Gacha Forge repair in [Agents PR #1674](https://github.com/Pasta-Devs/Marinara-Agents/pull/1674) gives dialogue synthesis a stable cache identity for matching text and voice settings while keeping each playback request distinct. The actual Engine TTS route regression covers replay/revisit reuse and text/voice/speed invalidation. A final same-app reuse check against the combined Engine build remains before closure; this issue does not require changing iOS's cache lifetime across full browser reloads.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 25, 2026):

Addressed in Gacha Forge 1.16.0 through Agents PR #1674, merged to staging as db10c82cd7f5522b34e5e3b1ee2fce63a752dea2.

Supply a stable Engine TTS cache key for the exact text, character/speaker, assigned voice, selected source/baseURL/model and effective synthesis settings, retaining unique playback IDs for cancellation.

Validation: Current maintained regression reuses one synthetic generated clip across repeated lines and a recreated controller; text/voice/character/source/model/synthesis changes invalidate identity. Actual Engine TTSService integration with synthetic blobs confirms repeated/reopened dialogue synthesizes once and voice/text/speed edits each generate distinct audio. Final same-open-app replay/reopen check passes against actual combinedEngine b508 client TTSService and final6b449 Forge controller; one synthetic generation is reused, and voice/text/speed changes invalidate it.

The confirmed report is same-open-app replay, which the stable cache key addresses. Engine iOSWebKit full-browser-reload persistence policy remains unchanged and is outside this clarified report; synthetic provider proof does not claim real-provider sound quality.

Publication and shared validation: https://github.com/Pasta-Devs/Marinara-Agents/pull/1674#issuecomment-6397209332

<!-- gh-comment-id:6397224047 --> @SpicyMarinara commented on GitHub (Oct 25, 2026): Addressed in Gacha Forge **1.16.0** through [Agents PR #1674](https://github.com/Pasta-Devs/Marinara-Agents/pull/1674), merged to `staging` as `db10c82cd7f5522b34e5e3b1ee2fce63a752dea2`. Supply a stable Engine TTS cache key for the exact text, character/speaker, assigned voice, selected source/baseURL/model and effective synthesis settings, retaining unique playback IDs for cancellation. Validation: Current maintained regression reuses one synthetic generated clip across repeated lines and a recreated controller; text/voice/character/source/model/synthesis changes invalidate identity. Actual Engine TTSService integration with synthetic blobs confirms repeated/reopened dialogue synthesizes once and voice/text/speed edits each generate distinct audio. Final same-open-app replay/reopen check passes against actual combinedEngine b508 client TTSService and final6b449 Forge controller; one synthetic generation is reused, and voice/text/speed changes invalidate it. The confirmed report is same-open-app replay, which the stable cache key addresses. Engine iOSWebKit full-browser-reload persistence policy remains unchanged and is outside this clarified report; synthetic provider proof does not claim real-provider sound quality. Publication and shared validation: https://github.com/Pasta-Devs/Marinara-Agents/pull/1674#issuecomment-6397209332
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#8238
No description provided.