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

Main structure for powermap. More...

#include <powermap_internal.h>

Data Fields

int FIFO_idx
 FIFO buffer index.
 
float inFIFO [MAX_NUM_SH_SIGNALS][POWERMAP_FRAME_SIZE]
 Input FIFO buffer.
 
float ** SHframeTD
 time-domain SH input frame; MAX_NUM_SH_SIGNALS x POWERMAP_FRAME_SIZE
 
float_complex *** SHframeTF
 time-frequency domain SH input frame; HYBRID_BANDS x MAX_NUM_SH_SIGNALS x TIME_SLOTS
 
void * hSTFT
 afSTFT handle
 
float freqVector [HYBRID_BANDS]
 Frequency vector (filterbank centre frequencies)
 
float fs
 Host sample rate, in Hz.
 
float_complex Cx [HYBRID_BANDS][MAX_NUM_SH_SIGNALS *MAX_NUM_SH_SIGNALS]
 covariance matrices per band
 
int new_masterOrder
 New maximum/master SH analysis order (current value will be replaced by this after next re-init)
 
int dispWidth
 Number of pixels on the horizontal in the 2D interpolated powermap image.
 
CODEC_STATUS codecStatus
 see CODEC_STATUS
 
PROC_STATUS procStatus
 see PROC_STATUS
 
float progressBar0_1
 Current (re)initialisation progress, between [0..1].
 
char * progressBarText
 Current (re)initialisation step, string.
 
powermap_codecParspars
 codec parameters
 
float * pmap
 grid_nDirs x 1
 
float * prev_pmap
 grid_nDirs x 1
 
float * pmap_grid [NUM_DISP_SLOTS]
 powermap interpolated to grid; interp_nDirs x 1
 
int dispSlotIdx
 Current display slot.
 
float pmap_grid_minVal
 Current minimum value in pmap (used to normalise [0..1])
 
float pmap_grid_maxVal
 Current maximum value in pmap (used to normalise [0..1])
 
int recalcPmap
 set this to 1 to generate a new powermap
 
int pmapReady
 0: powermap not started yet, 1: powermap is ready for plotting
 
int masterOrder
 Current maximum/master SH analysis order.
 
int analysisOrderPerBand [HYBRID_BANDS]
 SH analysis order per frequency band.
 
float pmapEQ [HYBRID_BANDS]
 Equalisation/weights per band.
 
HFOV_OPTIONS HFOVoption
 see HFOV_OPTIONS
 
ASPECT_RATIO_OPTIONS aspectRatioOption
 see ASPECT_RATIO_OPTIONS
 
float covAvgCoeff
 Covariance matrix averaging coefficient, [0..1].
 
float pmapAvgCoeff
 Powermap averaging coefficient, [0..1].
 
int nSources
 Current number of sources (used for MUSIC)
 
POWERMAP_MODES pmap_mode
 see POWERMAP_MODES
 
CH_ORDER chOrdering
 Ambisonic channel order convention (see CH_ORDER)
 
NORM_TYPES norm
 Ambisonic normalisation convention (see NORM_TYPES)
 

Detailed Description

Main structure for powermap.

Contains variables for audio buffers, internal variables, flags, user parameters

Definition at line 87 of file powermap_internal.h.

Field Documentation

◆ analysisOrderPerBand

int powermap_data::analysisOrderPerBand[HYBRID_BANDS]

SH analysis order per frequency band.

Definition at line 124 of file powermap_internal.h.

◆ aspectRatioOption

ASPECT_RATIO_OPTIONS powermap_data::aspectRatioOption

see ASPECT_RATIO_OPTIONS

Definition at line 127 of file powermap_internal.h.

◆ chOrdering

CH_ORDER powermap_data::chOrdering

Ambisonic channel order convention (see CH_ORDER)

Definition at line 132 of file powermap_internal.h.

◆ codecStatus

CODEC_STATUS powermap_data::codecStatus

see CODEC_STATUS

Definition at line 106 of file powermap_internal.h.

◆ covAvgCoeff

float powermap_data::covAvgCoeff

Covariance matrix averaging coefficient, [0..1].

Definition at line 128 of file powermap_internal.h.

◆ Cx

float_complex powermap_data::Cx[HYBRID_BANDS][MAX_NUM_SH_SIGNALS *MAX_NUM_SH_SIGNALS]

covariance matrices per band

Definition at line 101 of file powermap_internal.h.

◆ dispSlotIdx

int powermap_data::dispSlotIdx

Current display slot.

