org.eclipse.actf.ai.voice
Class VoiceUtil
java.lang.Object
org.eclipse.actf.ai.voice.VoiceUtil
public class VoiceUtil
- extends Object
Utility class to use ACTF Voice functions.
Method Summary |
static int |
getDefaultSpeed()
Returns the default speed of the TTS engine which is saved in the
preference. |
static IVoice |
getVoice()
Returns an implementation of IVoice to perform text synthesis operations. |
VoiceUtil
public VoiceUtil()
getVoice
public static IVoice getVoice()
- Returns an implementation of IVoice to perform text synthesis operations.
- Returns:
- IVoice implementation
getDefaultSpeed
public static int getDefaultSpeed()
- Returns the default speed of the TTS engine which is saved in the
preference.
- Returns:
- The default speed of the TTS engine