The embodiment of the invention provides a sound source
positioning system and method in a virtual environment, which are applied to sound source positioning of an
intelligent agent in the virtual environment. The sound source
simulation module is used for simulating and generating a sound
signal in a virtual environment and simulating propagation of the sound
signal in the virtual environment; the sound source caching module is used for setting a plurality of buffer areas, caching the sound signals generated by the sound source
simulation module, and setting the frequency at which the sound signals are sent to the sound source positioning module for
processing; and the sound source positioning module is used for detecting the position of a sound source according to the sound
signal sent by the sound source cache module and carrying out sound source integration. According to the invention, a
unified system architecture is designed to support the auditory capability and the sound
source localization capability of the virtual human, and different sound
source localization algorithms can be adapted by designing a high-universality interface. Moreover, the buffer area is adopted to buffer the sound segments, the data length of single
processing of the sound
source localization algorithm is increased, and the accuracy of the localization
algorithm is improved.