This is a simple voice calculator web app that allows users to speak a mathematical expression and get the result calculated and displayed on the webpage. It uses the Web Speech API and Google Text-to-Speech API.
To use the app, simply click on the "Click to Speak" button and speak a mathematical expression using simple English phrases such as "plus", "minus", "times", and "divided by". The app will recognize the expression, calculate the result locally, and display it on the webpage. The result will also be spoken out loud using the Google Text-to-Speech API.
This app was built using HTML, CSS, and JavaScript. It utilizes the following APIs:
- Web Speech API for speech recognition
- Google Text-to-Speech API for speech synthesis
To get started with the app, simply clone the repository and open the index.html
file in a web browser.
git clone https://github.com/your-username/voice-calculator.git
cd voice-calculator