AuxPort 0.2
Modules for Audio Software Development
|
Provides an interface to convolve a signal with an Impulse Response. More...
#include <AuxFIR.h>
Public Member Functions | |
Convolution (const Convolution &convolution)=default | |
void | setImpulseResponse (const std::vector< float > &impulseResponse) |
Sets the Impulse Response for Convolution using the given vector. | |
void | setImpulseResponse (float *impulseResponse, uint32_t size) |
Sets the Impulse Response for Convolution using the given array pointer. | |
void | setImpulseResponse (std::vector< float > *impulseResponse, uint32_t size) |
Sets the Impulse Response for Convolution using the given vector pointer. | |
float | process (float sample) |
Returns the sample value after convolving the current sample with given IR. | |
Provides an interface to convolve a signal with an Impulse Response.
float AuxPort::Audio::Convolution::process | ( | float | sample | ) |
Returns the sample value after convolving the current sample with given IR.
Definition at line 217 of file AuxFIR.cpp.
void AuxPort::Audio::Convolution::setImpulseResponse | ( | const std::vector< float > & | impulseResponse | ) |
Sets the Impulse Response for Convolution using the given vector.
Definition at line 187 of file AuxFIR.cpp.
void AuxPort::Audio::Convolution::setImpulseResponse | ( | float * | impulseResponse, |
uint32_t | size ) |
Sets the Impulse Response for Convolution using the given array pointer.
Definition at line 195 of file AuxFIR.cpp.
void AuxPort::Audio::Convolution::setImpulseResponse | ( | std::vector< float > * | impulseResponse, |
uint32_t | size ) |
Sets the Impulse Response for Convolution using the given vector pointer.
Definition at line 206 of file AuxFIR.cpp.