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?
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?