How to use this calculator
Check whether an analysis window and frame spacing leave reconstruction gaps in an interior STFT overlap pattern.
- Enter Analysis window samples, Frame hop (samples). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Window overlap reconstruction denominator explained
For each hop residue, the reconstruction denominator sums squared analysis-window weights contributed by overlapping frames.
How the calculation works
For hop H, D[r]=Σj w[r+jH]². Nonzero overlap-add requires every D[r]>0; ordinary COLA additionally requires Σj w[r+jH] constant.
Residues modulo the hop represent all repeating interior sample positions. Finite-record endpoints also require adequate coverage and are outside this interior test.
Set up the calculation
window— Analysis window samples- Actual finite real window coefficients, not a named-window selector. Use comma-separated values in the stated order.
hop— Frame hop (samples)- Positive frame shift, no greater than window length. Enter a whole number.
Limits of this model
Does not compute a spectrogram or verify finite boundary padding, synthesis-window selection or data completeness.
Check this example
Analysis window samples = [0, 0.5, 1, 0.5]; Frame hop (samples) = 2.
- Minimum squared overlap weight: 0.5 window units²
- Maximum squared overlap weight: 1 window units²
- Ordinary overlap sum variation: 0 window units
- Reconstruction weight residue 0: 1 window units²
- Reconstruction weight residue 1: 0.5 window units²
Window [0,0.5,1,0.5] with hop two has positive squared overlap weights, although they are not identical.
Reading the outputs
Minimum zero means a missing residue; ordinary sum variation zero indicates constant ordinary overlap-add. All reconstruction weights are listed.
Frequently asked questions
Must squared weights be constant?
No. For normalized inverse STFT they must be nonzero and divided out appropriately.
What is the difference between NOLA and COLA?
NOLA requires nonzero squared overlap sums; ordinary COLA requires constant window sums.
Do these conditions cover the first and last sample?
No. They describe the repeating fully overlapped interior.
How do I use the Window overlap reconstruction denominator calculator?
Enter Analysis window samples, Frame hop (samples). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Window overlap reconstruction denominator?
Analysis window samples = [0, 0.5, 1, 0.5]; Frame hop (samples) = 2. Minimum squared overlap weight: 0.5 window units² Maximum squared overlap weight: 1 window units² Ordinary overlap sum variation: 0 window units Reconstruction weight residue 0: 1 window units² Reconstruction weight residue 1: 0.5 window units² Window [0,0.5,1,0.5] with hop two has positive squared overlap weights, although they are not identical.
Background or definition reference: SciPy nonzero overlap-add condition.
Read our calculation methodology.