Building a Browser-Based Karaoke Game with Web Speech API
#1about 2 minutes
Creating a gamified karaoke experience in the browser
The motivation for building a custom karaoke game was to expand the song selection for a favorite band and add a scoring mechanic.
#2about 1 minute
An overview of the Web Speech API
The Web Speech API is a native browser feature split into speech recognition (speech-to-text) and speech synthesis (text-to-speech) for voice input and control.
#3about 3 minutes
Understanding the limitations of the Web Speech API
The API's real-world usability is hampered by inconsistent browser support, reliance on vendor-specific cloud services, and privacy concerns.
#4about 5 minutes
Demonstrating basic text-to-speech and voice navigation
A live demonstration shows how the API can be used for simple tasks like reading selected text aloud or enabling basic voice commands on a webpage.
#5about 4 minutes
Implementing the core logic for the karaoke game
The game's implementation involves initializing speech recognition, handling its tendency to stop by restarting it, and comparing the transcribed text against the song's lyrics.
#6about 6 minutes
A live demonstration of the browser karaoke game
The completed karaoke game is tested by speaking, singing, and intentionally using incorrect words to show how it scores the performance.
#7about 3 minutes
The API's current state and related community projects
While the native API is not yet production-ready for commercial use, the community has built useful tools and projects like Web Captioner and Mozilla's Common Voice.
#8about 1 minute
Practical design considerations for voice interfaces
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 "silly" side projects is a powerful way to combat burnout, learn new skills, and rediscover the fun in software development.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
02:31 MIN
A live karaoke demo and concluding thoughts
Beats in the Browser: Coding Music with JavaScript
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
05:59 MIN
Live demo of the karaoke game in action
Building a Browser-Based Karaoke Game with Web Speech API
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
01:59 MIN
Creating a personal karaoke game for favorite songs
Building a Browser-Based Karaoke Game with Web Speech API
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
02:43 MIN
Key challenges limiting Web Speech API adoption
Is the web ready for voice user interfaces?
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
03:36 MIN
Structuring the logic for a browser-based karaoke game
Building a Browser-Based Karaoke Game with Web Speech API
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
02:28 MIN
Combining a drum machine with karaoke for a live performance
Beats in the Browser: Coding Music with JavaScript
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
04:32 MIN
Demonstrating basic API capabilities with live examples
Building a Browser-Based Karaoke Game with Web Speech API
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
00:59 MIN
Building a custom voice AI with WebRTC and Google APIs
Raise your voice!
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
Featured Partners
Related Videos
Building a Browser-Based Karaoke Game with Web Speech API
Ana Rodrigues
Creating games to make the web fun again
Nolan Royalty
Is the web ready for voice user interfaces?
Tobias MĂĽnch
Beats in the Browser: Coding Music with JavaScript
Rowdy Rabouw
WeAreDevelopers LIVE - Accessibility isn't magic, Longevity, Devrel in times of AI and more
Chris Heilmann, Daniel Cranney & GrahamTheDev
Raise your voice!
Lee Boonstra
Beats in the Browser: Coding Music with JavaScript
New Browser APIs, End of React Create App, Smuggling Data in Emoji and more with Rowdy Rabouw
Chris Heilmann & Daniel Cranney & Rowdy Rabouw
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Speech Processing Solutions
Vienna, Austria
Intermediate
CSS
HTML
JavaScript
TypeScript

JO Media Software Solutions GmBh
Brunn am Gebirge, Austria
Senior
CSS
Angular
JavaScript
TypeScript

Saby Company Page
Sarajevo, Bosnia and Herzegovina
Remote
€40-45K
Junior
Ruby on Rails
Microsoft SQL Server
Google Cloud Platform
+2





