📄 files.txt
字号:
This is a description of all the source code files in CELP 3.3.----------acb_code.c---------- ACBGainEncode - encode and quantize ACB gain for various quantizer types ACBGainDecode - decode ACB gain from table----------acb_parm.c---------- CalcACBParms - Find ACB gain and error (match score) CalcAdaptConv - Calculate and save convolution of truncated impulse response. EndCorrectAdapt - End correct the convulution sum ReplicateShortToFull - Replicate the short adaptive codeword to the full codeword CalcCorEngAdapt - Calculate Correlation and Energy CompGainErrAdapt - Compute gain and error-------adapt.c------- AdaptiveAnalysis - Subframe adaptive codebook search CalcPointers - Calculate allowable pointer range TopMatch - Find pointer to top (MSPE) match score (BestDelayPtr) search for best match score (max -error term) SelectDelay - Select shortest delay of 2, 3, or 4 submultiples if its match is within 1 dB of MSPE to favor smooth "pitch" Neighborhood - Search BestDelayPtr's neighboring delays (to be used with earlier stages of searching). Find gain and match score for neighboring delays and find best neighborhood match (could use end-point correction on unity spaced delays) CalcIntAdaptParms - Calculate gain and match score for integer adaptive delays CalcFracAdaptParms - Calculate gain and match score for fractional adaptive delays FindAdaptResidual - Find residual after adaptive analysis----------analysis.c---------- analysis - CELP analysis CreateSubFrame - Create subframe vector from past and current samples FindImpulseResponse - Compute impulse response with direct form filter UpdateEverything - Update adaptive parameters for next subframe -------bwexp.c------- BWExpand - Bandwidth expansion of LPC predictor coefficients------celp.c------ celp (main) - Codebook excited linear predictor (main routine)----------celp_sup.c---------- ham - creates hamming window---------channel.c--------- Channel - CELP channel-----cli.c----- cli - UNIX Command line interface. ShortUsage - Prints out a short usage message describing how to call the program Usage - Prints out a long usage message describing how to call the program and all its options Parse - Reads the string of characters passed in and sets the appropriate flags. GetNewArgs - Opens and reads the parameter file and creates a new argument array and new number of arguments AssignVal - Reads the opened parameter file and assigns the correct values to the new argument array.----------code_lsf.c---------- QuanLSF - Quantize line spectral frequencies CalcLSFFreq - Calculate LSFs from LSPs using input frequency InitLSFQuant - Initialize Quantized LSFs CheckMono - Check frequencies indices for monotonicity CorrectNonMono - Correct index for minimum error if nonmonotonic AssignLSFFreqs - Correct index for minimum error if nonmonotonic UnquanLSF - Independent nonuniform scalar lsf decoder QuantizeLSF - Nearest output level scalar quantizer----------codeparm.c---------- EncodeParameters - Encode and Pack CELP parameters DecodeParameters - Decode and Unpack CELP parameters Encode - Encode CELP parameters Decode - Decode CELP parameters Pack - Pack CELP parameters Unpack - Unpack CELP parameters ADelayEncode - Encode the Adaptive Delay ACBDelayDecode - Decode the Adaptive Delay FS1016Encode - Translate from bit structure to FS1016 compatible array FS1016Decode - Translate to bit structure from FS1016 compatible array----------con_adap.c---------- ConstructAdaptCW - Adaptive VQ (n-taps, where n = 0, ..., 3) "self-excited" or "vq" or "adaptive code book"----------con_stch.c---------- CalcStoch - Calculate Stochastic codebook contribution to synthesis from code book index and gain----------conv_cor.c---------- ConvCor - Find codeword gain and error (TERNARY CODE BOOK ASSUMED!) CalcStochConv - Calculate and save convolution of codeword with truncated impulse response EndCorrectStoch - End correct the convolution sum CalcCorEngStoch - Calculate correlation and energy CompGainErrStoch - Compute gain and error-------delay.c------- delay - Time delay a bandlimited signal of either 8 or 40 points using point-by-point recursion GenHam - Generate Hamming windowed sinc interpolating function quan_frac - Quantize the fractional pitch Resample - Upsample and select appropriate samples to resample at fractional delay sinc - Calculate sinc funtion of input----------do_pfilt.c---------- do_pfilt do_pfilt_dynamic - pole filter - given a filter structure do_pfilt uses static coefficients do_pfilt_dynamic uses changing coefficients----------do_zfilt.c---------- do_zfilt do_zfilt_dynamic - pole filter - given a filter structure do_zfilt assumes static coefficients do_zfilt_dynamic assumes changing coefficients-------error.c------- ErrorEncode - CELP error encoding ErrorDecode - CELP error decoding---------filters.c--------- HPF_Speech - High pass filter input speech HPF_OutSpeech - High pass filter output speech FilterImpulseResponse - Filter Impulse Response with varying coefficients and no history from past frames---------hamming.c--------- Hamming - Implement Hamming (15,11) code---------hexline.c--------- puthex - Input an array of bits and number of bits and the program returns a pointer to a bitstream. gethex - Input a pointer to a bitstream and number of bits, program returns an array of bits.--------interp.c-------- Interpolate - Interpolation of LSFs InterpolateSubFrame - Interpolation one LSF subframe AnalCheckForMonotonicity - Check for nonmonotonic LSFs within interpolated matrix SynthCheckForMonotonicity - Check for nonmonotonic LSFs----io.c---- IO_read - Read a frame of input data IO_write - Write a frame of output speech WriteChannel - Write a frame of CELP bitstream ReadSpeech - Read a frame of input speech ReadChannel - Read a frame of CELP bitstream---------lp_anal.c--------- LP_Analysis - Linear Predictive analysis ApplyWindow - Apply a Hamming Window to input speech AutoCor - Calculate the autocorrelations for a frame of speech ACtoPC - Calculate the Predictor Coefficients for a frame of speech Durbin - performs the classical Durbin recursion ACtoRC - Schur recursion to do autocorrelation analysis. Converts autocorrelation sequence to reflection coefficients. HighFreqCorrect - Perform high frequency correction on input RCtoPC - convert reflection coefficients into lpc coefficients--------lp_syn.c-------- LP_Synthesis - LP Filter input excitation with input LSFs---------lsftopc.c--------- LSFtoPC - convert line spectral frequencies to predictor coefficients----------makefilt.c---------- makefilt makefilt_dynamic - defines and returns a filter structure makefilt makes a filter with static coefficients makefilt_dynamic makes a filter with changing coefficients------mark.c------ mark - display prompts to indicate processing (output to standard error)---------mexcite.c--------- ModifiedExcitation - Modify the stochastic code book excitation gain----------movarray.c---------- MoveArray - copy real array to another array---------pctolsf.c--------- PCtoLSF - Compute LSF from predictor polynomial.--------pctorc.c-------- pctorc - Convert from lp-polynomial to reflection coefficients.----------postfilt.c---------- PostFilter - Filter input signal----------scb_code.c---------- SCBGainEncode - encode and quantize code book gain SCBGainDecode - decode code book gain from the quantized gain----------setarray.c---------- SetArray - initialize a real array to a real value-------setup.c------- setup - CELP setup CheckOptions - Check the options set by the user and insure that there are no problems.----------showdata.c---------- ShowData - Save data to disk in a format that can be later used by graphical or other programs. save_float - Save data to disk in floating point format save_int - Save data to disk in integer format save_short - Save data to disk in short integer format float2short - Convert data to short integer format from floating point data. float2ascii - Convert data to ascii format from floating point data and write to a file. int2ascii - Convert data to ascii format from integer data and write to a file.--------smooth.c-------- Smooth - Smooth parameters when error conditions indicate it is necessary smoothPDelay - smooth PDelay values smoothStochGain - smooth StochGain values smoothAdaptGain - smooth AdaptGain value-------stoch.c------- StochasticAnalysis - Find optimal MSPE excitation code word CalcStochGain - Find gain and -error term for each codeword and search for best code word (max -error term)-------synth.c------- Synthesis - CELP synthesis SquelchTest - Test for clipping on input speech clip - Determine if speech is clipped----------variance.c---------- variance - calculates variance of the input array--------wrapup.c-------- wrapup - finish details, close files, etc.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -