Il 12/11/24 05:28, Pablo Frank ha scritto:
Hi all, in the .cpp file attached there is an oscillator that works
ok, and a feedforward filter (line 64) that i don't know how to insert
between the oscillator (line 142) and the soundout function (line 143)
to get it working. I'm sure it's a simple programming matter that most
of you can solve it immediatelly. Thanks in advance for any help,
Probably something like:
feedforward(&buffer, i, a0, a1, delay);
where a0 and a1 are the filter coefficients and delay is the distance
between current input sample and delayed input tap in number of samples.
Stefano