[GH-ISSUE #3180] [Issue]: Add default or random TTS voice handling for NPCs in Game Mode #1707

Closed
opened 2026-10-21 05:41:54 +07:00 by bsakaguchi · 1 comment
Owner

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

Summary

NPC dialogue in Game Mode does not appear to be voiced when using an OAI-compatible Chatterbox TTS server with "select per character" voice selection. A default, random, or configurable NPC voice option may be needed for characters without profiles.

Expected behavior

NPC dialogue without a named character profile should still be sent to TTS using a configurable default NPC voice, random voice, or narrator voice fallback.

Actual behavior

Named characters with profiles are voiced correctly, but NPCs without profiles do not appear to trigger TTS playback.

Steps to reproduce

  1. Install Marinara Engine from GitHub and run it via start.bat with auto-updates.
  2. Use Marinara Engine v2.0.9 on Windows 11.
  3. Configure TTS to use a local Chatterbox TTS model through an OAI-compatible server: https://github.com/devnen/Chatterbox-TTS-Server
  4. Set TTS voice behavior to "select per character".
  5. Enter Game Mode and encounter dialogue from named characters with profiles and NPCs without profiles.
  6. Observe that named characters are voiced, while NPC dialogue is not voiced.

Environment

  • Marinara Engine version: v2.0.9
  • Install type: source
  • OS + version: Windows 11
  • Browser or app shell: Game Mode

Logs, screenshots, or video

Attached screenshot: https://cdn.discordapp.com/attachments/1522570078451666985/1522570078816702535/Screenshot_2026-07-03_043553.png?ex=6a48f362&is=6a47a1e2&hm=14733cdefbcdeaee9cad381154d7aeb91eb9ec9200f810ca8f9e548aa2be8935&

Additional context

User reports using a local Chatterbox TTS model via an OAI-compatible server. They suspect NPCs are skipped because there is no UI mapping for characters without profiles. Suggested solutions include adding a configurable "NPC" voice that can be renamed/edited, using random voices for NPCs, or mapping NPC dialogue to the narrator. Maintainer noted ElevenLabs has a random voices option for NPCs and asked whether adding it for other TTS options would be useful. RP Mode behavior is not known.

Discord thread: TTS default voice setting for NPCs?
Discord thread link: https://discord.com/channels/1417099416812392641/1522570078451666985
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-07-03T11:49:54.687Z] Silver Wolf: Windows 11
Github installation (then auto-updates through start.bat)
v2.0.9
Game Mode

Hello, I'm not sure this would be a bug or a new feature, so I just said feature. 

I run TTS through a local model called Chatterbox on the "select per character" function through an OAI-Compatible server through this link: https://github.com/devnen/Chatterbox-TTS-Server

It works great with one exception: it seems that NPCs are not properly voiced like named characters with profiles are in game mode. It doesn't even seem to try to attempt to voice them. 

I suspect that this is because I don't have the ability to map a default voice to characters without profiles in the UI, or the ability to have the model pick a random voice or anything like that. 

I know this is in the game mode, not sure about other modes, as I don't use RP mode. 

Whether it would be to have a set "NPC" voice that could be renamed, changed, and edited as needed, or just mapping NPC dialogue to the narrator, either would work for me, though I would prefer the former. I don't know if this is just an issue for me, or something others have as well, nor how easy or hard something like this would be to implement. But it would be nice to have.

