AnyEdit: A Unified Framework for Speech and Singing Voice Editing with Real-World Environmental Consistency
Organizations: The Chinese University of Hong Kong, Shenzhen · Institute of Media Technology and Experience Design, Huawei · City University of Macau · Amphion Technology Co., Ltd.
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. Directly modeling noisy audio end-to-end entangles semantic editing with environmental acoustics, weakening 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 on mined real-to-real singing pairs. 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. Demo: https://any-edit.github.io/. AnyEditBench: https://huggingface.co/datasets/Ririiiii/anyeditbench.
Figures & tables
| Method | Construction Protocol | Target Realness | Melodic Match | Scalability | Primary Limitation |
| Web Crawled Hand-crafted SVS | Content creators manually tune synthesis software parameters to align specific timbres with different lyrics. | ✗ | ✓ | ✗ | Extremely labor-intensive; dependent on human tuning skills; limited data volume. |
| SVS Model Generation | Synthesizes target audio from lyrics using a trained SVS model (Synthetic Target). | ✗ | ✓ | ✓ | Model learns synthetic artifacts and robotic prosody; upper bound limited by the SVS teacher. |
| Random Truncation | Randomly masks/cuts audio segments for reconstruction (pre-training style). | ✓ | ✗ | ✓ | Lacks specific lyrical control; cannot guarantee melodic preservation when lyrics change. |
| Mined Real-to-Real Pairing (Ours) | Mines intra-song repetitions (Segment A/B) via Chromagram DTW alignment. | ✓ | ✓ | ✓ | Requires songs with repetitive structures (common in pop music). |
| Speech Editing | Singing Voice Editing | |||||||||||
| Metric | SSR- Speech | Voice- Craft | Step- EditX | Vevo2 | Ming- Uni | AnyEdit | Style- Singer | TCSinger | SoulX- Singer | Vevo2 | Ming- Uni | AnyEdit |
| WER (en) | 0.0827 | 0.1081 | 0.1706 | 0.0778 | 0.5385 | 0.0616 | – | 0.9971 | – | 0.2809 | 1.0000 | 0.1749 |
| CER (zh) | 0.1816 | – | 0.1296 | 0.1660 | 0.3000 | 0.1433 | 5.4133 | 0.3171 | 0.8919 | 0.1780 | 0.1538 | 0.0587 |
| SIM-spk (en) | 0.9652 | 0.9604 | 0.9369 | 0.9650 | 0.9632 | 0.9675 | – | 0.7082 | – | 0.8785 | 0.3009 | 0.9167 |
| SIM-spk (zh) | 0.8958 | – | 0.9054 | 0.9027 | 0.8085 | 0.9108 | 0.6745 | 0.7437 | 0.8942 | 0.8970 | 0.9502 | 0.9198 |
| F0 Corr (en) | – | – | – | – | – | – | – | 0.0217 | – | 0.2030 | -0.1780 | 0.2080 |
| Speech Editing | Singing Voice Editing | |||||||||||
| Metric | SSR- Speech | Voice- Craft | Step- EditX | Vevo2 | Ming- Uni | AnyEdit | Style- Singer | TCSinger | SoulX- Singer | Vevo2 | Ming- Uni | AnyEdit |
| WER (en) | 0.1085 | 0.2173 | 0.1618 | 0.0686 | 0.0588 | 0.0770 | – | 1.2480 | – | 0.2579 | 0.5500 | 0.2368 |
| CER (zh) | 1.0317 | – | 0.0875 | 0.1031 | 0.1163 | 0.1184 | 0.7595 | 0.6019 | 0.9028 | 0.3065 | 0.6250 | 0.2975 |
| SIM-spk (en) | 0.9660 | 0.9383 | 0.9363 | 0.9296 | 0.9625 | 0.9535 | – | 0.5530 | – | 0.9015 | 0.8395 | 0.9223 |
| SIM-spk (zh) | 0.9056 | – | 0.8840 | 0.9164 | 0.9136 | 0.9328 | 0.7093 | 0.7394 | 0.8723 | 0.8838 | 0.7996 | 0.9014 |
| F0 Corr (en) | – | – | – | – | – | – | – | -0.0221 | – | 0.2932 | 0.2436 | 0.3014 |
| Task | Condition | Model | SNRErr | RT60Err | WER/CER | SIM-spk | SIM-bg | N-MOS | S-MOS |
| Speech | SNR=0 dB | Vevo2 | 13.321 | 0.011 | 0.196 | 0.806 | 0.471 | 4.02 | 3.96 |
| AnyEdit | 3.368 | 0.165 | 0.386 | 0.897 | 0.756 | 4.31 | 4.27 | ||
| RT60=1.5 s | Vevo2 | 10.383 | 0.031 | 0.093 | 0.929 | 0.504 | 4.08 | 4.01 | |
| AnyEdit | 1.480 | 0.0003 | 0.067 | 0.940 | 0.820 | 4.36 | 4.33 | ||
| Both (SNR0+RT60) | Vevo2 | 9.421 | 0.0005 | 0.156 | 0.884 | 0.458 | 3.95 | 3.90 | |
| AnyEdit | 2.017 | 0.0006 | 0.105 | 0.911 | 0.848 | 4.24 | 4.18 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Representation | Encoded Attributes | Excluded Attributes | System Role |
| Prosody Tokens ( ) | Pitch contour, melody, rhythm | Phonetics, vocal style, timbre, acoustics | Condition for AR editor |
| Content-Style Tokens ( ) | Phonemes, articulation, vibrato, emotion | Speaker timbre, room/noise acoustics | Output target of AR editor |
| Acoustic Context (Mel) | Speaker timbre, background noise, RT60 | Semantic text content | In-context prompt for FMT |
| subset | Domain | Language | Source | Acoustic condition | Items |
| Clean | Speech | EN | LibriTTS, VCTK | Clean recordings; single-span and multi-span edits | 50 |
| Speech | ZH | AISHELL-1/2/3 | Clean recordings; single-span and multi-span edits | 50 | |
| Singing | EN | Clean SingVERSE test subset [ 8 ] | Clean recordings; single-span and multi-span edits | 50 | |
| Singing | ZH | Clean SingVERSE test subset [ 8 ] | Clean recordings; single-span and multi-span edits | 50 | |
| Simulated | Speech | EN | Clean-source speech subsets | 15 noise/reverberation conditions (SNR , RT60 ) | 50 |
| Speech | ZH | Clean-source speech subsets | 15 noise/reverberation conditions (excluding clean case) | 50 |
| Model | Supported Domain | Trained for Editing | Total for Inference |
| AnyEdit (Ours) | Speech + Singing (EN + ZH) | 872M | 1.1B |
| Vevo2 [ 1 ] | Speech + Singing (EN + ZH) | 872M | 1.1B |
| Ming-UniAudio [ 6 ] | Speech (EN + ZH) | 2.8B active | 18.0B ( 2.8B active) |
| MiMo-Audio [ 7 ] | Speech (EN + ZH) | 8.0B | 9.3B |
| Step-Audio-EditX [ 3 ] | Speech (EN + ZH) | 3.5B | 3.7B |
| SSR-Speech [ 11 ] | Speech (EN + ZH) ∗ | 840M + 840M | 1.8B |
| Speech Editing | Singing Voice Editing | |||
| Metric | Vevo2 | AnyEdit | Vevo2 | AnyEdit |
| WER (en) | 0.1717 | 0.1658 | 0.2795 | 0.2754 |
| CER (zh) | 0.1950 | 0.1841 | 0.1986 | 0.1883 |
| SIM-spk (en) | 0.9582 | 0.9583 | 0.9496 | 0.9519 |
| SIM-spk (zh) | 0.9582 | 0.9597 | 0.9574 | 0.9553 |
| F0 Corr (en) | 0.1801 | 0.1803 | 0.3341 | 0.3406 |
| Speech Editing | Singing Voice Editing | |||||||||||||
| Metric | SSR- Speech | Voice- Craft | Step- EditX | Vevo2 | Ming- Uni | Mimo- Audio | AnyEdit | Style- Singer | TCSinger | SoulX- Singer | Vevo2 | Ming- Uni | Mimo- Audio | AnyEdit |
| WER (en) | 0.0246 | 0.0428 | 0.0823 | 0.0600 | 0.1291 | 0.0423 | 0.0408 | – | 1.6463 | – | 0.1482 | 0.4123 | 0.1861 | 0.1425 |
| CER (zh) | 0.0877 | – | 0.0419 | 0.0561 | 0.1091 | 0.0274 | 0.0487 | 0.6124 | 0.3135 | 0.8572 | 0.2203 | 0.4444 | 0.1957 | 0.0613 |
| SIM-spk (en) | 0.9876 | 0.9714 | 0.9723 | 0.9739 | 0.9692 | 0.9448 | 0.9763 | – | 0.6569 | – | 0.9410 | 0.8314 | 0.8604 | 0.9551 |
| SIM-spk (zh) | 0.9655 | – | 0.9430 | 0.9582 | 0.9274 | 0.9344 | 0.9540 | 0.7865 | 0.8309 | 0.9182 | 0.9458 | 0.8444 | 0.8836 | 0.9486 |
| F0 Corr (en) | – | – | – | – | – | – | – | – | -0.0538 | – | 0.1338 | 0.0120 | 0.0330 | 0.1589 |
| Metric | SSR- Speech | Voice- Craft | Step- EditX | Vevo2 | Ming- Uni | Mimo- Audio | AnyEdit |
| WER | 0.0389 | 0.0531 | 0.1518 | 0.0266 | 0.1118 | 0.1029 | 0.0255 |
| SIM-spk | 0.9685 | 0.9657 | 0.9598 | 0.9657 | 0.9532 | 0.9465 | 0.9689 |
| F0 Corr | 0.1638 | 0.0076 | 0.2155 | 0.1966 | 0.2137 | 0.0248 | 0.2330 |
| VC | SVC | Spk2Sing | ||||
| Metric | Vevo2 | AnyEdit | Vevo2 | AnyEdit | Vevo2 | AnyEdit |
| WER (en) | 0.0639 | 0.0586 | 0.1884 | 0.2262 | 0.2038 | 0.1895 |
| CER (zh) | 0.1028 | 0.0998 | 0.3552 | 0.3719 | 0.4302 | 0.3380 |
| SIM-spk (en) | 0.9187 | 0.9084 | – | – | – | – |
| SIM-spk (zh) | 0.9291 | 0.9134 | – | – | – | – |
| F0 Corr (en) | – | – | 0.1678 | 0.1772 | 0.1528 | 0.1592 |
| Method | -5 dB | 0 dB | 5 dB | 10 dB | 15 dB | 20 dB |
| Direct Clean Supervision | 0.0896 | 0.2029 | 0.3367 | 0.4496 | 0.5497 | 0.6238 |
| Teacher-Student Distillation (Ours) | 0.3360 | 0.4587 | 0.5586 | 0.6306 | 0.6968 | 0.7410 |
| Domain | Method | N-MOS (95% CI) | S-MOS (95% CI) | Fooling Rate (%) |
| Speech | Vevo2 | 4.15 (4.06, 4.24) ∗∗ | 4.02 (3.92, 4.12) ∗∗ | 31.5 |
| SSR-Speech | 4.48 (4.40, 4.56) | 3.99 (3.90, 4.08) ∗∗ | 43.2 | |
| VoiceCraft | 4.04 (3.95, 4.13) ∗∗ | 4.32 (4.23, 4.41) ∗ | 35.7 ∗ | |
| Step-Audio-EditX | 3.95 (3.86, 4.04) ∗∗ | 4.02 (3.93, 4.11) ∗∗ | 33.8 ∗∗ | |
| AnyEdit (Ours) | 4.48 (4.41, 4.55) | 4.45 (4.37, 4.53) | 46.5 | |
| Singing | Vevo2 | 4.22 (4.13, 4.31) ∗∗ | 4.15 (4.05, 4.25) ∗∗ | 28.6 ∗∗ |
| Method | WER/CER | F0 Corr | SIM-spk | |
| Speech | Singing | |||
| SSR-Speech | 0.012 | 0.468 | – | 0.982 |
| Vevo2 | 0.051 | 0.732 | 0.785 | 0.945 |
| AnyEdit (w/o unmodified-area-aware sup.) | 0.038 | 0.815 | 0.862 | 0.958 |
| AnyEdit (Ours) | 0.009 | 0.963 | 0.975 | 0.988 |
| Pipeline Strategy | WER | SIM-bg | SNRErr (dB) | N-MOS |
| MaskGCT + Sep (Direct Mix) | 0.158 | 0.348 | 19.12 | 3.61 0.10 |
| Vevo2 + Sep (Direct Mix) | 0.165 | 0.352 | 18.54 | 3.55 0.11 |
| Vevo2 + Sep (SNR-aware Mix) | 0.165 | 0.415 | 6.85 | 3.72 0.08 |
| AnyEdit (Separation-Free, Ours) | 0.142 | 0.819 | 3.13 | 4.38 0.06 |
| Configuration | Circular Correlation | Mean Pitch-Class Error (semitones) | Onset Correlation |
| 12 bins | 0.718 | 1.090 | 0.309 |
| 24 bins (Ours) | 0.730 | 1.040 | 0.318 |
| Model | WER/CER | SIM-spk | SIM-bg | F0 Corr |
| SSR-Speech | 0.0842 | 0.9521 | 0.7240 | 0.1824 |
| VoiceCraft | 0.1265 | 0.9418 | 0.6512 | 0.0150 |
| Vevo2 | 0.0894 | 0.9510 | 0.6128 | 0.2014 |
| AnyEdit (Ours) | 0.0521 | 0.9654 | 0.7850 | 0.2480 |
Audio Editing
Audio editing studies how to modify speech, music, and sound while controlling the change and preserving the rest.
See all 55 papers