uezo / ChatdollKit

ChatdollKit enables you to make your 3D model into a chatbot
Apache License 2.0
684 stars 73 forks source link

Voice input is not possible #293

Closed moriya2535 closed 1 month ago

moriya2535 commented 1 month ago

Thank you for sharing this wonderful tool!

I tried running it with Unity, but I can't input voice chat. It runs on Open AI, and it can chat properly with text input. I also made sure to give Unity permission to access the microphone on Windows. The attached image is the Console log, and it appears that the built-in microphone is enabled and there is no problem. スクリーンショット 2024-06-05 093820

However, even when I talk, the Audio Clipping in Statistics remains at 0% and the green bar does not move. スクリーンショット 2024-06-05 095017

For reference, I have also pasted the log when Debug Sampling Data and Print Devices were checked in Chatdoll Microphone (Script). スクリーンショット 2024-06-05 095232 スクリーンショット 2024-06-05 094932

What points should I check to enable voice input? I would appreciate it if you could give me some advice.

In addition, I have confirmed that voice input can be performed via Chrome in the following demo. https://unagiken.com/chatdollkit/playground/index.html

uezo commented 1 month ago

Hi @moriya2535 , If you are running the demo, bring the handle on the microphone slider to the right edge and say something to the app. That means microphone handles without the noise filter.

moriya2535 commented 1 month ago

Hello @uezo Thank you for your reply. I tried to slide the green bar to the right as shown in the attached image and speak, but I could not communicate with ChatdollKit. Next, I adjusted the range so that the green circle flashed, and it started recognizing my voice. image

Thank you for your support !!