Sound source localization
The fundamentals of sound source localization are based on identifying the sound source angle and the beam angle, and the response to the changes as well.
Sound source angle
The source angle is the range area that Kinect can listen to and it's valid from +50 to -50 radians. The KinectAudioSource
class has the SoundSourceAngle
property, which returns the current source angle.
Note
Once we start the Kinect audio source, the SoundSourceAngle
property starts updating automatically.
The Kinect source angle is calculated based on the current Kinect camera coordinates, where the x and y axes define the horizontal plane.
You can use the MaxSoundSourceAngle
and MinSoundSourceAngle
properties of the KinectAudioSource
class to get the maximum and minimum values of the sound source angle.
The SDK raises the SoundSourceAngleChanged
event if there is any change in the source angle. The SoundSourceAngleChangedEventArgs
class contains two properties that return the current source angle...