| RESPITE: The CASA Toolkit Page: Documentation: Block Library Index:NISTInputFile |
Read sample data from a NIST format file. The file name is supplied as a parameter. A file path and file extension may also be supplied.
Support for NIST wave files is currently limited to those with simple PCM coding. Both mono and stereo PCM files are supported.
| Inputs | Meaning | Sample | 1-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 |