I’m using the gamma synthesis library (https://github.com/LancePutnam/Gamma) for my audio processing. It’s a very nice and easy to use library. The only problem I’m having: Drawing the frequency response of the filter. Right now I’m doing it very inefficently by filtering an impulse, applying a fourier transform and interpolating over each frequency band amplitude. To get smooth results I need a pretty big fft buffer. It’s really not efficent at all.
In the documention of the filter I found a link with the transfer functions of all the different filter types and a lot of extra information. I have absolutely no clue of how transfer functions work. But as far as I can see, it should be possible to calculate the frequency responses directly from the information.
The said document can be found here: http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt
Could somebody help me transform this into a plotting function?
Help would be very much appreciated!