📄 zst.1
字号:
.\" Copyright (c) 1993 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)zst.1 1.3 7/23/93 ERL.TH ZST 1\-ESPS 7/23/93.SH NAME.nfzst \- set start time to zero in ESPS FEA and label files.fi.SH SYNOPSIS.Bzst[.BI \-l " label_directory"][.BI \-g " label_file_extension"][.BI \-d " data_file_extension"][.BI \-x " debug_level"] datafile[s].SH DESCRIPTION.PP.I zstis used to reset the start time information in ESPS FEA files andwaves label files. ESPS FEA files may contain a header item\fRstart_time\fP which specifies the time of the first record in seconds.If the data is transformed into a file format which does not retain this initial offset information, the time marks in associated label files will be incorrect. .I zstcan be used to reset the start time to zero and adjust the time information in the label file before the data file is transformed.For each specified data file,.I zstfirst reads the generic header item\fRstart_time\fP from each data file and sets it to 0 in that file. .I zstthenfinds the label file corresponding to the data fileand subtracts the original start time from the times in label file.The labels are then consistent with data that starts at time 0.The original label file .I labfileis copied to .I labfileBAK..I zst is a shell script..SH OPTIONS.PPThe following options are supported:.TP.BI \-l " label_directory"specifies a complete path to the directory containing the label files. Otherwise each label file is assumed to bein the same directory as the data file it labels..TP.BI \-g " label_file_extension \fR[.lab]\fPspecifies the extension used in contructing the label file namefrom the data file name. .TP.BI \-d " data_file_extension \fR[.wav]\fPspecifies data file extension. It is replaced by the label file extension to form the label file name. .TP.BI \-x " debug_level \fR[0]\fP"If .I debug_levelis positive,.I zstprints debugging messages and other information on the standard erroroutput. The messages proliferate as the .I debug_levelincreases. If \fIdebug_level\fP is 0 (the default), no messages areprinted. .SH ESPS PARAMETERS.PPNone read..SH ESPS COMMON.PPNot used..SH ESPS HEADERS.PPHeader item \fRstart_time\fP set to zero in all specified data files..SH EXAMPLES.PPSuppose a data file \fRfoo.fea\fP and its label file \fRfoo.phn\fPare in the current directory. Their start times can be adjusted byexecuting$> zst -g phn -d fea foo.feaIf the label file is stored in the directory \fRlabels\fP, and the data fileis in the current directory, their start times can be adjusted byexecuting$> zst -l labels -g phn -d fea foo.feaIf an aribtrary number of data files \fRfooXXX.fea\fP are in the directory\fRdata\fP and their label files \fRfooXXX.phn\fP are in the directory\fRlabels\fP,their start times can be adjusted byexecuting$> zst -l labels -g phn -d fea ./data/foo*.fea .SH BUGS.PPNone known..SH "SEE ALSO".PPaddgen (1\-ESPS), xwaves(\1-ESPS), xlabel(\1-ESPS).SH AUTHOR.PPBill Byrne
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -