-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
please change the lines from FIR-filter-Arduino-Library/src/FIR.cpp lines 40 and 41 from
for (int i=0; i<FILTERTAPS; i++) { // we step through the array
out += coef[i] * values[(i + k) % FILTERTAPS]; // ... and add and multiply each value to accumulate the output
to
for (int i=1; i<=FILTERTAPS; i++) { // we step through the array
out += coef[i-1] * values[(i + k) % FILTERTAPS]; // ... and add and multiply each value to accumulate the output
you can easily check that your code doesn't work by checking an impulse response.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels