Deepwatch

Keyboard shortcuts

Space or k
Play or pause
j and l
Back or forward 10 seconds
Left and right arrows
Back or forward 5 seconds
f
Fullscreen
m
Mute or unmute
Shift and < or >
Slower or faster
?
Show or hide this list

Coding Challenge #80: Voice Chatbot with p5.Speech

The Coding Train, 15 min, 32.7K views, Oct 23, 2017

Chapters

Show description

This challenge is a continuation of the number guessing chatbot. In this version, I add the p5.Speech library for a voice interface. Code: https://thecodingtrain.com/challenges/80-voice-chatbot-with-p5speech šŸ•¹ļø p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/QcY2Z36mJ šŸŽ„ Previous video: https://youtu.be/zGe1m_bLOFk?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH šŸŽ„ Next video: https://youtu.be/u2D4sxh3MTs?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH šŸŽ„ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: šŸ”— RiveScript: https://www.rivescript.com/ šŸ”— RiveScript on Github: https://github.com/aichaos/rivescript-js šŸŽ™ļø p5.Speech on GitHub: https://github.com/IDMNYU/p5.js-speech 🌐 NYU Ability Project: http://ability.nyu.edu/ Videos: šŸŽžļø Playlist on Programming with Text: https://thecodingtrain.com/learning/programming-with-text šŸš‚ Text-to-Speech with p5.Speech: https://youtu.be/v0CHV33wDsI šŸš‚ Speech Recognition with p5.Speech: https://youtu.be/q_bXBcmfTJM šŸ”“ Coding Train Live 104: https://youtu.be/gFqBnxIm5Us?t=10706s Related Coding Challenges: šŸš‚ #79 Number Guessing Chatbot: https://youtu.be/zGe1m_bLOFk šŸš‚ #41 Clappy Bird: https://youtu.be/aKiyCeIuwn4 šŸš‚ #147 Chrome Dinosaur Game: https://youtu.be/l0HoJHc-63Q Timestamps: 0:00 Introduction! 0:54 A correction from coding challenge #79 1:35 Writing a script for the chatbot in RiverScript 5:47 Adding speech to the chatbot using the library p5.Speech 7:58 Adding a speech recognition object to take input from the user's speech 10:54 Print the recognized speech to the text input box 12:40 Cleaning up the code 13:12 Demonstration and things you could do! Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound šŸš‚ Website: http://thecodingtrain.com/ šŸ‘¾ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box šŸ’” GitHub: https://github.com/CodingTrain šŸ’¬ Discord: https://thecodingtrain.com/discord šŸ’– Membership: http://youtube.com/thecodingtrain/join šŸ›’ Store: https://standard.tv/codingtrain šŸ–‹ļø Twitter: https://twitter.com/thecodingtrain šŸ“ø Instagram: https://www.instagram.com/the.coding.train/ šŸŽ„ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH šŸŽ„ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA šŸ”— p5.js: https://p5js.org šŸ”— p5.js Web Editor: https://editor.p5js.org/ šŸ”— Processing: https://processing.org šŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new #patternmatching #artificialintelligence #speechrecognition #speechtotext #chatbot #p5js #javascript #rivescript

When you're done