MCPcopy Index your code
hub / github.com/Rongjiehuang/Multi-Singer

github.com/Rongjiehuang/Multi-Singer @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
284 symbols 751 edges 42 files 173 documented · 61%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Multi-Singer: Fast Multi-Singer Singing Voice Vocoder With A Large-Scale Corpus

PyTorch Implementation of (ACM MM'21)Multi-Singer: Fast Multi-Singer Singing Voice Vocoder With A Large-Scale Corpus.

arXiv GitHub Stars MIT License

Requirements

See requirements in requirement.txt: - linux - python 3.6 - pytorch 1.0+ - librosa - json, tqdm, logging

Getting started

Apply recipe to your own dataset

  • Put any wav files in data directory
  • Edit configuration in config/config.yaml

1. Pretrain

Use our checkpoint, or\ you can also train the encoder on your own here, and set the enc_model_fpath in config/config.yaml. Please set params as those in encoder/params_data and encoder/params_model.

2. Preprocess

Extract mel-spectrogram

python preprocess.py -i data/wavs -o data/feature -c config/config.yaml

-i your audio folder

-o output acoustic feature folder

-c config file

3. Train

Training conditioned on mel-spectrogram

python train.py -i data/feature -o checkpoints/ --config config/config.yaml

-i acoustic feature folder

-o directory to save checkpoints

-c config file

4. Inference

python inference.py -i data/feature -o outputs/  -c checkpoints/*.pkl -g config/config.yaml

-i acoustic feature folder

-o directory to save generated speech

-c checkpoints file

-c config file

5. Singing Voice Synthesis

For Singing Voice Synthesis: - Take modified FastSpeech 2 for mel-spectrogram synthesis - Use synthesized mel-spectrogram in Multi-Singer for waveform synthesis.

Checkpoint

Trained on OpenSinger

Acknowledgements

GE2E\ FastSpeech 2\ Parallel WaveGAN

Citation

@inproceedings{huang2021multi,
  title={Multi-Singer: Fast Multi-Singer Singing Voice Vocoder With A Large-Scale Corpus},
  author={Huang, Rongjie and Chen, Feiyang and Ren, Yi and Liu, Jinglin and Cui, Chenye and Zhao, Zhou},
  booktitle={Proceedings of the 29th ACM International Conference on Multimedia},
  pages={3945--3954},
  year={2021}
}

Question

Feel free to contact me at rongjiehuang@zju.edu.cn

Core symbols most depended-on inside this repo

write_line
called by 11
encoder/preprocess.py
update
called by 11
encoder/visualizations.py
read_hdf5
called by 10
utils/utils.py
step
called by 8
optimizers/radam.py
write_hdf5
called by 6
utils/utils.py
keys
called by 6
utils/utils.py
_conv1d
called by 6
frontend/audio_world_process.py
save
called by 6
encoder/visualizations.py

Shape

Method 143
Function 100
Class 41

Languages

Python100%

Modules by API surface

frontend/audio_preprocess.py35 symbols
utils/utils.py22 symbols
models/Generator.py19 symbols
train.py17 symbols
losses/stft_loss.py13 symbols
layers/upsample.py12 symbols
encoder/preprocess.py12 symbols
encoder/inference.py12 symbols
datasets/audio_mel_dataset.py12 symbols
layers/residual_block.py11 symbols
models/Discriminator.py10 symbols
frontend/audio_world_process.py10 symbols

For agents

$ claude mcp add Multi-Singer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact