I am building an AI calling chatbot where I am using OpenAI’s TTS api to convert my generated text into audio stream. Currently I am using pcm
as response_format
, as g711_ulaw
is not available, is there any way I can convert the audio stream to g711_ulaw
format so that I can pass it to the twilio.