Share via


SoundSourceAngleChangedEventArgs.Angle Property

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Gets the angle (in degrees) between the sensor and the sound source. The range is [-50, +50], where negative angles are to the left and positive angles are to the right.

Syntax

public double Angle { get; }
'Declaration
Public ReadOnly Property Angle As Double 

Property Value

Type: Double
The angle.

Remarks

The angle is a horizontal angle where:

  • The x- and z-axes of the sensor define the horizontal plane.
  • The horizontal angle is on the xz plane, which is perpendicular to the z-axis of the Kinect.
  • 0 degrees indicates the strongest sound is centered directly in front of the Kinect, a positive angle means the sound is to the right of the Kinect, and a negative angle means the sound is to the left of the Kinect.

For more information about getting the angle of the audio source, see KinectAudio DMO.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

SoundSourceAngleChangedEventArgs Class
SoundSourceAngleChangedEventArgs Members
Microsoft.Kinect Namespace