Shaunwei / RealChar

🎙️🤖Create, Customize and Talk to your AI Character/Companion in Realtime (All in One Codebase!). Have a natural seamless conversation with AI everywhere (mobile, web and terminal) using LLM OpenAI GPT3.5/4, Anthropic Claude2, Chroma Vector DB, Whisper Speech2Text, ElevenLabs Text2Speech🎙️🤖
https://RealChar.ai/
MIT License
5.96k stars 729 forks source link

Non-English voice playback is slow #438

Closed ke-dev closed 12 months ago

ke-dev commented 1 year ago

Hi, my experience is that non-English languages don’t seem to be streaming. It has to wait until all messages are received before starting to play the voice, and sometimes it takes a long time to play the voice. Is this a problem with 11labs? Do you have anything to speed up the voice playback? method?

Shaunwei commented 1 year ago

what language are u using? the current audio segment is based on end of sentence like "." "!". does your language of choice has similar character?