marytts.tools.voiceimport
Class ESTTrackWriter

java.lang.Object
  extended by marytts.tools.voiceimport.ESTTrackWriter

public class ESTTrackWriter
extends java.lang.Object


Constructor Summary
ESTTrackWriter(float[] setTimes, float[][] setFrames, java.lang.String setFeaType)
          Plain constructor.
 
Method Summary
 void doWriteAndClose(java.lang.String fName, boolean isBinary, boolean isBigEndian)
          Triggers the writing of the file to the disk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESTTrackWriter

public ESTTrackWriter(float[] setTimes,
                      float[][] setFrames,
                      java.lang.String setFeaType)
Plain constructor.

Parameters:
setTimes - The vector of frame locations
setFrames - The frames -- can be null if only times are to be written
setFeaType - A string indicating the feature type, for header info (e.g., "LPCC")
Method Detail

doWriteAndClose

public void doWriteAndClose(java.lang.String fName,
                            boolean isBinary,
                            boolean isBigEndian)
                     throws java.io.IOException
Triggers the writing of the file to the disk.

Parameters:
fName - The name of the file to write to.
isBinary - true for a binary write, or false for an ascii text write.
isBigEndian - true for a big endian write (PowerPC or SPARC), or false for a little endian write (Intel).
Throws:
java.io.IOException