Package com.darkprograms.speech.synthesiser

Examples of com.darkprograms.speech.synthesiser.Synthesiser


            this.message = message;
        }

        @Override
        public void run() {
            Synthesiser synthesiser = new Synthesiser(LANGUAGE_CODE);
            try {
                InputStream is = synthesiser.getMP3Data(message);
                //InputStreamToMP3File(is);
                Player player = new Player(is);
                player.play();

            } catch (Exception ex) {
View Full Code Here


    protected class PlayMP3Thread implements Runnable {

        @Override
        public void run() {

            Synthesiser synthesiser = new Synthesiser();

            try {
                Player player = new Player(synthesiser.getMP3Data(synthText.getText()));
                player.play();
            } catch (Exception ex) {
                ex.printStackTrace();
            }
            setSynthStatus("Waiting...");
View Full Code Here

      }

      textFieldSpoken.setEditable(true);
    } else if (arg0.getSource() == btnSpeak) {
      spokenText = textFieldSpoken.getText();
      synthesiser = new Synthesiser();
      setStatus("Speaking..");
      new Runnable() {

        @Override
        public void run() {
View Full Code Here

TOP

Related Classes of com.darkprograms.speech.synthesiser.Synthesiser

Copyright © 2018 www.massapicom. 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.