VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
|
Single stage mono convolver based on HiFi-Lofis convolver The FFT and buffers use the tklb types and the simd was replaced with xsimd TODO tklb all ! FIX THIS MESS ! FIX THIS MESS ! FIX THIS MESS ! FIX THIS MESS. More...
#include <TConvolverFFT.hpp>
Public Types | |
using | uchar = unsigned char |
using | uint = unsigned int |
using | Buffer = AudioBufferTpl< T > |
using | Size = typename Buffer::Size |
Public Member Functions | |
ConvolverMonoTpl ()=default | |
template<typename T2 > | |
void | load (const AudioBufferTpl< T2 > &buffer, const uint blockSize, const uchar channel) |
Load a impulse response and prepare the convolution. More... | |
template<typename T2 > | |
void | process (const AudioBufferTpl< T2 > &inBuf, AudioBufferTpl< T2 > &outBuf, const uchar channel) |
Do the convolution. More... | |
Private Types | |
using | Segments = HeapBuffer< Buffer > |
Static Private Member Functions | |
static void | complexMultiply (Buffer &bufferOut, const Buffer &bufferA, const Buffer &bufferB) |
Single stage mono convolver based on HiFi-Lofis convolver The FFT and buffers use the tklb types and the simd was replaced with xsimd TODO tklb all ! FIX THIS MESS ! FIX THIS MESS ! FIX THIS MESS ! FIX THIS MESS.
Definition at line 27 of file TConvolverFFT.hpp.
using tklb::ConvolverMonoTpl< T >::Buffer = AudioBufferTpl<T> |
Definition at line 31 of file TConvolverFFT.hpp.
|
private |
Definition at line 44 of file TConvolverFFT.hpp.
using tklb::ConvolverMonoTpl< T >::Size = typename Buffer::Size |
Definition at line 32 of file TConvolverFFT.hpp.
using tklb::ConvolverMonoTpl< T >::uchar = unsigned char |
Definition at line 29 of file TConvolverFFT.hpp.
using tklb::ConvolverMonoTpl< T >::uint = unsigned int |
Definition at line 30 of file TConvolverFFT.hpp.
|
default |
|
inlinestaticprivate |
|
inline |
Load a impulse response and prepare the convolution.
buffer | The ir buffer. Only the first channel is used |
blockSize | Size of blocks ir will be divided in |
Definition at line 63 of file TConvolverFFT.hpp.
|
inline |
Do the convolution.
Definition at line 111 of file TConvolverFFT.hpp.
|
private |
Definition at line 35 of file TConvolverFFT.hpp.
|
private |
Definition at line 41 of file TConvolverFFT.hpp.
|
private |
Definition at line 50 of file TConvolverFFT.hpp.
|
private |
Definition at line 40 of file TConvolverFFT.hpp.
|
private |
Definition at line 47 of file TConvolverFFT.hpp.
|
private |
Definition at line 42 of file TConvolverFFT.hpp.
|
private |
Definition at line 38 of file TConvolverFFT.hpp.
|
private |
Definition at line 49 of file TConvolverFFT.hpp.
|
private |
Definition at line 39 of file TConvolverFFT.hpp.
|
private |
Definition at line 51 of file TConvolverFFT.hpp.
|
private |
Definition at line 48 of file TConvolverFFT.hpp.
|
private |
Definition at line 37 of file TConvolverFFT.hpp.
|
private |
Definition at line 46 of file TConvolverFFT.hpp.
|
private |
Definition at line 45 of file TConvolverFFT.hpp.
|
private |
Definition at line 36 of file TConvolverFFT.hpp.