In this video, Mukta from The Assembly demonstrates how to set up Python code to automatically convert text to speech and vice versa in just a few lines using the pyttsx3 library. This mechanism can be easily adapted to any Python program that requires voice input/output.
Requirements:
1. Python (https://www.python.org/downloads/ - latest version with PIP)
2. Any text/code editor (we used VS code: https://code.visualstudio.com/)
-----------------------------------------
To learn more about The Assembly’s workshops, visit our website, social media or email us at [email protected]
Our website: http://theassembly.ae
Instagram: / makesmartthings
Facebook: http://fb.com/makesmartthings
Twitter: / makesmartthings