AaronZ345/StyleSinger
PyTorch Implementation of StyleSinger(AAAI 2024): Style Transfer for Out-of-Domain Singing Voice Synthesis
What it solves
StyleSinger tackles the problem of singing voice synthesis when the target lyrics and melody are outside the range of styles seen during training. Instead of generating a flat, generic singing voice, it lets you take a short reference recording of someone singing and transfer that vocal style—emotion, timbre, phrasing—onto a new phoneme sequence and musical score. This makes it possible to synthesize singing that sounds like a particular singer without having that singer record the specific song.
How it works
The system takes two inputs: a reference audio clip (48 kHz singing) and a target sequence of phonemes, notes, and note durations (plus note types like rest, lyric, or slur). It uses an acoustic model (StyleSinger) to produce a singing waveform at 48 kHz, then a HIFI-GAN vocoder to convert that into the final audio. The core style-transfer mechanism relies on two components described in the paper: a Residual Style Adaptor (RSA) that uses residual quantization to capture the style from the reference audio, and an Uncertainty Modeling Layer Normalization (UMLN) that perturbs style information in the content representation during training so the model learns to separate style from content. The released checkpoint works only for Chinese; other languages require training on a suitable dataset like GTSinger.
Who it's for
This project is aimed at researchers and developers working on singing voice synthesis, particularly those interested in zero-shot style transfer—where the style is not seen during training. It assumes some familiarity with deep learning and a working NVIDIA GPU (Python 3.8, PyTorch 1.9.0, CUDA 11.1 recommended). The included quick start gets you to a single example output, while the training guide in the docs covers building your own model on GTSinger or custom data.
Highlights
- Transfers style from a reference singing clip to arbitrary phoneme and score inputs.
- Released pretrained checkpoints for Chinese (acoustic model, HIFI-GAN vocoder, and an emotion encoder).
- Compact input format with aligned phoneme, note, duration, and note-type arrays.
- Includes a detailed training guide for adapting to new languages or datasets.
- Built on code from GenerSpeech, NATSpeech, ProDiff, and DiffSinger.
Related
- Project
- Project
- Project
- Project