Difference between revisions of "Heart Rate Music Player"
Line 7: | Line 7: | ||
Arduino Code and Max Patch:[http://media.wpi.edu/Academics/Depts/HUA/Manzo/HeartRateMusic/nfcebry_mu3615_finalproject.zip File] | Arduino Code and Max Patch:[http://media.wpi.edu/Academics/Depts/HUA/Manzo/HeartRateMusic/nfcebry_mu3615_finalproject.zip File] | ||
− | <mediaplayer>Nfcebry_mu3615_final_project.mp4</mediaplayer> | + | <mediaplayer>File:Nfcebry_mu3615_final_project.mp4</mediaplayer> |
'''NOTICE:''' If above video does not appear, try switching web browsers. This type of media file has been found to conflict with Google Chrome and other browser types. | '''NOTICE:''' If above video does not appear, try switching web browsers. This type of media file has been found to conflict with Google Chrome and other browser types. |
Latest revision as of 17:41, 15 April 2015
The concept behind the Heart Rate Music Player was to control playback of music based on a person's heart rate. The idea was that the music would automatically adjust to the intensity of a workout. A higher intensity workout (higher heart rate) would cause music with a faster tempo to play.
When presented, the project did not actually read a user's heart rate. The implementation of this project is an Arduino passing data to a Max patch about a user's heart rate . When presented, this data was generated based on a potentiometer.
The patch assumes that it heart rate data is being passed by a serial connection at 9600 Baud on COM port 4 (or d). It displays the heart rate signal it is receiving, as well as a gain slider and an on/off switch provided by an ezdac. It also indicates which of four heart rate zones the signal is in, and randomly chooses one of a set of songs that has been assigned to that zone to play.
Arduino Code and Max Patch:File
The media player is loading...
NOTICE: If above video does not appear, try switching web browsers. This type of media file has been found to conflict with Google Chrome and other browser types.