Live data from Hacker News

Show HN: Mic Drop, a real-time multiplayer karaoke game

micdrop.gg

11–20 of 48 posts

Re: Show HN: Mic Drop, a real-time multiplayer karaoke game

#11

Earlier quoted context omitted.

that sounds awesome! do you recall what it was? i'd love to check it out. (and thanks!)

Comedy Night. It’s on steam. There’s plenty of YouTube videos. Viewer beware, I expect a lot of it to be edgy cringe.

looks fun :)

Re: Show HN: Mic Drop, a real-time multiplayer karaoke game

#13
post #4

curious how you keep the lyric highlight in sync across players given this is browser audio, not a native client. each phone's audio pipeline has different buffering (bluetooth headphones alone can add 100-200ms of latency depending on the device), so if the highlighted line advances off local playback position rather than a shared server clock, two players on the same "beat" can end up seeing different words highlig…

I'm not the developer but I'd venture that it's a WebRTC "metadata track" over the same MediaStream the audio is going through.

Metadata tracks aren't formally part of the spec but there's ways to either inject it into the video frame data payload or encode them to audio.

There's libraries like LiveKit that abstract this and make meta tracks easy.

Re: Show HN: Mic Drop, a real-time multiplayer karaoke game

#17
post #4

curious how you keep the lyric highlight in sync across players given this is browser audio, not a native client. each phone's audio pipeline has different buffering (bluetooth headphones alone can add 100-200ms of latency depending on the device), so if the highlighted line advances off local playback position rather than a shared server clock, two players on the same "beat" can end up seeing different words highlig…

It isn't a karaoke game there are no lyrics to sync.

Re: Show HN: Mic Drop, a real-time multiplayer karaoke game

#19
post #4

curious how you keep the lyric highlight in sync across players given this is browser audio, not a native client. each phone's audio pipeline has different buffering (bluetooth headphones alone can add 100-200ms of latency depending on the device), so if the highlighted line advances off local playback position rather than a shared server clock, two players on the same "beat" can end up seeing different words highlig…

I'm not the developer but I'd venture that it's a WebRTC "metadata track" over the same MediaStream the audio is going through. Metadata tracks aren't formally part of the spec but there's ways to either inject it into the video frame data payload or encode them to audio. There's libraries like LiveKit that abstract this and make meta tracks easy.

I don't think any web browser is able to make use of WebRTC metadata tracks.

Re: Show HN: Mic Drop, a real-time multiplayer karaoke game

#20
Nice one! I built something similar [1]. It has you type in the name of the actual song and artist and the game compares it to a database of lyrics. The goal is to find as many songs as possible that contain a given word (or one of its derivatives) within one minute. Getting actual lyrics was the hardest part, so not all songs are in there.

[1] https://deriese.net/songs.html?t=hn

Post reply on HN