FeatureSet method: writeADC

FeatureSet method: writeADC

Syntax: <feature set> writeADC <feature> <filename> [optional flags]

Example: fs writeADC ADC /tmp/file.adc -hm KA -bm ulaw -from 2.1s -to 3.2s

A SVector feature with the name <feature> is written to a file <filename>. In the example a segment from 2.1 seconds to 3.2 seconds of feature ADC will be written in a compressed ulaw format (8bit) to the file /tmp/file.adc with a Karlsruhe header.

Optional flags:

-hm <header>
Header mode: <header> can be "CMU","KA","PHON" or "" for 'no header'.
-bm <byte mode>
Byte modes for 16bit data: "10" most significant byte is the first byte, "01" most significant byte is the second byte or "auto" as seen by the current machine.
Byte modes for 8bit data: "ulaw" or "lin" for linear data. In the latter case only the first (most significant) 8 bits are taken. For that reason the used SVector feature should cover the whole short range .
-from <time>
Write samples starting from a certain time. <time> can be given in the time format.
-to <time>
Write samples ending with <time> (inclusive) similar to '-from'.
Related commands: readADC


maier@ira.uka.de