This is one of those wow projects, so much fun! Simon built his Text-to-Speech and Speech-to-Text demos following Daniel Shiffman’s recent live streams on working with the p5.Speech library and added some extra style features. This basically means that you can type anything on your computer and hear it say what you’ve typed (in any voice or language!) or, in what Simon said was an easier project, yell something to your computer (I love you!) and watch it type it out for you. The next step will be combining the two and including that code into a chat bot code.
You can play with Simon’s Text-to-Speech demo on GitHub at:
Basic text to speech example: https://simon-tiger.github.io/p5_speech/01_text2speech/
Example using different voices: https://simon-tiger.github.io/p5_speech/02_voices/
Basic speech to text example: https://simon-tiger.github.io/p5_speech/03_speech2text/
Code/ repo: https://github.com/simon-tiger/p5_speech
One Reply to “Almost talking to the computer!”