Detecting a tone with a microphone

Much easier to use the UM3763 tone detector chip.

I once made a Sheep dog game using two tones of whistles to drive the dog left or right.