SAF
Loading...
Searching...
No Matches
array2sh_data Struct Reference

Main structure for array2sh. More...

#include <array2sh_internal.h>

Data Fields

float ** inputFrameTD
 Input sensor signals in the time-domain; MAX_NUM_SENSORS x ARRAY2SH_FRAME_SIZE.
 
float ** SHframeTD
 Output SH signals in the time-domain; MAX_NUM_SH_SIGNALS x ARRAY2SH_FRAME_SIZE.
 
float_complex *** inputframeTF
 Input sensor signals in the time-domain; HYBRID_BANDS x MAX_NUM_SENSORS x TIME_SLOTS.
 
float_complex *** SHframeTF
 Output SH signals in the time-domain; HYBRID_BANDS x MAX_NUM_SH_SIGNALS x TIME_SLOTS.
 
double_complex bN_modal [HYBRID_BANDS][MAX_SH_ORDER+1]
 Current modal coeffients.
 
double_complex * bN
 Temp vector for the modal coefficients.
 
double_complex bN_inv [HYBRID_BANDS][MAX_SH_ORDER+1]
 1/bN_modal
 
double_complex bN_inv_R [HYBRID_BANDS][MAX_NUM_SH_SIGNALS]
 1/bN_modal with regularisation
 
float_complex W [HYBRID_BANDS][MAX_NUM_SH_SIGNALS][MAX_NUM_SENSORS]
 Encoding weights.
 
float_complex W_diffEQ [HYBRID_BANDS][MAX_NUM_SH_SIGNALS][MAX_NUM_SENSORS]
 Encoding weights with diffuse-field EQ above the spatial aliasing limit.
 
float ** bN_modal_dB
 modal responses / no regulaisation; HYBRID_BANDS x (MAX_SH_ORDER +1)
 
float ** bN_inv_dB
 modal responses / with regularisation; HYBRID_BANDS x (MAX_SH_ORDER +1)
 
float * cSH
 spatial correlation; HYBRID_BANDS x 1
 
float * lSH
 level difference; HYBRID_BANDS x 1
 
float freqVector [HYBRID_BANDS]
 frequency vector
 
void * hSTFT
 filterbank handle
 
void * arraySpecs
 array configuration
 
ARRAY2SH_EVAL_STATUS evalStatus
 see ARRAY2SH_EVAL_STATUS
 
float progressBar0_1
 Current (re)initialisation progress, between [0..1].
 
char * progressBarText
 Current (re)initialisation step, string.
 
int fs
 sampling rate, hz
 
int new_order
 new encoding order (current value will be replaced by this after next re-init)
 
double_complex * L_diff_fal
 
double_complex * L_diff
 
double_complex * E_diff
 
double_complex * W_diffEQ_tmp
 
double_complex * W_tmp
 
PROC_STATUS procStatus
 see PROC_STATUS
 
int reinitSHTmatrixFLAG
 0: do not reinit; 1: reinit;
 
int evalRequestedFLAG
 0: do not reinit; 1: reinit;
 
int order
 current encoding order
 
ARRAY2SH_MICROPHONE_ARRAY_PRESETS preset
 currently selected MIC preset
 
ARRAY2SH_FILTER_TYPES filterType
 encoding filter approach
 
float regPar
 regularisation upper gain limit, dB;
 
CH_ORDER chOrdering
 Ambisonic channel order convention (see CH_ORDER)
 
NORM_TYPES norm
 Ambisonic normalisation convention (see NORM_TYPES)
 
float c
 speed of sound, m/s
 
float gain_dB
 post gain, dB
 
int enableDiffEQpastAliasing
 0: disabled, 1: enabled
 

Detailed Description

Main structure for array2sh.

Contains variables for audio buffers, afSTFT, encoding matrices, internal variables, flags, user parameters

Definition at line 105 of file array2sh_internal.h.

Field Documentation

◆ arraySpecs

void* array2sh_data::arraySpecs

array configuration

Definition at line 130 of file array2sh_internal.h.

◆ bN

double_complex* array2sh_data::bN

Temp vector for the modal coefficients.

Definition at line 115 of file array2sh_internal.h.

◆ bN_inv

double_complex array2sh_data::bN_inv[HYBRID_BANDS][MAX_SH_ORDER+1]

1/bN_modal

Definition at line 116 of file array2sh_internal.h.

◆ bN_inv_dB

float** array2sh_data::bN_inv_dB

modal responses / with regularisation; HYBRID_BANDS x (MAX_SH_ORDER +1)

Definition at line 123 of file array2sh_internal.h.

◆ bN_inv_R

double_complex array2sh_data::bN_inv_R[HYBRID_BANDS][MAX_NUM_SH_SIGNALS]

1/bN_modal with regularisation

Definition at line 117 of file array2sh_internal.h.

◆ bN_modal

double_complex array2sh_data::bN_modal[HYBRID_BANDS][MAX_SH_ORDER+1]

Current modal coeffients.

Definition at line 114 of file array2sh_internal.h.

◆ bN_modal_dB

float** array2sh_data::bN_modal_dB

modal responses / no regulaisation; HYBRID_BANDS x (MAX_SH_ORDER +1)

Definition at line 122 of file array2sh_internal.h.

◆ c

float array2sh_data::c

speed of sound, m/s

Definition at line 158 of file array2sh_internal.h.

◆ chOrdering

