---
title: overlapFactor
framework: soundanalysis
role: symbol
role_heading: Instance Property
path: soundanalysis/snclassifysoundrequest/overlapfactor
---

# overlapFactor

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

## Declaration

```swift
var overlapFactor: Double { get set }
```

## Discussion

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. important: Higher overlap factors increase computational complexity, especially for values greater than 0.5.

## See Also

### Configuring a Request

- [windowDuration](soundanalysis/snclassifysoundrequest/windowduration.md)
