Spaces:
Running
on
Zero
Running
on
Zero
File size: 196 Bytes
2ccf6b5 |
1 2 3 4 5 6 |
from pflow.hifigan.meldataset import mel_spectrogram
import torch
audio = torch.randn(2,1, 1000)
mels = mel_spectrogram(audio, 1024, 80, 22050, 256, 1024, 0, 8000, center=False)
print(mels.shape) |