This is a simple voice recognition project built with the Web Speech API. It captures your voice, transcribes it into text, and supports a basic voice command to change the background color of the page.
🌐 Live Demo: https://web-speech-eta.vercel.app/
- 🎤 Speech to Text: Speak into your microphone, and your voice will be transcribed into a text area.
- 🎨 Voice Command: Say
change background color to <color>and the page background will change accordingly.- Example: "change background color to red"
- Supported colors depend on standard CSS color names.
Currently only works in WebKit-based browsers like Google Chrome and Safari.
Due to limitations with the Web Speech API, Firefox is not supported at this time.
To run the project locally:
# 1. Install dependencies
npm install
# 2. Start the development server
npm run dev