next up previous contents index
Next: 13.3.3 Trace Output Up: 13.3 HCopy Previous: 13.3.1 Function

13.3.2 Use

HCOPY is invoked by typing the command line

   HCopy [options] sa1 [ + sa2 + ... ] ta  [ sb1 [ + sb2 + ... ] tb ... ]
This causes the contents of the one or more source files sa1, sa2, ... to be concatenated and the result copied to the given target file ta. To avoid the overhead of reinvoking the tool when processing large databases, multiple sources and targets may be specified, for example
HCopy srcA.wav + srcB.wav tgtAB.wav srcC.wav tgtD.wav
will create two new files tgtAB.wav and tgtD.wav. HCOPY takes file arguments from a script specified using the -S option exactly as from the command line, except that any newlines are ignored.

The allowable options to HCOPY are as follows where all times and durations are given in 100 ns units and are written as floating-point numbers.

HCOPY also supports the standard options -A, -C, -D, -S, -T, and -V as described in section 4.4.

Note that the parameter kind conversion mechanisms described in chapter 5 will be applied to all source files. In particular, if an automatic conversion is requested via the configuration file, then HCOPY will copy or concatenate the converted source files, not the actual contents. Similarly, automatic byte swapping may occur depending on the source format and the configuration variable BYTEORDER. Because the sampling rate may change during conversions, the options that specify a position within a file i.e. -s and -e use absolute times rather than sample index numbers. All times in HTK are given in units of 100ns and are written as floating-point numbers. To save writing long strings of zeros, standard exponential notation may be used, for example -s 1E6 indicates a start time of 0.1 seconds from the beginning of the file.

Outputs

 

      L            
  W     P           D
  A     C       M   I
  V   L E I     E   S
  E   P P R   F L   C
  F   R S E M B S U R
  O L E T E F A P S E
  R P F R F C N E E T
Inputs M C C A C C K C R E
 WAVEFORM tex2html_wrap_inline22122 tex2html_wrap_inline22124 tex2html_wrap_inline22126 tex2html_wrap_inline22128 tex2html_wrap_inline22130 tex2html_wrap_inline22132 tex2html_wrap_inline22134 tex2html_wrap_inline22136   tex2html_wrap_inline22138
      LPC   tex2html_wrap_inline22140 tex2html_wrap_inline22142 tex2html_wrap_inline22144 tex2html_wrap_inline22146         tex2html_wrap_inline22148
   LPREFC   tex2html_wrap_inline22150 tex2html_wrap_inline22152 tex2html_wrap_inline22154 tex2html_wrap_inline22156         tex2html_wrap_inline22158
LPCEPSTRA   tex2html_wrap_inline22160 tex2html_wrap_inline22162 tex2html_wrap_inline22164 tex2html_wrap_inline22166         tex2html_wrap_inline22168
    IREFC   tex2html_wrap_inline22170 tex2html_wrap_inline22172 tex2html_wrap_inline22174 tex2html_wrap_inline22176         tex2html_wrap_inline22178
     MFCC           tex2html_wrap_inline22180       tex2html_wrap_inline22182
    FBANK           tex2html_wrap_inline22184 tex2html_wrap_inline22186     tex2html_wrap_inline22188
  MELSPEC           tex2html_wrap_inline22190 tex2html_wrap_inline22192 tex2html_wrap_inline22194   tex2html_wrap_inline22196
     USER                 tex2html_wrap_inline22198 tex2html_wrap_inline22200
 DISCRETE                   tex2html_wrap_inline22202

  Table. tex2html_wrap22205 . tex2html_wrap22204

Note that truncations are performed after any desired coding, which may result in a loss of time resolution if the target file format has a lower sampling rate. Also, because of windowing effects, truncation, coding, and concatenation operations are not necessarily interchangeable. If in doubt, perform all truncation/concatenation in the waveform domain and then perform parameterisation as a last, separate invocation of HCOPY.


next up previous contents index
Next: 13.3.3 Trace Output Up: 13.3 HCopy Previous: 13.3.1 Function

ECRL HTK_V2.1: email [email protected]