Changing The Voice (and improving quality) #19
WearilessSpy603
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Changing the Voice in Your Script
If you want to change the voice in your script, you can do it easily by modifying the
main.py
file. Follow these steps:main.py
file and scroll down until you find the following code:Edit the
voice
parameter:Change the name after
voice=
to one of the other OpenAI voices found here. The available voices are Alloy, Echo, Fable, Onyx, Nova, and Shimmer.Improve Audio Quality:
To get better audio quality, change
tts-1
totts-1-hd
. Note that this will increase latency slightly.Hope this helps a few people out!
Beta Was this translation helpful? Give feedback.
All reactions