Singing Voice Synthesis (SVS) aims to generate expressive vocal performances from structured musical inputs such as lyrics and pitch sequences. While recent progress in discrete codec-based speech synthesis has enabled zero-shot generation via in-context learning, directly extending these techniques to SVS remains non-trivial due to the requirement for precise melody control. In particular, prompt-based generation often introduces prosody leakage, where pitch information is inadvertently entangled within the timbre prompt, compromising controllability. We present CoMelSinger, a zero-shot SVS framework that enables structured and disentangled melody control within a discrete codec modeling paradigm. Built on the non-autoregressive MaskGCT architecture, CoMelSinger replaces conventional text inputs with lyric and pitch tokens, preserving in-context generalization while enhancing melody conditioning. To suppress prosody leakage, we propose a coarse-to-fine contrastive learning strategy that explicitly regularizes pitch redundancy between the acoustic prompt and melody input. Furthermore, we incorporate a lightweight encoder-only Singing Voice Transcription (SVT) module to align acoustic tokens with pitch and duration, offering fine-grained frame-level supervision. Experimental results demonstrate that CoMelSinger achieves notable improvements in pitch accuracy, timbre consistency, and zero-shot transferability over competitive baselines.
Model Architecture
Overview of CoMelSinger (left). It adopts a two-stage pipeline: a T2S model encodes lyrics into semantic tokens, and an S2A model generates acoustic tokens conditioned on lyrics, pitch, and prompt. SVT provides pitch supervision. All modules except S2A are frozen during training. Overview of the coarse-to-fine contrastive learning strategy (right). (a) Sequence-level contrastive learning encourages timbre consistency across different melodies. (b) Frame-level contrastive learning uses pitch perturbation to enforce local pitch-awareness and disentangle melody from timbre.
Synthesis Results on Seen Singers
GT (Codec)
Reference
MaskGCT
Vevo 1.5
CoMelSinger
雨会下雨会停这是不变的道理 | yu hui xia yu hui ting zhe shi bu bian de dao li
我听过荒芜变成热闹 | wo ting guo huang wu bian cheng re nao
眼看着灯光熄灭 | yan kan zhe deng guang xi mie
他说就这样去流浪 | ta shuo jiu zhe yang qu liu lang
你献给我的西班牙馅饼 | ni xian gei wo de xi ban ya xian bing
离别轻,暮然回首才被 | li bie qing, mu ran hui shou cai bei
Synthesis Results on Unseen Singers
Male Singer 1: Danny
Reference
MaskGCT
Vevo 1.5
CoMelSinger
早 (G3) 些 (G3) 少 (A3) 年 (E3) 时 (G3) | zao xie shao nian shi
痛 (A2) 太 (C3) 美 (D3),尽 (A2) 管 (C3) 再 (D3) 卑 (G2) 微 (F2) | tong tai mei, jin guan zai bei wei
多 (A2) 吹 (A2) 一 (B2) 些 (D3) 风 (G2) | duo chui yi xie feng
Male Singer 2: Wei
Reference
MaskGCT
Vevo 1.5
CoMelSinger
每 (D#3) 一 (F#3) 滴 (B3) 泪 (A#3) 水 (D#3),都 (D#3) 向 (C#3) 你 (B2) 流 (B2) 淌 (C#3) 去 (D#3) | mei yi di lei shui, dou xiang ni liu tang qu