Skip to content

FAB123/py_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator with voice

This is a my first Python GUI program. when i plan to create a program i think i want some thing different. so i added voice support to this program, it may help some one who suffered vision disability.

Images:

Key Features

  • Voice recognition.
  • Speech Support.
  • Can Enable and Disable TTS.
  • Can use keyboard instead of mouse click.
  • Various Themes (High Contrast Theme Available).
  • Detailed in Help file.

Planed Addons

  • gesture support

Installation

This Program require pyttsx3 library to enable voice.

pip install pyttsx3

Ubuntu / Linux Mint

sudo apt install libespeak-dev

This Program require speech_recognition library to enable voice.

pip install SpeechRecognition

Additional Requirement

if you get error when use pyttsx3 may need some additional components. so please install pypiwin32 also

pip install pypiwin32

if you get error when use speech_recognition may need some additional components. so please install py_audio also

python -m pip install PyAudio

Windows

pip install pipwin
pipwin install pyaudio

Ubuntu

sudo add-apt-repository universe
sudo apt-get install python-pyaudio python3-pyaudio

Contributing

The program on initial stage, We try to implement more features. Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Usage Guide

+----------------------------------+
|       Basic key definition       |
+----------------------------------+
Sign Definition
% Percentage
v Square root
pie pie
^ exponentiation
log logarithm
ln natural logarithm
tan tan
sin sin
cos cos
! factorial
Fx More Function
+ add
- subtract
* multiplied by
/ divided
= equal

Supported Voice Commands

Note : Program Find Specified Command in your word eg :- if you said "addition" program detect "add" then excute addition fuction
Command Definition
Calculator Start Voice Command
Quit Quit Voice Command
Clear Clear Screen
add addition
sub Subtraction
div divide
Equal equal
            FAQ:-

Q1. How to start Voice Command? A. To Start Voice Command Just say "Calculator" then say first Argument then Operation Then Second Argument

     Will be Update Soon .....

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages