org.wcb.plugins.speech
Class SpeakPlugin

java.lang.Object
  extended byorg.wcb.plugins.speech.SpeakPlugin

public class SpeakPlugin
extends java.lang.Object

The Speak plugin sort of determines that it is available to the system and if that is the case it will go ahead and allow speach to take place. When the program sends a command to the x10 module through the x10 interface certain words in the text will be anounceated such as ON A 1. This is more or less a verbal que.

Version:
$version
Author:
wbogaardt

Constructor Summary
SpeakPlugin()
           
 
Method Summary
 void createSynthesizer()
          Creates a freeTTS synthesizer speech engine without the use of properties files.
 void createSynthesizers()
          Creates a FreeTTS synthesizer.
 boolean load()
          Deprecated.  
 void play(java.lang.String text)
          Performs text-to-speech on the given text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpeakPlugin

public SpeakPlugin()
Method Detail

createSynthesizers

public void createSynthesizers()
Creates a FreeTTS synthesizer.


createSynthesizer

public void createSynthesizer()
Creates a freeTTS synthesizer speech engine without the use of properties files.


play

public void play(java.lang.String text)
Performs text-to-speech on the given text.

Parameters:
text - the text to perform TTS

load

public boolean load()
Deprecated.  

This loads the classes for the speach plugin. Actually this is a simple part in that it just says what commands it has run. Take a look at Javaworlds article on http://www.javaworld.com/javaworld/jw-08-2001/jw-0817-javatalk_p.html this subject.



Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.