ish-app / ish

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

Python library pyttsx3 #2431

Open EntusiastaIApy opened 4 months ago

EntusiastaIApy commented 4 months 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 3 months 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