Hi there,
The doa without keywords work well with respeaker 4 mic pi hat, i tested it just now. you can see the result from viewtopic.php?f=87&t=9314
The doa without keywords with respeaker 6 mic pi hat, please do below changes. but it is still not very stable.
- vad_doa.py:change the channels to 8
RATE = 16000
CHANNELS = 8
VAD_FRAMES = 10 # ms
DOA_FRAMES = 200 # ms
- mic_arrray.py: change the mic distance to 0.094 and MIC_GROUP = [[0, 3], [1, 4], [2, 5]]
MIC_DISTANCE_6P1 = 0.094
MAX_TDOA_6P1 = MIC_DISTANCE_6P1 / float(SOUND_SPEED)
def get_direction(self, buf):
best_guess = None
if self.channels == 8:
MIC_GROUP_N = 3
MIC_GROUP = [[0, 3], [1, 4], [2, 5]]