Make a Voice Assistant with Python

Make a Voice Assistant with Python

JakeEh

9 месяцев назад

17,993 Просмотров

We make our own virtual voice assistant using simple Python packages that lets you control your computer with Python!

The power of Python packages continues to amaze me. We were able to make a simple virtual assistant that was able to track tasks, open programs, and much more!

Code: https://github.com/Jalsemgeest/Python/blob/main/VirtualAssistant/assistant.py

Download FFMPEG: https://ffmpeg.org/download.html

Thanks for watching! ❤️

Discord: https://discord.gg/AeZrfR9Hpg

Timestamps:
0:00 Intro
0:11 How to make the project yourself?
0:38 Thought process
1:05 Speech Recognition
1:50 Speech Recognition Code
3:36 Speech Recognition Example
4:06 Text to Speech
5:40 Text to Speech Code
10:25 Text to Speech Example
11:06 Make the assistant to do something
12:06 Assistant example
13:34 Adding a keyword to listen
14:42 Keyword example
15:04 Outro

#python #coding

Тэги:

#python_tutorial #python_for_beginners #ai_assistant #python_voice_assistant #python_virtual_assistant #ai_voice_assistant #voice_assistant_python #python_projects #artificial_intelligence #python_programming #python_project_ideas #python_virtual_assistant_tutorial #alexa_clone #python_tutorial_for_beginners #tts #text_to_speech #speech_recognition #bologna_bot #control_your_computer #Python #assistant
Ссылки и html тэги не поддерживаются


Комментарии:

@ItsMe-xm1nx
@ItsMe-xm1nx - 13.08.2023 18:42

nice video

Ответить
@renlog7755
@renlog7755 - 13.08.2023 20:29

pyttsx3 is really good at tts imo it does sound a bit more robotic but its easier to use it doesnt make a file or anything(that is an option tho)

Ответить
@auger2012
@auger2012 - 14.08.2023 14:51

Holo Lili 😊

Ответить
@auger2012
@auger2012 - 14.08.2023 14:53

Interesting video and nice to see thought process. 1 probably obvious question is the hard drive getting full up of MP3 + wave files or are they just temp files?

Ответить
@astro5694
@astro5694 - 15.08.2023 23:50

Another super creative video, nice job! Do you have a discord community set up?

Ответить
@unknown__Amxn
@unknown__Amxn - 16.08.2023 11:49

Amazing 😯♥️

Ответить
@elierh442
@elierh442 - 18.08.2023 00:35

Add gpt-4 and you have Google assistant 2.0!

Ответить
@Rmanvideo
@Rmanvideo - 02.09.2023 09:40

interesting

Ответить
@mansafamara
@mansafamara - 17.09.2023 08:22

hey jake, i love your energy in your videos. do you have a twitter (x) or an email where we can correspond? i’d love to chat.

Ответить
@VK-qh6pr
@VK-qh6pr - 22.09.2023 18:55

Wonder if someone put together already an local jarvis like assistant with python....

Ответить
@tubaguy0
@tubaguy0 - 22.10.2023 10:52

Skippy the Magnificent!

Ответить
@tharakahasintha6646
@tharakahasintha6646 - 01.11.2023 23:00

can you give me sourse code ?

Ответить
@Nonsensecal
@Nonsensecal - 18.11.2023 16:18

I copy pasted the code into VSC but it doesn't work. Is there anything else I need to do

Ответить
@user-ui8mw3cx6m
@user-ui8mw3cx6m - 24.11.2023 08:00

tnx you

Ответить
@AbbasAli-hg7dn
@AbbasAli-hg7dn - 28.11.2023 20:44

What if i want to search in TXT or PDF file alternative of wikipedia 🤔

Ответить
@sanatannnii
@sanatannnii - 05.01.2024 17:43

Can i try it

Ответить
@sanatannnii
@sanatannnii - 05.01.2024 17:43

Very Nice 🙂

Ответить
@SSBO727
@SSBO727 - 13.01.2024 07:10

I get an error while installing audiosegment library.... Could you please help me

Ответить
@twberly
@twberly - 16.01.2024 20:30

If you're still seeing comments, whenever I run the code it does say "Listening for commands..." but doesn't pick up my voice. Any fix : )

Ответить
@marcin4xm
@marcin4xm - 17.01.2024 15:16

Yee but not internet acces then this all will not work

Ответить
@electronicsacademy2D2E29
@electronicsacademy2D2E29 - 22.01.2024 20:21

This video aligns with my current interests, thank you very much. Google speech recognition service is not free beyond 60 minutes per month, I think. So how are you managing past that ? Are you using any other free options ?

Ответить
@doddianil6946
@doddianil6946 - 25.01.2024 11:00

is it possible store user voice and next use voice assistant live voice compare with stored voice the both voice are match the voice assistant respond for user command other wise not respond ? like voice biometric system plz explain

Ответить
@ibrahimakhalildiallo9882
@ibrahimakhalildiallo9882 - 08.02.2024 17:18

hi JakEh, thank you for the video. I tried it but I get an error.
ImportError: cannot import name 'AudioSegment' from 'pydub'
how can I import Audiosegment from pydub please ?

Ответить
@bhavanashetty385
@bhavanashetty385 - 09.02.2024 21:27

Can we implement this as hardware

Ответить
@railey_r6603
@railey_r6603 - 23.02.2024 13:35

Can one fit this tech into a toy doll or toy snimal

Ответить
@kadaliakshay6770
@kadaliakshay6770 - 01.03.2024 10:11

hey dude for converting text to audio simply use this:
pip install pyttsx3



import pyttsx3

engine = pyttsx3.init()

def speak(text):
engine.say(text)
print(f"Computer: {text}")
engine.runAndWait()


speak("Hello World")


this should work fine also install the library called pyttsx3! :)

Ответить
@footprint_arts
@footprint_arts - 18.03.2024 15:17

The process was quite interesting, it shows that you just have to be curious enough😅❤ To get some things done

Ответить
@StevenTheGeek
@StevenTheGeek - 23.03.2024 04:06

import vlc
p = vlc.MediaPlayer("file:///path/to/track.mp3")
p.play()

Ответить
@sbtaruncreations608
@sbtaruncreations608 - 08.04.2024 09:52

Source code sir?

Ответить
@user-pb2ti8wz5p
@user-pb2ti8wz5p - 27.04.2024 09:54

please make more this type of video great work keep it up man !!!!!

Ответить
@kristiananhj8140
@kristiananhj8140 - 15.05.2024 10:57

Is it possible to make a Voice Assistant (on windows) where you are not local administrator ?
On work pc I'm not local admin, but got Python installed and can get modules, but can't install FFMPEG.

Ответить