为什么喉咙总感觉有东西堵着| 豆角炒什么| 开除党籍有什么后果| 一什么圆月| 嫑怹是什么意思| 耳朵里面疼什么原因| 手不释卷的释是什么意思| 社会保险费是什么| 脚老抽筋是什么原因| ct是什么| 氯胺酮是什么| 红斑狼疮是什么病图片| 女生做彩超是检查什么| 中暑喝什么好| 偏印代表什么| 心急是什么病的症状| 12月15号是什么星座| 野什么意思| 查血脂挂什么科| 梅花什么颜色| 颈椎病用什么药膏| 传染病八项挂什么科| 病毒感染吃什么消炎药| 洛基是什么神| pd1是什么意思| 女属猪的和什么属相最配| 排卵期是什么时候开始算| 中位生存期什么意思| 狗狗中毒了用什么办法可以解毒| 4ever是什么意思| 防弹衣是由什么材料制成的| dxm是什么药| 九月份有什么节日| 什么地大喊| mic是什么意思| 5月什么星座| 什么是奇点| 为什么不嫁丧妻之男| 优质是什么意思| 天麻主治什么病| ochirly是什么品牌| 本是什么意思| venus是什么星球| 惊喜的英文是什么| 头孢是什么| 梦见自行车是什么意思| 咽鼓管炎吃什么药| 蛋白尿是什么病| 阴虚内热吃什么中成药| 回族信奉什么教| 命名是什么意思| 手胀是什么原因| 凹儿念什么| 关节错缝术是什么意思| 烫伤用什么药最好| 手发麻发木是什么病的前兆| 什么人不适合种植牙| 胸口堵得慌是什么原因| 小孩咳嗽不能吃什么食物| 51是什么意思| 心率过快吃什么药最好| 鱼油有什么作用| 梦见自己光脚走路是什么意思| 6像什么| 前列腺钙化斑是什么意思| 爬虫是什么| 脱疽是什么意思| 什么时辰出生最好| 今年农历是什么年| 沙蟹吃什么| 嗣女是什么意思| 子什么意思| 急性咽炎吃什么药| nh3是什么| lisa英文名什么意思| 为什么会出汗| 梦见血是什么预兆| 交杯酒是什么意思| 本科和专科是什么意思| 偷是什么生肖| 捞面条配什么菜好吃| 四月二十八什么星座| 什么是妇科病| 甲沟炎用什么药| 向左向右向前看是什么歌| 头晕脑胀吃什么药| 儿童喝蜂蜜水有什么好处和坏处| 胎停有什么症状或征兆吗| 下面瘙痒是什么原因| 糜烂性脚气用什么药| ala是什么意思| 普陀山求什么最灵验| 医保定点是什么意思| lsil是什么意思| 抓鱼的鸟叫什么| 最大的哺乳动物是什么| 神经性皮炎用什么药膏| 头部ct挂什么科| 什么是禁欲| 2004年属什么生肖| 空囊是什么原因造成的| 身上带什么可以辟邪| 胃寒喝什么茶暖胃养胃| 血糖高适合喝什么茶| 麒麟臂什么意思| 爽是什么结构| 癔症是什么| 肾精亏虚是什么意思| 冒昧是什么意思| 长闭口是什么原因造成的| 子宫憩室有什么症状| 性格开朗是什么意思| 什么是安全感| bppv是什么病| 用什么点豆腐最健康| 双手麻木是什么原因| 同妻是什么意思| cyl是什么意思| 肾有结晶是什么意思| 甲亢什么不能吃| 大姨妈吃什么水果| 虽败犹荣是什么意思| 水对什么| 胃不消化吃什么药好| 宫腔积液排出什么颜色| 抗链球菌溶血素o偏高是什么原因| 治疗白斑最有效的方法是什么| 腰扭伤吃什么药最有效| 玄青色是什么颜色| 失眠是什么| 单核细胞偏低是什么意思| 小熊衣服叫什么牌子| pr过高是什么意思| 芒果不能和什么食物一起吃| 吃什么菜对肝好怎么养肝| 什么是幼小衔接| 梦到坟墓是什么意思| 脸肿是什么原因引起的| 空降兵属于什么兵种| 总梦到一个人说明什么| tst是什么意思| 槟榔是什么味道| 衣冠禽兽是什么意思| 女性为什么不适合喝茉莉花茶| 噤口痢是什么意思| 备孕需要做些什么准备| 副区长是什么级别| 倒打一耙的前一句是什么| 外阴白斑有什么症状| 什么是胃肠型更年期| 纳差是什么症状| 畏寒是什么意思| 乳头有点痒是什么原因| 趁什么不什么| 口干是什么原因| 地板油是什么意思| 女生排卵期是什么意思| 为什么有白头发| 降压药什么药好| 昆明的别称是什么| 什么什么不宁| 过期的维生素c有什么用途| 什么风云| 体重下降是什么原因| 吃什么药可以延长射精| 打完狂犬疫苗不能吃什么| 燕条和燕盏有什么区别| hb医学上是什么意思| 取经是什么意思| 雨中漫步是什么意思| 急性乳腺炎是什么原因引起的| 栓是什么意思| 肺阴虚吃什么中成药| 高什么远瞩| 拔牙后吃什么食物| 糖醋鱼用什么鱼做好吃| 人鱼线是什么| 6.20是什么星座| 仲字五行属什么| 宝宝胎动频繁说明什么| 脑控是什么| 存在是什么| 玉米水喝了有什么好处| 蜜蜂是什么生肖| 移花接木的意思是什么| 白细胞低吃什么好| 菩提子是什么树的种子| 什么样的智齿不需要拔| 手足口是什么| 7代表什么| 肝昏迷是什么症状| 窦性心律过缓吃什么药| 心慌挂什么科| 多动症是什么原因造成| 威士忌什么味道| 什么的水井| 丙五行属什么| 头层牛皮除牛反绒是什么意思| 做梦手机坏了什么预兆| 昕字取名什么寓意| 心脏难受是什么原因| 三国演义是什么朝代| 胃不舒服做什么检查| 梦见捡到钱是什么征兆| 神隐是什么意思| 水痘开始痒了说明什么| 10月17是什么星座| 赟怎么读 什么意思| 红绿色盲是什么遗传| 吃山竹有什么好处和坏处| 12月14是什么星座| 眼睛五行属什么| 1975年属什么| 月什么人什么| 吃什么大便能特别通畅| 药物制剂是干什么的| 洛神花茶有什么功效| 一泻千里是什么意思| 男士脸黑用什么能美白| 不苟言笑的苟是什么意思| 小狗什么时候换牙| 心悸是什么症状| 地下党是什么意思| 才高八斗代表什么生肖| 肌醇是什么| 头发多剪什么发型好看| 浮云是什么意思| 阳刚之气是什么意思| 什么叫肠上皮化生| 一月23号是什么星座| 什么花喜欢磷酸二氢钾| 三伏天什么时候开始| 肠胃炎拉肚子吃什么药| 皮重是什么意思| 果酸有什么作用| 干湿分离什么意思| 什么是胰岛素抵抗| 工业氧气和医用氧气有什么区别| 四季春是什么茶| 糖尿病可以吃什么菜| 借记卡是什么卡| 宫腔镜手术是什么原因才要做| 武当山求什么最灵| 西兰花是什么季节的蔬菜| 类风湿吃什么食物好| 入木三分是什么意思| crayon什么意思| 检查胰腺做什么检查| 地狱不空誓不成佛是什么意思| 胆囊炎需要注意什么| 漏尿是什么原因造成的| 酒精过敏吃什么药| 七月九号是什么星座| 整编师和师有什么区别| 天是什么结构的字| 防微杜渐是什么意思| 什么毛什么血| 偷鸡不成蚀把米是什么生肖| 送奶奶什么礼物好| pro是什么的缩写| 脂蛋白a高是什么意思| 舞蹈症是什么病| 熊猫尾巴什么颜色| 扎心是什么意思| 百度
Skip to content

