inpro.synthesis
Class MaryAdapter4

java.lang.Object
  extended by inpro.synthesis.MaryAdapter
      extended by inpro.synthesis.MaryAdapter4

public class MaryAdapter4
extends MaryAdapter


Nested Class Summary
 
Nested classes/interfaces inherited from class inpro.synthesis.MaryAdapter
MaryAdapter.CompatibilityMode
 
Field Summary
static java.lang.String DEFAULT_VOICE
           
(package private)  marytts.client.MaryClient mc41
           
 
Fields inherited from class inpro.synthesis.MaryAdapter
compatibilityMode
 
Constructor Summary
MaryAdapter4()
          private constructor, this class is a singleton
 
Method Summary
protected  java.io.ByteArrayOutputStream process(java.lang.String query, java.lang.String inputType, java.lang.String outputType, java.lang.String audioType)
           
 
Methods inherited from class inpro.synthesis.MaryAdapter
getInputStreamFromMary, getInstance, initializeMary, initializeMary, maryxml2audio, mbrola2audio, mbrola2file, text2audio, text2IUs, text2maryxml, text2mbrola
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mc41

marytts.client.MaryClient mc41

DEFAULT_VOICE

public static final java.lang.String DEFAULT_VOICE
Constructor Detail

MaryAdapter4

MaryAdapter4()
       throws java.io.IOException
private constructor, this class is a singleton

Throws:
java.io.IOException
Method Detail

process

protected java.io.ByteArrayOutputStream process(java.lang.String query,
                                                java.lang.String inputType,
                                                java.lang.String outputType,
                                                java.lang.String audioType)
                                         throws java.net.UnknownHostException,
                                                java.io.IOException
Specified by:
process in class MaryAdapter
Throws:
java.net.UnknownHostException
java.io.IOException