org.mobicents.media.server.impl.resource.mediaplayer.audio.tts
Class MbrolaVoiceFactory

java.lang.Object
  extended by com.sun.speech.freetts.VoiceDirectory
      extended by org.mobicents.media.server.impl.resource.mediaplayer.audio.tts.VoiceFactory
          extended by org.mobicents.media.server.impl.resource.mediaplayer.audio.tts.MbrolaVoiceFactory

public class MbrolaVoiceFactory
extends VoiceFactory

Factory for Mbrola Voices

Author:
amit bhayani

Field Summary
static java.lang.String MBROLA_US1_VOICE
           
static java.lang.String MBROLA_US2_VOICE
           
static java.lang.String MBROLA_US3_VOICE
           
 
Constructor Summary
MbrolaVoiceFactory()
           
 
Method Summary
 com.sun.speech.freetts.Voice getVoice(java.lang.String voiceName)
           
 com.sun.speech.freetts.Voice[] getVoices()
           
 
Methods inherited from class com.sun.speech.freetts.VoiceDirectory
main, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MBROLA_US1_VOICE

public static final java.lang.String MBROLA_US1_VOICE
See Also:
Constant Field Values

MBROLA_US2_VOICE

public static final java.lang.String MBROLA_US2_VOICE
See Also:
Constant Field Values

MBROLA_US3_VOICE

public static final java.lang.String MBROLA_US3_VOICE
See Also:
Constant Field Values
Constructor Detail

MbrolaVoiceFactory

public MbrolaVoiceFactory()
Method Detail

getVoice

public com.sun.speech.freetts.Voice getVoice(java.lang.String voiceName)
Specified by:
getVoice in class VoiceFactory
Parameters:
voiceName - The Voice corresponding to this name will be created and returned if VoiceFactory supports this name, null other wise.
Returns:

getVoices

public com.sun.speech.freetts.Voice[] getVoices()
Specified by:
getVoices in class com.sun.speech.freetts.VoiceDirectory


Copyright © 2010. All Rights Reserved.