TimeLine Class Reference

TimeLine is a list of TimeRegions. More...

#include <TimeLine.h>


Detailed Description

TimeLine is a list of TimeRegions.

TimeLine is a list of TimeRegions. It represents a segmentation in time of sound. Each region is defined by its boundaries, a class id and a name. The units used to define the boundaries of each segment can be arbitrary integer multiples of one sample and are defined by lineSize (e.g. if lineSize is set to 1024, if the start of a region is set to 2, it means that it starts at sample 2*1024 = 2048).

TimeLines can be saved and loaded from files. The current format is as follows:

Nr. of Regions (mrs_natural) lineSize (in samples - mrs_natural) size (in lineSize units - mrs_natural) region1 start (mrs_natural) region1 classid (mrs_natura) region1 end (mrs_natural) region1 name (mrs_string) region2 start (mrs_natural) region2 classid (mrs_natura) region2 end (mrs_natural) region2 name (mrs_string) ...

Definition at line 73 of file TimeLine.h.


The documentation for this class was generated from the following files:

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6