Overlap–add method

Overlap–add method

where h[m] = 0 for m outside the region [1, M].
where L is an arbitrary segment length. Then**:**
and y[n] can be written as a sum of short convolutions**:**
The advantage is that the circular convolution can be computed very efficiently as follows, according to the circular convolution theorem**:**
**(Eq.1)** |
The algorithm
This algorithm is based on the linearity of the DFT.
Circular convolution with the overlap–add method
When sequence x[n] is periodic, and N**x is the period, then y[n] is also periodic, with the same period. To compute one period of y[n], Algorithm 1 can first be used to convolve h[n] with just one period of x[n]. In the region M ≤ n ≤ N**x, the resultant y[n] sequence is correct. And if the next M − 1 values are added to the first M − 1 values, then the region 1 ≤ n ≤ N**x will represent the desired convolution. The modified pseudocode is**:**