Add ability to configure Voice for realtime session. #397
Feature RequestIs your feature request related to a problem? Please describe.No. Describe the solution you'd likeI would like the ability to change the default voice that is used when establishing a realtime session. The current set voice is "alloy" but the openAI api provides the current voice options as alloy, ash, ballad, coral, echo, sage, shimmer, and verse. Please allow us to set this when configuring the session. Describe alternatives you've consideredWriting a script that just connects to an OpenAI session through websockets. Additional contextNone. |
Answered by
StephenHodgson
Jul 10, 2025
Replies: 1 comment
|
Hi @cecolson, you can change the default voice options in the constructor of the session configuration options. Check out my realtime sample behavior. |
0 replies
Answer selected by
StephenHodgson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @cecolson, you can change the default voice options in the constructor of the session configuration options. Check out my realtime sample behavior.
com.openai.unity/OpenAI/Packages/com.openai.unity/Samples~/Realtime/RealtimeBehaviour.cs
Lines 108 to 114 in a81f086