Systems and methods for detecting a medical condition using a mobile computing device are provided. In some aspects, a computer receives sound measurements generated at a microphone. The computer receives thorax movement measurements recorded by a motion measurement unit in parallel with recording the sound measurements at the microphone. The computer determines a relationship between the sound measurements and the thorax movement measurements. The computer determines a medical condition based on the relationship between the sound measurements and the thorax movement measurements. The computer provides an output representing the medical condition.