├── .gitignore ├── LICENSE.md ├── README.md ├── batch.py ├── ckpt.png ├── doc ├── train_and_inference.markdown └── training_and_inference_EN.markdown ├── flask_api.py ├── infer.py ├── infer_tools ├── __init__.py ├── f0_temp.json ├── infer_tool.py └── slicer.py ├── inference.ipynb ├── modules ├── commons │ ├── common_layers.py │ ├── espnet_positional_embedding.py │ └── ssim.py ├── diff │ ├── diffusion.py │ ├── diffusion_V2.py │ └── net.py ├── encoder.py ├── fastspeech │ ├── fs2.py │ ├── pe.py │ └── tts_modules.py ├── hifigan │ ├── hifigan.py │ └── mel_utils.py ├── nsf_hifigan │ ├── env.py │ ├── models.py │ ├── nvSTFT.py │ └── utils.py └── parallel_wavegan │ ├── __init__.py │ ├── layers │ ├── __init__.py │ ├── causal_conv.py │ ├── pqmf.py │ ├── residual_block.py │ ├── residual_stack.py │ ├── tf_layers.py │ └── upsample.py │ ├── losses │ ├── __init__.py │ └── stft_loss.py │ ├── models │ ├── __init__.py │ ├── melgan.py │ ├── parallel_wavegan.py │ └── source.py │ ├── optimizers │ ├── __init__.py │ └── radam.py │ ├── stft_loss.py │ └── utils │ ├── __init__.py │ └── utils.py ├── network ├── diff │ ├── candidate_decoder.py │ ├── diffusion.py │ └── net.py ├── hubert │ ├── hubert_model.py │ └── vec_model.py └── vocoders │ ├── __init__.py │ ├── base_vocoder.py │ ├── hifigan.py │ ├── nsf_hifigan.py │ ├── pwg.py │ └── vocoder_utils.py ├── onnx_export.py ├── preprocessing ├── SVCpre.py ├── base_binarizer.py ├── binarize.py ├── data_gen_utils.py ├── hubertinfer.py └── process_pipeline.py ├── raw └── test_input.wav ├── requirements.png ├── requirements.txt ├── requirements_short.txt ├── results └── test_output.wav ├── run.py ├── simplify.py ├── test_output.wav ├── training ├── config.yaml ├── config_nsf.yaml ├── dataset │ ├── base_dataset.py │ └── fs2_utils.py ├── pe.py ├── task │ ├── SVC_task.py │ ├── base_task.py │ ├── fs2.py │ └── tts.py └── train_pipeline.py ├── trans_key.py ├── utils ├── __init__.py ├── audio.py ├── cwt.py ├── hparams.py ├── indexed_datasets.py ├── multiprocess_utils.py ├── pitch_utils.py ├── pl_utils.py ├── plot.py ├── text_encoder.py ├── text_norm.py └── training_utils.py └── 预处理.bat /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/README.md -------------------------------------------------------------------------------- /batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/batch.py -------------------------------------------------------------------------------- /ckpt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/ckpt.png -------------------------------------------------------------------------------- /doc/train_and_inference.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/doc/train_and_inference.markdown -------------------------------------------------------------------------------- /doc/training_and_inference_EN.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/doc/training_and_inference_EN.markdown -------------------------------------------------------------------------------- /flask_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/flask_api.py -------------------------------------------------------------------------------- /infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/infer.py -------------------------------------------------------------------------------- /infer_tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /infer_tools/f0_temp.json: -------------------------------------------------------------------------------- 1 | {"info": "temp_dict"} -------------------------------------------------------------------------------- /infer_tools/infer_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/infer_tools/infer_tool.py -------------------------------------------------------------------------------- /infer_tools/slicer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/infer_tools/slicer.py -------------------------------------------------------------------------------- /inference.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/inference.ipynb -------------------------------------------------------------------------------- /modules/commons/common_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/commons/common_layers.py -------------------------------------------------------------------------------- /modules/commons/espnet_positional_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/commons/espnet_positional_embedding.py -------------------------------------------------------------------------------- /modules/commons/ssim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/commons/ssim.py -------------------------------------------------------------------------------- /modules/diff/diffusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/diff/diffusion.py -------------------------------------------------------------------------------- /modules/diff/diffusion_V2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/diff/diffusion_V2.py -------------------------------------------------------------------------------- /modules/diff/net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/diff/net.py -------------------------------------------------------------------------------- /modules/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/encoder.py -------------------------------------------------------------------------------- /modules/fastspeech/fs2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/fastspeech/fs2.py -------------------------------------------------------------------------------- /modules/fastspeech/pe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/fastspeech/pe.py -------------------------------------------------------------------------------- /modules/fastspeech/tts_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/fastspeech/tts_modules.py -------------------------------------------------------------------------------- /modules/hifigan/hifigan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/hifigan/hifigan.py -------------------------------------------------------------------------------- /modules/hifigan/mel_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/hifigan/mel_utils.py -------------------------------------------------------------------------------- /modules/nsf_hifigan/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/nsf_hifigan/env.py -------------------------------------------------------------------------------- /modules/nsf_hifigan/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/nsf_hifigan/models.py -------------------------------------------------------------------------------- /modules/nsf_hifigan/nvSTFT.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/nsf_hifigan/nvSTFT.py -------------------------------------------------------------------------------- /modules/nsf_hifigan/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/nsf_hifigan/utils.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/parallel_wavegan/layers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/layers/__init__.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/layers/causal_conv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/layers/causal_conv.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/layers/pqmf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/layers/pqmf.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/layers/residual_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/layers/residual_block.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/layers/residual_stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/layers/residual_stack.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/layers/tf_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/layers/tf_layers.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/layers/upsample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/layers/upsample.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/losses/__init__.py: -------------------------------------------------------------------------------- 1 | from .stft_loss import * # NOQA 2 | -------------------------------------------------------------------------------- /modules/parallel_wavegan/losses/stft_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/losses/stft_loss.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/models/__init__.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/models/melgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/models/melgan.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/models/parallel_wavegan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/models/parallel_wavegan.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/models/source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/models/source.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/optimizers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/optimizers/__init__.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/optimizers/radam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/optimizers/radam.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/stft_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/stft_loss.py -------------------------------------------------------------------------------- /modules/parallel_wavegan/utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .utils import * # NOQA 2 | -------------------------------------------------------------------------------- /modules/parallel_wavegan/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/modules/parallel_wavegan/utils/utils.py -------------------------------------------------------------------------------- /network/diff/candidate_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/diff/candidate_decoder.py -------------------------------------------------------------------------------- /network/diff/diffusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/diff/diffusion.py -------------------------------------------------------------------------------- /network/diff/net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/diff/net.py -------------------------------------------------------------------------------- /network/hubert/hubert_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/hubert/hubert_model.py -------------------------------------------------------------------------------- /network/hubert/vec_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/hubert/vec_model.py -------------------------------------------------------------------------------- /network/vocoders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/vocoders/__init__.py -------------------------------------------------------------------------------- /network/vocoders/base_vocoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/vocoders/base_vocoder.py -------------------------------------------------------------------------------- /network/vocoders/hifigan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/vocoders/hifigan.py -------------------------------------------------------------------------------- /network/vocoders/nsf_hifigan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/vocoders/nsf_hifigan.py -------------------------------------------------------------------------------- /network/vocoders/pwg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/vocoders/pwg.py -------------------------------------------------------------------------------- /network/vocoders/vocoder_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/network/vocoders/vocoder_utils.py -------------------------------------------------------------------------------- /onnx_export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/onnx_export.py -------------------------------------------------------------------------------- /preprocessing/SVCpre.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/preprocessing/SVCpre.py -------------------------------------------------------------------------------- /preprocessing/base_binarizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/preprocessing/base_binarizer.py -------------------------------------------------------------------------------- /preprocessing/binarize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/preprocessing/binarize.py -------------------------------------------------------------------------------- /preprocessing/data_gen_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/preprocessing/data_gen_utils.py -------------------------------------------------------------------------------- /preprocessing/hubertinfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/preprocessing/hubertinfer.py -------------------------------------------------------------------------------- /preprocessing/process_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/preprocessing/process_pipeline.py -------------------------------------------------------------------------------- /raw/test_input.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/raw/test_input.wav -------------------------------------------------------------------------------- /requirements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/requirements.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/requirements.txt -------------------------------------------------------------------------------- /requirements_short.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/requirements_short.txt -------------------------------------------------------------------------------- /results/test_output.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/results/test_output.wav -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/run.py -------------------------------------------------------------------------------- /simplify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/simplify.py -------------------------------------------------------------------------------- /test_output.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/test_output.wav -------------------------------------------------------------------------------- /training/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/config.yaml -------------------------------------------------------------------------------- /training/config_nsf.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/config_nsf.yaml -------------------------------------------------------------------------------- /training/dataset/base_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/dataset/base_dataset.py -------------------------------------------------------------------------------- /training/dataset/fs2_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/dataset/fs2_utils.py -------------------------------------------------------------------------------- /training/pe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/pe.py -------------------------------------------------------------------------------- /training/task/SVC_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/task/SVC_task.py -------------------------------------------------------------------------------- /training/task/base_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/task/base_task.py -------------------------------------------------------------------------------- /training/task/fs2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/task/fs2.py -------------------------------------------------------------------------------- /training/task/tts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/task/tts.py -------------------------------------------------------------------------------- /training/train_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/training/train_pipeline.py -------------------------------------------------------------------------------- /trans_key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/trans_key.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/audio.py -------------------------------------------------------------------------------- /utils/cwt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/cwt.py -------------------------------------------------------------------------------- /utils/hparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/hparams.py -------------------------------------------------------------------------------- /utils/indexed_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/indexed_datasets.py -------------------------------------------------------------------------------- /utils/multiprocess_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/multiprocess_utils.py -------------------------------------------------------------------------------- /utils/pitch_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/pitch_utils.py -------------------------------------------------------------------------------- /utils/pl_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/pl_utils.py -------------------------------------------------------------------------------- /utils/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/plot.py -------------------------------------------------------------------------------- /utils/text_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/text_encoder.py -------------------------------------------------------------------------------- /utils/text_norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/text_norm.py -------------------------------------------------------------------------------- /utils/training_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/utils/training_utils.py -------------------------------------------------------------------------------- /预处理.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prophesier/diff-svc/HEAD/预处理.bat --------------------------------------------------------------------------------