- Load 2 channels of audio signals, recorded with a pair of microphones. The example below uses microphones with 60cm spacing.
- Cut frames, get cross-correlation of the frames.

- Calculate the look-up tables for phase (PhiLUT), pitch (PitLUT)…

… and “phase-pitch” 😉

- Multiply the cross-correlation vector from point 2 by the 3 PoPi-LUTs above.
- Sum the 3 sub-results (L+O+R).
- Wanna try out cascading different approaches?
– If not, just go to point 9. But.
– If yes, create one more sub-final matrix by multiplying the sub-results
(dot products from point 4) instead of summing them. - Sum the sums (from p.5), sum also the dot-products (from p.6).
- Below you’ll find examples of summing (L+O+R) and multiplying the (L*O*R) sub-results.
Finally, you also see the results of cascading the two approaches.

- Download the code.
- Check out the theory.
Leave a comment