Contents

overlapFactor

The amount of overlap between successive analysis windows when the model operates on a fixed-size audio block.

Declaration

var overlapFactor: Double { get set }

Discussion

The property defaults to 0.5 (50%) and supports values in the range [0.0, 1.0].

Sound analyses that use a fixed-size audio block typically benefit with an overlap factor that’s greater than zero. An overlap factor of 0.0 may negatively affect your sound classifier’s accuracy because a sound may span two analysis windows. However, an overlap factor of 0.5 ensures each sound aligns near the center of at least one analysis window.

See Also

Configuring a Request