openModelFile

fun openModelFile(encoder: String, decoder1: String, decoder2: String, wave: String, ssl: String, modelType: Int = AILIA_VOICE_MODEL_TYPE_TACOTRON2, cleanerType: Int = AILIA_VOICE_CLEANER_TYPE_BASIC)

Opens a model.

Parameters

encoder

Path to the onnx file.

decoder1

Path to the onnx file.

decoder2

Path to the onnx file.

wave

Path to the onnx file.

ssl

Path to the onnx file.

modelType

Type of the model, one of the AILIA_VOICE_MODEL_TYPE_* constants.

cleanerType

Type of the text cleaner, one of the AILIA_VOICE_CLEANER_TYPE_* constants.