schollz / musicsaur

Music synchronization from your browser.
https://radio.schollz.com/
MIT License
281 stars 17 forks source link

Synchronization with streaming services like Spotify and Youtube? #5

Open schollz opened 8 years ago

schollz commented 8 years ago

Spotify and Youtube both have a seek() function so its doable. However, both APIs seem to only support precision of seconds and not milliseconds. That would mean that using these streaming service APIs would almost certainly not be exactly in sync (I've found that anything that is >30 ms off sounds echoey and annoying). I'll have to dig around some more.

deto commented 8 years ago

I'd imagine the ideal implementation of something like this, would just be a program that would capture audio coming out of your computer, stream it to the other networked servers, and then play it on your computer with a delay to compensate for the network effects.