ANLOAD

NAME

anload -- load an annotation item from text description

SYNOPSIS

anload (-f freq) (-t type) (-s|-h|-e|-m|-M) textfile file

DESCRIPTION

anload constructs a new annotation item in the given file from text descriptions of annotations in a text file. The default format of the text file is one annotation per line. In the normal mode this should have two entries: firstly the time in seconds, secondly the text label (not containing spaces). In the "sample" mode (-s switch), each line should contain three entries: the starting sample number, the final sample number, and the annotation. Ensure that the sampling frequency is correct in the sample mode.

Options

-I Identify the program version.

-f freq Use a sampling interval based on 1/freq seconds for sampling the time of each annotation. Default 10000.

-t type Place a "type" indicator in the created item header, with the argument type.

-s Sample mode. Text lines contain sample numbers or sample ranges, not times. For example: "1000 label" or "1000 2000 label". Ensure sampling frequency is supplied with the -f switch.

-h HTK format load. Equivalent to switches: -s -f 10000000.

-e ESPS compatible label file format load.

-m MBROLA .PHO file compatible label file format load.

-M Millisecond format. Lines contain individual durations in milliseconds (not times) and then label.

OUTPUT ITEMS

AN Loaded annotation item

VERSION/AUTHOR

1.7 - Mark Huckvale

BUGS

Except in sample mode, annotation sizes are calculated automatically, the last annotation has length zero.
Sat Jun 29 11:17:52 2002