Mic demo not working

i installed matrix-creator-hal.

everloop demo is functioning properly but the mic_demo is not

here is the output

pi@raspberrypi:~/matrix-creator-hal/build $ demos/mic_demo
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0	
0	0	0	0	0	0	0	0

Hi @daadu,

What about the ./mic_energy demo ?? It could be easier to see is the microphones are working. Also you can use the micarray_recorder to test mics separately.

Let us know how it was.

Yoel

mic_energy demo is functioning but micarray_recorder is not.

getting noise in output files.

do i need to do any alsa config changes?

I’m sorry.

micarray_recorder is functioning.

but mic_demo gives the same output.

Hi @daadu,

So I asume that if micarray_recorder is working you are getting audio records from the individuals mics. About the mic_demo not working, be aware that this demo require you to do some kind of laud noise like claps or finger snapping to produce a change in the values. For example:


In this example I was clapping.

Yoel