on your iPhone, go to screen mirroring and click on the air play server named by your desktop ID that is in the bottom right corner of the Air Server home screen
debugging
it might take a little bit to show up on your iPhone, you can try restarting Air server on your windows if it isn’t working
make sure your iPhone and laptop are on the same wifi
starting the app
use npm start or npx expo start (which ever you were using)
make sure you are in expo go mode
make sure the app connects to Spotify
if it says invalid rederict uri when you try to log in, contact me with the url your expo app is running on so I can add it to the list in the Spotify developer project
if your playlists aren’t showing up, then contact me with your spotify email so I can also add it to the Spotify developer project
if when the app redirects you to open spotify, the Air Server freezes, try to restart it
using the treadmill (don’t let any visitors on the treadmill for safety reasons)
use the remote to control the speed and toggle on and off
Project Overview (some ideas of what to say)
Rhythmic React is a mobile app that automatically matches your favorite music to your running or walking pace during your workout.
Similar applications have shown that people automatically sync their steps with music if their pace is close enough to the music tempo, showing the power of music to help you stay on pace.
The home page shows some of your recent workouts and statistics over the past month
Once you login with your Spotify you can select from your saved playlists that you want the app to choose songs from during your workout
once you start your workout it begins by playing a random song from your selected playlists while it calibrates your workout pace
as you can see it keeps track of your steps and workout time in order to calculate your steps per minute
The steps per minute is used to retrieve songs that have a similar value of beats per minute
Once you are satisfied with your pace you can click “set pace” which will switch the song that is currently playing to a song that matches your current pace
once the current song is over it will pick a new song based on your steps per minute right before the previous song ends. But if you don’t want to wait for the current song to end, you can click set pace to change the song to your current pace.
Your steps per minute is calculated as a rolling average of your most recent step counts in order to get a more accurate calculation of your current rate while not being too sensitive to small changes
it keeps track of your recently played songs in order to not repeat songs
once you are done with your workout, you can see your average rate, time, distance, and recently played songs