Package org.sodbeans.phonemic.tts

Examples of org.sodbeans.phonemic.tts.TextToSpeech.speak()


            // Stop the debugger
            compiler.stopDebugger(false);
            speech.stop();
            String message = "Stop debugging";
            if (TextToSpeechOptions.isScreenReading()) {
                speech.speak(message, SpeechPriority.HIGHEST);
            }
        } else {
            // Stop the TOD Session.
            TODSessionFactory.getDefault().getActionHandler().stop();
            speech.stop();
View Full Code Here


            // Stop the TOD Session.
            TODSessionFactory.getDefault().getActionHandler().stop();
            speech.stop();
            String message = "Debugging session ended";
            if (TextToSpeechOptions.isScreenReading()) {
                speech.speak(message, SpeechPriority.HIGHEST);
            }
        }
    }
}
View Full Code Here

        FileObject docs = provider.getDocumentsDirectory();
        compiler.setDocumenationFolder(FileUtil.toFile(docs));
        if(compiler.document()) {
                    //speak some kind of message saying that documentation was generated
            if (TextToSpeechOptions.isScreenReading())
                speech.speak("Documentation was built successfully", SpeechPriority.HIGH);
        }
        else {
            if (TextToSpeechOptions.isScreenReading())
                speech.speak("Error while building documentation", SpeechPriority.HIGH);
        }
View Full Code Here

            if (TextToSpeechOptions.isScreenReading())
                speech.speak("Documentation was built successfully", SpeechPriority.HIGH);
        }
        else {
            if (TextToSpeechOptions.isScreenReading())
                speech.speak("Error while building documentation", SpeechPriority.HIGH);
        }
    }

    @Override
    protected String getDisplayName() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.