Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSSS MacOS Ventura workaround #267

Closed
wants to merge 2 commits into from
Closed

Conversation

egorgam
Copy link

@egorgam egorgam commented Apr 1, 2023

If I trying to save TTS result to file in MacOS Ventura (on Apple Silicon CPU), pyttsx3 generating empty file with 4kb size.

I found a simple way to fix it - adding a small timeout after saving operation. Looks like engine.runAndWait() closing loop before file content is saving. Maybe a reason in Apple Silicon CPU speedup, or it's pyobj bug. However, this workaround is working, and someone can found better solution in future.

@codeaye
Copy link
Contributor

codeaye commented Apr 8, 2023

I have the exact same issue.. but unfortunately your fix does not seem to work.

@codeaye
Copy link
Contributor

codeaye commented Apr 8, 2023

Actually, i have checked with your fix and found that the time waited needs to grow in response to the size of text you are converting. Thus this fix wouldnt exactly work for everyone 😅

@codeaye
Copy link
Contributor

codeaye commented Apr 8, 2023

Ive found an actual fix instead of a workaround here: #271

@nateshmbhat
Copy link
Owner

have merged #271 for this fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants