TL;DR
EditSinger is the first zero-shot, text-based singing voice editing system that allows users to modify lyrics (via insertion, deletion, or replacement) without requiring additional data from the target singer. By utilizing a novel Masked Variance Adaptor and a Fusion Pitch Predictor, it maintains natural prosody and high audio quality even across complex melodic transitions.
What Problem Does This Paper Address?
While text-based speech editing has seen significant progress, singing voice editing presents unique challenges that speech models cannot handle. Singing involves much wider pitch fluctuations, specific rhythmic constraints (music notes), and a high dependency on the "prosody" (the melody and timing) of the surrounding context.
Existing approaches struggle with three main operations:
- Insertion: Simply placing new audio often sounds "flat" or musically disconnected from the rest of the track.
- Deletion: Cutting a segment often leaves a "glitch" or a discontinuous pitch jump at the boundary.
- Replacement: If you try to force the pitch of the original lyrics onto new lyrics, you run into "Voiced/Unvoiced" (V/UV) errors—for example, trying to apply a melodic vowel pitch to a percussive consonant, which sounds unnatural.
Methods and Pipeline
EditSinger is built on a non-autoregressive FastSpeech 2 backbone, modified with specialized modules to handle the nuances of singing. The high-level workflow involves extracting a music score from source audio, parsing the desired text-level operation, and then modeling the edited singing voice.
Core Architecture
The system introduces two specialized modules to ensure natural transitions and prosody:
- Masked Variance Adaptor (MVA): Inspired by BERT’s masked language modeling, this module is used for insertion and deletion. It takes the surrounding context (the parts of the song not being edited) and predicts the duration and pitch for the "masked" (edited) region. This ensures the new segment flows naturally with the existing melody.
- Fusion Pitch Predictor (FPIP): Specifically designed for replacement. It disentangles the pitch into two components: the F0 (the actual frequency/note) and the V/UV information (whether a sound is voiced or unvoiced). It takes the F0 from the original audio to preserve the melody but predicts new V/UV information based on the new lyrics.
- VQ-VAE & Vocoder: A VQ-VAE is integrated into the pitch predictor to help model complex F0 distributions. Finally, Parallel WaveGAN is used as the vocoder to transform predicted mel-spectrograms into the final waveform.
Key Insights
- Disentanglement is Essential: The "aha moment" for replacement tasks is that you cannot simply copy-paste a pitch contour. By separating the melody (F0) from the linguistic pronunciation (V/UV), the model can adapt a new word to an old melody without sounding robotic.
- Context-Aware Boundaries: Deletion isn't just a "cut." The MVA treats the boundary as a gap that needs to be bridged, re-predicting the pitch at the join-point to ensure a smooth transition.
- Zero-Shot Flexibility: Because the model learns to condition on speaker embeddings and linguistic features separately, it can edit a voice it has never seen before (zero-shot) as long as it has a short reference clip.
Key Results
The system was evaluated using Mean Opinion Scores (MOS) for Quality (MOS-Q), Prosody (MOS-P), and Similarity (MOS-S) on the OpenSinger dataset:
- High Fidelity: In replacement tasks, EditSinger achieved a MOS-Q of 4.02, very close to the ground truth audio processed through the same vocoder (4.14).
- Prosody Accuracy: Quantitative tests showed that the MVA significantly reduced errors in duration and pitch compared to standard linear interpolation methods. The Mean Absolute Error for pitch (MAE-P) dropped from 9.97 Hz (baseline) to 7.83 Hz with EditSinger.
- Ablation Success: Removing the MVA or FPIP modules led to significant drops in prosody scores (up to -0.33 in MOS-P), proving these specific modules are doing the heavy lifting for singing-specific naturalness.
Limitations and Future Work
The current implementation is focused on Chinese singing and relies on external tools for pitch and duration extraction, which can propagate errors. Future work will explore more diverse prosody modeling to handle expressive styles like opera or rock and expand to other languages.
Summary updated