async-openai icon indicating copy to clipboard operation
async-openai copied to clipboard

Add audio playback in examples/realtime

Open 64bit opened this issue 1 year ago • 1 comments

Currently examples/realtime only prints text, make it play the audio received via ServerEvent.

64bit avatar Oct 07 '24 22:10 64bit

Hey, I started to work on this issue and I've made an example.

Currently, I am able to save the audio to a file which can be played using ffmpeg.

Should I play the output received from OpenAI using system's speaker or should an example saving the audio suffice ?

dynamite-bud avatar Dec 08 '24 04:12 dynamite-bud