Upload
samuel-marshall
View
219
Download
2
Tags:
Embed Size (px)
Citation preview
2
Project Overview
Workout motivation tool that will manipulate music
Motivate runner to reach target heart rate
Available to iOS mobile users
Purchased in App Store for $1.00
3
Design Goals
User friendly GUI
Heart rate detection using Polar heart rate monitor
Music manipulation
Instantaneous performance data
Previous workout summaries
4
Design Overview
AccelerometerHeart Rate
MonitorMusic Playlist
User-defined Variables
Music
beatRunner
GUI
5
User Input – Settings Screen
Select paired HRM
User defined variables used to calculate target heart rate and calories burned
Enable music algorithm
6
App Features
Cardio
Fat burning Cross training
Select from three workouts
Set workout times
Select a playlist
Main screens navigation buttons
7
Heart Rate Monitor (HRM)
Polar Wearlink+ Heart Rate Transmitter
Paired to iOS mobile device
Transmits heart rate via Bluetooth
Heart beats per minute displayed in GUI
Determine if user is in target heart rate zone
8
Heart Rate Detection Testing
• Unrecognizable packets in serial port terminal
• Experimenting with setup
parameters
9
Workouts and Target Heart Rate (THR) THR zone intensity
Workout Type THR Zone Intensity
Fat Burning 60% - 70%
Cardio 70% - 80%
Cross Training 80% - 85%
THR = (Maximum - Resting) * Intensity + Resting
10
Accelerometer
iOS mobile device’s 3-axis accelerometer
UI Accelerometer class in developer library
Receive x, y, z direction values from hardware
Time Stretching Change tempo while preserving pitch
Slow down song: repeat samples
Speed up song: remove samples
Done in milliseconds range
Two algorithm classes: Time Domain – SOLA Frequency Domain – Phase Vocoder
12
SOLA Time Stretching Algorithm
Synchronous-Overlap-Add
Time Domain
Overlapping offset
Window Length
73.9 BPM 60 BPM13
14
Song Selection
Must have the BPM in the ID3 tag
Place in order of BPM
Select based on ± 20 % of desired BPM
Keep play count
14
15
Cost Analysis
Budget: $400
Estimated equipment cost Polar Wearlink+ Heart Rate Transmitter with Bluetooth – $79.95
Development cost $41.27/hour wage: $56,908
125,000 downloads expected at $1.00 per download
Total profit: $68,091
16
Current Status
Problems Controlling music playback speed
Reading heart rate monitor values using terminal
Progress Reading accelerometer data
Detecting the Bluetooth heart rate monitor
Choosing music from the iPod library
17
Future Work
Finish heart rate monitor coding by 3/28/2011
Finish GUI by 3/28/2011
Finish pedometer coding by 3/24/2011
Finish SOLA algorithm by 3/28/2011
Integrate all modules into a single working app by 4/6/2011
Finish testing and debugging by 4/14/2011
18
Did you know...
In 2010, there were 39.989 million iPhone sales
An annual study found that 49.6% of Americans workout at least 30 min, three times a week
A study conducted listening to music boosts weight loss and helps people work out regularly
A study concluded that people who jogged while listening to music covered 24% percent more distance than joggers who did not listen to music
18