mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5146] Connections: first-class audio provider type (speech, sound effects, music) #2845
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#2845
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 @kolacheee on GitHub (Aug 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5146
Originally assigned to: @kolacheee on GitHub.
The problem
Audio is the only media type without a real connection. Text, image, and video providers are Connections — per-profile keys, per-game selection, capability detection. Audio lives in a singleton TTS settings blob (
GET /api/tts/config, source ∈ openai | elevenlabs | pockettts | xai, keys inside): one global configuration for the whole instance, invisible to the connections UI, impossible to select per game or per agent, and unusable as a capability gate for setup-wizard features. The generated music & sound effects wizard toggle (#5145) stalled on exactly this — its only possible gate was "what does the global TTS blob say," which is a workaround, not a model.The ask
Introduce audio connections as a first-class provider type in the Connections model:
speech(TTS),soundEffects,music— because providers differ: ElevenLabs does all three, OpenAI/PocketTTS/xai are speech-only, and future music-first providers may do only music. Capability gating (wizard toggles, agent settings) should ask "is there a connection that can generate music," not "is the source ElevenLabs."gmConnectionIdand the scene-effects connection.Scope note
Phase 1 is the model + UI + resolution path + migration. It deliberately does not redesign what game music generation produces — that revisit (persistent per-context tracks instead of per-turn mood clips) is planned separately once this lands, per the discussion on #5145.
Acceptance
music?" and gray itself out with an explanation when none does.@kolacheee commented on GitHub (Aug 16, 2026):
Implementation in progress by @kolacheee (agent-assisted) — draft PR #5152 is up: audio provider type through shared/schema/DB, TTS resolution seam with legacy-blob fallback, one-time boot migration, connection editor/panel surfaces, and the Game Setup wizard audio picker with per-game sfx/music toggles. Music-generation redesign (per-map / per-enemy-tier tracks) stays separate per the plan recorded on #5145.