VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
|
Wraps up the FttConvolver to support type conversion. More...
#include <TConvolverRef.hpp>
Public Member Functions | |
ConvolverRefTpl ()=default | |
template<typename T2 > | |
void | load (const AudioBufferTpl< T2 > &ir, const Size blockSize) |
Load a impulse response and prepare the convolution. More... | |
template<typename T2 > | |
void | process (const AudioBufferTpl< T2 > &in, AudioBufferTpl< T2 > &out) |
Do the convolution. More... | |
Static Public Member Functions | |
static const char * | getLicense () |
Private Types | |
using | Buffer = AudioBufferTpl< T > |
using | uchar = unsigned char |
using | Size = typename Buffer::Size |
Private Attributes | |
fftconvolver::FFTConvolver | mConvolvers [AudioBufferTpl< T >::MAX_CHANNELS] |
AudioBufferTpl< fftconvolver::Sample > | mConversion |
Size | mBlockSize |
uchar | mIrChannels = 0 |
Wraps up the FttConvolver to support type conversion.
Definition at line 20 of file TConvolverRef.hpp.
|
private |
Definition at line 21 of file TConvolverRef.hpp.
|
private |
Definition at line 23 of file TConvolverRef.hpp.
|
private |
Definition at line 22 of file TConvolverRef.hpp.
|
default |
|
inlinestatic |
Definition at line 109 of file TConvolverRef.hpp.
|
inline |
Load a impulse response and prepare the convolution.
buffer | The ir buffer. |
channel | Which channel to use from the AudioBuffer |
blockSize | Size of blocks ir will be divided in |
Definition at line 41 of file TConvolverRef.hpp.
|
inline |
Do the convolution.
in | Input signal, can be mono |
out | Output buffer, needs to have enough space allocated |
Definition at line 83 of file TConvolverRef.hpp.
|
private |
Definition at line 28 of file TConvolverRef.hpp.
|
private |
Definition at line 27 of file TConvolverRef.hpp.
|
private |
Definition at line 25 of file TConvolverRef.hpp.
|
private |
Definition at line 29 of file TConvolverRef.hpp.