Brad, just don't ever stop making tutorials we need u...
@TraversyMedia5 жыл бұрын
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 :)
@techtian43515 жыл бұрын
@@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
@TraversyMedia5 жыл бұрын
@@techtian4351 I am still disappointed about Bucky vanishing. I learned a ton of what I know from him back in the day
@rayavarapuvikram15 жыл бұрын
@@TraversyMedia I am also missing Bucky Because of him I learnt python in 2 days
@swappy30105 жыл бұрын
@@rayavarapuvikram1 who was he? Can you provide more info?
@shafagh_projects2 жыл бұрын
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
@pratikthorat34805 жыл бұрын
Conspiracy Theory: Brad Traversy is an alien with knowledge outta this world. He was sent to our planet to help us gain knowledge
@TheSpxy5 жыл бұрын
Someone's been watching dev ed :D
@TraversyMedia5 жыл бұрын
You have been watching DevEd I see :)
@pratikthorat34805 жыл бұрын
Traversy Media i agree to him hence i said this here! 😁. It is because of you i know programming. Much love from India 🥰
@fabiof.deaquino47315 жыл бұрын
Brad is a friend in need! Oh, and did I mention he's a friend indeed?! 👍
@Ath93945 жыл бұрын
True
@raphaeljaggerd35855 жыл бұрын
I love you man. no lie, You're a programming angel
@nikhilmahajan41294 жыл бұрын
He's god father of programming. Get well soon traversy😔
@nikhilmahajan41294 жыл бұрын
@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
@DaShawnJames-s2n Жыл бұрын
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 .😊
@danielborges.5 жыл бұрын
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.
@matta40894 жыл бұрын
I tried copying the code, and pasting it into my IDE. It didn't work. Then I watched the video, coded it myself, and it worked! This is worth watching the whole video guys!
@mohamedmotaz11165 жыл бұрын
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!
@TraversyMedia5 жыл бұрын
Thank you friend :)
@RameenFallschirmjager5 жыл бұрын
Yes, I want to know these kind of things that you mentioned too.
@TraversyMedia5 жыл бұрын
@@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
@RameenFallschirmjager5 жыл бұрын
@@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.
@X3S0004 жыл бұрын
Finally after months of struggling, I now understand python and this video actually made sense. 🤣 Thanks , I really enjoyed your content.
@isaacdonkoh48715 жыл бұрын
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
@simon_jakobsson4 жыл бұрын
Dang, just copying your code made me feel like a computer wizard.
@WeTheBrillantes4 жыл бұрын
update/edit for anyone interested: the two imports below work just fine as well! import time import datetime elif "what time is it" in voice_data: print("Time: ", time.ctime()) elif "what day is it" in voice_data: print(datetime.datetime.now())
@umeshbhatt25704 жыл бұрын
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.
@bidybo5 жыл бұрын
Man this is so cool. This is why I want to learn to code: he has an idea and then he just makes it in 20 minutes.
@peteronyegbule72075 жыл бұрын
You're the best. Oh my goodness. This literally made my day. A lot of ideas now running through my head. Don't stop. Pls Dont Stop. Falling in love with Python anew
@thisguy76123 жыл бұрын
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.
@miguelbernadez45212 жыл бұрын
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!
@fvgoya5 жыл бұрын
Amazing how easy it is. I didn't expect that. Using this with Arduino or Raspberry Pi GPIO, OMG!!!! Thank you so much Brad!!!!
@TraversyMedia5 жыл бұрын
Same here. I find that a lot of this stuff is easier than I initially thought. Obviously this is a very simple example, but still..
@fvgoya5 жыл бұрын
@@TraversyMedia Even so, it is an AMAZING starting point. I've already messed with Arduino/Raspberry Pi and with this content my brain started to think in a LOT of things to do with IoT. Once again, thank you very much man. Also to make the learning process SO EASY.
@amitbose65134 жыл бұрын
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.
@Harytus5 жыл бұрын
For anyone programming this on non-Mac: PyObjC is a package only for Mac. I run into issues installing that (Fedora 30) and it wasted some of my time. Instead playsound will use GStreamer for linux. As far I know it is already available in most linux distros. There was a bug on my side that seems to be common (bug is reported on playsound github but there was no response) which was caused by missing gi module. I had to symlink my global Python gi package to my venv and then it worked. I am not sure if that was the best solution. Maybe someone with better experience might clarify that. I found all steps I described here on the net, so they are not my idea.
@sampreethnaik38415 жыл бұрын
Thanks bro
@me_jd_solanki4 жыл бұрын
@@sampreethnaik3841 I followed their official guide for linux debian and it worked. No need for symlink: pygobject.readthedocs.io/en/latest/getting_started.html
@cubedev48385 жыл бұрын
Brad your video is more valuable than entertainment!!
@Omerko5 жыл бұрын
Just planed to start learning Python from next year. Great Video as Always..
@codefather_tech4 жыл бұрын
It really shows how much you can do with Python with just a few lines of code. Great video Brad!
@letslearnabout49345 жыл бұрын
What a great tutorial (as always), Brad! You gave me an idea: A Twitter speech assistant to tweet with just your voice.
@mdaasil23294 жыл бұрын
What a man! This is how a tutorial should be. You are amazing bro. Love & Respect from IN
@yubx4 жыл бұрын
yo, dude can you tell me what's this program he is useing?
@mdaasil23294 жыл бұрын
@@yubx wdym he is using python.
@FinepixF305 жыл бұрын
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.
@za8074 жыл бұрын
hi love your videos!! one question !!!! pyobjc is only for macos what can i use instead of that in windows??
@vaggo96113 жыл бұрын
People on Windows may face problem with pyaudio I faced the same pip install pipwin pipwin install pyaudio This solution worked! Thank me later
@josiahnunes30243 жыл бұрын
Thanks man This worked!!!
@cristiansantana86973 жыл бұрын
Great mate.... It worked. Tks a bunch
@omarahmed76085 жыл бұрын
I am struggling with installing pyaudio. Setup.py install keeps giving errors
@technohublaboratoriesopcpr51094 жыл бұрын
Bro is python version 3.2 or less those only support pyaudio
@papithecollector4 жыл бұрын
Install using pipwin. pip install pipwin pipwin install pyaudio
@omergrn59854 жыл бұрын
@@papithecollector your comment was very helpful thnx bro
@maheshsompalli99294 жыл бұрын
@@papithecollector worked for me..grt stuff..thank you
@mantas_birskus4 жыл бұрын
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
@rogerwprice5 жыл бұрын
What a fabulously useful and fun 20 minute tutorial - absolutely the BEST - thanks!
@moshe22cohen5 жыл бұрын
Insane I didn't knew such api exist to use freely. Amazing video!
@TraversyMedia5 жыл бұрын
Yeah, there is some really cool stuff out there to use for free :) If you go into production and you get thousands of users, etc then there is usually a paywall, but chances are if your app is that popular you are making money anyway
@moshe22cohen5 жыл бұрын
@@TraversyMedia I don't know about applications because I'm Web developer, but you think it would be good combination with discord bot? Could be interesting
@MojaveHigh5 жыл бұрын
If you're on Windows, you don't appear to need PyObjC. I couldn't install it and the code worked without it, which makes sense.
@mohammedghu.37925 жыл бұрын
If you forced Failed building wheel for pyaudio problem, just type " pip install pipwin " and then " pipwin install pyaudio " pipwin is like pip, but it installs precompiled Windows binaries provided by Christoph Gohlke.
@ojjichukwuemeke61054 жыл бұрын
Thank you
@NathAditya4 жыл бұрын
Thank You Mate! I was sorta confused when Pyaudio wasn't installing.... This helped me a lot!
@mohammadshahid74874 жыл бұрын
Can u please tell me which code editor he is using to write and execute code above?
@iamjameswong5 жыл бұрын
Nice tutorial. Was just trying to build a personal assistant on a Raspberry Pi the other day. But getting both its microphone and speaker to work seemed a bit of a mess. Still keep trying though.
@vishnudut70794 жыл бұрын
Did it work with the raspberry pi ?
@TuanTran-ej2jo4 жыл бұрын
@@vishnudut7079 run on rasperri
@natesh15 жыл бұрын
If you wish to convert text to speech while offline, use pyttsx3 library.
@TraversyMedia5 жыл бұрын
Natesh M Bhat we had a pull request to the repo to switch to it
@joshuaduncan3484 жыл бұрын
I've been looking for a voice assistant tutorial. This cannot be beat! I've been wanting to work on integrating a voice assistant into a little robot/ rc car. One that also uses opencv with a camera so it can drive autonomously. Have it drive itself to any room in the house to deliver messages to my kids. Lol
@markjosephcaisip95843 жыл бұрын
This was the coolest thing I ever watched in all of the tutorials. Gonna apply it to our project. Thank you so much!
@HimanshuKumar-vs8sj5 жыл бұрын
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
@SandeepKaur-ke9vb4 жыл бұрын
Yes...it is not working...it says respond function not defined Or nontype error of voice_data
@MrSidMan5 жыл бұрын
Brad is THE MAN Im always so thrilled when I search for topics I'm trying to learn, and behold, Brad has already got a video on the topic, well delivered. Thanks Brad!
@MultiSammy10105 жыл бұрын
This is interesting, Brad, I was literally clapping for you, wow! amazing. well done boss.
@jamaleverett73374 жыл бұрын
Really enjoying your content, Brad! Watched only one video of yours and immediately subscribed! Thank you :)
@MojaveHigh5 жыл бұрын
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
@user-yd4zc6lt8z4 жыл бұрын
Lol
@programmingwithdipayan72804 жыл бұрын
11:59 search for dogs 🤣🤣🤣🤣 By the way nice video man !!! ... Keep it up I have seen your face_recognition method in python it's really cool I like it... Great explained .. Thank you sir have a nice day ! 🙂
@tiagooliveira91965 жыл бұрын
3 words: This... is... awesome! Congrats.. You make me wanna learn Python!!
@martin-xq7te2 жыл бұрын
Great tutorial. the only problem I found was "you make it look so easy" Well do BRAD
@jagrit075 жыл бұрын
For Mac Users having trouble installing pyaudio , install homebrew and type these commands: brew install portaudio pip install pyaudio
@dawidvanstraaten5 жыл бұрын
Thank you! This is much appreciated
@arwahsapi5 жыл бұрын
You're on your way to 1M subs! Thanks mate for your generosity and persistence on bringing new free tutorials!
@prateekgurnani9025 жыл бұрын
The best developer channel on youtube.
@codewithgtm4 жыл бұрын
Indeed this helped me a lot building an application which involves speech recognition. Thanks for the helping hand Brad. You are a genius man.
@bilalrenoguys4 жыл бұрын
hi you have any idea to implement this on android?
@codewithgtm4 жыл бұрын
@@bilalrenoguys not exactly subject of R&D.
@NaaGaboy5 жыл бұрын
Brad,can you please make something like this but with React + Google DialogFlow?
@TraversyMedia5 жыл бұрын
I will seriously consider it :)
@NaaGaboy5 жыл бұрын
@@TraversyMedia Thank you very much. Would really appreciate that and I think it will be useful for a lot people here :)
@AayanamAnirudh4 жыл бұрын
Hello Brad. Thanks a lot for this tutorial. How to install PyObjC in windows? It is available only for mac. Any equivalent?
@kerenkalifa4 жыл бұрын
I'm having the same issue, did you managed to solve it?
@AayanamAnirudh4 жыл бұрын
@@kerenkalifa nope
@kerenkalifa4 жыл бұрын
Anirudh ok thanks
@AayanamAnirudh4 жыл бұрын
@@kerenkalifa Do reply here if you find one.
@nimazargham4 жыл бұрын
"PyObjC only supports macOS and does not support other platform (iOS, Linux, …)"
@MAtogable5 жыл бұрын
It can even pick up your Boston accent! good one Brad. More Python please
@Mrakeee4 жыл бұрын
Hey when I run the code, it doesn't pick up any sound. I took care of all of the errors but I can't get it to start recording my voice. Any solutions?
@hlint86434 жыл бұрын
Hi, I'm having the same issue. Can someone please help me out?
@deepshikhaagarwal18974 жыл бұрын
same with my case please help it was working first time but it stopped to work after 2 times!
@aristology69124 жыл бұрын
PyAudio isn't downloaded
@alwaysgrowww5 жыл бұрын
Brad, is this ur new hair style??? Actually, waited alot for this video from when i saw ur github repo ... Adv. Merry Christmas brad!
@TraversyMedia5 жыл бұрын
Same haircut I always have it is just combed, I just always wear a hat :)
@alwaysgrowww5 жыл бұрын
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... 😍😍
@TraversyMedia5 жыл бұрын
@@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 KZbin. I would want a smaller audience
@msgnomi97274 жыл бұрын
That was remarkably comprehensible 👍🏻
@maxsilbiger3 жыл бұрын
when I type source venv/bin/activate it gives me this error source : The term 'source' 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.
@guersomfalcon75443 жыл бұрын
19:27 This is only necessary if your operating system is Mac OS X.
@MrLittlegreenguy4 жыл бұрын
Amazing tutorial bro. Created this for our family PC. Everyone really had fun with it.
@jfritz62335 жыл бұрын
Wow, this is really cool. The speech recall is exactly what I'm saying. Very impressive!
@aayushbiswas38164 жыл бұрын
Sometimes when I speak the code doesn't run because it registers it with the first letter being capital and the coded if 'whatever is in here' with the first letter being lowercase. How can I fix this?
@sarahodiavbara50094 жыл бұрын
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
@o16-t2p4 жыл бұрын
Bro you are the best programmer i ever seen
@TheAJMarketing5 жыл бұрын
I'm in Node & Angular but I'll gonna try this out. It has lots of applications.
@gnnandan-vlog4 жыл бұрын
Thanks Brother i done it whole Heartedly Thanks love from India "Happy Coding"
@KcKc-bh6lu5 жыл бұрын
Thanks Brad. Been wanting to write a program like this for a long long time. Again, thanks man.
@JashDoshi4 жыл бұрын
My code works perfectly but when i say anything it takes like 30-40s to respond back is that an issue with my slow computer or my mic?
@koukiadem5 жыл бұрын
The best part 😂😂😂 25:26
@TraversyMedia5 жыл бұрын
haha I knew you guys would like that
@johntovor6055 жыл бұрын
You are truly a coding genius!
@pixikraft96174 жыл бұрын
Lol this guy basically created Alexa in under 30 minutes. You gotta love Brad
@omarawad9465 жыл бұрын
No Red Sox cap this time around? In any case fantastic tutorial as always Brad!
@virtualthug92524 жыл бұрын
Great video!! You explained what each line of code does! Nice! 😁
@SahilKhan-ly5qx4 жыл бұрын
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 😊😊
@QuitebrokeN4 жыл бұрын
this was a really well done and clear tutorial, thanks man! just one question tho, my "assistant" keeps repeating "sorry i did not get that" when im not talking, is there a way to make her only say that when she doesn't understand something ? or thats how its supposed to be and i've done something wrong ?
@TheSpxy5 жыл бұрын
Don't need to watch the video to know it's going to be awesome :)
@atsushi86984 жыл бұрын
Hello, I love your content and they would inspire me to continue working on them but I wonder if it's possible to do a voice data for finding youtube videos?
@ssgoh49685 жыл бұрын
Hi, I bumped into error when I pip install PyObjc. Googled everywhere but cannot find a solution that is easy to understand. Would appreciate some advice. Thanks
@kerenkalifa4 жыл бұрын
I'm having the same issue, did you managed to solve it?
@ssgoh49684 жыл бұрын
@@kerenkalifa :-) I gave up. Sorry.
@kerenkalifa4 жыл бұрын
@@ssgoh4968 Ok thanks for your reply
@exxzxxe Жыл бұрын
You are the best of the best. I have followed many of your tutorials. I did have a question on this one. I pip installed the various packages, and everything runs well under Anaconda Jupyter notebook, but when I invoke VsCode (from Anaconda), speech_recognition cannot be found. I am sure this is very simple, and due to me being a Python neophyte.
@jayhu60754 жыл бұрын
You make my dag happy. What a great explanation. Hopely more of kind of this stuff about speech or image recognition in Flask or Django.
@jesusofcarrots65934 жыл бұрын
Use for the what time is it comand: speak("It is {0:02d}:{1:02d}:{2:02d}".format(lt[3], lt[4], lt[5]))
@md.rakibuzsultan30144 жыл бұрын
Thanks
@greatmindmind65865 жыл бұрын
great video man it can really help newbies like me
@sakshambansal46945 жыл бұрын
You're so interesting to hear man. Keep up the awesome work!
@paramgoswami72245 жыл бұрын
I m having problems installing PyAudio, can anybody help?? Its saying Microsoft Visual C++ required, can anybody say why??
@fainalu5 жыл бұрын
I got the same error, and did [ pip install pipwin ] --> [ pipwin install pyaudio ] fixed the problem.
@paramgoswami72245 жыл бұрын
Thanks christinita
@waqaskhalidobeidy26734 жыл бұрын
[ 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.
@thekiharani5 жыл бұрын
Good piece. But my voice assistant takes up the 'ask' string as the audio and concatenate it with the search query. For instance, if I search for 'Docker', it picks 'what are you looking for Docker'. What could be the issue?
@ahmetarkan96122 жыл бұрын
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.
@zach84744 жыл бұрын
hey! love the video, byt my ai cant seem to hear me. i connected my phone though usb as a microphone using WO Mic client. Can anybody help please?
@WiftyBangura4 жыл бұрын
having the same problem now. did you find a solution?
@ianpan01025 жыл бұрын
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)
@shashankbharadwajs95694 жыл бұрын
Great video !! Cheers, i had a doubt, how do i integrate this with a yes or no prompt to confirm what i ask ,if i say yes it continues ,else it loops back to ask me the question again (like how can i help you?) .. would love to find some help. Thanks :D
@Djzaamir5 жыл бұрын
Thank you, for sharing these great videos, it's always refreshing to see your videos :)
@rgablejr5 жыл бұрын
Just finished your Modern JS course on Udemy -- will be keeping my open for when this is offered. Keep up the great work!
@kevenleone75965 жыл бұрын
Hello Brad, whats the name of extension you mentioned on 5:48 ?
@alicendeh80485 жыл бұрын
Almost A million subscribers 🤩😍..courage sir Brad
@akshithhiremath17145 жыл бұрын
How the frick did Brad just create a base for alexa or something in less than half an hour CONFIRMED: BRAD IS GOD
@JoeWong815 жыл бұрын
That was amazing Brad and a great add on for any portfolio project!! you're the man merry christmas too
@DanteS74 жыл бұрын
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"
@itanu57104 жыл бұрын
Even though you are not singing with the Limp Bizkits anymore, you are still cool
@TheGamerFiFtIn2 жыл бұрын
You are making it so easy to learn bro , thank you
@yitzchakmeltz13093 жыл бұрын
How would you handle more general audio inputs? For example, how would you make it work for audio inputs that don't specifically match the ones that you have such as: "What do people call you?" Is there a way to cover a large amount of ways to ask the same question without writing down all of the options?
@transverselabs3 жыл бұрын
NLP and Deep Learning :)
@ramizmaksumic90773 жыл бұрын
Hi, great tutorial, thanks a lot Brad. I was wondering is it working with some other languages?
@smithscarborough3 жыл бұрын
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?
@daffxcx3 жыл бұрын
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