ailiaVoiceOpenGPTSoVITSV2ProModelFileA method
~japanese @brief GPT-SoVITS V2-Pro向けのモデルを指定します。(MBSC) @param net ネットワークオブジェクトポインタ @param encoder onnxファイルのパス名 (t2s_encoder.onnx) (MBSC) @param decoder1 onnxファイルのパス名 (t2s_fsdec.onnx) (MBSC) @param decoder2 onnxファイルのパス名 (t2s_sdec.onnx) (MBSC) @param ssl onnxファイルのパス名 (cnhubert.onnx) (MBSC) @param vits onnxファイルのパス名 (vits.onnx) (MBSC) @param sv onnxファイルのパス名 (sv.onnx) (MBSC) @param chinese_bert onnxファイルのパス名 (chinese-roberta.onnx) (MBSC)(NULLの場合はBERTを使用しない) @param vocab vocab.txtのパス名 (MBSC)(NULLの場合はBERTを使用しない) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。
~english @brief Set GPT-SoVITS V2-Pro models into a network instance. @param net A network instance pointer @param encoder The path name to the onnx file (t2s_encoder.onnx) (MBSC) @param decoder1 The path name to the onnx file (t2s_fsdec.onnx) (MBSC) @param decoder2 The path name to the onnx file (t2s_sdec.onnx) (MBSC) @param ssl The path name to the onnx file (cnhubert.onnx) (MBSC) @param vits The path name to the onnx file (vits.onnx) (MBSC) @param sv The path name to the onnx file (sv.onnx) (MBSC) @param chinese_bert The path name to the onnx file (chinese-roberta.onnx) (MBSC) (NULL to disable BERT) @param vocab The path name to the vocab file (vocab.txt) (MBSC) (NULL to disable BERT) @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaVoiceOpenGPTSoVITSV2ProModelFileA(
ffi.Pointer<AILIAVoice> net,
ffi.Pointer<ffi.Char> encoder,
ffi.Pointer<ffi.Char> decoder1,
ffi.Pointer<ffi.Char> decoder2,
ffi.Pointer<ffi.Char> ssl,
ffi.Pointer<ffi.Char> vits,
ffi.Pointer<ffi.Char> sv,
ffi.Pointer<ffi.Char> chinese_bert,
ffi.Pointer<ffi.Char> vocab,
) {
return _ailiaVoiceOpenGPTSoVITSV2ProModelFileA(
net,
encoder,
decoder1,
decoder2,
ssl,
vits,
sv,
chinese_bert,
vocab,
);
}