Ana Rodrigues

Building a Browser-Based Karaoke Game with Web Speech API

It started as a fun karaoke game for her favorite band. It ended as a cautionary tale about the Web Speech API.

Building a Browser-Based Karaoke Game with Web Speech API
#1about 2 minutes

Creating a personal karaoke game for favorite songs

The project was born from the desire to sing more than just one available song from a favorite band at karaoke.

#2about 2 minutes

Choosing a native browser API for speech-to-text

The Web Speech API was chosen over paid services because it is a free, native browser feature for speech recognition and synthesis.

#3about 3 minutes

Understanding the limitations of the Web Speech API

The API has significant limitations, including poor cross-browser support, reliance on vendor servers like Google and Apple, and privacy concerns.

#4about 5 minutes

Demonstrating basic API capabilities with live examples

Live demos showcase the API's core functions, including speech synthesis for reading selected text and speech recognition for voice navigation.

#5about 4 minutes

Structuring the logic for a browser-based karaoke game

The game logic involves synchronizing lyrics with audio playback time and comparing the transcribed speech with the expected lyric text.

#6about 6 minutes

Live demo of the karaoke game in action

The completed karaoke game is demonstrated by speaking, singing, and intentionally using incorrect words to test the matching logic.

#7about 3 minutes

Assessing the API's readiness and exploring community projects

While the API is not yet production-ready for all use cases, it powers many interesting community projects, polyfills, and captioning tools.

#8about 1 minute

Applying best practices for voice interface design

When designing for voice, it's crucial to use concise content, consider conversational flow, and plan for error recovery and cognitive load.

#9about 4 minutes

Finding joy and learning through unproductive side projects

Building "useless" or fun side projects is a powerful way to combat developer burnout, learn new technologies, and rediscover the joy of coding.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
Building a "shoutout" component in plain HTML/CSS/JavaScript
Every Wednesday we meet at noon to talk about a lot of tech news, tools and resources in something we call WeAreDevelopers Live . We go live on YouTube and afterwards we cut out short videos to post on social media. What we needed was an obvious “sho...
Building a "shoutout" component in plain HTML/CSS/JavaScript
DC
Daniel Cranney
Dev Digest 190: GitHub A11Y action, >12s Sora 2 videos and 42 CSS units!
Inside last week’s Dev Digest 190 . 🙅 Developers don’t trust AI, and that’s a good thing 🤖 Why everyone is talking about AI agents 🔓 Autonomous AI hacking and the future of cyber security 😨 Windows 10 support ends, millions of PC’s fall off a securi...
Dev Digest 190: GitHub A11Y action, >12s Sora 2 videos and 42 CSS units!
BR
Benjamin Ruschin
What Developers Really Need to Create Great Code Demos
Every developer on earth has, at some point, had another developer to thank for a breakthrough, a success, an aha moment they wouldn’t have had without coming across that blog post, that open-source contribution, that reply on socials or that humble ...
What Developers Really Need to Create Great Code Demos
BR
Benjamin Ruschin
Lessons for Vibe Coders and Developers
In late July 2025, the women-only dating-advice app Tea went viral for all the wrong reasons. Marketed as a safe, private space to anonymously flag men for “red-flag” behavior, hackers attacked the app, accessing over 70,000 user-submitted images in...
Lessons for Vibe Coders and Developers

From learning to earning

Jobs that call for the skills explored in this talk.