ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.86k stars 886 forks source link

Python library pyttsx3 #2431

Open EntusiastaIApy opened 1 month ago

EntusiastaIApy commented 1 month ago

Can't use pyttsx3 Python library with ish on my iphone. The code runs but nothing happens, i.e., there's no audio a output.

I'm working on a Python project where it's essential to convert text to audio. If I'm not able to use the pyttsx3 library with ish, I will probably have to limit the project to the notebook, which would be a real loss of functionality to the project (it's a home automation project) and a personal frustration.

Is there a way I can use the pyttsx3 Python library with ish on the iPhone?

Thanks for your time!

lewhfree commented 1 month ago

iSh cannot output sound at all. AFAIK, you would just have to output the file to an mp3 file or something and find a way to send that to a speaker. I'm not sure if I understood your issue correctly, so if I didn't let me know and I can try again