Click here to Skip to main content
15,886,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a C# project that takes multiple (2 at the moment) microphones as an audio devices, detects sound from them, processes their audio frames with Fourier Transform and displays them. It also prints them in three colors: red is for microphone that has stronger input, green is for microphone that has weaker input and grey is for frames that arent strong enough to be of any interest.

Next step of my project is to calculate the time difference of sound samples that arrive at each microphone. For example if i speak directly to one microphone and the other is 3 feet away, the difference should be about 3 ms (assuming sound speed at 1feet/ms). This is of course just an example.

Can anyone help me with this? I've made my project based on this: Sound visualizer in C#
Posted
Updated 12-Apr-13 0:14am
v2

1 solution

Roughly speaking, I would first normalize the amplitude of the two graphs and then time-translate one of them until best superposition is reached.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900