Info

This question is closed. Reopen it to edit or answer.

Why the coherence of two synchronized IEPE microphone signals is not close to one?

1 view (last 30 days)
Hi, everyone,
I'm working on a sound source localization project. I use compactDAQ and 4 IEPE microphones from NI to set up a microphone array for the localization. When I read microphones data, they should be synchronized right? So I use mscohere function to calculate the coherence of two microphones. The distance between two microphones is like 2cm. However, the coherence I got is really bad not even close to 1. I will share how I record the microphone data code here. Are two microphone data recorded simultaneously? If so, what is the cause of bad coherence?
devices = daq.getDevices;
s = daq.createSession('ni');
addAnalogInputChannel(s, 'cDAQ1Mod1',0,'Microphone');
addAnalogInputChannel(s, 'cDAQ1Mod1',1,'Microphone');
s.Channels(1,1).Sensitivity = 0.04754;
s.Channels(1,2).Sensitivity = 0.04754;
s.Rate = 51200;
s.DurationInSeconds = 5;
[data,time] = s.startForeground();
plot(time,data);
  5 Comments
dpb
dpb on 4 Oct 2018
OK, so now have indeed confirmed the hardware is; so something else would appear to be going on.
Do you have anything but noise as the actual response--what if you provide a fixed single tone to a single input; can you reproduce it in tone and amplitude?
Then try two.
When that works, then try the actual signal...

Answers (0)

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!