Audio Processing Framework (APF) version 0.5.0
|
Combination of Input and StaticOutput. More...
#include <apf/convolver.h>
Public Member Functions | |
template<typename In > | |
StaticConvolver (size_t block_size_, In first, In last, size_t partitions_=0) | |
StaticConvolver (const Filter &filter, size_t partitions_=0) | |
Public Member Functions inherited from apf::conv::Input | |
Input (size_t block_size_, size_t partitions_) | |
template<typename In > | |
void | add_block (In first) |
Add a block of time-domain input samples. More... | |
size_t | partitions () const |
Public Member Functions inherited from apf::conv::TransformBase | |
template<typename In > | |
void | prepare_filter (In first, In last, Filter &filter) const |
Transform time-domain samples. More... | |
size_t | block_size () const |
size_t | partition_size () const |
template<typename In > | |
In | prepare_partition (In first, In last, fft_node &partition) const |
FFT of one block. More... | |
Public Member Functions inherited from apf::conv::StaticOutput | |
template<typename In > | |
StaticOutput (const Input &input, In first, In last) | |
Constructor from time domain samples. More... | |
StaticOutput (const Input &input, const Filter &filter) | |
Constructor from existing frequency domain filter coefficients. More... | |
Public Member Functions inherited from apf::conv::OutputBase | |
float * | convolve (float weight=1.0f) |
Fast convolution of one audio block. More... | |
size_t | block_size () const |
size_t | partitions () const |
Additional Inherited Members | |
Public Attributes inherited from apf::conv::Input | |
fixed_list< fft_node > | spectra |
Spectra of the partitions (double-blocks) of the input signal to be convolved. More... | |
Protected Types inherited from apf::conv::TransformBase | |
using | scoped_plan = fftw< float >::scoped_plan |
using | plan_ptr = std::unique_ptr< scoped_plan > |
Protected Types inherited from apf::conv::OutputBase | |
using | filter_ptrs_t = fixed_vector< const fft_node * > |
Protected Member Functions inherited from apf::conv::TransformBase | |
TransformBase (size_t block_size_) | |
TransformBase (TransformBase &&)=default | |
plan_ptr | _create_plan (float *array) const |
Create in-place FFT plan for halfcomplex data format. More... | |
void | _fft (float *first) const |
In-place FFT. More... | |
Protected Member Functions inherited from apf::conv::OutputBase | |
OutputBase (const Input &input) | |
Protected Attributes inherited from apf::conv::TransformBase | |
plan_ptr | _fft_plan |
Protected Attributes inherited from apf::conv::OutputBase | |
fft_node | _empty_partition |
filter_ptrs_t | _filter_ptrs |
Combination of Input and StaticOutput.
Definition at line 772 of file convolver.h.
|
inline |
Definition at line 775 of file convolver.h.
|
inline |
Definition at line 783 of file convolver.h.