FeatureSet time format

FeatureSet time format

Syntax: float_number[characters] or "end"

Example: fs cut adc1 ADC 0.5sec end

The time format described here is used by many FeatureSet methods for start or end points and time intervals. The values are converted into a sample or frame number using a sampling rate and/or a frame shift if necessary. Then the Feature's sampling rate and/or frame shift are used. If they are 0 the standard value of the FeatureSet is taken instead. If the latter one is 0 as well the format is not accepted.

"end" or "last" has an obvious meaning. Any other cases must start with a number followed by none, one or more characters. Only the first character is important. Thus 0.5s and 0.5seconds are identical. Possible units:

s
seconds
m
milliseconds
f
frames, is also the default (no character) for FMatrix features
p
samples, is also the default (no character) for SVector features
Questions:
maier@ira.uka.de