#include <Convolver.h>
Inheritance diagram for csl::Convolver:

Public Member Functions | |
| Convolver () | |
| Constructors. | |
| Convolver (char *IRfilename) | |
| give an IR file name or buffer and/or FFT len | |
| Convolver (unsigned len, Buffer &impulseResp) | |
| Convolver (unsigned len, char *IRfilename) | |
| Convolver (Buffer &inbuf) | |
| ~Convolver () | |
| void | initialize (Buffer &buf) throw (CException) |
| init/setup functions this takes the fft of the IR buffer | |
| void | setFilters (fftwf_complex **filterFFTs) |
| set the IR spectrum array | |
| void | setInputf (fftwf_complex *inFFT) |
| pass in the input buffer | |
| void | nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException) |
| main nextBuffer call sums past FFT'ed IRs and inputs | |
Public Attributes | |
| CSL_FFTW_sample * | mSampleBuffer |
| public I/O buffer ptr | |
Protected Member Functions | |
| void | initialize (const char *filename) throw (CException) |
| this reads in the file | |
| void | complex_multiply_accumulate (CSL_FFTW_cmplx *left, CSL_FFTW_cmplx *right, CSL_FFTW_cmplx *output) |
Protected Attributes | |
| CSL_FFTW_cmplx ** | mFilterFFTs |
| A ring buffer of IR fft buffers. | |
| CSL_FFTW_cmplx ** | mInputFFTs |
| A list of past input spectra. | |
| CSL_FFTW_cmplx * | mSpectrumBuffer |
| current summation buffer | |
| CSL_FFTW_plan | mForwardPlan |
| CSL_FFTW_plan | mInversePlan |
| FFT plans. | |
| unsigned | mFFTSize |
| unsigned | mWindowCount |
| unsigned | mNumBufs |
| window/buffer sizes | |
| bool | mMyBuffers |
| whether I allocated the filter buffers | |
| bool | mMyInput |
| whether to use pullInput | |
|
|
Constructors.
|
|
|
give an IR file name or buffer and/or FFT len
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
init/setup functions this takes the fft of the IR buffer
|
|
|
set the IR spectrum array
|
|
|
pass in the input buffer
|
|
||||||||||||
|
main nextBuffer call sums past FFT'ed IRs and inputs
|
|
|
this reads in the file
|
|
||||||||||||||||
|
|
|
|
public I/O buffer ptr
|
|
|
A ring buffer of IR fft buffers.
|
|
|
A list of past input spectra.
|
|
|
current summation buffer
|
|
|
|
|
|
FFT plans.
|
|
|
|
|
|
|
|
|
window/buffer sizes
|
|
|
whether I allocated the filter buffers
|
|
|
whether to use pullInput
|
1.4.5-20051010