Alias: null
Common Name: Mean and Variance
Class: org. imirsel. m2k. math. SignalMeanandVariance

Overview: Means and variances of input Signal objects are calculated. A flag controls whether a sliding window is used to calculate means and variances or whether an onset detection data isused to segment the data instead. In the second case, the means and variances of each segment are output. A second flag controls whether silence gating information is used to separate silences into their own segments.

Data Handling: The data matrix of the input Signal object is replaced with an array containing its means and variances.


Inputs:
Signal
org. imirsel. m2k. util. Signal
The Signal object to calculate the means and variances of.


Outputs:
Mean and Variance Signal
org. imirsel. m2k. util. Signal
The Signal object with the data matrix replaced by its means and variances



Properties:
Use silence gating
Sets the flag controlling whether silence gating is used segment silences in the audio. Silence gating is only used if onset detection is also used. Note: this will require a "Silences" column to be present in the Signal.

Use onset detection
Sets the flag controlling whether onset detection data is used segment the audio or whether a sliding window is used. Note: this will require an "Onsets" column to be present in the Signal.

Window Size
Sets the size of the window used in calculating windowed means and variances. This setting is ignored when using onset detection.

Append Segment length
Contols whether the length of the segment (in frames) is appended to the feature vector when using onset detection to segment data.

Keep Onset Column
If onset detection is used in mean and variance calculation, this flag contols whether the onset column is included in the mean and variance calculation or ignored.