CH_ORDER array2sh_data::chOrdering

Ambisonic channel order convention (see CH_ORDER)

Definition at line 156 of file array2sh_internal.h.

◆ cSH

float* array2sh_data::cSH

spatial correlation; HYBRID_BANDS x 1

Definition at line 124 of file array2sh_internal.h.

◆ E_diff

double_complex* array2sh_data::E_diff

Definition at line 142 of file array2sh_internal.h.

◆ enableDiffEQpastAliasing

int array2sh_data::enableDiffEQpastAliasing

0: disabled, 1: enabled

Definition at line 160 of file array2sh_internal.h.

◆ evalRequestedFLAG

int array2sh_data::evalRequestedFLAG

0: do not reinit; 1: reinit;

Definition at line 149 of file array2sh_internal.h.

◆ evalStatus

ARRAY2SH_EVAL_STATUS array2sh_data::evalStatus

see ARRAY2SH_EVAL_STATUS

Definition at line 133 of file array2sh_internal.h.

◆ filterType

ARRAY2SH_FILTER_TYPES array2sh_data::filterType

encoding filter approach

Definition at line 154 of file array2sh_internal.h.

◆ freqVector

float array2sh_data::freqVector[HYBRID_BANDS]

frequency vector

Definition at line 128 of file array2sh_internal.h.

◆ fs

int array2sh_data::fs

sampling rate, hz

Definition at line 136 of file array2sh_internal.h.

◆ gain_dB

float array2sh_data::gain_dB

post gain, dB

Definition at line 159 of file array2sh_internal.h.

◆ hSTFT

void* array2sh_data::hSTFT

filterbank handle

Definition at line 129 of file array2sh_internal.h.

◆ inputFrameTD

float** array2sh_data::inputFrameTD

Input sensor signals in the time-domain; MAX_NUM_SENSORS x ARRAY2SH_FRAME_SIZE.

Definition at line 108 of file array2sh_internal.h.

◆ inputframeTF

float_complex*** array2sh_data::inputframeTF

Input sensor signals in the time-domain; HYBRID_BANDS x MAX_NUM_SENSORS x TIME_SLOTS.

Definition at line 110 of file array2sh_internal.h.

◆ L_diff

double_complex* array2sh_data::L_diff

Definition at line 141 of file array2sh_internal.h.

◆ L_diff_fal

double_complex* array2sh_data::L_diff_fal

Definition at line 140 of file array2sh_internal.h.

◆ lSH

float* array2sh_data::lSH

level difference; HYBRID_BANDS x 1

Definition at line 125 of file array2sh_internal.h.

◆ new_order

int array2sh_data::new_order

new encoding order (current value will be replaced by this after next re-init)

Definition at line 137 of file array2sh_internal.h.

◆ norm

NORM_TYPES array2sh_data::norm

Ambisonic normalisation convention (see NORM_TYPES)

Definition at line 157 of file array2sh_internal.h.

◆ order

int array2sh_data::order

current encoding order

Definition at line 152 of file array2sh_internal.h.

◆ preset

ARRAY2SH_MICROPHONE_ARRAY_PRESETS array2sh_data::preset

currently selected MIC preset

Definition at line 153 of file array2sh_internal.h.

◆ procStatus

PROC_STATUS array2sh_data::procStatus

see PROC_STATUS

Definition at line 147 of file array2sh_internal.h.

◆ progressBar0_1

float array2sh_data::progressBar0_1

Current (re)initialisation progress, between [0..1].

Definition at line 134 of file array2sh_internal.h.

◆ progressBarText

char* array2sh_data::progressBarText

Current (re)initialisation step, string.

Definition at line 135 of file array2sh_internal.h.

◆ regPar

float array2sh_data::regPar

regularisation upper gain limit, dB;

Definition at line 155 of file array2sh_internal.h.

◆ reinitSHTmatrixFLAG

int array2sh_data::reinitSHTmatrixFLAG

0: do not reinit; 1: reinit;

Definition at line 148 of file array2sh_internal.h.

◆ SHframeTD

float** array2sh_data::SHframeTD

Output SH signals in the time-domain; MAX_NUM_SH_SIGNALS x ARRAY2SH_FRAME_SIZE.

Definition at line 109 of file array2sh_internal.h.

◆ SHframeTF

float_complex*** array2sh_data::SHframeTF

Output SH signals in the time-domain; HYBRID_BANDS x MAX_NUM_SH_SIGNALS x TIME_SLOTS.

Definition at line 111 of file array2sh_internal.h.

◆ W

float_complex array2sh_data::W[HYBRID_BANDS][MAX_NUM_SH_SIGNALS][MAX_NUM_SENSORS]

Encoding weights.

Definition at line 118 of file array2sh_internal.h.

◆ W_diffEQ

float_complex array2sh_data::W_diffEQ[HYBRID_BANDS][MAX_NUM_SH_SIGNALS][MAX_NUM_SENSORS]

Encoding weights with diffuse-field EQ above the spatial aliasing limit.

Definition at line 119 of file array2sh_internal.h.

◆ W_diffEQ_tmp

double_complex* array2sh_data::W_diffEQ_tmp

Definition at line 143 of file array2sh_internal.h.

◆ W_tmp

double_complex* array2sh_data::W_tmp

Definition at line 144 of file array2sh_internal.h.


The documentation for this struct was generated from the following file: