VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
|
Brute force convolver using element wise multiplication. More...
#include <TConvolverBrute.hpp>
Public Member Functions | |
ConvolverBruteTpl ()=default | |
template<typename T2 > | |
void | load (const AudioBufferTpl< T2 > &ir, const uint 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... | |
Private Types | |
using | uchar = unsigned char |
using | uint = unsigned int |
using | Buffer = AudioBufferTpl< T > |
using | Size = typename Buffer::Size |
Private Attributes | |
Buffer | mIr |
Brute force convolver using element wise multiplication.
Super slow especially for longer impulse responses
Definition at line 15 of file TConvolverBrute.hpp.
|
private |
Definition at line 18 of file TConvolverBrute.hpp.
|
private |
Definition at line 19 of file TConvolverBrute.hpp.
|
private |
Definition at line 16 of file TConvolverBrute.hpp.
|
private |
Definition at line 17 of file TConvolverBrute.hpp.
|
default |
|
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 32 of file TConvolverBrute.hpp.
|
inline |
Do the convolution.
in | Input signal, can be mono |
out | Output buffer, needs to have enough space allocated |
Definition at line 61 of file TConvolverBrute.hpp.
|
private |
Definition at line 20 of file TConvolverBrute.hpp.