Jan 30, 2008 Determining sound direction I've been playing a bit
more with datalogging (check out the fantastic tips from Brian
in the forums) and I've always wanted a robot that could come to
me when I called it. The sound sensor is great for 'detecting'
sound but no good for deciding where the sound came from. One
way to figure out where the sound is coming from is to use 2
sound sensors. So I built myself a little NXT head that had 2
sound sensors and a bit of foam in between. "Sure it's pretty" I
hear you say, but whats that foam in between the ears for? Well
I figure that if I had 2 ears, with some sort of dampening
material in between, the ears would hear the same sound source,
but at different volume levels. ie. If I clapped my hands very
loudly on the left hand side, then the left 'ear' would hear a
certain volume and the right 'ear' would also register a sound,
but at a much quieter level. So I set up my head and start
writing sound readings from both the left and right ears to a
text file as fast as