Function init_piper_context

Source
pub fn init_piper_context(
    piper_metadata: &PiperMetadata,
    voice_model: impl AsRef<Path>,
    voice_config: impl AsRef<Path>,
    espeak_ng_data: impl AsRef<Path>,
) -> Result<(), LlamaCoreError>
Expand description

Initialize the piper context

ยงArguments

  • voice_model - Path to the voice model file.

  • voice_config - Path to the voice config file.

  • espeak_ng_data - Path to the espeak-ng data directory.