Implementation of a partitioned FFT convolution algorithm with uniform block size. More...
Public Member Functions | |
| bool | init (size_t blockSize, const Sample *ir, size_t irLen) |
| Initializes the convolver. More... | |
| void | process (const Sample *input, Sample *output, size_t len) |
| Convolves the the given input samples and immediately outputs the result. More... | |
| void | reset () |
| Resets the convolver and discards the set impulse response. | |
Implementation of a partitioned FFT convolution algorithm with uniform block size.
Some notes on how to use it:
| bool init | ( | size_t | blockSize, |
| const Sample * | ir, | ||
| size_t | irLen | ||
| ) |
Initializes the convolver.
| blockSize | Block size internally used by the convolver (partition size) |
| ir | The impulse response |
| irLen | Length of the impulse response |
| void process | ( | const Sample * | input, |
| Sample * | output, | ||
| size_t | len | ||
| ) |
Convolves the the given input samples and immediately outputs the result.
| input | The input samples |
| output | The convolution result |
| len | Number of input/output samples |