This project makes use of a PiMusicBox music player running on an IoT device (Raspberry Pi) that we can control from Windows 8, Windows Phone, XBOX One and the Microsoft Band.
We can do Play, Pause, Next, Previous, Volume Up, Volume Down and search both local and online music from each of those devices. On Windows Phone and the Microsoft Band, those commands can all be executed using speech. Even more exciting is that whenever a track changes from any devices the new track information shows up on the Microsoft Band.
We also connected the IoT device directly to Azure (no client software involved) to keep a history of every track that plays. And just because we could, we even created an Excel dashboard that shows the most popular tracks played by artist over time.
The project is built on top of Pi MusicBox and Mopidy in additon to the Web Application Template.
Technologies used:
- Raspberry Pi
- XBOX One
- Windows Tablet
- Windows Phone
- Microsoft Band
- WinJS
- JavaScript
- HTML
- WebSockets
- Python
- Speech Recognition
- Spotify
- YouTube
- Web
- IoT
- Rich Client
- and more
The photo below shows of all the components working together:
- Raspberry Pi
- Windows Phone
- Configure and Deploy PiMusicBox and optionally follow the instructions to enable playback statistics in Azure.
- Make note of the ip PiMusicBox is running on and modify "start_url" to point to that ip in MusicNet.Shared/config/config.json and do the same for "webSocketUrl" in MusicNet.WindowsPhone/js/default.js
- Deploy to your device, for voice commands see vcd.xml