Realtime API: Voice Pitch Change in mid conversation

I am facing some unique problem here.

When i am initiating a session with a specific voice with a Instruction to produce response in Non-English Language (ex: Hindi). Its giving the response however i am facing 2 problem here

  • Pitch changing during midway of ongoing response (ex. first 10 word in Pitch 1 and 2nd 30 word in pitch 2) Sometime it even switches from female to male (high pitch change)
  • Pitch change during conversation messages (message1: Pitch 1 and Message 2: pitch 2)

Please suggest the workaround

Model: gpt-4o-mini-realtime-preview-2024-12-17 & gpt-4o-realtime-preview-2024-12-17

Thank you

1 Like