Unity - Text In Text Out Only?

Reply by raghuvanshagarwal | 2024-09-21 15:24:13

No there is a way to ignore the incoming audio data

Reply by lt.doge | 2024-09-21 15:25:45

That’s sorta what I’m after. No intention for audio, just a text only conversation that’s as lagless as possible

Reply by lt.doge | 2024-09-21 15:25:58

But within Unity

Reply by raghuvanshagarwal | 2024-09-21 15:26:01

Yeah it’s possible

Reply by raghuvanshagarwal | 2024-09-21 15:29:57

public IEnumerator PlayAudioInOrder()
{
while (!_stopAudioPlayingLoop)
if (_responseAudios.Count > 0)
{
currentResponseAudio = _responseAudios.Dequeue(); OnAudioTranscriptAvailable?.Invoke(currentResponseAudio.AudioTranscript.Trim());
}
}

Reply by raghuvanshagarwal | 2024-09-21 15:30:28

Modify the playaudioinorder function inside ConvaiNPCAudioManager

Reply by raghuvanshagarwal | 2024-09-21 15:30:35

And lmk if you face any issue

Reply by lt.doge | 2024-09-21 15:31:24

Oh great, thank you for your help. I’ll be giving this a try later in the day :slightly_smiling_face:

Reply by raghuvanshagarwal | 2024-09-21 15:31:34

Also remove the lipsync component if you haven’t

This conversation happened on the Convai Discord Server, so this post will be closed.