A wrapped hifi-gan vocoder for easy use.
Project description
hifigan
A wrapped hifi-gan vocoder for easy use.
Source: https://github.com/jik876/hifi-gan
Usage
from hifigan_vocoder import hifigan, get_sample_mel
mel = get_sample_mel()
print(mel.shape) # torch.Size([1, 80, 2062])
model = hifigan(dataset='uni', device='cpu') # dataset in ['uni', 'vctk']
audio = model.infer(mel)
print(mel.shape) # (527872,)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hifigan-vocoder-0.1.tar.gz
(565.1 kB
view hashes)
Built Distribution
Close
Hashes for hifigan_vocoder-0.1-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d547e899dec3005540b174dedcfc5677512cbd883730f88ef2c775d69d37aba3 |
|
MD5 | 7a9c14a9627ecb1a8e564a8b60f02fb2 |
|
BLAKE2b-256 | 7da3860ccb2f6b6e4c19e5de3310c7000383f8dcdb74c183ff858050f96782f9 |