AuxPort 0.2
Modules for Audio Software Development
Loading...
Searching...
No Matches
AuxPort::Audio::Convolution Class Reference

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.
 

Detailed Description

Provides an interface to convolve a signal with an Impulse Response.

Definition at line 213 of file AuxFIR.h.

Member Function Documentation

◆ process()

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.

◆ setImpulseResponse() [1/3]

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.

◆ setImpulseResponse() [2/3]

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.

◆ setImpulseResponse() [3/3]

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.


The documentation for this class was generated from the following files: