Skip to content

KakaruHayate/DiffSinger-mod

 
 

Repository files navigation

此处为目前yousaAI所使用分支的repo,具体改动与注意事项如下

  • transformer-parallel模式,详见openvpi#191 ,可以提高onnx的推理效率
  • lynxnet,参考https://github.com/CNChTu/Diffusion-SVC/blob/v2.0_dev/diffusion/naive_v2/naive_v2_diff.py
  • 相比Diffusion-SVC更新了SwiGLU,近期也会同步更新
  • 使用lynxnet可以直接套用configs/templates/config_acoustic_lynxnet.yaml
  • 不建议在声学模型(acoustic model)以外的地方使用lynxnet
  • 为了方便与openvpi/DiffSinger同步,并没有对新组件参数传递进行兼容,如需改动请前往modules/commons/common_layers.pymodules/backbone/naive_v2_diff.py
  • 可能需要改动的部分:
  • modules/commons/common_layers.pyclass EncSALayertf_enc_mode(设定到series恢复transformer原始设定)
  • modules/backbone/naive_v2_diff.pyclass NaiveV2Diffconv_model_activation(目前提供了ReLUSiLUPReLU三种设定,其中PReLU风格较为接近原repo中Wavenet,ReLU较虚,SiLU较为实,可以根据想要的风格进行调节)
  • use_norm(遇到训练极为不稳定的情况下,设定为True
  • GLU_type(设定为GLU为lynxnet的原始设定)

——原repo↓↓↓↓↓↓

DiffSinger (OpenVPI maintained version)

arXiv downloads Bilibili license

This is a refactored and enhanced version of DiffSinger: Singing Voice Synthesis via Shallow Diffusion Mechanism based on the original paper and implementation, which provides:

  • Cleaner code structure: useless and redundant files are removed and the others are re-organized.
  • Better sound quality: the sampling rate of synthesized audio are adapted to 44.1 kHz instead of the original 24 kHz.
  • Higher fidelity: improved acoustic models and diffusion sampling acceleration algorithms are integrated.
  • More controllability: introduced variance models and parameters for prediction and control of pitch, energy, breathiness, etc.
  • Production compatibility: functionalities are designed to match the requirements of production deployment and the SVS communities.
Overview Variance Model Acoustic Model
arch-overview arch-variance arch-acoustic

User Guidance

中文教程 / Chinese Tutorials: Text, Video

Progress & Roadmap

Architecture & Algorithms

TBD

Development Resources

TBD

References

Original Paper & Implementation

Generative Models & Algorithms

Dependencies & Submodules

Disclaimer

Any organization or individual is prohibited from using any functionalities included in this repository to generate someone's speech 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.

License

This forked DiffSinger repository is licensed under the Apache 2.0 License.

About

Backbones net mod for OpenVPI/DiffSinger.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%