struct Audio::MicrophoneArrayGeometry

Represents the geometry of a microphone array.

Members

microphoneArrayType

Syntax: public MicrophoneArrayType microphoneArrayType;

Type of microphone array.

beamformingStartAngle

Syntax: public uint16_t beamformingStartAngle;

Start angle for beamforming in degrees.

beamformingEndAngle

Syntax: public uint16_t beamformingEndAngle;

End angle for beamforming in degrees.

microphoneCoordinates

Syntax: public std::vector< MicrophoneCoordinates > microphoneCoordinates;

Coordinates of microphones in the microphone array.

MicrophoneArrayGeometry

Syntax: public inline MicrophoneArrayGeometry ( MicrophoneArrayType microphoneArrayType , const std::vector< MicrophoneCoordinates > & microphoneCoordinates );

Creates a new instance of MicrophoneArrayGeometry. Beamforming start angle is set to zero. Beamforming end angle is set to 180 degrees if microphoneArrayType is Linear, otherwise it is set to 360 degrees.

Parameters

  • microphoneArrayType Type of microphone array.

  • microphoneCoordinates Coordinates of microphones in the microphone array.

MicrophoneArrayGeometry

Syntax: public inline MicrophoneArrayGeometry ( MicrophoneArrayType microphoneArrayType , uint16_t beamformingStartAngle , uint16_t beamformingEndAngle , const std::vector< MicrophoneCoordinates > & microphoneCoordinates );

Creates a new instance of MicrophoneArrayGeometry.

Parameters

  • microphoneArrayType Type of microphone array.

  • beamformingStartAngle Start angle for beamforming in degrees.

  • beamformingEndAngle End angle for beamforming in degrees.

  • microphoneCoordinates Coordinates of microphones in the microphone array.