pyttsx3 icon indicating copy to clipboard operation
pyttsx3 copied to clipboard

[Question] Save speech to bytes

Open egorgam opened this issue 2 years ago • 3 comments

Is there any way to don't save generated speech to file, but store it in variable (simply in bytes) like in gTTS?

egorgam avatar Apr 02 '23 04:04 egorgam

is there any work around it?

Jiangshan00001 avatar Apr 07 '23 13:04 Jiangshan00001

i checked the PR, and find one code, and merged to this:

https://github.com/Jiangshan00001/pyttsx4

using

pip install pyttsx4

for using it.

import pyttsx4
engine = pyttsx4.init()

no conflit with the pyttsx3 package.

Jiangshan00001 avatar Apr 07 '23 14:04 Jiangshan00001