Directivity pattern of a microphone array is fourier transfrom of microphone weight values. By modifying the amplitude weights, we can modify the shape of the directivity pattern.
I can really see this when all microphone weights are equally valued.
Fourier transform of a rectangle is a sinc func like picture below:
Now I believe if I apply a sinc function for my microphone array's element values I should get a rectangular shape in my directivity pattern.
I have a simulation program of my own. Which works when microphone values are equally valued . But I am not getting what I expect(a rectangular pattern) when I give sinc values to microphone array elements.
Am I missing something teorically or it is just my program bugged?
Edit: As requested in comments, weights that I apply can be seen in the graph below. 40 is the microphone count of my array. Sorry for disgusting looking graph it is the output of my C++ program.