Add C API for Kokoro TTS 1.0 (#1801)

This commit is contained in:
Fangjun Kuang
2025-02-07 14:30:40 +08:00
committed by GitHub
parent a52b819fb5
commit 7330f7519a
6 changed files with 128 additions and 0 deletions

View File

@@ -926,6 +926,8 @@ SHERPA_ONNX_API typedef struct SherpaOnnxOfflineTtsKokoroModelConfig {
const char *data_dir;
float length_scale; // < 1, faster in speech speed; > 1, slower in speed
const char *dict_dir;
const char *lexicon;
} SherpaOnnxOfflineTtsKokoroModelConfig;
SHERPA_ONNX_API typedef struct SherpaOnnxOfflineTtsModelConfig {