You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am using edgetts to simulate the OpenAI TTS service for a local, free voice agent. However, edgetts only supports returning audio in MP3 format. In livekit-plugins-openai version 0.10.9 and later, the request format has been set to PCM.
Proposed Solution
Add a configuration option or parameter to livekit.plugins.openai.tts.TTS to allow users to specify the desired output format (e.g., output_format='mp3' or output_format='pcm').
Temporary Patch
This mismatch requires me to dynamically modify livekit.plugins.openai.tts.ChunkedStream at runtime to handle the MP3 format, which is not ideal.
Hello, I am using
edgetts
to simulate the OpenAI TTS service for a local, free voice agent. However,edgetts
only supports returning audio in MP3 format. Inlivekit-plugins-openai
version 0.10.9 and later, the request format has been set to PCM.Proposed Solution
Add a configuration option or parameter to
livekit.plugins.openai.tts.TTS
to allow users to specify the desired output format (e.g.,output_format='mp3'
oroutput_format='pcm'
).Temporary Patch
This mismatch requires me to dynamically modify
livekit.plugins.openai.tts.ChunkedStream
at runtime to handle the MP3 format, which is not ideal.The text was updated successfully, but these errors were encountered: