Skip to content

DOASimulation

Overview

Simulate specified DOA for specified mic array

Discussion

This module implements a synthesized direction of arrival for a specified mic geometry. Module argument NUMMICS sets number of microphones. Module parameter MicPositions allows user to enter x,y coordinates of the microphones. Module parameter Angle appears on inspector and allows user to select direction of arrival. A mono signal is input to the module. The module outputs a N channel signal with delays set to simulate the desired DOA.

Module Pack

awe-mod-dspc-vui

ClassID

classID =

Type Definition

typedef struct _ModuleDOASimulation
{
ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleDOASimulationClass;

Variables

Properties

Name Type Usage isHidden Default Value Range Units
Angle float parameter 0 0 0:360 degrees
Delays float* state 0 [4 x 1] Unrestricted
MicPositions float* parameter 0 [2 x 4] Unrestricted

Pins

Input Pins

Name monoIn
Description Single channel input
Data type float
Channel range 1
Block size range Unrestricted
Sample rate range Unrestricted
Complex support Real

Output Pins

Name MIcsOut
Description Simulated Mic channels out
Data Type float

Scratch Pins

Channel Count 1
Block size 32
Sample rate 48000
Channel Count 1
Block size 32
Sample rate 48000
Channel Count 1
Block size 32
Sample rate 48000
Channel Count 1
Block size 32
Sample rate 48000
Channel Count 1
Block size 32
Sample rate 48000

Matlab Usage

File Name: doa_simulation_subsystem.m 

Copyright (c) 2026 DSP Concepts, Inc.