Definition at line 116 of file powermap_internal.h.

◆ dispWidth

int powermap_data::dispWidth

Number of pixels on the horizontal in the 2D interpolated powermap image.

Definition at line 103 of file powermap_internal.h.

◆ FIFO_idx

int powermap_data::FIFO_idx

FIFO buffer index.

Definition at line 90 of file powermap_internal.h.

◆ freqVector

float powermap_data::freqVector[HYBRID_BANDS]

Frequency vector (filterbank centre frequencies)

Definition at line 97 of file powermap_internal.h.

◆ fs

float powermap_data::fs

Host sample rate, in Hz.

Definition at line 98 of file powermap_internal.h.

◆ HFOVoption

HFOV_OPTIONS powermap_data::HFOVoption

see HFOV_OPTIONS

Definition at line 126 of file powermap_internal.h.

◆ hSTFT

void* powermap_data::hSTFT

afSTFT handle

Definition at line 96 of file powermap_internal.h.

◆ inFIFO

float powermap_data::inFIFO[MAX_NUM_SH_SIGNALS][POWERMAP_FRAME_SIZE]

Input FIFO buffer.

Definition at line 91 of file powermap_internal.h.

◆ masterOrder

int powermap_data::masterOrder

Current maximum/master SH analysis order.

Definition at line 123 of file powermap_internal.h.

◆ new_masterOrder

int powermap_data::new_masterOrder

New maximum/master SH analysis order (current value will be replaced by this after next re-init)

Definition at line 102 of file powermap_internal.h.

◆ norm

NORM_TYPES powermap_data::norm

Ambisonic normalisation convention (see NORM_TYPES)

Definition at line 133 of file powermap_internal.h.

◆ nSources

int powermap_data::nSources

Current number of sources (used for MUSIC)

Definition at line 130 of file powermap_internal.h.

◆ pars

powermap_codecPars* powermap_data::pars

codec parameters

Definition at line 110 of file powermap_internal.h.

◆ pmap

float* powermap_data::pmap

grid_nDirs x 1

Definition at line 113 of file powermap_internal.h.

◆ pmap_grid

float* powermap_data::pmap_grid[NUM_DISP_SLOTS]

powermap interpolated to grid; interp_nDirs x 1

Definition at line 115 of file powermap_internal.h.

◆ pmap_grid_maxVal

float powermap_data::pmap_grid_maxVal

Current maximum value in pmap (used to normalise [0..1])

Definition at line 118 of file powermap_internal.h.

◆ pmap_grid_minVal

float powermap_data::pmap_grid_minVal

Current minimum value in pmap (used to normalise [0..1])

Definition at line 117 of file powermap_internal.h.

◆ pmap_mode

POWERMAP_MODES powermap_data::pmap_mode

see POWERMAP_MODES

Definition at line 131 of file powermap_internal.h.

◆ pmapAvgCoeff

float powermap_data::pmapAvgCoeff

Powermap averaging coefficient, [0..1].

Definition at line 129 of file powermap_internal.h.

◆ pmapEQ

float powermap_data::pmapEQ[HYBRID_BANDS]

Equalisation/weights per band.

Definition at line 125 of file powermap_internal.h.

◆ pmapReady

int powermap_data::pmapReady

0: powermap not started yet, 1: powermap is ready for plotting

Definition at line 120 of file powermap_internal.h.

◆ prev_pmap

float* powermap_data::prev_pmap

grid_nDirs x 1

Definition at line 114 of file powermap_internal.h.

◆ procStatus

PROC_STATUS powermap_data::procStatus

see PROC_STATUS

Definition at line 107 of file powermap_internal.h.

◆ progressBar0_1

float powermap_data::progressBar0_1

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

Definition at line 108 of file powermap_internal.h.

◆ progressBarText

char* powermap_data::progressBarText

Current (re)initialisation step, string.

Definition at line 109 of file powermap_internal.h.

◆ recalcPmap

int powermap_data::recalcPmap

set this to 1 to generate a new powermap

Definition at line 119 of file powermap_internal.h.

◆ SHframeTD

float** powermap_data::SHframeTD

time-domain SH input frame; MAX_NUM_SH_SIGNALS x POWERMAP_FRAME_SIZE

Definition at line 94 of file powermap_internal.h.

◆ SHframeTF

float_complex*** powermap_data::SHframeTF

time-frequency domain SH input frame; HYBRID_BANDS x MAX_NUM_SH_SIGNALS x TIME_SLOTS

Definition at line 95 of file powermap_internal.h.


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