N Nam Hoai Dat Motech.ksmart.com.es

Udio Guide #04: Fixing One Section With Audio Inpainting

Highlight a failing stretch on the waveform, describe what should replace it, and leave the rest of the take alone. The repair workflow, with its traps.

🇻🇳 Đọc bài viết này bằng Tiếng Việt nguyên bản: Đọc bản Tiếng Việt →

Audio inpainting rebuilds a chosen stretch of an existing generation while the material either side of it stays untouched. It exists because one bad line is not a reason to throw away a take you otherwise like, and because regenerating from zero loses decisions you already approved.

It behaves like a repair, not like a remix. Nothing outside the selected range is supposed to change, which is what makes it useful and also what makes a careless selection expensive.

What the highlighted range controls

The range you mark is the only part the model is allowed to redraw. Everything before it and after it is held, so your selection defines both what gets fixed and where the new material has to fit.

That has a direct consequence: the edges of the selection are the hardest part. The model has to start inside an existing phrase and stop inside another one, so a range cut in the middle of a word or on a drum hit creates work it cannot finish cleanly.

Selecting the smallest section that fails

Widen the selection only as far as the fault. A single mispronounced word needs the word plus a little context on each side. A whole line that went flat needs the line. Selecting the entire chorus because one phrase was wrong throws away a chorus that was already working, and the replacement may be worse.

Extend the range a little into the neighbouring bars when the fault is a rhythmic stumble, because the model needs to hear where the pulse was going before it can continue it.

Writing the replacement instruction

Describe the change in musical terms rather than by complaining about the result. Say what should be there — the line as it should be sung, the instrument that should be playing, the density you expect — instead of what went wrong.

Keep the instruction shorter than the section itself. A paragraph of direction for two seconds of audio gives the model more obligations than it can satisfy, and it tends to resolve that by returning to whatever it did the first time.

If the fault is a wrong word rather than a wrong performance, fix the lyric first and regenerate the same range. Repairing audio to match an incorrect line is backwards.

Keeping the seam inaudible

Two habits prevent the join from showing. First, place selection edges in quiet places: the gap between phrases, a breath, the space before a downbeat. Second, do not change the character inside a single repair. Asking a calm section to suddenly become brighter in two seconds produces a step the ear catches immediately.

If the seam is still obvious after a clean selection, the instruction is probably asking for a different production than the surrounding audio, not merely a different phrase. Split the difference: repair the phrase only, then handle the overall character as a separate decision.

Repair or regenerate, deciding honestly

Regenerate the whole take when the structure is wrong, when several sections are wrong, or when you are still guessing at the description. Inpainting a structurally broken song produces a well-repaired song in the wrong shape.

Repair when exactly one region fails and the surrounding material is something you would defend. The honest test is simple: if you would keep the track provided that section were fixed, repair it. If you would keep it only if most of it changed, you are avoiding a regeneration you already know you need.

Mistakes that ruin the good part

  • Selecting the whole track because dragging one long range feels quicker than marking two short ones.
  • Giving an instruction that describes a mood instead of a musical event.
  • Running several repairs in a row without listening between them, so each new join is judged against a moving reference.
  • Keeping a repair because it is different rather than because it is better. Compare it against the original, not against the version you have already heard five times.

— Nam Hoai Dat Mo

N
Nam Hoai Dat Mo
AI & DATA ENGINEERING

AI & Data enthusiast who loves explaining complex tech in plain English. Sharing practical tool reviews, prompt guides, and digital creation workflows.