(expressive mode): add fish audio#6528
Open
cshape wants to merge 2 commits into
Open
Conversation
Registers Fish Audio (s2 family) across the expr pipeline so inference fishaudio/* voices work in expressive mode: - llm_instructions: sounds-filtered builder β discrete emotion vocabulary (regretful, hopeful, ... sarcastic), sounds (laughing, clear throat), breaks, and an emphasis-only wrapping prosody - convert_markup: expr lowers to Fish's native brackets β [very EMOTION] (intensified so the emotion lands harder), [SOUND], [break]/[long-break] by duration, and [emphasis] word - steering: laughing/reflex_sounds govern the two sounds; disabled labels vanish from the advertised vocabulary and examples - transcript: expr, hallucinated native XML, and Fish's own bracket form are all stripped; brackets=True since Fish's native dialect IS brackets - chunking: no _MAX_INPUT_LEN entry on purpose β Fish's markers are sentence-scoped, so per-sentence emission loses no steering and keeps time-to-first-audio low
gemma keeps labels english on its own, but a weaker llm could write label="ε¬γγ", which lowers to a bracket fish doesn't recognize β make it explicit like the pre-refactor prompts did.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
adds fish audio (s2 models) to expressive mode, same shape as inworld/xai/cartesia:
[very EMOTION][break]/[long-break]by durationare you [emphasis] sure[laughing],[chuckling],[clear throat], governed by thelaughing/reflex_soundssteering fields; disabled sounds are dropped from the advertised vocabulary and examples like the other providersdisfluenciesis enabled, so examples never contradict the delivery guidelinesno
_MAX_INPUT_LENentry on purpose: fish's markers are sentence-scoped (every sentence carries its own emotion tag), so we stick with normal per-sentence synthesis instead of batching longer expressive chunks β no steering is lost and time-to-first-audio stays low.verified live through the inference gateway (
fishaudio/s2.1-pro+ gemma-4-31b-it) and with offline sweeps across several llms checking tag placement, conversion, transcript stripping, and steering filters.