how to actually successfully use the cover mode? #398
|
havent found any tutorial. anyone can guide me please? |
Replies: 7 comments 2 replies
|
Safe to assume this did not help? If not, tell me what went wrong, I may be able to help fill in the gaps. |
Actually, just try thisACE-Step Cover Mode — A Complete Guide for Musicians
What Is Cover Mode?Cover mode takes an existing piece of audio and regenerates it in a different style while preserving its underlying structure. Think of it the way a band might "cover" a song — same melody and form, but a completely different sound. You give ACE-Step a source song, describe the new style you want, and it produces a version that follows the original's blueprint (melody contour, chord progression, rhythm, song form) while changing the sonic details (instruments, production, vocal style, mix). When to Use Cover Mode (and When Not To)Use Cover when you want to:
Don't use Cover when you want to:
How It Works Under the HoodUnderstanding what's actually happening will help you use the feature effectively. When you upload source audio in cover mode, ACE-Step converts it into semantic codes — a compressed representation that captures the musical structure (melody, rhythm, chords, arrangement) while discarding fine-grained sonic details like specific timbres and production effects. These codes act as a skeleton or scaffold. The DiT (the "Studio Engineer" brain) then generates brand new audio that follows this scaffold, but fills in all the sonic detail based on your caption, lyrics, and other settings. Important: The Language Model (Brain 1 / "The Songwriter") is skipped in cover mode. You don't need it to plan the song because the source audio already provides the plan. This means:
Step-by-Step: Your First CoverIn the Gradio Web Interface
Via the REST APIimport requests
response = requests.post("http://localhost:8001/generate", json={
"task_type": "cover",
"src_audio_path": "/path/to/source_song.mp3",
"caption": "jazz piano trio, upright bass, brushed drums, warm intimate vocals",
"lyrics": "[Verse 1]\nYour new lyrics here...\n\n[Chorus]\n...",
"audio_cover_strength": 0.6,
"audio_duration": 180,
"vocal_language": "en",
"batch_size": 2
})Via the Python APIfrom acestep.inference import GenerationParams, GenerationConfig, generate_music
params = GenerationParams(
task_type="cover",
src_audio="original_song.mp3",
caption="jazz piano trio, upright bass, brushed drums, warm intimate vocals",
lyrics="[Verse 1]\nYour new lyrics here...",
audio_cover_strength=0.6,
duration=180,
vocal_language="en",
)
config = GenerationConfig(batch_size=2)
result = generate_music(dit_handler, llm_handler, params, config)The Audio Cover Strength SliderThis is the single most important control in cover mode. It determines what proportion of the diffusion process uses the source audio's structure as guidance. Practical Settings
What's Actually HappeningTechnically, When the value is less than 1.0, the system computes two separate text encodings: one with the cover instruction ("Generate audio semantic tokens based on the given conditions") and one with the standard text-to-music instruction. The DiT blends between these based on the strength, giving you smooth control over how much the source audio constrains the result. Writing Captions for Cover ModeYour caption in cover mode describes the target style — the style you want the output to sound like, not the style of the source audio. Good PracticesBe specific about what should change: Describe multiple dimensions: The more dimensions you specify (genre, instruments, vocal style, mood, production), the less the model has to guess. Use era and reference points: Common Caption Mistakes in Cover Mode
Lyrics in Cover ModeYou can provide new lyrics or leave them empty. Here's how each approach behaves: Providing New LyricsIf you write new lyrics, the cover will attempt to sing your new words while following the source audio's structural timing. This is great for:
Keep the structure similar to the source: If your source has two verses, a chorus, a bridge, and a final chorus, your lyrics should follow a similar layout. The source audio's structural timing won't change, so drastically different section lengths may cause timing mismatches. Leaving Lyrics EmptyIf you provide no lyrics, the model generates audio that follows the source structure but may produce instrumental sections or use its own judgment for vocal content. This works well for:
Keeping Original LyricsIf you want to keep the original lyrics, you'll need to type them in (or provide them). The model doesn't extract lyrics from source audio — it only reads the semantic structure (melody, rhythm, etc.). Two Paths: Source Audio vs. Audio CodesThere are two ways to provide the source material for a cover: Path 1: Upload Source Audio (Recommended for Most Users)Upload an audio file directly. ACE-Step handles the conversion to semantic codes internally.
Path 2: Use Pre-Extracted Audio Codes (Advanced)You can convert audio to semantic codes first, then paste those codes into the LM Codes Hints box. This is useful for:
To extract codes from audio:
Auto-detection: If you're in text-to-music mode but paste audio codes into the LM Codes Hints box, ACE-Step automatically switches to cover mode. You don't need to manually change the task type. Code rate: Audio codes are generated at 5Hz (5 codes per second of audio). A 60-second song produces about 300 codes. A 3-minute song produces about 900 codes. Common Scenarios and RecipesScenario 1: Genre Transformation"I have a folk song and want to hear it as electronic music."
Scenario 2: Acoustic Reimagining"I have a produced pop track and want a stripped-down acoustic version."
Scenario 3: Vocal Swap / Language Change"I have an English pop song and want a Japanese version."
Scenario 4: The "Retake Lottery""I like the structure of this song but want to hear different interpretations."
Generate a batch. Each variation follows the same structure but with different performance details — different vocal nuances, slightly different instrument phrasing, different mix balance. Pick your favorite. Scenario 5: Remix With New Lyrics"I want to keep the musical structure but write completely new lyrics."
Troubleshooting Common Problems"My cover sounds nothing like the source"Cause: Audio cover strength is too low. "My cover sounds almost identical to the source"Cause: Audio cover strength is too high. "The timing/duration is wrong"Cause: Duration mismatch between source audio and the duration parameter. "The vocals sound garbled or don't match my lyrics"Cause: Lyrics structure doesn't match the source audio's section timing. "I get an error about model not initialized"Cause: The service hasn't been started yet. "The style didn't change much despite a descriptive caption"Cause: Audio cover strength is probably too high. "I want to use cover mode but I'm on a low-VRAM GPU (4-6 GB)"Tip: Cover mode is actually lighter on VRAM than text-to-music with thinking enabled, because the LM is skipped entirely. You only need the DiT and VAE loaded. Enable CPU offloading if needed ( "Convert to Codes button gives an error"Cause: The DiT model and VAE must be initialized before you can convert audio to codes. Reference Audio vs. Source Audio: What's the Difference?This is a common point of confusion. Both are audio uploads, but they serve very different purposes:
Pro tip: You can use both together. Upload a song as Source Audio for structure and a different recording as Reference Audio for timbre/texture guidance. For example: use a rock song's structure but aim for the warm analog sound of a specific jazz recording. Advanced: The Audio Codes WorkflowFor power users, working with audio codes directly opens up creative possibilities beyond basic cover mode. What Are Audio Codes?Audio codes are a compressed text representation of a song's musical structure. They look like this: Each code is a token from a 64,000-entry codebook. Codes are generated at 5Hz (5 per second of audio), so a 60-second clip produces ~300 codes. Creative Uses of Audio Codes1. Mix-and-match structure: Take codes from the verse of Song A and the chorus of Song B. Paste them together to create a hybrid structure, then cover it in a new style. 2. Loop and extend: Copy a section of codes and paste it multiple times to create a looped or extended version of a phrase. 3. Share without sharing audio: Codes are just text. You can share a song's structural DNA without sharing the actual audio file. 4. Rapid iteration: Convert your source once to codes, then try dozens of different captions/styles without re-encoding the audio each time. Working With Codes
Tips From Experience
Quick Reference |
|
@sigalarm Nice writing. Could you please update this in the docs? |
|
in my case if use cover strenght > 0.07 i have a noisy distorted output or only noise, Why? |
|
I created this guide from #sigilarm for myself as an .md file. I'll upload it here so others may find it useful. If this isn't allowed, please accept my apologies and delete this post. |
|
A great guide indeed, can we have one please for the repaint functionality? |
Actually, just try this
ACE-Step Cover Mode — A Complete Guide for Musicians
What Is Cover Mode?
Cover mode takes an existing piece of audio and regenerates it in a different style while preserving its underlying structure. Think of it the way a band might "cover" a song — same melody and form, but a completely different sound.
You give ACE-Step a source song, describe the new style you want, and it produces a version that follows the original's blueprint (melody contour, chord progression, rhythm, song form) while changing the sonic details (instruments, production, vocal style, mix).