ailiaVoiceOpenTacotron2ModelFileA method

int ailiaVoiceOpenTacotron2ModelFileA(
  1. Pointer<AILIAVoice> net,
  2. Pointer<Char> encoder,
  3. Pointer<Char> decoder1,
  4. Pointer<Char> decoder2,
  5. Pointer<Char> wave,
  6. int cleaner_type,
)

~japanese @brief Tacotron2向けのモデルを指定します。(MBSC) @param net ネットワークオブジェクトポインタ @param encoder onnxファイルのパス名 (encoder.onnx) (MBSC) @param decoder1 onnxファイルのパス名 (decoder_iter.onnx) (MBSC) @param decoder2 onnxファイルのパス名 (postnet.onnx) (MBSC) @param wave onnxファイルのパス名 (waveglow.onnx) (MBSC) @param cleaner_type AILIA_VOICE_CLEANER_TYPE_* @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。

~english @brief Set Tacotron2 models into a network instance. @param net A network instance pointer @param encoder The path name to the onnx file (encoder.onnx) (MBSC) @param decoder1 The path name to the onnx file (decoder_iter.onnx) (MBSC) @param decoder2 The path name to the onnx file (postnet.onnx) (MBSC) @param wave The path name to the onnx file (waveglow.onnx) (MBSC) @param cleaner_type AILIA_VOICE_CLEANER_TYPE_* @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaVoiceOpenTacotron2ModelFileA(
  ffi.Pointer<AILIAVoice> net,
  ffi.Pointer<ffi.Char> encoder,
  ffi.Pointer<ffi.Char> decoder1,
  ffi.Pointer<ffi.Char> decoder2,
  ffi.Pointer<ffi.Char> wave,
  int cleaner_type,
) {
  return _ailiaVoiceOpenTacotron2ModelFileA(
    net,
    encoder,
    decoder1,
    decoder2,
    wave,
    cleaner_type,
  );
}