THE AUDITORY MODELING TOOLBOX

Applies to version: 0.9.5

View the code

Go to function

LINDEMANN1986CENTROID - Calculates the centroid for a cross-correlation

Usage

d = lindemann1986centroid(cc)

Input parameters

cc Lindemann cross-correlation. Dim: 1 x delay line length

Output parameters

d lindemann1986centroid in the range -1..1~ms

Description

lindemann1986centroid(cc) calculates the centroid for a given cross-correlation from the Lindemann model.

The centroid is computed by (see Lindemann (1986a), page 1613, eq. 22):

\begin{equation*} d = \frac{\sum_{m=-M}^{M} m*\Psi (m)}{\sum_{m=-M}^M \Psi (m) } \end{equation*}

where M is half the length of the delay line \(-M,...,M\) .

References:

W. Lindemann. Extension of a binaural cross-correlation model by contralateral inhibition. I. Simulation of lateralization for stationary signals. J. Acoust. Soc. Am., 80:1608-1622, 1986.