Our design began as a simple solution to a simple problem. Early on, we realized that even though we have some of the most powerful devices and the most accurate forecasts at our fingertips, sudden changes in weather still somehow catch us off guard. Most people don’t routinely check the day’s forecast in the morning, and as a result, we all know what it feels like to be caught out in the rain without an umbrella or stuck in the heat of the day carrying a heavy jacket. While these problems may seem inconsequential, they are still issues that don’t have to exist, and we found ourselves well suited to take them on. In order to prevent people from being caught out by the weather, we had to make them aware of it early in the morning, soon after they wake up. We decided that the best way to do this was by actually using their alarm to inform them of what the weather conditions would be for that day. We began by using the weather API from yahoo weather to return a coded value from 0-47 indicating the current weather condition for that day. We then grouped these values into about seven different categories including sunny, windy, night, and thunderstorms. We then began amassing an inventory of around one hundred songs with obvious weather connotations (Here Comes the Sun, The Adventures of Rain Dance, etc.) and assigned them to their corresponding weather condition. By using a series of arrays, we stored and then randomly selected one of these songs based on the weather conditions of the users current location. The user can then choose to play the randomly selected song using SoundCloud, or they can choose to play it as an alarm the next day. We hope that this project can both serve as an aesthetically pleasing music player based on the weather, as well as serving to provide weather information in a way that will make it more accessible to users. In the future, we hope to provide additional support for more songs, as well as providing a way for users to suggest and rate songs as desired. We also hope to port the program to other devices including a potential iOS or Android app.
Built With
- css
- css3
- digital-reasoning
- html
- html5
- javascript
- jquery
- nashville-spirit
- simpleweather
- yahoo-weather
Log in or sign up for Devpost to join the conversation.