Repository navigation
Add ACE-Step reference-audio conditioning - #1307
Merged
Merged
Conversation
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.
ACE-Step currently always feeds silence into its timbre-conditioning slot. Add the model-local
reference_audiorequest option so users can supply a WAV independently of route-specific source audio:The model normalizes the reference to stereo 48 kHz, builds a 30-second digest from three 10-second windows, and encodes it through the existing session-owned VAE and timbre encoder. Server requests use
options.reference_audiowith a server-local WAV path. Empty, missing and silent references fail explicitly.Omitting the option retains silence conditioning. Source-audio handling, planner defaults and diffusion sampling are unchanged. Providing a reference does not disable caption rewriting;
use_cot_caption=falseremains a separate explicit choice. This provides timbre/style guidance, not guaranteed speaker-identity cloning. No CLI, server, framework or GGML implementation changes.Validation:
none → A → B → A → nonereuse passed: changed references changed output, while repeated references and restored no-reference requests reproduced their earlier output exactly.ca1e85fe9430179831e6bc6be790c332190a3866, using matching male-vocal prompts, lyrics, reference, seed and Turbo controls: eight steps, shift 3, guidance 1, DCW enabled and planner enabled. Caption rewriting was explicitly disabled for these comparisons. ASR recovered the requested verses, choruses, bridge and outro from both outputs; this is a vocal-generation check, not a waveform-parity or speaker-identity claim.Closes #1306.