AaronZ345/TCSinger2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

?

History

22 Commits
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?

Repository files navigation

TCSinger 2: Customizable Multilingual Zero-shot Singing Voice Synthesis

Yu Zhang, Wenxiang Guo, Changhao Pan, Dongyu Yao, Zhiyuan Zhu, Ziyue Jiang, Yuhan Wang, Tao Jin, Zhou Zhao | Zhejiang University

PyTorch implementation of TCSinger 2 (ACL 2025): Customizable Multilingual Zero-shot Singing Voice Synthesis.

arXiv weixin weixin zhihu GitHub Stars

Visit our demo page for audio samples.

News

  • 2025.07: We released the code of TCSinger 2!
  • 2025.07: We realeased the code of STARS!
  • 2025.05: TCSinger 2 is accepted by ACL 2025!

Key Features

  • We present TCSinger 2, a multi-task multilingual zero-shot SVS model with style transfer and style control based on various prompts.
  • We introduce the Blurred Boundary Content Encoder for robust modeling and smooth transitions of phoneme and note boundaries.
  • We design the Custom Audio Encoder using contrastive learning to extract styles from various prompts, while the Flow-based Custom Transformer with Cus-MOE and F0, enhances synthesis quality and style modeling.
  • Experimental results show that TCSinger 2 outperforms baseline models in subjective and objective metrics across multiple tasks: zero-shot style transfer, multi-level style control, cross-lingual style transfer, and speech-to-singing style transfer.

Quick Start

We provide an example of how you can train your own model and infer with TCSinger 2.

To try on your own dataset, clone this repo on your local machine with NVIDIA GPU + CUDA cuDNN and follow the instructions below.

Dependencies

A suitable conda environment named tcsinger2 can be created and activated with:

conda create -n tcsinger2 python=3.10
conda install --yes --file requirements.txt
conda activate tcsinger2

Multi-GPU

