previous next Up Title Contents

Using the Segment Processing Mode

The segment processing mode was introduced primarily by the request of users who need to process long signals. For example, people in the speech recognition field need to work with signal durations measured in seconds rather than milli-seconds. For this reason the segment processing mode allows the processing of small or continuous signals in smaller segments. For instance:

a two second signal can be processed in ten segments, two-hundred milli-seconds long.;

signals from a peripheral device running continuously can be processed in batches or segments.

All CRL modules are specially configured so that they can operate continuously in segment processing mode, with repeated calls. Any tables or process variables that the module requires are created for the first run, thereafter these are kept up to date on subsequent calls to the routine. The nature of some of the stimulus routines governs how they interpret the segmented mode of processing:

In segmented mode the click, step function and puretone_2 stimulus generation modules will produce a signal which repeates, i.e. the puretone_2 stimulus (a pure tone burst surrounded by silence) will repeat with "silence" intervals defined by the pre- and post stimulus "silence" periods (examples of the segmented mode processing behaviour is given for these modules in section Error! Reference source not found. Error! Reference source not found.). The other stimuli have a continuous response.

The reading from files will be done in segments until the end of the file is reached, then the reading process will return a value of FALSE.

In segmented mode output will be added to the end of current files

Model behaviour, as previously mentioned, is continuous under segmented mode. This means that the models do not reset after each segment is processed, unless the module is re-initialised or there is a change in the modules parameters - in segment processing mode module processes are reset explicitly (see section Reseting process and Labels, page Error! Reference source not found.).

Turning on the segment processing mode is described in section Error! Reference source not found. Error! Reference source not found., which simply turns the mode "on" or "off". The section also indicates an example program showing how the segment processing mode can be used. Some interesting animation effects can be achieved when the segment processing mode is used in conjunction with the display module.

previous next Up Title Contents