Abstract

We present AnyEdit, a unified, separation-free framework for speech and singing voice editing that preserves real-world acoustic environments, including noise, reverberation, and background music. Recent unified generative models already achieve strong speech and singing generation in clean conditions, but real-world vocal editing remains challenging because the model must revise content while simultaneously preserving speaker identity, prosody, and the surrounding acoustic scene. A straightforward solution is to directly model noisy edited audio end to end, yet this entangles semantic editing with environmental acoustics and can weaken the core vocal generation capability. We therefore adopt a two-stage design that preserves clean-domain editing ability while deferring acoustic rendering to a separate stage: an instruction-guided autoregressive editor first predicts clean prosody and content-style tokens, supported by a teacher-student noise-robust prosody tokenizer that distills clean prosodic tokens from degraded recordings; a flow-matching acoustic model then performs in-context rendering conditioned on the source acoustic context, so the edited segment inherits surrounding noise, reverberation, and background sound while maintaining consistent speaker timbre. To stabilize unedited regions, we introduce unmodified-area-aware supervision; after pre-training, we further apply direct preference optimization (DPO) on mined real-to-real singing pairs via Chromagram-DTW. We also release AnyEditBench, a benchmark covering both speech and singing voice editing under clean, simulated, and in-the-wild acoustic conditions. Experiments on Chinese and English speech and singing datasets showed that AnyEdit consistently outperforms strong baselines in content accuracy, subjective quality, and background consistency under noisy and reverberant conditions.

Methodology

Architecture
Figure 1: Overall architecture of the ANYEDIT framework.

The AR model operates in a clean semantic space to predict prosody and content tokens, supported by a noise-robust teacher-student tokenizer. A flow-matching acoustic model then renders mel-spectrograms conditioned on source acoustic context.

AnyEditBench

AnyEditBench is available on Hugging Face. It covers 12 subsets (3 acoustic conditions × 2 modalities × 2 languages), with 50 samples per subset and 600 evaluation items in total. Both speech and singing are covered in English and Chinese:

  • Clean: single-span and multi-span edits on clean recordings.
  • Simulated: diverse noise and reverberation settings.
  • Real-world: in-the-wild speech and singing recordings.

🎧 Real-World Speech Editing

Orange highlight indicates edited words. Hover baseline cards to view listening notes.

🎧 Real-World Singing Voice Editing

Orange highlight indicates edited words. Red tags indicate acoustic conditions.

🎧 More Capabilities

Extra abilities beyond standard speech/singing editing. Orange highlight marks edited spans. Hover baseline cards for listening notes. For VC/SVC cards, the first reference is prosody/content and the second is target timbre.

Varying Length Editing

Original and target differ substantially in text length and/or audio duration. Hover baselines for failure modes.

Speech to Sing

Transfer a speech speaker’s timbre onto singing content/prosody.

Voice Conversion (VC)

Keep linguistic content/prosody while converting to a target speaker timbre.

Singing Voice Conversion (SVC)

Keep singing content/prosody while converting to a target singer timbre.

Citation

@misc{zhang2026anyeditunifiedframeworkspeech,
  title={AnyEdit: A Unified Framework for Speech and Singing Voice Editing with Real-World Environmental Consistency},
  author={Yunjia Zhang and Junan Zhang and Jing Yang and Xueyao Zhang and Fan Fan and Zhizheng Wu},
  year={2026},
  eprint={2610.15665},
  archivePrefix={arXiv},
  primaryClass={cs.SD},
  url={https://arxiv.org/abs/2610.15665}
}