This invention provides a sound
source localization method based on offline
library construction of
array element coordinates, which can be applied to the field of sound
source localization technology. The method is applied to a localization array, which includes multiple array elements, among which a
reference array element is included. The method includes: for each of the multiple array elements in any scanning direction within its scanning range; acquiring the scanning
signal corresponding to each of the multiple array elements in its scanning direction; calling the fractional
delay coefficient
library and integer
delay library corresponding to each of the multiple array elements; determining the fractional
delay coefficient and integer sampling delay corresponding to each of the multiple array elements in its scanning direction; performing time delay compensation on the scanning
signal to obtain the scanning compensation
signal corresponding to each of the multiple array elements in its scanning direction; obtaining the signal
spatial spectrum corresponding to any scanning direction based on the scanning compensation signal corresponding to each of the multiple array elements in any scanning direction; and determining the target direction of the sound source to be located within the scanning range.