How to detect when a person is talking?

Do a Fourier transform and look for a repeating common pattern. Narrow the parameters if you're concerned with false positives. Widen if false negatives. Experiment!