Creating a Menu Using Voice Control
in Python integrating different technologies.

Ritik Bobade
3 min readApr 11, 2021

Today we will create a menu integrating different technologies which will be accepting inputs through voice commands.

We will be using python 3 for this menu program and voice control we will be using the speech recognition module. The program is designed for Redhat Enterprise Linux 8 as per the operating system commands considered.

The program will provide you a menu and ask your input to proceed further you will be giving input by your voice .

The code of the following program is been given below-

GitHub Repository:https://github.com/ritikbobade/Voice-Menu

We will first run out the program to check how it is working.

We can run the program by running the command: python3 “ filename.py”

After running the program it will ask you for a password as we have secured the program with a password. We will provide the password by voice command. If the password is correct it will provide the further menu and if the password is incorrect it will show Access Denied.

After giving the correct password the further menu is as shown above. Now we have to give our next input through voice what we want to do for example we want to open Big Data Hadoop we can say “Open Big Data Hadoop”.

After saying open Big Data Hadoop the next menu pops up. Now we have to select further from the menu for example we have to start namenode we will say “Start namenode”.

As we can see namenode started successfully after we gave the command to start namenode. That shows our menu program powered by voice control is working great. But we can check other technologies as well lets select python this time by saying “Open python”.

After selecting python further menu pops up and we will open jupyter notebook by saying “Launch Jupyter Notebook”.

As we see Jupiter Notebook is launched successfully and our menu program powered by voice control is working successfully.

--

--