I’m wondering whether a phone browser could listen to someone singing along with a song and give them a Rock Band-style score, without installing an app. What would the tricky parts be, especially for songs, costs, and an online leaderboard?
Could a browser karaoke game score your singing?
Answers
Yes, a browser can access a microphone with the user’s permission and analyze audio in real time. You could compare the singer’s estimated pitch and timing against a prepared vocal melody. That makes a basic local demo quite feasible.
The hard part is making the score feel fair. A raw frequency match misses rhythm, note transitions, vibrato, noisy rooms, and the backing track bleeding into the microphone. You would need song-specific note and timing data, plus testing across different phones and singing styles.
Reply to this answer
A local score and a public leaderboard are different problems. Client-side scoring is fine for a casual challenge, but someone can feed the microphone a recording or alter the score data. If rankings matter, assume submitted scores can be manipulated unless you verify the audio or scoring on a server.
Server checks bring their own costs and privacy questions, especially if you upload people’s voices. For a friendly puzzle, an honor-system score or a leaderboard limited to the device may be enough.
Reply to this answer
The licensing question depends on what the site does with the music. If you host or stream songs, backing tracks, or lyrics, you may need permission for the relevant rights. Letting someone sing along to audio they already have is a different setup, but it is not a guarantee that every use is exempt. Get advice from someone familiar with music licensing before launching.
Budget is hard to estimate without a scope. A small prototype with one song is a very different job from a polished service with a catalog, account system, moderation, and reliable score verification.
Reply to this answer
One design thought: make the score playful rather than a verdict on someone’s voice. Pitch and timing are measurable, but they are not the same as whether a performance sounds good. Let people try without a ranking, and make competition optional. That keeps the game approachable for nervous singers too.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Paxel.4:
It’s meant as a casual challenge, so an honor system could be enough. I hadn’t considered how easily a recording could fool the mic.