This is the main focus of the project: to try to locate a source
using an array of microphones and then focus the array in the direction of
the source, obtaining greater suppression of noise than would be possible
using only one microphone. Since the direction of the source is unknown,
we decided to scan for the source by sweeping all possibilities. This is where
the far field approximation significantly reduces computational complexity.
Using nearfield, any algorithm would be forced to evaluate all possible combinations
of three coordinates. With farfield, there are only two angles to
deal with as opposed to three coordinates so there is far less to compute.
Due
to lack of computing power, we were forced to make a few, less-than-desirable
assumptions in order to make the algorithm run at all without crashing. One
of these simplifications was using only three of the microphones to
perform the sweep of possible angles. A further simplification was to assume
that the three microphones could be broken into two pairs in the calculations
for determining the pair of angles from which the maximum was coming from.
Further, hardware and computer limitations limited sampling to a rate of 8000 Hz from each of eight microphones and made the processing cost of upsampling prohibitive beyond a factor of around 10.