nateshmbhat / pyttsx3

Offline Text To Speech synthesis for python
Mozilla Public License 2.0
2.09k stars 330 forks source link

some fix and new feature. #270

Open Jiangshan00001 opened 1 year ago

Jiangshan00001 commented 1 year ago

the changelog:

  1. add memory support for sapi. eg:
b = BytesIO()
engine.save_to_file('i am Hello World', b)
engine.runAndWait()
  1. fix VoiceAge key error

  2. fix for sapi save_to_file when it run on machine without outputsream device.

nateshmbhat commented 1 month ago

been away for quite some time now. can you please see if you can spend some time to resolve the merge conflicts ?

willwade commented 1 week ago

@nateshmbhat its not going to merge at all as its really referring to pyttsx4. But that aside I think voiceAge error and save_to_file when it run on machine without outputsream device is now fixed.

Im super intrigued about the memory support idea. Really @Jiangshan00001 was just wanting bytes back. I'll happily do a PR on this bit alone..

i.e. do we save_to_bytestream (like save to file) or do we save_to_bytestream and allow connect to work with this?