Using the Web Speech API it is very easy to control a web application using your voice. In this small example, I play songs using the Spotify Web API when certain commands are said.
You can try it on https://jmperezperez.com/spotify-play-with-voice/
MIT