Add CXX API for MatchaTTS models (#1676)
This commit is contained in:
@@ -60,7 +60,7 @@ int32_t main(int32_t argc, char *argv[]) {
|
||||
"Friends fell out often because life was changing so fast. The easiest "
|
||||
"thing in the world was to lose touch with someone.";
|
||||
|
||||
SherpaOnnxOfflineTts *tts = SherpaOnnxCreateOfflineTts(&config);
|
||||
const SherpaOnnxOfflineTts *tts = SherpaOnnxCreateOfflineTts(&config);
|
||||
int32_t sid = 0;
|
||||
float speed = 1.0; // larger -> faster in speech speed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user