An electronic apparatus includes an array of microphones for detecting audible sounds generated by a patient and for generating audio information representing the detected audible sounds, a first beamformer having a first adaptability speed and configured to generate first audio information and first noise information from the audio information, a second beamformer having a second adaptability speed which is slower than the first adaptability speed, the second adaptive beamformer configured to generate second audio information and second noise information from the audio information, an audio classification unit for generating audio classification information based on the first audio information, a head movement detection unit for generating head movement information based on at least one of the second audio information, the first noise information, and the second noise information, and a diagnosis unit for determining a sleep apnea diagnosis based on the audio classification information and the head movement information.