Patent attributes
A method for detecting wind using a microphone and a speaker of an electronic device. The method obtains a microphone signal produced by the microphone. The method obtains a speaker input signal produced by the speaker that is emulating a microphone capturing ambient sound in an environment through the speaker. The method determines a coherence between the microphone signal and the speaker input signal and determines whether the coherence is below a coherence intensity threshold. In response to determining that the coherence is below the coherence intensity threshold, the method determines a presence of wind in the environment.