coqui-ai / STT-examples

🐸STT integration examples
https://github.com/coqui-ai/STT
Mozilla Public License 2.0
117 stars 45 forks source link

Error when using 4 channels in mic_vad_streaming.py file. #33

Closed Varuzhan97 closed 2 years ago

Varuzhan97 commented 2 years ago

I try to change channels number to 4 to work with 4 channels of audio with mic_vad_streaming.py file. I have respeaker 4 mic array kit. When I change line 20 to "CHANNELS = 4" and line 134 to "is_speech = self.vad.is_speech(frame[0::self.CHANNELS], self.sample_rate)" it starts endless collecting frame until reaches to limit and starts again. How to solve this problem?