Class MicrophoneArrayGeometry


  • public class MicrophoneArrayGeometry
    extends Object
    Represents the geometry of a microphone array.
    • Constructor Detail

      • MicrophoneArrayGeometry

        public MicrophoneArrayGeometry​(MicrophoneArrayType microphoneArrayType,
                                       MicrophoneCoordinates[] microphoneCoordinates)
        Creates an object 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

        public MicrophoneArrayGeometry​(MicrophoneArrayType microphoneArrayType,
                                       int beamformingStartAngle,
                                       int beamformingEndAngle,
                                       MicrophoneCoordinates[] microphoneCoordinates)
        Creates an object 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.
    • Method Detail

      • getMicrophoneArrayType

        public MicrophoneArrayType getMicrophoneArrayType()
        Returns the type of microphone array.
        Returns:
        Type of microphone array.
      • getBeamformingStartAngle

        public int getBeamformingStartAngle()
        Returns the start angle for beamforming in degrees.
        Returns:
        Start angle for beamforming in degrees.
      • getBeamformingEndAngle

        public int getBeamformingEndAngle()
        Returns the end angle for beamforming in degrees.
        Returns:
        End angle for beamforming in degrees.
      • getMicrophoneCoordinates

        public MicrophoneCoordinates[] getMicrophoneCoordinates()
        Returns the coordinates of microphones in the microphone array.
        Returns:
        Coordinates of microphones in the microphone array.