Document toolboxDocument toolbox

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.

Type Definition

-- Not Shown --

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