Discussions
Problem with Speech-To-Text
Hi there,
I am using the heygen streaming-avatar 2.0.10 library in VoiceChat mode when working with an interactive avatar in React.
I have a problem with voice recognition which is as follows.
For example if I say the following text: “I'm sure that speaking aloud helps you.”
As a result of recognition I get in : “Iam surethat speaking aloudhelps you.”
This problem is quite often repeated in a conversation.
Funny thing is, if I run the avatar here https://labs.heygen.com/interactive-avatar.
it recognizes everything fine. But if I embed the avatar on my page using the library I get the voice recognition problem described above...
Browser: Chrome
OS: Windows 10
Implementation code:
const res = await avatar.current.createStartAvatar({
quality: AvatarQuality.Medium,
avatarName: AVATAR_ID,
knowledgeId: KNOW_ID,
voice: {
rate: 1.5, // 0.5 ~ 1.5
emotion: VoiceEmotion.EXCITED
},
language: "en",
disableIdleTimeout: false,
});
What should I do to solve the problem ?