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

📄 man.diff

📁 speech signal process tools
💻 DIFF
字号:
.\" Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved.\" @(#)lloydcbk.1	3.2	11/2/87 ESI.TH LLOYDCBK 1\-ESPS 11/2/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 NAMElloydcbk \- design a scalar quantization codebook by using lloyd's algorithm.SH SYNOPSIS.B lloydcbk[.BI \-x " debug_level"] [.BI \-P " params_file"] [.BI \-n " codebook_size"] [.BI \-c " convergence"] [.BI \-h " history"] [.BI \-o " description"] [.BI \-s " source_file"] [.BI \-d " distortion"] [.BI \-t " codebook_type"] [.BI \-e " element"] [.BI \-S " source_list"].I " infile" .I " outfile".SH DESCRIPTION.PP.I Lloydcbkdesigns a scalar quantization codebook (.I outfile) from training datathat is in an ascii file (.I infile.).I Infile must containonly one floating numberper line.The distortion measure (.I distortion),the convergence threshold (.I convergence),the identity of the codebook (.I codebook_type),a description of the origin of the codebook (.I description),and the number of codewords in the codebook (.I codebook_size )must be specified.A summary of the design process can be saved by specifying a.I historyfile name,the source(s) of the data can be saved by using.I source_fileor .I source_list,and aparticular element value can be identified by usingthe .I elementflag..PPIf .I infileis replaced by "\-",standard input is read and used as training data by .I lloydcbk to design a codebook.Similarly,if .I outfileis replaced by "\-",the codebook is written to standard output..PPNote that .B \-h, \-o, \-s, \-t, \-eand .B \-Sare for recording keeping purposes only;they do not affect the design of the codebook..SH ESPS PARAMETERS.PPThe values of parameters obtained from the parameter file are printedif the environment variable ESPS_VERBOSE is 3 or greater.  The defaultvalue is 3..PP.I cbk_size (an integer),.I convergence(a float),and.I distortion(a string)may be specified in a .I paramsfile.If any of these are specified on the command line,the command line value over rides the .I params file value..SH ESPS COMMONThe common file is not accessed..SH ESPS HEADERThe header from each of the source files isstored in the SCBK header..PPThe following values are written to the header of the SCBK file:.I common.prog, common.vers, common.progdate, .I  hd.scbk->convergence, hd.scbk->num_cdwds, hd.scbk->num_items, .I hd.scbk->codebook_type, hd.scbk->element_num,and.I hd.scbk->distortion..SH OPTIONSThe following options are supported:.TP.BI \-x " debug_level".I debug_levelsgreater than 0 cause messages to be printed. The higher the .I debug_levelthe greater the detail of the debug information.The default level is zero, which causes no debug output..TP.BI \-P " params_file"Use the ESPS parameter file .I params_filerather than the default parameter file,which is .I params..TP.BI \-n " codebook_size"Specifies the number of codewords in the codebook.It must be a positive number..TP .BI \-c " convergence"Convergence threshold (floating value) to use at each level of clustering.When {1 - [(new total distortion)/(old total distortion)]}is less than .I convergence,the clustering stops. If the current number of codewords is equalto .I codebook_size,.I lloydcbk is done, otherwise .I lloydcbk splits the current codewords and starts a new improvement loop.Reasonable convergence values are data dependent,but .001 is often reasonable..TP.BI \-h " history"If a file name is specified, .I lloydcbk writes to it information about each iteration of clustering..TP .BI \-o " description"A description of the method used to generate the trainingdata is written here and stored in the TYP_TEXT field of the output fileheader. If the .B \-o option is not specified,.I lloydcbkprompts the user for a description.The maximum length of this string is 32768characters. (Not supported yet).TP .BI \-s " source"The name of the ESPS file from which the training data was derived.Multiple sources may be specified by specifying them individuallywith separate .B \-s flags. The header of each source file is added to the codebook file's header.(Not supported yet).TP.BI \-d " distortion"The distortion measure used in the clustering.Currently,only SQUARED_ERROR is supported..TP.BI \-t " codebook_type"The name of the parameter, such as reflection coefficient, pulse power, etc.,that the codebook represents.Legal values are defined in <esps/header.h>, and they includeRC_VCD_CBK= voiced reflection coefficients, RC_UNVCD_CBK = unvoiced reflection coefficients, RC_CBK = reflection coefficients, PP_CBK = pulse powers, PD_CBK = pulse durations,FL_CBK = frame lengths, EP_CBK = lpc error powers, PPR_CBK = pulse power ratios,PPD_CBK = pulse power differences, PDD_CBK = pulse duration differences, LAR_UNVCD_CBK = unvoiced log area ratios, LAR_VCD_CBK = voiced log area ratios,and LAR_CBK = log area ratios..TP.BI \-e " element"The element of the.I codebook_typethat is being processed.Legal values are integers greater than or equal to zero, and two negative values that have special meaning.\-1 means all elements of the specified .I codebook_typeare used, and \-2 meansthat no record of element value is being kept.For .I codebook_type'sthat imply two adjacent elements, such as PPR,the element value is the first of the two adjacent elements..TP.BI \-S " source_list"An ascii file that lists all the sources of the input data may be specified.This file contains one source file per line..I Lloydcbkopens this file, reads each source name,opens that file,and copies the header into the output SCBK file. (Not supported yet).SH DIAGNOSTICS.PPA fatal error occurs if the specified source file does not exist, or if it is not an ESPSfile..SH EXPECTED CHANGES.PPAdditional distortion measures will be added..SH SEE ALSO.PPlloyd(3-ESPS).SH BUGSThe .B \-o, \-s, and.B \-Soptions are not yet supported..SH REFERENCESY. Linde, A. Buzo, R.M. Gray,An Algorithm for Vector Quantizer DesignIEEE Transactions on Communications,Vol. COM-28, No. 1, January, 1980.SH AUTHOR.PPManual page and code by David K. Burton

⌨️ 快捷键说明

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