📄 ps_ana.1
字号:
.\" Copyright (c) 1996 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)ps_ana.1 1.9 4/3/97 ERL.ds ]W (c) 1996 Entropic Research Laboratory, Inc..TH PS_ANA 1\-ESPS 4/3/97.SH NAME.nfps_ana \- pitch-synchronous linear-prediction analysis.fi.SH SYNOPSIS.Bps_ana[.BI\-P " param_file"] [.BI\-f " out_f0file"] [.BI\-{pr} " range"] [.BI\-s " range"] [.BI\-o " order"] [.BI\-S " frame_step"] [.BI\-i " frame_step"] [.BI\-c " spec_rep"] [.BI\-m " spec_method"] [.BI\-w " window"] [.BI\-e " preemphasis"] [.BI\-z] [.BI\-x " debug_level"].BI in_data.BI in_pulse.BI out_file.SH DESCRIPTION.PP\fIPs_ana\fR performs a pitch-synchronous LP (linear prediction)analysis. The input file \fIin_data\fR is a speech signal stored in aFEA_SD file. The input file \fIin_pulse\fR, typically generated bythe \fIepochs(1-ESPS)\fR program, is a FEA_SD(5-ESPS) file that contains pitchpulse locations of \fIin_data\fR.Either.I in_dataor.I in_pulse,but not both, may be "-", for standard input..PPThe output file \fIout_file\fR is aFEA file that contains spectral parameters of the specified type.Analysis results such as signal RMS, F0, and voicing state canoptionally be stored in the \fIout_f0file\fR indicated by the \fI-f\fRoption. The pitch-synchronously derived quantities in \fIoutfile\fRand \fIout_f0file\fR are periodically resampled at 200 Hz, unless theframe step size is otherwise specified using the \fB-S\fR or \fB-i\fRoption. In any case the periodic resampling is performed by choosingthe values of the pitch-synchronous parameters from the glottal epochclosest to the periodic sampling instant, rather than byinterpolation..PP.SH OPTIONS.PPThe following options are supported:.TP.BI \-P " param_file \fR[params]\fP"uses the parameter file .I param_filerather than the default, which is \fIparams\fP. .TP.BI \-f " out_f0file"The output file name of a file to store analysis results of signalRMS, F0 (fundamental frequency), and voicing state. These results are periodically resampled atthe same rate as those in the "out_file"..TP.BI \-r " first:last".TP.BI \-r " first:+incr"Determines the range of points from input file. Inthe first form, a pair of unsigned integers gives the first and last pointsof the range. If \fIfirst\fR is omitted, 1 is used. If \fIlast\fR isomitted, the last point in the file is used. The second form is equivalentto the first with \fIlast = first + incr\fR. If the range is omitted, theentire file is processed..TP.BI \-p " "Same as the \fB-r\fR option..TP.BI \-s " first:last".TP.BI \-s " first:+incr"Same function as the \fB-r\fR option, but specifies the range of input data in seconds..TP.BI \-o " order \fR[0]\fP"Order for LP analysis. The default value 0 means the program will choosean order equal to \fI2 + (Fs/1000)\fR, where \fIFs\fR is the sampling frequency of the input data file \fIin_data\fR..TP.BI \-S " frame_step [0.005 * sampling frequency]"Specifies frame step in samples..TP.BI \-i " frame_step [0.005]"Specifies frame step in seconds..TP.BI \-c " spec_rep \fR[RC]\fP"Spectral analysis type. Valid value is \fI"RC"\fR for reflectioncoefficients, or \fI"AFC"\fR for autoregressive filter coefficients(or linear prediction coefficients)..TP.BI \-m " spec_method \fR[AUTOC]\fP"Method to compute \fIspec_rep\fR. Valid value is \fI"AUTOC"\fRfor autocorrelation method, or \fI"COV"\fR for covariance method..TP.BI \-w " window \fR[HANNING]\fP"Windowing technique used in the spectral analysis method. Valid valueis \fI"HANNING"\fR, \fI"HAMMING"\fR, \fI"RECT"\fR, or\fI"COS4"\fR, for Hanning, Hamming, rectangular, and cos4 window, respectively..TP.BI \-p " preemphasis \fR[0.95]\fP"First-order preemphasis filter constant used before the LPC analysis.Note that the RMS values returned in the optional \fIout_f0file\fR arebased on the preemphasized signal in the pitch-synchronous analysiswindow..TP.BI \-zThis option reverses the signs of output LPC parameters in \fIoutfile\fR..TP.BI \-x " debug_level \fR[0]\fP"If .I debug_levelis positive,.I ps_anaprints 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 PARAMETERSThe following ESPS parameters have the same meanings as the command-lineoptions..TP.I "start - integer".IPThe first point in the input sampled data file that is processed. Avalue of 1 denotes the first sample in the file. This is only readif the \fB\-p\fP option is not used. If it is not in the parameterfile, the default value of 1 is used. .TP.I "nan - integer".IPThe total number of data points to process. If .I nanis 0, the whole file is processed. .I Nanis read only if the \fB\-p\fP option is not used. (See the discussion under \fB\-pfP)..TP.I " frame_step - float"Analysis frame step interval to use when resampling the outputparameters. Valid values are in the range [1/Fs 0.1]..TP.I order - int.IPSee OPTIONS..TP.I spec_rep - string.IPSee OPTIONS..TP.I spec_method - string.IPSee OPTIONS..TP.I window - string.IPSee OPTIONS..TP.I preemphasis - float.IPSee OPTIONS..TP.I per_step - float.IPStep size in seconds for periodic analysis in unvoiced regions..TP.I per_wsize - float.IPWindow duration in seconds for periodic analysis in unvoiced regions..TP.I ps_wsize - float.IPWindow duration in fraction of voiced pitch period. See also the \fIphase\fR parameter..TP .I stability - float.IPStability factor in -dB..TP.I phase - float.Phase of pitch-synchronous window center in fraction of voiced pitch period. This is a number between 0 and 1. Value 0 means the location of thewindow center will be the same as the epoch pulse location. A valueof 0.75, (the default) causes the window to be centered in the middleof the "closed glottis" region, assuming an "open quotient" of 0.5..PP.SH ESPS COMMONNo ESPS common parameter processing is supported..PP.SH ESPS HEADERSThe usual \fIrecord_freq\fR, \fIstart_time\fR header items, and allsupported ESPS parameters are stored as generic header items..PPThe bandwidth of \fIin_data\fR, usually one half of its sampling frequency,is recorded as a generic header item \fIbandwidth\fR of DOUBLE type..PP.SH FUTURE CHANGES.PP.SH EXAMPLES.PPThe manual page for \fIepochs\fR includes an example of glottal epochdetection such as might be performed before using\fIps_ana\fR. Assuming one has a file "spch.pe" containing impulses atthe estimated instants of glottal closure, and a speech file called"spch.sd", the following command will produce the files "spch.f0ps"and "spch.rc". The ".f0ps" file has F0 estimates obtained byinverting the inter-pulse intervals from the ".pe" file and RMScomputed from the epoch-synchronous windows of preemphasized data usedby the LPC analysis..PPps_ana -f spch.f0ps spch.sd spch.pe spch.rc.PP.SH ERRORS AND DIAGNOSTICS.PP.SH BUGS.PPNone known..SH REFERENCESTalkin, D. and Rowley, J., "Pitch-Synchronous analysis and synthesisfor TTS systems," \fIProceedings of the ESCA Workshop on SpeechSynthesis\fP, C. Benoit, Ed., Imprimerie des Ecureuils, Gieres, France,1990..PP.SH "SEE ALSO"lp_syn(1-ESPS), formant(1-ESPS), get_f0(1-ESPS), .brepochs(1-ESPS), get_resid(1-ESPS), FEA(5-ESPS), .brFEA_SD(5-ESPS).PP.SH AUTHORDavid Talkin, Derek Lin.PP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -