Speech to Text Conversion
Initializing the pyttx3 engine
pyttsx3 is a text-to-speech conversion library in Python, pyttx3 engine is initialized and used for text to speech conversion.
Voice Speed Property
This is the rate at which Aryan or Aryan speaks the Text, Default being 200. Currently 150 is assigned as the rate to have clear voice.
Voice Assignment
Voice is assigned for the respective AI Friend (Aryan or Arya), Also Voice assignment is based on Operating System. Different voice are assigned if Aryan is running on Windows or Linux.
Engine Execution
Engine is executed to convert text into speech for the given text (command). Snippet below.
Last updated
Was this helpful?