📄 fanaspec.1
字号:
.\" @(#)fanaspec.1 1.1 6/11/87 ESI.\" Copyright (c) 1987 Entropic Speech, Inc.; all rights reserved.TH FANASPEC 1\-ESPS 6/11/87.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH NAMEfanaspec \- Generate spectral record file for records in a FEA_ANA file..SH SYNOPSIS.B fanaspec[.BI \-x " debug_level"][.BI \-f " range"][.BI \-n " num_freqs"].I input.ana.I output.spec.SH DESCRIPTION.I Fanaspecreads reflection coefficients and other information from the FEA_ANA fileand generates a corresponding spectral record file containinglogarithmically scaled (in db) maximum-entropy spectral power densities.The spectral values are computed for the specified number of frequencies,which must be one greater than a power of 2.The frequencies are equispaced from 0 to half the sampling frequency.One output record is written for each input record in the specified range.If ``\-'' is given for the input file, the standard input is read.If ``\-'' is given for the output file, the standard output is written to.The output file can be plotted using the.I plotspeccommand..PPIf the spectrum representation of the input file is not RC, theprogram exits. .SH ESPS PARAMETERSThe ESPS parameter file is not referred to..SH ESPS HEADERSThe values .I common.type,.I common.ndrec,.I variable.refer,and.I hd.fea->fea_typeare read from the header of the FEA_ANA file. The following generic header items are also read:.I spec_rep.I order_unvcd,.I order_vcd,.I src_sf,.I frmlen,.I start,and.I nan.If they exist, then the following generic items are also read: .I win_type,and.I dcrem. .brThe following parameters are written to the header of the SPEC file:.br.I common.tag,.I common.prog,.I common.vers,.I common.progdate,.I common.ndrec,.I variable.refer,.I hd.spec\->start,.I hd.spec\->nan,.I hd.spec\-frmlen,.I hd.spec\->order_vcd,.I hd.spec\->order_unvcd,.I hd.spec\->win_type,.I hd.spec\->sf,.I hd.spec\->dcrem,.I hd.spec\->voicing,.I hd.spec\->freq_format,.I hd.spec\->spec_type,.I hd.spec\->num_freqs,and the fields usually written by.I write_headerin the common part of the header.In addition, the input file is added as the source of the output file and the command line is added as a comment. .SH OPTIONSThe following options are supported. Values in brackets are defaults..TP.BI \-x " debug_levelIf.I debug_levelis non-zero,.I fanaspecprints debugging messages and other information on the standard error output..TP.BI \-f " first" : "last" "\fR [(first in file):(last in file)]".TP.BI \-f " first" :+ "incr"In the first form, a pair of unsigned integers specifies the rangeof records to be processed.Either.I firstor.I lastmay be omitted; then the default value is used.If.IR last " = " first " + " incr,the second form (with the plus sign) specifies the same range as the first.If the specified range contains records not in the file,.I fanaspeccomplains and quits..TP.BI \-n " num_freqs" "\fR [513]"Compute spectral values for this number of frequencies, equispaced from 0to half the sampling frequency. Must equal2\v'-.35'\s-3\fIn\fR\s+3\v'.35' + 1 for some positive integer \fIn\fR..SH SEE ALSOrefcof(1\-ESPS), plotspec(1\-ESPS), SPEC(5\-ESPS), ESPS(5\-ESPS).SH DIAGNOSTICS.PPfanaspec: unknown option: .RI \- letter.brUsage: fanaspec [-x debug_level][-f range][-P param_file][-n num_freqs] ana_file spec_file.brfanaspec: number of frequencies.I nis not 1 plus a power of 2..brfanaspec: number of frequencies.I nexceeds 16385..brfanaspec: can't open.I filename: reason.brfanaspec: .I filenameis not an ESPS file.brfanaspec: input file.I filenameis not a FEA_ANA analysis file..brfanaspec: must have RC spec_rep..brfanaspec: bad range:.I nrecords in.I filename.brfanaspec: EOF encountered..PPWhen.IR debug_level !=0,the reflection coefficients, average raw power, location tag,and inverse filter coefficientsare listed for each record..SH BUGS.PPThe values of.IR start " and " nanin the output header are only approximate if pitch-synchronous analysiswas used.The.I frame_lenfield in each analysis record, defined as ``number of samples to synthesizefrom frame,'' is copied to the.I frame_lenfield in a spectral record, defined as ``number of samples in analysiswindow.''This is invalid if the analysis file was produced by a program for whichthe two are different..PPThe number of frequencies in an output record cannot exceed 16385.The order of every analysis record must be less than.RI 2( num_freqs \-1)..SH FUTURE CHANGES.PPAdd option to smooth spectrum by sinc-function weighting of theautocorrelation function..SH AUTHORS. Shankar Narayan.Made SDS compatible by Joe Buck.Originally called.I pltspc.Modified for ESPS and number of frequencies made variableby Rod Johnson, Entropic Processing, Inc. Modified for FEA_ANA filesby John Shore.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -