Cross Correlation of two sound signals

In summary: The amplitude on the graph seems to be increasing as the frequency sent in changes, as though the system is trying to match the frequency sent in.
  • #1
sampathkumarm
1
0
Hello!
We are trying to verify if an acoustic standing wave has been established in a cavity. In order to do so, we are giving a constant frequency signal to a speaker. We are picking up the signal at two locations, one very close to the speaker(reference signal) and at a particular location(captured signal). We are cross correlating them. Ideally, we are supposed to get a zero phase difference between the two signals for the frequency sent in, proving that the reference and captured signals are varying simultaneously in time. However, we are getting a jump from -pi to pi at that frequency ?(here,its 520Hz). Could anyone explain what is happening? Thank you for taking your time for this!
 

Attachments

  • hole10.jpg
    hole10.jpg
    10 KB · Views: 497
Engineering news on Phys.org
  • #2
sampathkumarm said:
Hello!
We are trying to verify if an acoustic standing wave has been established in a cavity. In order to do so, we are giving a constant frequency signal to a speaker. We are picking up the signal at two locations, one very close to the speaker(reference signal) and at a particular location(captured signal). We are cross correlating them. Ideally, we are supposed to get a zero phase difference between the two signals for the frequency sent in, proving that the reference and captured signals are varying simultaneously in time. However, we are getting a jump from -pi to pi at that frequency ?(here,its 520Hz). Could anyone explain what is happening? Thank you for taking your time for this!

Welcome to the PF.

Could you also post a diagram of your cavity, showing the speaker location and the locations of the microphones?
 
  • #3
sampathkumarm said:
Ideally, we are supposed to get a zero phase difference between the two signals for the frequency sent in, proving that the reference and captured signals are varying simultaneously in time.

Why do you think that should happen? And why do you think it should happen only at a resonance?

Also, what are you measuring (or calculating) on the plot that looks like an amplitude?

The sudden change in phase suggests the system has a mode (or resonance) at that frequency, but without a drawing of the complete setup it's hard to guess what is happening.
 

1. What is the purpose of cross correlation in sound signals?

Cross correlation is used to measure the similarity between two sound signals. It helps to identify if the two signals have similar patterns or if they are completely different. This is useful in areas such as speech recognition and audio signal processing.

2. How is cross correlation calculated?

Cross correlation is calculated by multiplying one signal by the time-reversed version of the other signal and then summing the results over different time lags. This process is repeated for each time lag to produce a cross correlation function.

3. What does a high cross correlation value indicate?

A high cross correlation value indicates a strong similarity between the two sound signals. This means that the two signals have similar patterns and are likely to be related in some way.

4. Can cross correlation be used to determine the time delay between two sound signals?

Yes, cross correlation can be used to determine the time delay between two sound signals. The time lag at which the maximum cross correlation value occurs represents the time delay between the two signals.

5. Are there any limitations to using cross correlation for sound signals?

Yes, there are a few limitations to using cross correlation for sound signals. It assumes that the two signals being compared are stationary (do not change over time) and that they are linearly related. Additionally, it may not be effective if there is a lot of noise in the signals or if the signals have different lengths.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
10
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
10
Views
1K
Replies
35
Views
7K
  • Biology and Medical
Replies
6
Views
388
Replies
12
Views
1K
  • Electrical Engineering
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • General Math
Replies
1
Views
736
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • General Engineering
Replies
2
Views
5K
Back
Top