How to interpolate FFT path to draw a curve around the response

How to interpolate FFT path to draw a curve around the response rather than drawing a line from each point to the next?

I dont want code per-se, ijust want an explanation on how i could about doing it. thanks!

example:

Hi there.

I would find the peaks and use the points to draw Catmull-Rom splines.

Here’s a good explanation of Catmull-Rom splines and an easy C++ implementation:

Peak finding algorithms are easy to find (no pun intended!).

Hope this helps

1 Like

This is not a very practical suggestion perhaps, but if you pad your FFT with zeros then you get this kind of interpolation for free. Well, not entirely free because your FFT is now much larger. But try it out for fun: if your FFT is now size 1024, pad it with zeros to length 4096 and see what happens.

1 Like