On Mac, install portaudio and elasticsearch with homebrew. The second is the same as my past post, and uses elasticsearch to do query-query matching and return a response. The first one is to get access to the microphone - credit to this post for a great intro to speech recognition in python. I’ll show two different voice activated capabilities in this blog post: There’s some other posts out there with pretty much the same general concept - but didn’t see anything much like this on TDS and figured what the hell □□ I can write better than that and mine will be more fun. This blog post should, however, give you a great place to start if you’ve ever wondered how to create your own voice assistant in python and love to screw around. Honestly, it took me longer to find/make the gifs for this post than it did to code it out. Like my last blog post on creating a chatbot using your own text messages, this isn’t going to be a fully developed idea and won’t get you too far in a production. Ironic Cortana Reference Since We’re on Mac - Source
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |