Skip to content

resync with master#16

Merged
lmangani merged 3 commits intoaudiohacking:copilot/add-wav-mp3-conversionfrom
ServeurpersoCom:master
Mar 8, 2026
Merged

resync with master#16
lmangani merged 3 commits intoaudiohacking:copilot/add-wav-mp3-conversionfrom
ServeurpersoCom:master

Conversation

@lmangani
Copy link

@lmangani lmangani commented Mar 8, 2026

No description provided.

…tart/end

Add repaint mode to dit-vae: regenerate a time region of source audio
while preserving the rest. Activated by setting repainting_start and/or
repainting_end in the request JSON (both default to -1 = inactive).

When active, the DiT receives a binary chunk mask:
- Inside region: mask=1.0, src=silence (generate new content)
- Outside region: mask=0.0, src=cover_latents (preserve original)

Instruction switches to "Repaint the mask area based on the given conditions:"

Semantics:
- Both -1: inactive (plain cover)
- start=-1: means 0s (beginning)
- end=-1: means source duration (end)
- end <= start after resolve: hard error
- repaint params without --src-audio: hard error

No task_type field needed. Two floats activate the mode.

Also add [Component] prefix to all bare ERROR/FATAL messages across
tools/ and src/ to match existing convention ([VAE], [Load], [GGUF])
@lmangani lmangani marked this pull request as ready for review March 8, 2026 00:27
@lmangani lmangani merged commit 360e324 into audiohacking:copilot/add-wav-mp3-conversion Mar 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants