Introduced an experimental SpeechController to address the issue of popping noises during speech playback while concurrently receiving ChatGPT's stream. The SpeechController manages speech operations in a separate process, aiming to isolate and minimize audio disruptions. This modification is intended to enhance audio quality and stability during simultaneous stream reception and speech output.
You can use the new SpeechController by adding the following code after instantiate AIAvatar:
Introduced an experimental SpeechController to address the issue of popping noises during speech playback while concurrently receiving ChatGPT's stream. The SpeechController manages speech operations in a separate process, aiming to isolate and minimize audio disruptions. This modification is intended to enhance audio quality and stability during simultaneous stream reception and speech output.
You can use the new SpeechController by adding the following code after instantiate AIAvatar: