DSPRelated.com
Forums

Fixed Beamformer doubt

Started by nity...@gmail.com July 7, 2008
Hello friends,

I am using a fixed beamformer to filter an array of microphones but I have tried it many times & not getting positive result. Please reply to my problem as soon as possible. Here I m writing about what I did in filtering...

First of all I made a function for calculating the DASBF(delay & sum)weights:
p = point location
a= unit vector along DOA
c42 speed of sound

then T=a'*p/c; time delays
for m=1:t2 % t2 =no of microphones
W(1,m)=exp(j*w*T(m));
end

W is the complex weight vector.
I multiplied this complex weight vector to fft of audio signals at different frequency band.

But the weights are complex.

matrix(1:t1,1:t2)=0;
matrix(floor(t1*low/samplerate):floor(t1*high/samplerate),1:t2) = 1;
matrix(floor(t1*low/samplerate):floor(t1*high/samplerate),1:t2) =matrix(floor(t1*low/samplerate):floor(t1*high/samplerate),1:t2)*w;
I made this matrix. low =lower frequency band
high =higher frequency band
t1 =total no of datas

then I multiplied this matrix to the fft of signal data & taken ifft
out = (real(ifft(sum(data')')));

If some one who worked on beamformer then please reply I can send u whole code. But I dont know where am I wrong. Please help me...