uezo / ChatdollKit

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

I'm talking but the voice bar doesn't respond #292

Open Liangkatrina opened 3 months ago

Liangkatrina commented 3 months ago

Hello, I followed your steps to complete the setup, and no errors occurred, but it seems that it cannot recognize that I am speaking, and the voice bar does not reflect it. How can I solve this problem?

uezo commented 3 months ago

Hi @Liangkatrina ,

Set true to Print Devices on inspector of ChatdollMicrophone and start your app.

image

Stop your app and check the log. In this case, index 0 is used by ChatdollKit.

Available microphone devices0: MacBook Proのマイク
1: ‎猫のマイク
2: VB-Cable
3: VB-Cable A
4: VB-Cable B
5: ZoomAudioDevice
Rec 0: MacBook Proのマイク

If the index is not the one you intended to use, set the device name you want to use. (e.g. VB-Cable A)

If the index looks correct, set true to Debug Sampling Data on the inspector to check whether ChatdollKit is handling the input stream from microphone.

image
Samples from device: 0.000793457,0.000793457,0.0007629395,0.000793457,0.0007629395,0.000793457,0.0008544922,0.0008239746,0.0008544922,0.0008239746,0.000793457,0.0007629395,0.000793457,0.000793457,0.000793457,0.0008239746,0.0008239746,0.000793457,0.0008239746,0.0008239746,0.0007629395,0.0007629395,0.0007324219,0.0006713867,0.0006103516,0.0005493164,0.000579834,0.0005187988,0.0005493164,0.0005493164,0.0005187988,0.0005493164,0.000579834,0.0006408691,0.0006713867,0.0007019043,0.0007324219,0.0006713867,0.0006103516,0.0006103516,0.0005493164,0.0005187988,0.0005187988,0.0004882813,0.0004882813,0.0004577637,0.0003967285,0.0004272461, ...