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


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

All TIMIT sample files are supported. The block reads the file header to determine whether the data is mono or stereo and sets the number of outputs accordingly. In the case of stereo data 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 14:54:13 BST 2001