By default, this implementation uses as many GPUs in parallel as returned by torch.cuda.device_count(). You can specify which GPUs to use by setting the CUDA_DEVICES_AVAILABLE environment variable before running the training module.

Train your own model

Data Preparation

  1. Collect your own singing dataset, e.g., including GTSinger, and feel free to add extra data annotated with alignment tools, like STARS.
  2. Place metadata.json (fields: ph, word, item_name, ph_durs, wav_fn, singer, ep_pitches, ep_notedurs, ep_types, emotion, singing_method, technique) and phone_set.json (complete phoneme list) in the desired folder and update the paths in preprocess/preprocess.py. (A reference metadata.json is provided in GTSinger.) Please present the singer attribute as a description specifying the performer’s gender and vocal range, and render the technique attribute either as a concise text listing of skills or as a natural-language account that conveys their sequential order.
  3. Extract F0 for each .wav, save as *_f0.npy, e.g. with RMVPE.
  4. Download HIFI-GAN as the vocoder in useful_ckpts/hifigan and FLAN-T5 in useful_ckpts/flan-t5-large.
  5. Preprocess the dataset:
export PYTHONPATH=.
python preprocess/preprocess.py

Tip: You may also convert your dataset directly to a .csv instead of using metadata.json.

  1. Compute mel-spectrograms:
python preprocess/mel_spec_48k.py --tsv_path data/new/data.tsv --num_gpus 1 --max_duration 20
  1. Post-process:
python preprocess/postprocess_data.py

Training TCSinger 2

  1. Train the VAE module and duration predictor
python main.py --base configs/ae_singing.yaml -t --gpus 0,1,2,3,4,5,6,7
  1. Train the main TCSinger 2 model
python main.py --base configs/tcsinger2.yaml -t --gpus 0,1,2,3,4,5,6,7

Notes

  • Adjust the compression ratio in the config files (and related scripts).
  • Change the padding length in the dataloader as needed.
  • To train the Custom Audio Encoder, format data as in ldm/data/joinaudiodataset_con.py, set the trained VAE path in ae_con.yaml, and proceed with training.

Inference with TCSinger 2

python scripts/test_sing.py

Replace the checkpoint path and CFG coefficient as required. For speech inputs, modify the VAE accordingly.

Acknowledgements

This implementation uses parts of the code from the following Github repos: Make-An-Audio-3, TCSinger Lumina-T2X as described in our code.

Citations

If you find this code useful in your research, please cite our work:

@article{zhang2025tcsinger,
  title={TCSinger 2: Customizable Multilingual Zero-shot Singing Voice Synthesis},
  author={Zhang, Yu and Guo, Wenxiang and Pan, Changhao and Yao, Dongyu and Zhu, Zhiyuan and Jiang, Ziyue and Wang, Yuhan and Jin, Tao and Zhao, Zhou},
  journal={arXiv preprint arXiv:2505.14910},
  year={2025}
}

Disclaimer

Any organization or individual is prohibited from using any technology mentioned in this paper to generate someone's singing without his/her consent, including but not limited to government leaders, political figures, and celebrities. If you do not comply with this item, you could be in violation of copyright laws.

visitors

About

PyTorch Implementation of TCSinger 2(ACL 2025): Customizable Multilingual Zero-shot Singing Voice Synthesis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

常染色体是什么 什么病会引起腰疼 今年什么生肖年 系鞋带什么意思 老子是什么朝代的人
手脱皮擦什么药膏 耄耋是什么意思 龋齿是什么样子的图片 什么叫tct检查 青春痘是什么原因引起的
缺氯有什么症状怎么补 尿发黄什么原因 接待是什么意思 生理期为什么不能拔牙 pa环是什么
金瓶梅是什么 眉毛痒是什么原因 脚老是抽筋是什么原因 喝酒后肚子疼什么原因 偶见是什么意思
3.8什么星座hcv9jop6ns6r.cn 羊肚菌是什么hcv7jop9ns6r.cn 吃什么白细胞升的最快chuanglingweilai.com 番石榴是什么hcv9jop1ns1r.cn 什么魂什么魄hcv9jop0ns4r.cn
宫颈筛查是什么意思hcv8jop8ns8r.cn 心跳过缓是什么原因造成的hcv9jop0ns5r.cn 蒲公英泡水喝有什么副作用inbungee.com 吃什么对脑血管好hcv8jop3ns0r.cn 肝掌是什么原因引起的hcv9jop2ns2r.cn
鸡蛋黄发红是什么原因hcv7jop6ns7r.cn 查血挂什么科hcv9jop6ns9r.cn 什么醒酒zhongyiyatai.com 脑瘫是什么shenchushe.com 红斑狼疮是一种什么病520myf.com
孕期腰疼是什么原因hcv9jop0ns8r.cn 手总是发麻是什么原因hcv9jop0ns3r.cn 感冒发烧吃点什么食物比较好hcv7jop6ns6r.cn 额窦炎吃什么药管用hcv9jop7ns0r.cn 心肌供血不足用什么药hcv7jop4ns6r.cn
百度