[attached image 1: https://cdn.discordapp.com/attachments/1522570078451666985/1522570078816702535/Screenshot_2026-07-03_043553.png?ex=6a48f362&is=6a47a1e2&hm=14733cdefbcdeaee9cad381154d7aeb91eb9ec9200f810ca8f9e548aa2be8935&]
[Discord message: https://discord.com/channels/1417099416812392641/1522570078451666985/1522570078451666985]

[2026-07-03T13:35:08.502Z] Marinara: Ah, on Elevel Labs I have random voices used for NPCs option.
[Discord message: https://discord.com/channels/1417099416812392641/1522570078451666985/1522596560511303760]

[2026-07-03T13:35:23.593Z] Marinara: Do you think adding it for other TTS optpions would do well?
[Discord message: https://discord.com/channels/1417099416812392641/1522570078451666985/1522596623807680614]

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 (Jul 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3180 ## Summary NPC dialogue in Game Mode does not appear to be voiced when using an OAI-compatible Chatterbox TTS server with "select per character" voice selection. A default, random, or configurable NPC voice option may be needed for characters without profiles. ## Expected behavior NPC dialogue without a named character profile should still be sent to TTS using a configurable default NPC voice, random voice, or narrator voice fallback. ## Actual behavior Named characters with profiles are voiced correctly, but NPCs without profiles do not appear to trigger TTS playback. ## Steps to reproduce 1. Install Marinara Engine from GitHub and run it via start.bat with auto-updates. 2. Use Marinara Engine v2.0.9 on Windows 11. 3. Configure TTS to use a local Chatterbox TTS model through an OAI-compatible server: https://github.com/devnen/Chatterbox-TTS-Server 4. Set TTS voice behavior to "select per character". 5. Enter Game Mode and encounter dialogue from named characters with profiles and NPCs without profiles. 6. Observe that named characters are voiced, while NPC dialogue is not voiced. ## Environment - Marinara Engine version: v2.0.9 - Install type: source - OS + version: Windows 11 - Browser or app shell: Game Mode ## Logs, screenshots, or video Attached screenshot: https://cdn.discordapp.com/attachments/1522570078451666985/1522570078816702535/Screenshot_2026-07-03_043553.png?ex=6a48f362&is=6a47a1e2&hm=14733cdefbcdeaee9cad381154d7aeb91eb9ec9200f810ca8f9e548aa2be8935& ## Additional context User reports using a local Chatterbox TTS model via an OAI-compatible server. They suspect NPCs are skipped because there is no UI mapping for characters without profiles. Suggested solutions include adding a configurable "NPC" voice that can be renamed/edited, using random voices for NPCs, or mapping NPC dialogue to the narrator. Maintainer noted ElevenLabs has a random voices option for NPCs and asked whether adding it for other TTS options would be useful. RP Mode behavior is not known. Discord thread: TTS default voice setting for NPCs? Discord thread link: https://discord.com/channels/1417099416812392641/1522570078451666985 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-07-03T11:49:54.687Z] Silver Wolf: Windows 11 Github installation (then auto-updates through start.bat) v2.0.9 Game Mode Hello, I'm not sure this would be a bug or a new feature, so I just said feature. I run TTS through a local model called Chatterbox on the "select per character" function through an OAI-Compatible server through this link: https://github.com/devnen/Chatterbox-TTS-Server It works great with one exception: it seems that NPCs are not properly voiced like named characters with profiles are in game mode. It doesn't even seem to try to attempt to voice them. I suspect that this is because I don't have the ability to map a default voice to characters without profiles in the UI, or the ability to have the model pick a random voice or anything like that. I know this is in the game mode, not sure about other modes, as I don't use RP mode. Whether it would be to have a set "NPC" voice that could be renamed, changed, and edited as needed, or just mapping NPC dialogue to the narrator, either would work for me, though I would prefer the former. I don't know if this is just an issue for me, or something others have as well, nor how easy or hard something like this would be to implement. But it would be nice to have. [attached image 1: https://cdn.discordapp.com/attachments/1522570078451666985/1522570078816702535/Screenshot_2026-07-03_043553.png?ex=6a48f362&is=6a47a1e2&hm=14733cdefbcdeaee9cad381154d7aeb91eb9ec9200f810ca8f9e548aa2be8935&] [Discord message: https://discord.com/channels/1417099416812392641/1522570078451666985/1522570078451666985] [2026-07-03T13:35:08.502Z] Marinara: Ah, on Elevel Labs I have random voices used for NPCs option. [Discord message: https://discord.com/channels/1417099416812392641/1522570078451666985/1522596560511303760] [2026-07-03T13:35:23.593Z] Marinara: Do you think adding it for other TTS optpions would do well? [Discord message: https://discord.com/channels/1417099416812392641/1522570078451666985/1522596623807680614] ``` </details> ## 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 05:41:54 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jul 3, 2026):

Codex is taking this in draft PR #3181.

<!-- gh-comment-id:4876911803 --> @SpicyMarinara commented on GitHub (Jul 3, 2026): Codex is taking this in draft PR #3181.
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#1707
No description provided.