setVoiceByPath

external fun setVoiceByPath(filepath: String)

Sets the current voice by specifying the path to the voice file. The voice can be chosen from a voice list provided by SdkSettings.getBestVoiceMatch methods.

Parameters

filepath

The voice file path. See Voice.filename for details.