UNPKG

qqq-tmp-test

Version:

tts library for React Native

17 lines (11 loc) 312 B
New tts package example usage: import { DaVoiceTTSInstance } from 'react-native-davoice-tts'; const tts = new DaVoiceTTSInstance(); await tts.initTTS({ model: '/path/to/model.onnx', tokens: '/path/to/tokens.json', espeak: '/path/to/phonemes', voice: 'en_US', }); await tts.speak('Hello world!', 0);