Comparative-Analysis-of-Speech-Synthesis-Models
/
TensorFlowTTS
/examples
/cppwin
/TensorflowTTSCppInference
/MultiBandMelGAN.h
class MultiBandMelGAN | |
{ | |
private: | |
Model* MelGAN; | |
public: | |
bool Initialize(const std::string& VocoderPath); | |
// Do MultiBand MelGAN inference including PQMF | |
// -> InMel: Mel spectrogram (shape [1, xx, 80]) | |
// <- Returns: Tensor data [4, xx, 1] | |
TFTensor<float> DoInference(const TFTensor<float>& InMel); | |
MultiBandMelGAN(); | |
~MultiBandMelGAN(); | |
}; | |