# DillWave
DillWave is a fast, high-quality neural vocoder and waveform synthesizer. It starts with Gaussian noise and converts it into speech via iterative refinement. The speech can be controlled by providing a conditioning signal (e.g. log-scaled Mel spectrogram). The model and architecture details are described in [DiffWave: A Versatile Diffusion Model for Audio Synthesis](https://arxiv.org/pdf/2009.09761.pdf).
Credit to the original repo [here](https://github.com/lmnt-com/diffwave).
## Install
(First install [Pytorch](https://pytorch.org), GPU version recommended!)
As a package:
```bash
pip install dillwave
```
From GitHub:
```bash
git clone https://github.com/dillfrescott/dillwave
pip install -e dillwave
```
or
```bash
pip install git+https://github.com/dillfrescott/dillwave
```
You need [Git](https://git-scm.com) installed for either of these "From GitHub" install methods to work.
### Training
```bash
python -m dillwave.preprocess /path/to/dir/containing/wavs # 48000hz, 1 channel
python -m dillwave /path/to/model/dir /path/to/dir/containing/wavs
# in another shell to monitor training progress:
tensorboard --logdir /path/to/model/dir --bind_all
```
You should expect to hear intelligible (but noisy) speech by ~8k steps (~1.5h on a 2080 Ti).
### Inference CLI
```bash
python -m dillwave.inference /path/to/model --spectrogram_path /path/to/spectrogram -o output.wav [--fast]
```
I plan to release a pretrained model if it turns out good enough! :)
Raw data
{
"_id": null,
"home_page": "https://dill.moe",
"name": "dillwave",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "dillwave machine learning neural vocoder tts speech",
"author": "Cross Nastasi",
"author_email": "cross@dill.moe",
"download_url": null,
"platform": null,
"description": "# DillWave\r\n\r\nDillWave is a fast, high-quality neural vocoder and waveform synthesizer. It starts with Gaussian noise and converts it into speech via iterative refinement. The speech can be controlled by providing a conditioning signal (e.g. log-scaled Mel spectrogram). The model and architecture details are described in [DiffWave: A Versatile Diffusion Model for Audio Synthesis](https://arxiv.org/pdf/2009.09761.pdf).\r\n\r\nCredit to the original repo [here](https://github.com/lmnt-com/diffwave).\r\n\r\n## Install\r\n\r\n(First install [Pytorch](https://pytorch.org), GPU version recommended!)\r\n\r\nAs a package:\r\n```bash\r\npip install dillwave\r\n```\r\n\r\nFrom GitHub:\r\n```bash\r\ngit clone https://github.com/dillfrescott/dillwave\r\npip install -e dillwave\r\n```\r\nor\r\n```bash\r\npip install git+https://github.com/dillfrescott/dillwave\r\n```\r\nYou need [Git](https://git-scm.com) installed for either of these \"From GitHub\" install methods to work.\r\n\r\n### Training\r\n\r\n```bash\r\npython -m dillwave.preprocess /path/to/dir/containing/wavs # 48000hz, 1 channel\r\npython -m dillwave /path/to/model/dir /path/to/dir/containing/wavs\r\n\r\n# in another shell to monitor training progress:\r\ntensorboard --logdir /path/to/model/dir --bind_all\r\n```\r\n\r\nYou should expect to hear intelligible (but noisy) speech by ~8k steps (~1.5h on a 2080 Ti).\r\n\r\n### Inference CLI\r\n```bash\r\npython -m dillwave.inference /path/to/model --spectrogram_path /path/to/spectrogram -o output.wav [--fast]\r\n```\r\n\r\nI plan to release a pretrained model if it turns out good enough! :)\r\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "dillwave",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://dill.moe"
},
"split_keywords": [
"dillwave",
"machine",
"learning",
"neural",
"vocoder",
"tts",
"speech"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3618b23778e8e88261c3f9ff6a9688cdd8715a873de99988b65d7312dea218d3",
"md5": "aec363f3c7267d1ea1f684d03a79647c",
"sha256": "2f18d6434e330ff63136b44772827f643fcd0e4b509363f767ab30a2d9d3f78b"
},
"downloads": -1,
"filename": "dillwave-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "aec363f3c7267d1ea1f684d03a79647c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17998,
"upload_time": "2024-03-26T22:39:18",
"upload_time_iso_8601": "2024-03-26T22:39:18.816856Z",
"url": "https://files.pythonhosted.org/packages/36/18/b23778e8e88261c3f9ff6a9688cdd8715a873de99988b65d7312dea218d3/dillwave-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-26 22:39:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "dillwave"
}