I need to design an amplifier to conteract a low pass filter, so I need simply to build a "filter" where i can define a transfer function (I will simply invert numerator an denominator).
For simulation I used TF Construction an TF interconnection to simulate the filter and the amplifier however these VIs dont process waveform and signal variables.
So i'd like to know if there is a way to apply a waveform to tranfert function or to buid a filter with aspecific tranfer function?
I did the below processing, it seams to be correct. i'd like to verify if my way of thinkung is correct.
I need to apply this transfer function to sound acquiredwith microphone and resend it speaker:
It corresponds to:
First, I indexe the sound stream with for loop. sencond, I computes FFT.Next, I indexe the FFT. In Math Sript I calculate the response of the TF. the argument of the function is the index of the FFT array (this is the main point that embarrasses me). I multiply the result by the FFT elements, and finally I reconstruct the sound stream.
Is this the right way to do that?
ie is the result of this processing the output of the obove_cited transfer function?