I hacked something in an hour once, and made a program that would recognize the song that was playing and played the video clip of that song from YouTube in sync:
https://www.youtube.com/watch?v=K6FxfZH_ZK4
The phone in that video is just playing a song, it doesn't have any connection to the computer at all.