From f0e794a6b753ebeaf2176fbbbc0b31b01d70cc1b Mon Sep 17 00:00:00 2001 From: Annu Kumari <120681814+annuk123@users.noreply.github.com> Date: Fri, 12 Jul 2024 02:52:12 +0530 Subject: [PATCH] Update main.py --- example/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/main.py b/example/main.py index 5725d5f..824a166 100644 --- a/example/main.py +++ b/example/main.py @@ -14,7 +14,7 @@ """VOICE""" voices = engine.getProperty('voices') #getting details of current voice -#engine.setProperty('voice', voices[0].id) #changing index, changes voices. o for male +#engine.setProperty('voice', voices[0].id) #changing index, changes voices. 0 for male engine.setProperty('voice', voices[1].id) #changing index, changes voices. 1 for female """PITCH""" @@ -31,4 +31,4 @@ """Saving Voice to a file""" # On linux make sure that 'espeak' and 'ffmpeg' are installed engine.save_to_file('Hello World', 'test.mp3') -engine.runAndWait() \ No newline at end of file +engine.runAndWait()