sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
SherpaOnnxOfflineTtsKittenModelConfig Struct Reference

Configuration for a Kitten TTS model. More...

#include <c-api.h>

Public Attributes

const char * model
const char * voices
const char * tokens
const char * data_dir
float length_scale
const char * lexicon

Detailed Description

Definition at line 2352 of file c-api.h.

Member Data Documentation

◆ data_dir

const char* SherpaOnnxOfflineTtsKittenModelConfig::data_dir

Path to espeak-ng-data.

Deprecated
Ignored since v2.0.0. Pass pre-phonemized input via SherpaOnnxGenerationConfig.phoneme_codepoints (or .tokens) instead.

Definition at line 2365 of file c-api.h.

◆ length_scale

float SherpaOnnxOfflineTtsKittenModelConfig::length_scale

Speech rate scale. Values < 1 are slower; values > 1 are faster.

Definition at line 2367 of file c-api.h.

◆ lexicon

const char* SherpaOnnxOfflineTtsKittenModelConfig::lexicon

Path to the lexicon file.

Definition at line 2369 of file c-api.h.

◆ model

const char* SherpaOnnxOfflineTtsKittenModelConfig::model

Path to the Kitten model.

Definition at line 2354 of file c-api.h.

◆ tokens

const char* SherpaOnnxOfflineTtsKittenModelConfig::tokens

Path to the tokens file.

Definition at line 2358 of file c-api.h.

◆ voices

const char* SherpaOnnxOfflineTtsKittenModelConfig::voices

Path to the Kitten voices file.

Definition at line 2356 of file c-api.h.


The documentation for this struct was generated from the following file: