Building a Karaoke Machine with Angular and HTML5 Speech Recognition
Learn how I built a karaoke machine using Angular, the HTML5 Web Speech API, and RxJS. The app lets you select songs, sync lyrics, and grade singers as they sing along.
why LRC was awesome for this [ti:Never gonna give you up] [ar:Rick Astley] [00:02]Never Gonna Give You Up [00:16]Rick Astley [00:19]We're no strangers to love [00:23]You know the rules and so do I
give you up", ar: "Rick Astley", lines: [ { time: 19, text: "We're no strangers to love" }, { time: 23, text: "You know the rules and so do I" }, { time: 27, text: "A full commitment's what I'm thinking of" } ] }
=> { console.log(e.results[0][0].transcript); }); recognition.start(); Using The Recognition API Constructor may vary depending on browser used ie.: new webkitSpeechRecognition()