I have a string named TextInput
that contains a simple input message from the user and I am trying to experiment with getting it to be read aloud with the mimic3
tts engine. I need it to play without me having to type it into the terminal myself. Here is what I've got:
import os
TextInput = input("Text: ")
os.system('mimic3 --interactive')
I need something that will take TextInput, type it in the terminal, and then run it
I am running this on a raspberry pi 4b 8gb with Raspberry Pi OS 64 bit installed
I have tried using the pyautogui
module, but it didn't run the terminal afterwards