daisysp::FIRMemory< 0, 0 >¶
Public Functions¶
Name | |
---|---|
void | SetStateBuffer(float state[], size_t length) |
void | Reset() |
Protected Functions¶
Name | |
---|---|
FIRMemory() | |
size_t | MaxBlock() const |
bool | SetCoefs(const float coefs[], size_t size, bool reverse) |
Protected Attributes¶
Name | |
---|---|
float * | state_ |
const float * | coefs_ |
size_t | size_ |
size_t | state_size_ |
Public Functions Documentation¶
function SetStateBuffer¶
Parameters:
- state - pointer to the allocated memory block
- length - length of the provided memory block (in elements) The length should be determined as follows length >= max_filter_size + max_processing_block - 1
Set user-provided state buffer
function Reset¶
Protected Functions Documentation¶
function FIRMemory¶
function MaxBlock¶
function SetCoefs¶
Parameters:
- coefs - pointer to coefficients (tail-first order)
- size - number of coefficients pointed by coefs (filter length)
- reverse - flag to perform reversing of the filter
Return: true if all conditions are met and the filter is configured
Configure the filter coefficients
Protected Attributes Documentation¶
variable state_¶
variable coefs_¶
variable size_¶
variable state_size_¶
Updated on 2024-01-03 at 19:38:46 +0000