📄 mask.1
字号:
.\" Copyright (c) 1996 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)mask.1 1.3 1/26/96 ERL.ds ]W (c) 1996 Entropic Research Laboratory, Inc..TH MASK 1\-ESPS 1/26/96.SH NAME.nfmask \- masks/fades out or mixes segments of sampled data file.fi.SH SYNOPSIS.Bmask[.BI \-f " mask_field"][.BI \-s " subfile"][.BI \-x " debug_level"].I maskfile.I infile.I outfile.SH DESCRIPTION\fIMask\fR is useful for fading or masking out selected segments of anutterance. Both the input and output files, \fIinfile\fR and\fIoutfile\fR are FEA_SD files of SHORT data type. The file\fImaskfile\fR is a FEA file with the field \fImask_field\fR thatcontains a masker to fade or mask out segments in \fIinfile\fR. Datain \fIoutfile\fR is a result of the masker multiplied with the data in\fIinfile\fR. The file \fIsubfile\fR is an optional FEA_SD file ofSHORT data type with sampling frequency the same as \fIinfile\fR. If\fIsubfile\fR is specified, the "masker" signal should be bounded inthe range of 0 and 1, since it will be used to fade between the infileand subfile. Each sampled data point in \fIoutfile\fR is the sum ofthe masker multiplied with the data point in \fIinfile\fR and (1 -masker) multiplied with the data point in \fIsubfile\fR..PP\fIMask\fR is particularly useful for gating out the unvoiced segments of an utterance or to substitute unvoiced regions fromone version of an utterance into another utterance. Use \fIget_f0(1-ESPS)\fRto obtain voicing estimate in the \fIprob_voice\fR field of its outputfile as decisions to mask out the unvoiced regions in \fIinfile\fR..PPIf the record frequency in \fIinfile\fR is larger than that in \fImaskfile\fR, the masker in \fImaskfile\fR is interpolatedlinearly. .PPIf the starting times, as indicated by the generic header item \fIstart_time\fR,and ending times are different for \fImaskfile\fR and \fIinfile\fR,\fIoutfile\fR starts with the later starting time and endswith the earlier ending time. The substitutionsignal in \fIsubfile\fR must start no later than the the later staring timeof \fIinfile\fR and \fImaskfile\fR, and end no earlier than the earlier ending time of these files..SH OPTIONS.PPThe following options are supported:.TP.BI \-f " mask_field \fR["prob_voice"]\fP"The field name in the input FEA file \fImaskfile\fR that contains maskersignalfor masking/fading data segments in \fIinfile\fR or mixing segments in \fIinfile\fRand \fIsubfile\fR. The default name is \fI"prob_voice"\fRas the field name for probablity of voicing for file produced by \fIget_f0 (1-ESPS)\fR. This fieldis a scalar field of FLOAT data type. If the \fB-s\fR option is used,this field should be bounded between 0 and 1; otherwise, a warning messageis sent to \fIstderr\fR, and an undefined result is produced..TP.BI \-s " subfile"The file name of a FEA_SD file which will be mixed with that of \fIinfile\fR in the proportion to the masker specified by the \fImask_field\fR field in \fImaskfile\fR..TP.BI \-x " debug_level \fR[0]\fP"If .I debug_levelis positive,.I maskprints 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 PARAMETERSNo ESPS parameter processing is supported.PP.SH ESPS COMMONNo ESPS common processing is supported.PP.SH ESPS HEADERS\fIMask\fR writes the usual generic header items \fIrecord_freq\fR and\fIstart_time\fR in the output file header..PP.SH FUTURE CHANGES.PP.SH EXAMPLES.PP.SH ERRORS AND DIAGNOSTICS.PP.SH BUGS.PPNone known..SH REFERENCES.PP.SH "SEE ALSO"mergefea(1-ESPS).PP.SH AUTHORSDavid Talkin, Derek Lin.PP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -