I still am not clear on how to establish the direction of the wave, can u elaborate on analyzing the zero crossing duty cycle to determine the
direction. a 45 deg quadrant is fine.
You will get a series of time measurements from microphone 1: m1[1],m1[2],m1[3] ... from microphone 2: m2[1], m2[2], m2[3]. You calculate: (m1[n+1] - m1[n])/(m2[n]-m1[n]). If it is less than 0.5 - microphone 1 is leading, and if it is more than 0.5 - microphone 2 is leading.
Say, on microphone one, you get 10, 30, 50, 70 and on microphone two you get 15, 35, 55, 75. The result would be (15-10)/(30-10) = 25%. Which means that microphone 1 is leading. And the sound is left of the centerline between microphones.
It is a little bit more to it because there might be some noise and you will have to re-synchronize the sequences all the time. E.g. you can get 10, 12, 13, 30, 50, 70 instead of 10, 30, 50, 70. You got two extra zero crossings 12 and 13 not recorded on the other microphone. You can drop all these numbers and re-synchronize at 30.
You can also calculate the TD delay mentioned in the paper as TD = m2[n] - m1[n]. If you sound source is far enough, you can use the formula from the paper to calculate the angle. Won't work if the sound source is close.