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.wavwill 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.
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 | ||||||||||
LPC | ||||||||||
LPREFC | ||||||||||
LPCEPSTRA | ||||||||||
IREFC | ||||||||||
MFCC | ||||||||||
FBANK | ||||||||||
MELSPEC | ||||||||||
USER | ||||||||||
DISCRETE |
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.