Original Discord Post by lt.doge | 2024-09-19 19:16:57
I was wondering if there was a way to configure the NPC in Unity to respond with Text Only. It seems if I turn off/remove the Audio source component, they still move their lips as if audio is playing. How can I circumvent any of this and have a strictly text to text interaction?
In the console log I see errors “Can not play a disabled audio source.” I was hoping there was a way to just not use audio entirely and keep it all text. The interaction I’m after is just text to text with as little latency as possible. It seems like it’s still trying to process audio in the background, when I don’t need audio at all. Any way this is possible?
For example, when I use the web browser Character playground, and turn off the avatar’s audio, responses are much quicker and purely text. Can something like this be achieved within the Unity Plugin?
One way is to remove the lipsync and then turn the volume of the audio source to zero, the other method is to modify the ConvaiNPCAudioManager and there will be a Coroutine which is responsible for playing the audio, you can modify it such that it doesn’t play the audio and just shows the text
Reply by raghuvanshagarwal | 2024-09-21 09:23:13
Yeah but text data comes only with Audio data, so user can modify to not play the audio but just extract the text
Reply by lt.doge | 2024-09-21 15:23:01
You’re telling me that text always comes with the audio data? There’s no way to receive just the text the instance the NPC generates the response?