About - seigneur/HeartSong GitHub Wiki
HeartSong is an open source application that plays back songs based on the heart rate measurement of the person. It measures heart rate of the user based on the intensity of the red color in his/her finger, which needs to be kept on the camera lens of the phone during the measurement. A numerical value of beats per minute is generated from this measurement. Depending on the value, the app plays a song with a lower or higher beats per minute to normalize the heart rate. So if the heart rate is lower than the standard normal value, a fast paced song would be played and if the heart rate is higher than normal, a slow, soothing song would be played.
Note: There might be a delay of 5-7 seconds before the song starts playing for the first time.
Since this is a first version, please give your suggestions and comments! And we will try to make it better! Cheers!
For heart rate measurement we have used the code (licensed under Apache 2.0) from https://code.google.com/p/android-heart-rate-monitor/ created by Justin Wetherell. We would like to give a shout out to him for some fabulous work.
Apache 2.0 license: http://www.apache.org/licenses/LICENSE-2.0.txt
**** Disclaimer ****
The App is meant to be for fun purposes and not a medical remediation for abnormal heart rate. The beats per minute reading also might not be accurate and a medically certified instrument should be used for accurate measurements.