Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myTTS.synthesizeToFile(text, null, file, null);
- myTTS.setOnUtteranceProgressListener(new UtteranceProgressListener() {
- @Override
- public void onStart(String utteranceId) {
- System.out.println(".......START!!! ");
- }
- @Override
- public void onDone(String utteranceId) {
- System.out.println("...........OK!!! ");
- }
- @Override
- public void onError(String utteranceId) {
- Log.e(TAG, "Error while trying to synthesize sample text");
- }
- });
Add Comment
Please, Sign In to add comment