Uses waveAssess.m to generate lab files for a given directory of wave files
0001 % Uses waveAssess.m to generate lab files for a given directory of wave files 0002 0003 addpath /users/jang/matlab/toolbox/utility 0004 addpath /users/jang/matlab/toolbox/sap 0005 addpath /users/jang/matlab/toolbox/asr 0006 0007 wadParam.language='chinese'; % Language 0008 wadParam.tcpFile='F:\HTKTrain\goTrain\allLex.tcp'; % TCP file 0009 wadParam.waveDir='F:\HTKTrain\TCC300Wav'; % Directory for holding all the wave files 0010 wadParam.labDir='F:\HTKTrain\goTrain\labDir'; % Output directory for holding the lab files. (A lab file will not be regenerated if it alreay exists.) 0011 wadParam.fileExtName='wav'; % Extension name for the wave files 0012 wadParam.errorLogFile='F:\HTKTrain\goTrain\error.log'; % Error log file 0013 0014 waveData=waveAssess4dir(wadParam);