Desktop voice assistant project


We all know about Google Assistant and Cortana desktop, they recognize the voice and perform an action according to our commands. Actually it is a part of the smart home concept. Just you have to give a voice command and the system will help you to act on it. So if you want to develop such a system then this article is for you. Skyfi Labs will give you a brief overview of the project.

Read more..

Project Description

We all use YouTube, browsers and music frequently in our day to day life. But what if you can access then only with your voice without any physical efforts. So this is a project article on the desktop voice assistant system using python. The project is for a second or third year engineering student. The article gives a basic overview and structure of the project which will definitely help you.

Latest projects on Python

Want to develop practical skills on Python? Checkout our latest projects and start learning for free

Implementation Overview

  1. You can use any IDE like Anaconda, Visual Studio etc.
  2. So the first step is to create a function for a voice which has arguments. Also, we are using Speech API to take voice as input. There are two default voices in our computer I.e. Male and Female. So you can use either any from these. Also, check the voice function by giving some text input and it will be converted into voice.
  3. You can create a new function for wishing the user. Use if_else condition statement for allocating the wished output. E.g. If its time between 12 to 18 then the system will say “Good Evening”. Along with this, you can get a welcome voice also. E.g. “Welcome, What can I do for you”.
  4. After that, you have to install the speech recognition model and then import it
  5. Define a new function for taking command from a user. Also mention class for speech recognition and input type like microphone etc. Also mention pause_threshold.
  6. Set a query for voice recognition language. You can use Google engine to convert your voice input to the text.
  7. You have to install and import some other packages like pyttsx3, Wikipedia etc. Pyttsx3 helps you to convert text input to speech conversion.
  8. If you ask for any information then it will display the result in textual format. You can convert it very easily in the voice format as we have already defined a function in our code previously.
  9. Else you ask to open YouTube in the query then it will go to the YouTube address automatically. For that, you have to install a web browser package and import it.
  10. In the same way, you can add queries for many websites like Google, Instagram, Facebook etc.
  11. The next task is to play the songs. It is same as you have done before. Add a query for “play songs”. Also, add the location of songs folder so that assistant will play the song from that only.
  12. So the main question is that how the queries work?…. So here we are using conditional statements. If the computer hears voice command which contains word youtube then it will go to the YouTube page address, if the voice contains google command then it will go to the Google search page and so many accordingly.
  13. You can add so many pages and commands for your desktop assistant.

So this is the whole scenario of the project. You can improve the project in many ways. Keep learning.

How to build Python projects Did you know

Skyfi Labs helps students learn practical skills by building real-world projects.

You can enrol with friends and receive kits at your doorstep

You can learn from experts, build working projects, showcase skills to the world and grab the best jobs.
Get started today!

Kit required to develop Desktop voice assistant project:
Technologies you will learn by working on Desktop voice assistant project:
Desktop voice assistant project
Skyfi Labs Last Updated: 2022-05-18

Join 250,000+ students from 36+ countries & develop practical skills by building projects

Get kits shipped in 24 hours. Build using online tutorials.

More Project Ideas on Python

Face recognition using Raspberry Pi
Linux Based Medication remainder
Ultrasonic beats player
Automated door opener with lighting control
IoT based theft detection using Raspberry Pi
Wheelchair wih safety system
Raspberry Pi osilloscope
Health monitoring using Raspberry pi
Automatic Green house system
Wheel combined robotic suspension system
Bank Account Management System using SQL and C++
Content Aggregation Project using Python
URL Shortener
Develop An Expense Tracking System using Python
Mp3 Player using Python
Simple Chat room using Python
Folder sorter according to files extensions using Python
Batch Image editor using Python
Password Generator and Manager using Python
Web Scrapper (Amazon Price Tracker)
Bird Species detection using Python
Develop An Online CV Builder using Python
Online Job Portal using Python and SQL database
Social Media Site using Python (Django)
Driver Drowsiness detection using Python
Traffic recognition using python
Website Blocker using python
Speech Emotion Recognition using Python
Speed Typing test with Python
Gender and Age Detection using Python
Pharmacy management using Python
Virtual Notebook - Python project
Find My Professor
How to Develop a TIC TAC TOE game using Python
Admission tracking system
Assignment submission system using Python
Smart feedback system using Python
Data collection tool using Python
Language translator and converter using Python
Automatic Brand LOGO detection using Python
Rock, paper, scissor game using python
Youtube video downloader with Tkinter UI python project
Instagram bot using python
Desktop notifier app using python
Spotify song downloader using python
Jarvis Personal assistant using Python
Sound processing python project
Develop a Supermarket Billing System with Python
Desktop voice assistant project

Subscribe to receive more project ideas

Stay up-to-date and build projects on latest technologies