Avisoft logo

SASLab Manual


Main window : Tools > Labels > Classify Element Sequences...


The Classify Element Sequences command facilitates identifying user-defined label (element) patterns.



The list box at the top of the dialog box represents the defined sequence classes. Each sequence class is identified by its class name. The label sequence is defined by enumerating the individual label texts (separated by space characters) in the sequence field.

class name Enter here the name of the class.

delete Removes the selected class.

new Adds a new class.

< Moves to the previous class.

> Moves to the next class.

sequence Enter here the label texts in the desired order. The individual labels must be separated by space characters. It is possible to insert optional interval and/or break limits between the labels that override the corresponding limits defined in the general settings section. The optional temporal limits must be separated by space characters and must have the following format:

i>ddd.dd
i<ddd.dd
b>ddd.dd
b<ddd.dd

The unit of the duration parameter ddd.dd is milliseconds.


For example the sequence string class1 b>100 b<200 class2 class3 defines a sequence of 3 elements class1, class2 and class3. The duration of the break between class1 and class2 should be larger than 100 ms and shorter than 200ms. The break between class2 and class3 is as defined on the general settings entry > break between elements.


loop The loop option defines a sequence that repeats itself several times.

Reset Removes all class definitions and returns to the default class definition file seq_classes.scs.


general settings The general setting section defines additional constraints on the defined class by limiting the range of a number of parameters. Leaving the corresponding edit fields empty will ignore the parameter.

element interval The duration from the start of the previous label to the start of the current label. These interval limits can be overridden by the i>ddd.dd and i<ddd.dd options as described above.

break between elements The duration from the end of the previous label to the start of the current label. Use the upper limit of this parameter in order to separate consecutive groups of elements (strophes). These break limits can be overridden by the i>ddd.dd and i<ddd.dd options as described above.

total number of elements The total number of labels in the entire sequence. These limits only apply if the loop option has been activated.

total group duration The duration from the start of the first label to the end of the last label of the sequence.

average element rate The number of elements per seconds on the entire sequence.

copy! Copies the settings from the currently selected class to all other classes.

default! Resets the select class settings and sets the maximum break between elements to 500 ms in order to separate consecutive strophes.

reset! Resets the select class settings.


delete the original labels If activated, the original labels (single point labels or section labels on layer 1) will be deleted. It is recommended to disable this option while optimizing the settings.

Start / OK Clicking at the Start button will execute the classification procedure. The identified sequences will be marked by section labels on layer 2 (or layer 1 in case the above option delete the original labels is activated) and will be enumerated in the listbox at the bottom of the dialog box.

Cancel / Close Terminates the dialog box.

SaveAs... Saves the element sequence class definition in a new .scs configuration file.

Open... Opens a previously saved .scs file. Alternatively, existing .scs files can be opened by drag&drop.

This command can be executed also in a batch process (Tools / Batch processing... > Classify Element Sequences).


Avisoft Bioacoustics last modified on 23 October 2019