-
Notifications
You must be signed in to change notification settings - Fork 344
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
engine.save_to_file() produces empty file #142
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Hi, Any updates on this? Thanks! |
Works as expected. But the following two ways don't work (they don't even create an empty file) (I am using Ubuntu 18.04).
where
Note that Looking forward to any updates. |
Hello I have some issue with this code import pyttsx3 when I execute this Code. I get : AttributeError: 'Engine' object has no attribute 'save_to_file' |
can anyboda help me. |
y* |
I also got empty file when saving to ".mp3", but simply changing to ".aiff" resolved my issue. According to Apple's documentation, NSSpeechSynthesizer synthesizes text into a sound (AIFF) file, so ".aiff" should be the supported format. (macOS 10.3+) |
what about windows? I did the same thing with windows and it just saved nothing |
me too,but in myself computer Normal operation ,Cloud computer make empty file,the cloud computer does not have a graphics card installed。Windows 10 system installed on cloud computer,can you help me. |
That solved my problem! Thanks! |
For me (on macOS) it is able to create / save a . |
I have the same problem, did you manage to fix it? |
The same problem with mac, works on windows tho. Did you solve it? |
This still produces empty files on mac, whether you use .wav, .mp3, or .aiff. Anyone know a way to fix this? |
I found a small hack to fix it #267. Maybe someone can found better solution to fix it right 🥲 |
…state similarly to say().
fixed in #271 |
…arly to say(). (#276) merging this fix
CentOS 7 (yeah, I know, it's old) This code
or this code (wav)
Produce empty files for me. They have relevant headers for mp3 file or wav file, but nothing else. |
In running the code below,
engine.say()
works fine. However, when I save the audio to a file, the file is empty. I have also verified this insox
.I am running
pyttsx3
on a Macbook running OS 10.15.6.The text was updated successfully, but these errors were encountered: