Hi! Good Morning!!!
I'm writting for second time at this forum because i need your help one more time.
As I said in the last message i'm doing my final proyect with Pure Data. In this case i'm trying to develope a Wah-Wah effect which is based in a parametric filter which is moved in its main frequency along the time.
I found a path in this forum a few weeks ago which is called autowah.It's based on a parametric filter which change its main frequency according to a LFO which we can change its frequency and shape.
Then, here is my problem. I was developping this parametric filter wich i told before basing it in a paper which i found surfing the internet. The problem is that after i developed it in Matlab (a mathematics software) and run it right, i tried to translate it to Pure Data enviroment and it didn't run. I´m not sure if it's a patch's fault or a Software fault, because i couldn't fix the problem whatever i tried.
Explanation of the problem:
i have it implemented as i implemented it in matlab, and the filter coefficients are right if you compare it whith the Matlab ones. Then, it should work however it doesn't run. I controlled the problem and it appears when the output signal is put in the delay inlet which makes the main loop. The filter is based in a direct line from the main signal imput wich is summed to a delayed one sample signal, and two sample delayed one from the same signal. Add to it, the output is delayed in the same way one and two samples, and summed to the rest of the signals before the output. The problem appears when this output signal is delayed and summed at the end. Then the mean of the output signal (calculated with env~) is over four hundred dB and at the end most of the signals are inf# or over four hundred dB, except the main signal ways which bing values near to ninety dB. Then, I have tested the delays whith impulses in their entrance and they run well.
Thus i'm looking for your advices to make it runs well. The filter is similar to vcf~ but i need to do it by myself.
I left a link to my personal DropBox account where are all the files you need in Pure Data or even in Matlab(i have a problem uploading the things to this page). Add to it there is a video recording which explains perfectly which is the problem. (it is in spanish (i'm sorry)).
There you could find a carpet with the autowah.pd files found in this forum.
Another folder which contains the matlab files where the main one is which is called pruebaeqbanda2.m. In the last folder you could find the pure data files where the main one is called pruebafiltrobueno.pd. Add to it there is a .pdf file which explains the mathematic teory behind the filter and a video which i show how it works.
Thank you before your help, and excuse me about my english (i promisse i will do it better for the next time)