This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/ios/SherpaOnnxOfflineTts.mm b/ios/SherpaOnnxOfflineTts.mm | |
| index 1234567..abcdefg 100644 | |
| --- a/ios/SherpaOnnxOfflineTts.mm | |
| +++ b/ios/SherpaOnnxOfflineTts.mm | |
| @@ -5,6 +5,13 @@ | |
| // Initialize method exposed to React Native | |
| RCT_EXTERN_METHOD(initializeTTS:(double)sampleRate channels:(NSInteger)channels modelId:(NSString *)modelId) | |
| +// Generate method exposed to React Native (saves to WAV file) | |
| +RCT_EXTERN_METHOD(generate:(NSString *)text |
OlderNewer