Python Forum

Full Version: Voice Command Calculator Using Speech Recognition PyAudio
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Build A Voice Command Calculator That responds to your voice
Here is the full tutorial to build your voice or speech command calculator: Voice Command Calculator in Python

Algorithm:
1. Take the input from the user ( Speech input not keyboard stroke )
2. Convert that to text or string.
3. Split up the string into three parts. Operator and two operands.
4. Use a function to calculate.

If the user says, " six minus four " the output will be "2"
The calculator can do more than this. Check this link out for full source code and tutorial:
Python Voice command calculator