RESPITE: The CASA Toolkit Page: Documentation: Block Library Index:HTKInputFile


Read sample data from an HTK format file. The file name is supplied as a parameter. A file path and file extension may also be supplied.

All HTK waveform files are supported. As with the AU files the block reads the file header to determine whether the data is mono or stereo and sets the number of output sockets accordingly. Again the left channel goes to out1 and the right channel to out2.

Inputs Meaning Sample 1-D frame $\ge$2-D frame
No inputs

Outputs Meaning
out1 signal channel 1
out2 signal channel 2 (if stereo)

Parameters Type Default Meaning
FILE_NAME String - The file to open
FILE_PATH String "" Directory path to prefix to filename
FILE_EXTENSION String "" Extension to postfix to filename
DURATION Integer 0 (0=whole file) Number of samples to read

Documentation for CTKv1.1.4 - Last modified: Thu Jun 28 12:34:30 BST 2001