next up previous contents
Next: Programmer guide Up: User guide Previous: slpcep   Contents

scopy

Usage: scopy [options] ifile ofile

Copy the data file ifile into ofile. The input data can be converted according to the following transformations:

  1. mean normalization and delta computation
  2. multiplicative scaling
  3. linear transformation
  4. bin extraction
If several transformation options are specified, the transformations are applied in the order given above.

Mean normalization and delta computation is obtained using the -convert=s option. The argument to this option is a string composed of one or zero occurrence of the letters D, A, N and Z. The meaning of the letters is:

The specified qualifiers are added to the input file qualifiers. This means that you cannot use the -convert option to remove qualifiers from a stream. The -scale=f option may be used to multiply the features by an arbitrary value f. Furthermore, a linear transformation can be applied to the feature vectors using the -transform=fn, where fn is the path to a file containing the transform matrix A such that the new feature vectors $y = A x$ assuming $x$ is the original feature vector. The tranformation matrix file is a text file with the following syntax
nrows ncolumns
A[0][0]        A[0][1]   .........   A[0][ncolumns-1]
                         .........
A[nrows-1][0]            .........   A[nrows-1][ncolumns-1]
Finally, it is possible to extract some components or bins of the feature vectors using the -extract=s option, where s is an extraction pattern. For example, the option -extract=1-9,14 will extract components 1 to 9 and component 14 of each input feature vectors. Note that the order in which the components are specified in the patter does not matter.

By default, scopy output file format is the SPro format but this can be changed using the -output-format=s option where s can be ASCII, HTK3 or Sirocco. Byte-swapping before writing the output file can be turned on with the -swap option. It is also possible to copy only parts of the input file by specifying the start and/or end frame using the -start=n and -end=n options.

Finally, scopy -info prints the input file header information.


next up previous contents
Next: Programmer guide Up: User guide Previous: slpcep   Contents
Guillaume Gravier 2003-05-07