V.A.C (Voice-Operated Calculator) is an innovative Python-based application designed to perform mathematical calculations through voice commands. This user-friendly tool leverages speech recognition and natural language processing to interpret and execute spoken arithmetic operations. It simplifies calculations by eliminating the need for manual input, making it an ideal solution for accessibility and convenience.
- Voice Recognition: Understands spoken commands for arithmetic operations.
- Supports Basic Arithmetic: Addition, subtraction, multiplication, division, and more.
- Error Handling: Handles invalid inputs and provides feedback for unsupported commands.
- Interactive Interface: Easy-to-use interface with audio feedback.
- Python: Core programming language.
- SpeechRecognition: For voice input processing.
- Pyttsx3: For text-to-speech audio feedback.
- NumPy: For precise mathematical computations.
To set up and run V.A.C on your local machine, follow these steps:
-
Clone the Repository:
git clone https://github.com/yourusername/vac-voice-calculator.git cd vac-voice-calculator
-
Set Up a Virtual Environment (optional but recommended):
python -m venv env source env/bin/activate # On Windows: env\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Application:
python main.py
- Launch the application by running
main.py
. - Speak your arithmetic query clearly into your microphone (e.g., "What is 15 plus 7?").
- V.A.C will process your query and provide the result via text and audio feedback.
- To exit, simply say "exit" or "quit."
- "What is 25 plus 10?"
- "Multiply 6 by 7."
- "Divide 100 by 4."
- "Subtract 8 from 50."
V.A.C/
├── vac.py # Main application script
├── requirements.txt # Python dependencies
├── README.md # Project documentation
├── modules/ # Custom modules (if any)
└── assets/ # Additional resources (e.g., audio files)
Contributions are welcome! If you have ideas for improving V.A.C, please fork the repository and submit a pull request.
- Fork the repository.
- Create a new branch for your feature:
git checkout -b feature-name
. - Commit your changes:
git commit -m 'Add feature-name'
. - Push to the branch:
git push origin feature-name
. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Python community for their excellent libraries.
- Open-source contributors for making speech recognition and text-to-speech tools accessible.
For any questions or feedback, feel free to reach out:
- Email: [email protected]