Prev: Adaptive median filter
Next: Error
From: speng on 9 Feb 2007 09:49 Help appreciated Martin! One last query.... I am working with 2 sets of data(for sound localization), one set of analoginput containing data depicting the speaker speaking closer to the left microphone and the other having the speaker speaking closer to the right microphone. For the former case, i get a value less than 40000(i.e 39997) For the latter case, i get a value more than 40000(i.e 40002) Apart from allowing me to calculate the time difference between the 2 signals, can these values indicate where i.e L or R the speaking is? From what i observe, since 40000 is the zeroth lag, i realise that a value less than 40000 indicates speaking speaking nearer to the left mic, and a value more than 40000 indicates speaker nearer to right. Please advise and enlighten me on my observations. Regards, Speng. Martin Hammer wrote: > > > On Thu, 8 Feb 2007 11:19:40 -0500 > speng <speng_ster(a)yahoo.com> wrote: > >> Hi Martin, >> >> Just to clarify things. Sorry if i dont see your implications >> straightaway.... >> >> so lets say i am sampling at rate of 8kHz(i.e 8000 samples per > sec). >> So each data pt on horizontal axes will correspond to 1/8000 of a >> second. Am i right to conclude that since zeroth lag is indicated > in >> the middle of the sequence, then the time difference between my x > and >> y signal is approx 2 * 1/8000? >> >> Thanks for previous reply. >> >> Speng >> > > Well, with 40000 input samples, 40000 will be the zero'th lag, as > previously stated. 40000-39997 = ??? > > It is correct that this number multiplied by the sampling period > equals > the time delay. > > Martin > |