Some interesting ways you might extend this project include:
- Run the software on a Raspberry Pi or Beaglebone Black instead of the Arduino Yun. The software should work without changes as long as Flask and madplay are installed.
- Copy your music collection to the device to make a WiFi controlled boombox. Consider extending the application to shuffle and randomly play the music files.
- Hook up a PIR motion sensor to the Yun and have the web page tell you if someone is near the device and ready to be pranked!