marytts.tools.voiceimport
Class ESTCaller

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

public class ESTCaller
extends java.lang.Object

The ESTCaller class emulates the behaviour of the EST-calling shell scripts for the calculation of pitchmarks, lpc, mel-cepstrum etc.

Author:
sacha

Constructor Summary
ESTCaller(DatabaseLayout newDb)
          Constructor which automatically finds the location of the EST speech tools from the system' s environmant variable ESTDIR
ESTCaller(DatabaseLayout newDb, java.lang.String newESTDir)
          Constructor which specifies the location of the EST speech tools
 
Method Summary
 void make_lpc(java.lang.String[] baseNameArray, java.lang.String correctedPitchmarksDirName, java.lang.String correctedPitchmarksExt, java.lang.String lpcDirName, java.lang.String lpcExt)
          An equivalent to the make_lpc shell script
 void make_mcep(java.lang.String[] baseNameArray, java.lang.String correctedPitchmarksDirName, java.lang.String correctedPitchmarksExt, java.lang.String mcepDirName, java.lang.String mcepExt)
          An equivalent to the make_mcep shell script
 void make_pm_wave(java.lang.String[] baseNameArray, java.lang.String pitchmarksDirName, java.lang.String pitchmarksExt)
          An equivalent to the make_pm_wave shell script
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESTCaller

public ESTCaller(DatabaseLayout newDb)
Constructor which automatically finds the location of the EST speech tools from the system' s environmant variable ESTDIR

Parameters:
newDb - a database layout, please refer to the DatabaseLayout class for more info.

ESTCaller

public ESTCaller(DatabaseLayout newDb,
                 java.lang.String newESTDir)
Constructor which specifies the location of the EST speech tools

Parameters:
newDb - a database layout, please refer to the DatabaseLayout class for more info.
Method Detail

make_pm_wave

public void make_pm_wave(java.lang.String[] baseNameArray,
                         java.lang.String pitchmarksDirName,
                         java.lang.String pitchmarksExt)
An equivalent to the make_pm_wave shell script

Parameters:
db - The layout of the processed database
baseNameArray - The array of basenames of the .wav files to process

make_lpc

public void make_lpc(java.lang.String[] baseNameArray,
                     java.lang.String correctedPitchmarksDirName,
                     java.lang.String correctedPitchmarksExt,
                     java.lang.String lpcDirName,
                     java.lang.String lpcExt)
An equivalent to the make_lpc shell script

Parameters:
db - The layout of the processed database
baseNameArray - The array of basenames of the .wav files to process

make_mcep

public void make_mcep(java.lang.String[] baseNameArray,
                      java.lang.String correctedPitchmarksDirName,
                      java.lang.String correctedPitchmarksExt,
                      java.lang.String mcepDirName,
                      java.lang.String mcepExt)
An equivalent to the make_mcep shell script

Parameters:
db - The layout of the processed database
baseNameArray - The array of basenames of the .wav files to process