⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ana.1

📁 speech signal process tools
💻 1
字号:
.\" %W% %G% EPI.TH ANA 1\-SPS %G%.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Processing, Inc..SH NAMEana \- Performs pitch-synchronous or "vanilla" analysis.SH SYNOPSIS.B ana[.B \-d] [.BI \-x " debug_level"] [.BI \-p " param_file"].I [sdfile] pitchfile anafile.SH DESCRIPTION.PP.I Anatakes as input an SPS speech file and an SPS pitch file.Using the pitch information, .I anabuilds analysis frames and computesthe corresponding reflection coefficients and pulse powers per frame..I Anawrites this information in an SPS ANA file..PPFor "vanilla" analysis, the analysis frames are of constant length,as specified by the parameters.I vced_frmlen-MAX(.I order_vcd, order_unvcd), andno pitch pulse information is written into the file.For pitch-synchronous analysis, frame size for un-voiced segments is specifiedby.Iuvced_frmlen,and analysis frames are built using an integer number of pitch pulses for voiced segments. The framelengths, for voiced frames, are made to be as close aspossible to the value specified by .I vced_frmlen.If the number of pulses in an analysis frame exceeds.I maxpulses, or the number of pulse powers exceed .I maxraw, or the number of residual powers exceeds .I maxlpc,.I ana writes the existing records to the output file and stops execution with a warning..PPA special case is .I maxpulses = 1.For this,.I anawrites a pulse duration, a raw pulse power, a residual power,and a set of reflection coefficients for each pulse (an unvoiced frame is considered a pulse, as well as a single openingand closing of the vocal cords during voiced speech). So every ANA recordcontains only one pulse duration and set of powers per record..PPAn SPS pitch file contains records holding the pitch locations and the lengthof the pitch pulse.  The type of the segment (voiced or unvoiced) can beinferred from the previous information.  The output of .I ana,an SPS ANA file,contains records holding the location of the frame beginning, theframe length, pulse duration(s), signal power per pulse, residual power perframe,and either.I order_vcd or.I order_unvcdreflection coefficients, depending on thetype of frame..PP.SH SPS PARAMETERSThe following parameters are read from the parameter file:.IP.sp.I  "psynch - string".IP"YES", "Y", "y", and "yes" indicates pitch synchronous analysis;"NO", "N", "no", "n" indicates vanilla analysis..sp.I "start - integer".IPThis is the starting point in the sampled data file to beginanalysis. .sp.I "nan - integer".IPThis is the number of points (starting at start) to analyze..sp.I "matsiz - integer".IPUseful only for structured covariance and Vector Burg methods. matsiz specifiesthe size of the computed matrix..sp.I "win_type - string".IPIf it is "HAMMING", a Hamming data window is applied;if it is "NONE", no data window is applied..sp.I "pre_num - vector".IPA three element vector indicating the numerator of a pole-zero filter - for example {1.0, -0.875, 0.0 }..sp.I "pre_den - vector".IPA three element vector indicating the denominator of a pole-zero filter - for example {1.0, -0.0, 0.0 }..sp.I "a_method - string".IPFive strings are defined:"AUTO" - autocorrelation, "BURG" - Burg, "COV" - covariance, "MBURG" - modifiedBurg, "STRCOV" - structured covariance, "VBURG" - vector Burg..sp.I  "order_vcd - integer".IPThe analysis filter order to use for voiced frames..sp.I  "order_unvcd - integer".IPThe analysis filter order to use for unvoiced frames..sp.I "p_offset - integer".IPHow many points before the beginning of the first pulse positionto place the analysis window..sp.I  "dcrem - string".IP"YES", "Y", "y", and "yes" indicates dc removal;"NO", "N", "no", "n" indicates no dc removal..sp.I  "maxpulses - integer".IPHow many spaces to allocate for pulse lengths in an analysis frame..sp.I  "maxlpc - integer".IPHow many spaces to allocate for raw pulse power values..sp.I  "maxraw - integer".IPHow many spaces to allocate for LPC error powers..sp.I "sinc_flg - string".IPIf "YES", "Y", "y", or "yes", a SINC function is appliedbefore autocorrelation extrapolation;if "NO", "N", "no", or "n", do not filter with a sinc function..sp.I  "uvced_frmlen - integer".IPAnalysis window width for unvoiced data segments.sp.I  "vced_frmlen - integer".IPNominal analysis window width for voiced frames and vanilla analysis.PPThese parameters are also described in ANA(5-SPS)..PP.I Min_pp, max_ppare read from the pitch file header.Consistency checking is done with the parameters read from the header of thepitch file and those read from the header of the speech file.  The following parameters are checked:.I sf, ndrec, start and nan..SH SPS COMMON.PPIf the SPS Common file exists and is younger than the params file and the name of the input sample data file matches the \fIfilename\fRentry in the Common file, or an input sample data file is not given on thecommand line the Common file is processed.  In this case, any of the above parameter values that are in the Commonfile, will be used from that file.  Otherwise, they will be used fromthe params file..PPIf the Common file is processed and an input sample data file is notgiven on the comamnd line, it is taken from the SPS Common file (entry\fIfilename\fR).   If, in this case, there is no \fIfilename\fR entryand no input filename on the command line the program is terminated withan error message..PPThe following values are written into SPS Common:.I "start - integer".IPThis is the point in the sample data file where analysis began. .sp.I "nan - integer".IPThis is the number of points analyzed..sp.I "filename - string".IPThis is the name of the sample data file that was processed..sp.I "prog - string".IPThis is the name of the program that last changed the Common file(\fIana\fR in this case)..SH SPS HEADERA new file header is created for the .I ANAfile.This new header contains values for all the parameterslisted in the .I SPS PARAMETERSsection above and for  .I src_sf, vers, prog, progdate, and .I ndrec.In addition,the source sampled data file name is written to .I refer,and both source-file headers are added as sources in the output file header..SH OPTIONSThe following options are supported:.TP.B \-doption specifies that the voicing decision of the pulse tracker should notbe modified using the additional knowledge obtained from spectrum analysis.An easy way to remember the meaning of.B\-doption is to think that it is similar to the analysis performed by our dsp(i.e., rosetta) at the present time..TP.BI \-x " debug_level"If .I debug_levelis positive,.I ana prints various information or debugging messages, on the standard error.The messages are more verbose when.B debug_levelis larger.  If.I debug_levelis 0, no message is printed.The default is 0..TP.BI \-p " param_file"uses the parameter file .I param_filerather than the default file .I params..TP.SH  FILES.TP.I sdfileInput SPS sampled data file..TP.I pitchfileSPS pitch file..TP.I anafileOutput SPS ANA file..SH SUBROUTINES CALLEDanalyze, bestauto, covar, fowrdfilt genburg, getatal, getauto, getburg,getfburg, getvburg, invsefilt, preemp, rctoc, removedc, smartana, toeplib,wilson..SH FUTURE CHANGESModifications will occur when we include silence detection in thealgorithms..PPMore sophisticated vocing error detection scheme will beincorporated..PPOther spectral analysis methods might be included..SH SEE ALSOdsptrack (1), ptrack (1), synt (1), SPS(5), ANA(5)..SH AUTHORS. Shankar Narayan. Modified for SPS by David Burton and John Shore.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -