Skip to content

Commit 47871bd

Browse files
Saving voice to a file
1 parent 2a0a197 commit 47871bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyttsx3/voice.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#This Example based on Saving voice to a file
2+
3+
import pyttsx3 #import pyttsx3
4+
engine = pyttsx3.init()
5+
engine.save_to_file('Hello World' , 'test.mp3') #saving voice to file
6+
engine.runAndWait()

0 commit comments

Comments
 (0)