cat

来自「speech signal process tools」· 代码 · 共 397 行 · 第 1/2 页

TXT
397
字号
ME_SPEC(1-ESPS)                             ENTROPIC RESEARCH LABNNNNAAAAMMMMEEEE     me_spec - Generate maximum-entropy  spectra  from  parameter     vectors.SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS     mmmmeeee____ssssppppeeeecccc [ ----nnnn _n_u_m__f_r_e_q_s ] [ ----oooo _m_a_x__o_r_d_e_r ] [ ----rrrr _r_a_n_g_e ] [ ---- xxxx     _d_e_b_u_g__l_e_v_e_l ] [ ----GGGG ]     [ ----PPPP _p_a_r_a_m_s ] _i_n_p_u_t _o_u_t_p_u_t._s_p_e_cDDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN     _M_e__s_p_e_c reads spectral parameters and other information from     the input file and generates a corresponding spectral record     file containing  logarithmically  scaled  (in  dB)  maximum-     entropy spectral power densities.     The spectral  parameters  may  be  reflection  coefficients,     autoregressive-filter  coefficients, or any of several other     types of parameters; see _s_p_e_c__r_e_p in the Parameters  section     and the documentation for reps_rc(3-ESPS) for a list.  Other     required information includes the total power, the order  of     the  spectrum,  and  the  sampling  frequency.  These may be     obtained from the input file, or defaults may be  used;  see     the    descriptions    of    the    parameters    _m_a_x__o_r_d_e_r,     _s_a_m_p__f_r_e_q__n_a_m_e, _s_a_m_p__f_r_e_q, _p_o_w_e_r__f_i_e_l_d, and _p_o_w_e_r. FEA_ANA(5     - ESPS)  files  are suitable as input and are specially pro-     vided for, but any vector field of type  _f_l_o_a_t  in  any  FEA     file  may be treated as a vector of spectral parameters; see     _s_p_e_c__p_a_r_a_m__f_i_e_l_d and _s_p_e_c__r_e_p in the Parameters section.     The spectral values are computed for the specified number of     frequencies,  which must be at least 2.  The frequencies are     equispaced from 0 to half the sampling frequency.  There  is     an  option to compute the spectrum to a lower order than the     number of coefficients present in the analysis records.     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 plotspec(1-ESPS) command.OOOOPPPPTTTTIIIIOOOONNNNSSSS     The following options are supported.  Values in brackets are     defaults.     ----nnnn _n_u_m__f_r_e_q_s [513]          Compute spectral values for this number of frequencies,          equispaced from 0 to half the sampling frequency.  Must          be at least 2.     ----oooo _m_a_x__o_r_d_e_r          Maximum-entropy spectra of at most this order  will  be        Copyright Entropic Research Laboratory, Inc. 1G1        1ME_SPEC(1-ESPS)                             ENTROPIC RESEARCH LAB          computed,  even when more coefficients are available in          the analysis records.  The program converts  the  spec-          tral  parameters  to  reflection coefficients, carrying          the computation out to the actual order of the  parame-          ter  set  contained  in  the record.  In FEA_ANA files,          when ----GGGG has not been specified,  the  actual  order  is          given  by  the  header  item  _o_r_d_e_r__v_c_d, for records in          which the _f_r_a_m_e__t_y_p_e field is VOICED or TRANSITION, and          by  _o_r_d_e_r__u_n_v_c_d  in  other records.  In other files, or          when ----GGGG has been specified, the actual order is assumed          to  be  the  length  of  the field (or subsequence of a          field) named by the parameter  _s_p_e_c__p_a_r_a_m__f_i_e_l_d.  After          converting  the  parameters,  the program truncates the          sequence of reflection coefficients to length _m_a_x__o_r_d_e_r          and  computes a maximum_entropy spectrum from the trun-          cated sequence.          This procedure is _n_o_t equivalent to  simply  truncating          the  original parameter set, for example by specifing a          shorter field with _s_p_e_c__p_a_r_a_m__f_i_e_l_d.  The  latter  pro-          cedure  may  give  incorrect  results, depending on the          spectral representation (see _s_p_e_c__r_e_p in the Parameters          section).   For  example,  the  _m autoregressive filter          coefficients of order _m are not in general the same  as          the first _m autoregressive filter coefficients of order          _n (where _n>_m).     ----rrrr _f_i_r_s_t::::_l_a_s_t [(first in file):(last in file)]     ----rrrr _f_i_r_s_t::::++++_i_n_c_r          In the first form, a pair of unsigned  integers  speci-          fies  the  range  of  records  to be processed.  Either          _f_i_r_s_t or _l_a_s_t may be omitted; then the default value is          used.   If  _l_a_s_t  = _f_i_r_s_t + _i_n_c_r, the second form (with          the plus sign) specifies the same range as  the  first.          If  the  specified  range  contains  records not in the          file, _m_e__s_p_e_c complains and quits.     ----xxxx _d_e_b_u_g__l_e_v_e_l [0]          If _d_e_b_u_g__l_e_v_e_l is non-zero,  _m_e__s_p_e_c  prints  debugging          messages  and  other  information on the standard error          output.     ----GGGG    Even if the input  file  is  a  FEA_ANA  file,  it  is          treated  like  any  other FEA file.  Special processing          does not take place for determining filter  order  from          voicing  or  computing  average  power  from individual          pulse powers and durations in multipulse FEA_ANA files.          The  parameter  file must supply values for the parame-          ters _s_p_e_c__p_a_r_a_m__f_i_e_l_d, _s_p_e_c__r_e_p, _p_o_w_e_r__f_i_e_l_d or  _p_o_w_e_r,          and  _s_a_m_p__f_r_e_q__n_a_m_e  or _s_a_m_p__f_r_e_q.  The filter order is          taken to be  the  length  of  the  field  specified  by        Copyright Entropic Research Laboratory, Inc. 2G2        2ME_SPEC(1-ESPS)                             ENTROPIC RESEARCH LAB          _s_p_e_c__p_a_r_a_m__f_i_e_l_d;  but  see  the  discussion  of the ----oooo          option.     ----PPPP _p_a_r_a_m_s[params]          The name of the parameter file.EEEESSSSPPPPSSSS CCCCOOOOMMMMMMMMOOOONNNN     The ESPS common file is not referred to.EEEESSSSPPPPSSSS PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS     The following parameters are read as required.     _n_u_m__f_r_e_q_s - _i_n_t_e_g_e_r          The number of frequencies for which spectral values are          computed.   The value in the parameter file is not used          if a value is specified with the command-line option  ----          nnnn....  The  default  value and restrictions are as for the          argument of the option.     _m_a_x__o_r_d_e_r - _i_n_t_e_g_e_r          An upper bound on  the  order  of  the  maximum-entropy          spectra that will be computed.  The value in the param-          eter file is not used if a value is specified with  the          command-line option ----oooo.... See the discussion of ----oooo in the          Options section for the detailed interpretation of this          parameter.     _s_t_a_r_t - _i_n_t_e_g_e_r          The number of the first record to be processed,  count-          ing the first in the input file as number 1.  The value          in the parameter file is not used if a  starting  value          is given with the ----rrrr option.  The default value is 1.     _n_a_n - _i_n_t_e_g_e_r          The number of records to be processed.   The  value  in          the  parameter  file  is  not  used if the ----rrrr option is          specified.  By convention, a value of 0 means that  all          records from the starting record through the end of the          file are processed.  This also the default behavior  in          case  no  value is specified either on the command line          or in the parameter file.     _s_p_e_c__p_a_r_a_m__f_i_e_l_d - _s_t_r_i_n_g          The field containing  the  spectral  parameters.   This          must  be  explicitly  specified  in  the parameter file          unless the input file is a FEA_ANA file  and  the   ---- GGGG          option  is  not specified.  The default in that case is          "spec_param".  This parameter may  be  simply  a  field          name, or it may be of the form          _f_i_e_l_d-_n_a_m_e[[[[_g_r_a_n_g_e]]]],        Copyright Entropic Research Laboratory, Inc. 3G3        3

⌨️ 快捷键说明

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