Home/Speech & Audio/DiffSinger
DiffSinger logo

DiffSinger

MoonInTheRiver/DiffSinger

Singing Voice Synthesis via Shallow Diffusion Mechanism

GraphCanon updated 3w · GitHub synced 3w · 42 views this month

4.8k stars826 forksLast push 1mo Python MIT

Decision brief

DiffSinger leverages a shallow diffusion mechanism for high-quality singing voice synthesis and text-to-speech (TTS) tasks. It supports both ground-truth F0-based singing synthesis and explicit pitch prediction in TTS.

Good fit when

  • Need precise control over the fundamental frequency (F0) when synthesizing singing voices
  • Seeking a project with support for specific datasets like PopCS for SVS

Avoid when

  • In need of real-time synthesis performance due to the resource demands of diffusion mechanisms
  • Looking for an end-to-end model that does not require ground-truth F0 information for SVS tasks

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (5d since push)
As of 3w
Provenance
Not a fork · Personal account
As of 3w
Security (OSV)
24 low (24 low)
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install DiffSinger
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

DiffSinger is a singing voice synthesis project that uses a shallow diffusion mechanism for SVS and TTS tasks.

Capability facts

Languages
python

Source: github.language · Jul 29, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 29, 2026)

conda create -n your_env_name python=3.8
Source link

Tags

README

DiffSinger: Singing Voice Synthesis via Shallow Diffusion Mechanism

This repository is the official PyTorch implementation of our AAAI-2022 paper, in which we propose DiffSinger (for Singing-Voice-Synthesis) and DiffSpeech (for Text-to-Speech).

:tada: :tada: :tada: Updates:

  • Sep.11, 2022: :electric_plug: DiffSinger-PN. Add plug-in PNDM, ICLR 2022 in our laboratory, to accelerate DiffSinger freely.
  • Jul.27, 2022: Update documents for SVS. Add easy inference A & B; Add Interactive SVS running on HuggingFace🤗 SVS.
  • Mar.2, 2022: MIDI-B-version.
  • Mar.1, 2022: NeuralSVB, for singing voice beautifying, has been released.
  • Feb.13, 2022: NATSpeech, the improved code framework, which contains the implementations of DiffSpeech and our NeurIPS-2021 work PortaSpeech has been released.
  • Jan.29, 2022: support MIDI-A-version SVS.
  • Jan.13, 2022: support SVS, release PopCS dataset.
  • Dec.19, 2021: support TTS. HuggingFace🤗 TTS

:rocket: News:

  • Feb.24, 2022: Our new work, NeuralSVB was accepted by ACL-2022 . Demo Page.
  • Dec.01, 2021: DiffSinger was accepted by AAAI-2022.
  • Sep.29, 2021: Our recent work PortaSpeech: Portable and High-Quality Generative Text-to-Speech was accepted by NeurIPS-2021 .
  • May.06, 2021: We submitted DiffSinger to Arxiv .

Environments

  1. If you want to use env of anaconda:

    conda create -n your_env_name python=3.8
    source activate your_env_name 
    pip install -r requirements_2080.txt   (GPU 2080Ti, CUDA 10.2)
    or pip install -r requirements_3090.txt   (GPU 3090, CUDA 11.4)
    
  2. Or, if you want to use virtual env of python:

    ## Install Python 3.8 first. 
    python -m venv venv
    source venv/bin/activate
    # install requirements.
    pip install -U pip
    pip install Cython numpy==1.19.1
    pip install torch==1.9.0
    pip install -r requirements.txt
    

Documents

  • Run DiffSpeech (TTS version).
  • Run DiffSinger (SVS version).

Overview

Mel PipelineDatasetPitch InputF0 PredictionAcceleration MethodVocoder
DiffSpeech (Text->F0, Text+F0->Mel, Mel->Wav)LjspeechNoneExplicitShallow DiffusionHiFiGAN
DiffSinger (Lyric+F0->Mel, Mel->Wav)PopCSGround-Truth F0NoneShallow DiffusionNSF-HiFiGAN
DiffSinger (Lyric+MIDI->F0, Lyric+F0->Mel, Mel->Wav)OpenCpopMIDIExplicitShallow DiffusionNSF-HiFiGAN
FFT-Singer (Lyric+MIDI->F0, Lyric+F0->Mel, Mel->Wav)OpenCpopMIDI

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.