Coding Challenge #80: Voice Chatbot with p5.Speech
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