I was thiking about stopping and makinig "how to become a millionaire" courses and selling them for the low price of $4999. Bad idea? jk...I will never stop tutorials and courses :)
@@TraversyMedia we already have someone who's literally using "as-millionaire" like a file extension for every single video, we don't want any more of that kind :v jk, we already lost 1 newboston, dont wanna lose anymore
This is by far one of your best videos yet! Keep up the awesome work! Would be awesome if u make a follow up video explaining the process behind how you actually learned all this and read through the documentation and all of that stuff behind the scenes!
@@RameenFallschirmjager I can try something like that, it is just hard to put into an organized manner. When I learn I am all over the place lol Ill seee what I can do though. Maybe I can just freestyle record me learning something
@@TraversyMedia Thanks brad. The most important thing in creative work is the thought process. Show us your thought process and how ideas come to your mind and how you study to develop new stuff. I know it's hard but if we have some clue about your development process it opens our eyes to new areas.
I’m new to coding and I’ve looked up sooooo many tutorials, blogs, websites, etc on how to do this and you helped me understand everything in under 30 minutes. Thank you so much and God Bless you .😊
Fantastic Tutorial, thank you so much. BTW, to those who facing an issue with speechregonition library installation, please download the following libraries in order: 1. pip install pipwin 2. pipwin install pyaudio
pipwin : The term 'pipwin' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + pipwin install pyaudio + ~~~~~~ + CategoryInfo : ObjectNotFound: (pipwin:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Loved your face in 24:45 when I just realize that you create a "machine from the future"! You are awesome bro. Thanks for the effort. Have a great holidays.
Ok this is for anyone new (like myself), who is trying build their own AI. If you are using Pyttsx3 when ever you create a function make sure to put engine.runAndWait() at the end of the function so that the AI can speak other wise it won't. Took me all night to figure that out, watched videos and went through reddit but no one could figure it out. Also thanks Traversy, I was trying to find a video on voice recog and you did an amazing job at explaining it, I've been looking for documents on it but could not for the life of me find anything useful on it, and then you talked about the Kit extension which is helping me understand coding as well. So again thanks and hopefully this helps someone who is running into the same issue as I did last night lmao.
Awesome tutorial you are my mentor I am 29 am I have learnt html css and have now started javascript but friends say am old and too late for me to learn programming but I hope to one day become like you. Thanks very much
@Florida's Overlord voice recognition doesn't need internet for run but further it need internet when using voice recognition it search for something as per user voice
Amazing tutorial Brad! Your laravel tutorial helped me to program a working model in a weekend. This python voice assistant is super cool. Thank you and many blessings!
Omg loved this guy...complete knowledge in speech recognition in only 26 minutes...finally get something which I actually looking for..Thanks for sharing your knowledge with us.. Appreciate your love. Lots of love from India.
One addition is to have it respond only when the question starts with Alexis, similar to when you say Alexa or Ok goggle, is called the key word. Other improvement is to tied it up with speach processing to capture the intention and being able to respond to multple questions that ask the same thing, for example what is your name? or how you want to be called? etc.
Fab explanation sir. I just completed Python basics including OOP, and was willing to go for this type of project. I searched a number of places, that made me disheartened, until I got you. Thank you so much sir for your extraordinary efforts.
Why don't u use green background...bcz interactions will be great... If u have any time(only if u have) to make live stream like coding garden, then do... 😍😍
@@alwaysgrowww I tried the green screen, but didn't really care for it. I like the idea of live streaming but not sure i would be good at it. If I do it will be on Twitch not RUclips. I would want a smaller audience
Hello. I loved what you did. Thank you very much. But I have some doubts. 1. If I make this app in my laptop will I be able to use it in my phone? 2. If I call the assistant by its name will it respond to me in home screen? 3. Can I give any access to turn off my phone or switch it on? Please please please can you answer my questions it's really important 😊😊
can anyone help i was following this tutorial along but every time i run the scripts and say something it does not do anything not printing the text and not showing any error
On linux (fedora and similar): sudo dnf install python-devel python3-pyaudio portaudio-devel pip install pyaudio Mac (not sure tho as I'm not using it): brew install pyaudio pip install pyaudio
Instead of calculating a random number for the audio file name, you could use the UUID module: import uuid audio_id = uuid.uuid4 audio_file = f"audio-{audio_id}.mp3"
Thank you for the nice and useful video. I have two questions: 1. When I use if “angle” in voice_data: Alexis says sth1 and after I use if “angle measurement” in voice_data: Alexis says sth2 but repeating sth1 first. I do not want it. How can I organize the code as not hearing sth1 but hearing sth2 when I use if “angle measurement” in voice_data: 2. When we went to a web page (dogs for example) by “search”, can we close down the page by a voice command not clicking (which may be useful for blind guys). Thank you.
WOW. I have been making my own chat bot but it is lame in comparison. This video is what I needed!! 5 stars out of 5!!! BEST VIDEO YOU MADE (personally) I LOVE THIS VIDEO SO MUCH. THANK YOU FOR MAKING IT!!!!!!! You made me very happy . Question: how can you get it to load in private web mode as to reduce the amount of data generation? Thanks
This was unexpected but obvious. I had my script running at the time you began your demo at 24:30 and of course my script answered your questions as it heard you speaking. Haha
Hey, My code just keeps on saying 'what the time' response i.e. ctime recording even if it's not asked. even after killing the cmd instance it's saying that.
For those trying this tutorial with python > 3.7, you need to install pyaudio from a .whl file manually. Just download the file specific to your version of python from here: www.lfd.uci.edu/~gohlke/pythonlibs/?fbclid=IwAR1wcRom_uj5BuE-L4HMGS_sOBuCMmWTDXKjfE71WRTs9uW61QEQbmQEW1o#pyaudio and after that use "pip install .\filename.extension"
Hey brad, can u add a wake word activation to it? Like it starts listening again when i say something like, 'Hey alexa' or 'ok google' something like that?
Hey, I have an issue. The microphone is continuously listening all the background noises as I don't have a quiet environment like you. How to fix this?
I there a license cost involved in using Speech Recognition and gTTS commercially? I see that an user is restricted to 50 responses per day to the Google Speech API? How could we purchase to use it commercially?
The second line of installation 'source venv/bin/activate' isn't working on my windows, i keep getting errors.Also i got 'Scripts' in the venv folder , how do i fix this
[ pipwin install pyaudio ] after [ pip install pipwin ] still gives me another error on windows --> 'cannot import name 'cached_property' from 'werkzeug''. Any help is appreciated.
Yes, i wait a lot to view a new video with python i mean all tutorials are so old thanks man I have some questions why on my python the words are not colored? Import,with,as you know ? And another one how you make that space With sr.Microphone() as source: (Space) Print (Space) audio So why i can't leave that space ? Is automaticaly after ":" ?
Can you please make a video on this concept recently i learned java, But in javascript it is difficult for me to understand that suppose we have let a = "Brad".length; then console .log(a) result will be 4 ; so, how we are accessing the dot length thing or maybe like let a = "Brad".toUpperCase(); how this function we are calling because " Brad " it is not a reference variable because in java we use the reference variable them put dot to call any thing inside the object of that class in javascript where is this coming from ???? Please make a video that will be all for me ane it will others also to build concept .
What's the usage of ".get()" after webbrowser? I've referred to the docs and it seems that "webbrowser.open_new_tab(url)" is preferred. (Tested just now and it works)
Sir I’m using pycharm so what I’m using instead of pyobjc. Or I’m also making this project I get an error AttribteErro: ‘function ‘ object has no attribute playsound
Hey guys! It was of course a wonderful project, but I tried copy pasting the code from the GitHub repo and when I run it, it showed me an error of "cannot remove audio-{numbers}" file so I tried using os.unlink() instead of os.remove() and now I have a different error message that says, "The driver cannot recognize the specified command parameter." So if anyone has any ideas then they will be much appreciated. Thank you!
i followed you every step but i keep getting errors on the import speech_recognition as sr. according to the error i cant import it. When i run pip install speechrecognition it says that its already installed. Can someone pls help me!
Still no luck with pyaudio issue. Tried everything in the comments with no luck. Even went to the speech recognition site and followed the instruction "twice". Keep getting (Command errored out with exit status 1:)
i tried to make the same exact thing but i found a bug and i can't fix it so can you help me please? she always repeats what i say before activating the command set
Hello guys, unlike in the video, in my case my computer lasts much more time to interact in general than in the tutorial, is it related to the os or some weird configuration? Thank you guys
It would be cool if you could open a file with a default program from a directory by giving it the location of file vocally (in a pattern). Can it be implemented in the first place?
You da man, Brad!! Hey, I'm having trouble getting my mic to work in VSCode using the Speech Recognition library after updating to macOS Big Sur. It will work in iTerm2 but not VSCode. Any idea how to get around this?
Brad, just don't ever stop making tutorials
we need u...
I was thiking about stopping and makinig "how to become a millionaire" courses and selling them for the low price of $4999. Bad idea? jk...I will never stop tutorials and courses :)
@@TraversyMedia we already have someone who's literally using "as-millionaire" like a file extension for every single video, we don't want any more of that kind :v
jk, we already lost 1 newboston, dont wanna lose anymore
@@techtian4351 I am still disappointed about Bucky vanishing. I learned a ton of what I know from him back in the day
@@TraversyMedia I am also missing Bucky
Because of him I learnt python in 2 days
@@rayavarapuvikram1 who was he? Can you provide more info?
This is by far one of your best videos yet! Keep up the awesome work! Would be awesome if u make a follow up video explaining the process behind how you actually learned all this and read through the documentation and all of that stuff behind the scenes!
Thank you friend :)
Yes, I want to know these kind of things that you mentioned too.
@@RameenFallschirmjager I can try something like that, it is just hard to put into an organized manner. When I learn I am all over the place lol Ill seee what I can do though. Maybe I can just freestyle record me learning something
@@TraversyMedia Thanks brad. The most important thing in creative work is the thought process. Show us your thought process and how ideas come to your mind and how you study to develop new stuff. I know it's hard but if we have some clue about your development process it opens our eyes to new areas.
Conspiracy Theory: Brad Traversy is an alien with knowledge outta this world. He was sent to our planet to help us gain knowledge
Someone's been watching dev ed :D
You have been watching DevEd I see :)
Traversy Media i agree to him hence i said this here! 😁. It is because of you i know programming. Much love from India 🥰
Brad is a friend in need! Oh, and did I mention he's a friend indeed?! 👍
True
I’m new to coding and I’ve looked up sooooo many tutorials, blogs, websites, etc on how to do this and you helped me understand everything in under 30 minutes. Thank you so much and God Bless you .😊
Fantastic Tutorial, thank you so much. BTW, to those who facing an issue with speechregonition library installation, please download the following libraries in order:
1. pip install pipwin
2. pipwin install pyaudio
pipwin : The term 'pipwin' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1
+ pipwin install pyaudio
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (pipwin:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Loved your face in 24:45 when I just realize that you create a "machine from the future"! You are awesome bro. Thanks for the effort. Have a great holidays.
Ok this is for anyone new (like myself), who is trying build their own AI. If you are using Pyttsx3 when ever you create a function make sure to put engine.runAndWait() at the end of the function so that the AI can speak other wise it won't. Took me all night to figure that out, watched videos and went through reddit but no one could figure it out.
Also thanks Traversy, I was trying to find a video on voice recog and you did an amazing job at explaining it, I've been looking for documents on it but could not for the life of me find anything useful on it, and then you talked about the Kit extension which is helping me understand coding as well. So again thanks and hopefully this helps someone who is running into the same issue as I did last night lmao.
Awesome tutorial you are my mentor I am 29 am I have learnt html css and have now started javascript but friends say am old and too late for me to learn programming but I hope to one day become like you. Thanks very much
I love you man. no lie, You're a programming angel
He's god father of programming. Get well soon traversy😔
@Florida's Overlord voice recognition doesn't need internet for run but further it need internet when using voice recognition it search for something as per user voice
What a great tutorial (as always), Brad!
You gave me an idea: A Twitter speech assistant to tweet with just your voice.
Amazing tutorial Brad! Your laravel tutorial helped me to program a working model in a weekend. This python voice assistant is super cool. Thank you and many blessings!
Omg loved this guy...complete knowledge in speech recognition in only 26 minutes...finally get something which I actually looking for..Thanks for sharing your knowledge with us.. Appreciate your love. Lots of love from India.
One addition is to have it respond only when the question starts with Alexis, similar to when you say Alexa or Ok goggle, is called the key word. Other improvement is to tied it up with speach processing to capture the intention and being able to respond to multple questions that ask the same thing, for example what is your name? or how you want to be called? etc.
Fab explanation sir. I just completed Python basics including OOP, and was willing to go for this type of project. I searched a number of places, that made me disheartened, until I got you. Thank you so much sir for your extraordinary efforts.
Brad, is this ur new hair style???
Actually, waited alot for this video from when i saw ur github repo ...
Adv. Merry Christmas brad!
Same haircut I always have it is just combed, I just always wear a hat :)
Why don't u use green background...bcz interactions will be great... If u have any time(only if u have) to make live stream like coding garden, then do... 😍😍
@@alwaysgrowww I tried the green screen, but didn't really care for it. I like the idea of live streaming but not sure i would be good at it. If I do it will be on Twitch not RUclips. I would want a smaller audience
What a man! This is how a tutorial should be. You are amazing bro. Love & Respect from IN
yo, dude can you tell me what's this program he is useing?
@@yubx wdym he is using python.
I'm in Node & Angular but I'll gonna try this out. It has lots of applications.
Hello. I loved what you did. Thank you very much. But I have some doubts.
1. If I make this app in my laptop will I be able to use it in my phone?
2. If I call the assistant by its name will it respond to me in home screen?
3. Can I give any access to turn off my phone or switch it on?
Please please please can you answer my questions it's really important 😊😊
Hello Brad. Thanks a lot for this tutorial.
How to install PyObjC in windows?
It is available only for mac.
Any equivalent?
I'm having the same issue, did you managed to solve it?
@@kerenkalifa nope
Anirudh ok thanks
@@kerenkalifa Do reply here if you find one.
"PyObjC only supports macOS and does not support other platform (iOS, Linux, …)"
If you wish to convert text to speech while offline, use pyttsx3 library.
Natesh M Bhat we had a pull request to the repo to switch to it
It can even pick up your Boston accent! good one Brad. More Python please
That was remarkably comprehensible 👍🏻
can anyone help i was following this tutorial along but every time i run the scripts and say something it does not do anything not printing the text and not showing any error
Yes...it is not working...it says respond function not defined
Or nontype error of voice_data
I am struggling with installing pyaudio. Setup.py install keeps giving errors
Bro is python version 3.2 or less those only support pyaudio
Install using pipwin.
pip install pipwin
pipwin install pyaudio
@@papithecollector your comment was very helpful thnx bro
@@papithecollector worked for me..grt stuff..thank you
On linux (fedora and similar):
sudo dnf install python-devel python3-pyaudio portaudio-devel
pip install pyaudio
Mac (not sure tho as I'm not using it):
brew install pyaudio
pip install pyaudio
3 words: This... is... awesome!
Congrats.. You make me wanna learn Python!!
Just finished your Modern JS course on Udemy -- will be keeping my open for when this is offered. Keep up the great work!
Instead of calculating a random number for the audio file name, you could use the UUID module:
import uuid
audio_id = uuid.uuid4
audio_file = f"audio-{audio_id}.mp3"
Thank you, for sharing these great videos, it's always refreshing to see your videos :)
Thank you for the nice and useful video. I have two questions:
1. When I use if “angle” in voice_data:
Alexis says sth1 and after I use if “angle measurement” in voice_data:
Alexis says sth2 but repeating sth1 first. I do not want it. How can I organize the code as not hearing sth1 but hearing sth2 when I use if “angle measurement” in voice_data:
2. When we went to a web page (dogs for example) by “search”, can we close down the page by a voice command not clicking (which may be useful for blind guys).
Thank you.
WOW. I have been making my own chat bot but it is lame in comparison.
This video is what I needed!! 5 stars out of 5!!! BEST VIDEO YOU MADE (personally) I LOVE THIS VIDEO SO MUCH. THANK YOU FOR MAKING IT!!!!!!! You made me very happy .
Question: how can you get it to load in private web mode as to reduce the amount of data generation? Thanks
How the frick did Brad just create a base for alexa or something in less than half an hour
CONFIRMED: BRAD IS GOD
That was amazing Brad and a great add on for any portfolio project!! you're the man merry christmas too
You're so interesting to hear man. Keep up the awesome work!
Great video!! You explained what each line of code does! Nice! 😁
The best developer channel on youtube.
İd really like to know how can we make it activate with voice
You have out done yourself! Thanks for your hard work. It really is appreciated.
where is the link for second part?
Pretty cool, I used the same library to make a randomized meme generator!
I switched to demo and this was so amazing!!!
can you do a whole series on these? Like creating text to speech commands while webscraping data
can you make a turorial: how to call up you assistent by voice
This was unexpected but obvious. I had my script running at the time you began your demo at 24:30 and of course my script answered your questions as it heard you speaking. Haha
Lol
This is more than amazing. Kudos, Brad!
Great content. Would like to see this Python app integrated with nodejs
Really, I was thinking the same...
an excellent tutorial in speech recognition. Very clear. thanks.
Hi bro , when would you share the front end course of devbootcamp on udemy ?
Amazing if i follow these steps will i be able to build something cool as this?
19:27 This is only necessary if your operating system is Mac OS X.
You have just earned my subscription...Thank you for the awesome tut
You are amazing bro. Love from India
This was amazing and i loved it but is there anyway to change the voice of the program
Use for the what time is it comand: speak("It is {0:02d}:{1:02d}:{2:02d}".format(lt[3], lt[4], lt[5]))
Hey, My code just keeps on saying 'what the time' response i.e. ctime recording even if it's not asked. even after killing the cmd instance it's saying that.
Just can't imagine how far you can go with this.
For those trying this tutorial with python > 3.7, you need to install pyaudio from a .whl file manually. Just download the file specific to your version of python from here: www.lfd.uci.edu/~gohlke/pythonlibs/?fbclid=IwAR1wcRom_uj5BuE-L4HMGS_sOBuCMmWTDXKjfE71WRTs9uW61QEQbmQEW1o#pyaudio and after that use "pip install .\filename.extension"
Hey brad, can u add a wake word activation to it? Like it starts listening again when i say something like, 'Hey alexa' or 'ok google' something like that?
Awesome .... thumbs up for ur work ♥️
25:27 😂😂.Awesome video.
Is PyObjC for mac only?
Hey Brad you're awesome!!
It's very interesting and please you make more thing about Google assistant
I use sublime text and do not have Doc sets extension as yours? what the text compile are you using?
Hey, I have an issue. The microphone is continuously listening all the background noises as I don't have a quiet environment like you. How to fix this?
Hello, can you please explain if there is any way to do this without pip, since my pip is not working? Thanks!
I there a license cost involved in using Speech Recognition and gTTS commercially? I see that an user is restricted to 50 responses per day to the Google Speech API? How could we purchase to use it commercially?
Thanks for tutorial. How can I add new features for this app? Do you have any suggestions?
The second line of installation 'source venv/bin/activate' isn't working on my windows, i keep getting errors.Also i got 'Scripts' in the venv folder , how do i fix this
Thanks brad for making my life simpler :)
Thanks
Excellent tutorial, well explained.
Now, how do you make it drive your car for you?
You should increase text size
Great. Thanks Brad.
I m having problems installing PyAudio, can anybody help??
Its saying Microsoft Visual C++ required, can anybody say why??
I got the same error, and did [ pip install pipwin ] --> [ pipwin install pyaudio ] fixed the problem.
Thanks christinita
[ pipwin install pyaudio ] after [ pip install pipwin ] still gives me another error on windows --> 'cannot import name 'cached_property' from 'werkzeug''. Any help is appreciated.
This is amazing. One of the best tutorials I
Yes, i wait a lot to view a new video with python i mean all tutorials are so old thanks man
I have some questions why on my python the words are not colored?
Import,with,as you know ?
And another one how you make that space
With sr.Microphone() as source:
(Space) Print
(Space) audio
So why i can't leave that space ? Is automaticaly after ":" ?
i really learned from this! great vid!
can we use bluetooth mic instead of microphone or headset. it wil work or not
It was very helpful
...tnk u bruh ❤️
possible to write in keyword instead of whole sentence? like "your" and "name" as keyword in any sentence form to ask what is your name
the python3 -m venv venv doesnt work
Can you please make a video on this concept recently i learned java, But in javascript it is difficult for me to understand that suppose we have let a = "Brad".length; then console .log(a) result will be 4 ; so, how we are accessing the dot length thing or maybe like let a = "Brad".toUpperCase(); how this function we are calling because " Brad " it is not a reference variable because in java we use the reference variable them put dot to call any thing inside the object of that class in javascript where is this coming from ???? Please make a video that will be all for me ane it will others also to build concept .
What's the usage of ".get()" after webbrowser? I've referred to the docs and it seems that "webbrowser.open_new_tab(url)" is preferred. (Tested just now and it works)
I was just wondering why mine stops running after encountering an unknown value?
Sir I’m using pycharm so what I’m using instead of pyobjc. Or I’m also making this project I get an error AttribteErro: ‘function ‘ object has no attribute playsound
Brad, this is awesome indeed
I can’t input through my mic it runs and says ‘say something ‘ but doesn’t take any input. Please help
Did you get the solution? Cause i got the same problem
Hey guys! It was of course a wonderful project, but I tried copy pasting the code from the GitHub repo and when I run it, it showed me an error of "cannot remove audio-{numbers}" file so I tried using os.unlink() instead of os.remove() and now I have a different error message that says, "The driver cannot recognize the specified command parameter." So if anyone has any ideas then they will be much appreciated. Thank you!
hey i can not find pyaudoi wheelie because site doesn't exist anymore. Can you help us ?
is there an option for pyobjc for windows, seems like this is for mac only?
i followed you every step but i keep getting errors on the import speech_recognition as sr. according to the error i cant import it. When i run pip install speechrecognition it says that its already installed. Can someone pls help me!
pls can u do a tutorial video on how to implement Voice Email?
Still no luck with pyaudio issue. Tried everything in the comments with no luck. Even went to the speech recognition site and followed the instruction "twice". Keep getting (Command errored out with exit status 1:)
That was a great video. Thanks to you. It would be more interesting if you could make this kind of video more often.
i tried to make the same exact thing but i found a bug and i can't fix it so can you help me please? she always repeats what i say before activating the command set
Hi. I'm trying to improve this project by making it close all the searches. So can you tell how can I do that?
Hello guys, unlike in the video, in my case my computer lasts much more time to interact in general than in the tutorial, is it related to the os or some weird configuration? Thank you guys
It would be cool if you could open a file with a default program from a directory by giving it the location of file vocally (in a pattern). Can it be implemented in the first place?
You da man, Brad!! Hey, I'm having trouble getting my mic to work in VSCode using the Speech Recognition library after updating to macOS Big Sur. It will work in iTerm2 but not VSCode. Any idea how to get around this?
vscode is not asking a permission (in mac) to access your mic, thats why your program doesnt work in vscode but works on other IDE or your terminal