org.foray.speech
Class SpeechServer4a

java.lang.Object
  extended by org.foray.speech.SpeechServer4a
All Implemented Interfaces:
org.axsl.speech.SpeechServer

public class SpeechServer4a
extends Object
implements org.axsl.speech.SpeechServer

The FOray implementation of SpeechServer.


Field Summary
static Voice4a DEFAULT_VOICE
          The voice to be used when no other can be found.
static Voice4a DEFAULT_VOICE_CHILD
          The default child voice.
static Voice4a DEFAULT_VOICE_FEMALE
          The default female voice.
static Voice4a DEFAULT_VOICE_MALE
          The default male voice.
 
Constructor Summary
SpeechServer4a()
          Constructor.
 
Method Summary
 org.axsl.speech.Voice selectVoiceCss(String[] familyList)
           
 org.axsl.speech.Voice selectVoiceXsl(String[] familyList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_VOICE_MALE

public static final Voice4a DEFAULT_VOICE_MALE
The default male voice. The medium frequency used to create this voice (120 Hz) is derived from the CSS specification for the "pitch" property.


DEFAULT_VOICE_FEMALE

public static final Voice4a DEFAULT_VOICE_FEMALE
The default female voice. The medium frequency used to create this voice (210 Hz) is derived from the CSS specification for the "pitch" property.


DEFAULT_VOICE_CHILD

public static final Voice4a DEFAULT_VOICE_CHILD
The default child voice. The medium frequency used to create this voice (270 Hz) is estimated relative to that for the female voice (210 Hz).


DEFAULT_VOICE

public static final Voice4a DEFAULT_VOICE
The voice to be used when no other can be found.

Constructor Detail

SpeechServer4a

public SpeechServer4a()
Constructor.

Method Detail

selectVoiceXsl

public org.axsl.speech.Voice selectVoiceXsl(String[] familyList)
                                     throws org.axsl.speech.SpeechException
Specified by:
selectVoiceXsl in interface org.axsl.speech.SpeechServer
Throws:
org.axsl.speech.SpeechException

selectVoiceCss

public org.axsl.speech.Voice selectVoiceCss(String[] familyList)
                                     throws org.axsl.speech.SpeechException
Specified by:
selectVoiceCss in interface org.axsl.speech.SpeechServer
Throws:
org.axsl.speech.SpeechException


Copyright © 2017. All rights reserved.