1. A method for processing speech spoken by a user, the method comprising: at an electronic device that includes a processor, performing: receiving an input sound by a sound sensor; detecting the speech in the input sound; determining first characteristics of an identified first frequency range of the speech and second characteristics of an identified second frequency range of the speech in response to detecting the speech, the second frequency range differing from the first frequency range; determining, by a speech direction determining unit of the processor, whether a direction of departure of the speech is toward the electronic device based on the first characteristics and based on the second characteristics, the processor configured to recognize a command in the speech based on an indication of speech direction detection; and initiating a function associated with the recognized command at the electronic device in response to determining that the direction of departure of the speech is toward the electronic device based on the first characteristics and based on the second characteristics.
1. A method for processing speech spoken by a user, the method comprising: at an electronic device that includes a processor, performing: receiving an input sound by a sound sensor; detecting the speech in the input sound; determining first characteristics of an identified first frequency range of the speech and second characteristics of an identified second frequency range of the speech in response to detecting the speech, the second frequency range differing from the first frequency range; determining, by a speech direction determining unit of the processor, whether a direction of departure of the speech is toward the electronic device based on the first characteristics and based on the second characteristics, the processor configured to recognize a command in the speech based on an indication of speech direction detection; and initiating a function associated with the recognized command at the electronic device in response to determining that the direction of departure of the speech is toward the electronic device based on the first characteristics and based on the second characteristics. 4. The method of claim 1 , wherein: the first characteristics include a first energy value associated with the first frequency range, and the second characteristics include a second energy value associated with the second frequency range.