|
SAF
|
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. | |
| int | isFirstInit |
| Flag. | |
| float_complex | Cx [HYBRID_BANDS][MAX_NUM_SH_SIGNALS *MAX_NUM_SH_SIGNALS] |
| covariance matrices per band | |
| _Atomic_INT32 | new_masterOrder |
| New maximum/master SH analysis order (current value will be replaced by this after next re-init) | |
| _Atomic_INT32 | dispWidth |
| Number of pixels on the horizontal in the 2D interpolated powermap image. | |
| _Atomic_CODEC_STATUS | codecStatus |
| see CODEC_STATUS | |
| _Atomic_PROC_STATUS | procStatus |
| see PROC_STATUS | |
| _Atomic_FLOAT32 | progressBar0_1 |
| Current (re)initialisation progress, between [0..1]. | |
| char * | progressBarText |
| Current (re)initialisation step, string. | |
| powermap_codecPars * | pars |
| 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 | |
| _Atomic_INT32 | 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]) | |
| _Atomic_INT32 | recalcPmap |
| set this to 1 to generate a new powermap | |
| _Atomic_INT32 | pmapReady |
| 0: powermap not started yet, 1: powermap is ready for plotting | |
| _Atomic_INT32 | masterOrder |
| Current maximum/master SH analysis order. | |
| _Atomic_INT32 | analysisOrderPerBand [HYBRID_BANDS] |
| SH analysis order per frequency band. | |
| _Atomic_FLOAT32 | pmapEQ [HYBRID_BANDS] |
| Equalisation/weights per band. | |
| _Atomic_HFOV_OPTIONS | HFOVoption |
| see HFOV_OPTIONS | |
| _Atomic_ASPECT_RATIO_OPTIONS | aspectRatioOption |
| see ASPECT_RATIO_OPTIONS | |
| _Atomic_FLOAT32 | covAvgCoeff |
| Covariance matrix averaging coefficient, [0..1]. | |
| _Atomic_FLOAT32 | pmapAvgCoeff |
| Powermap averaging coefficient, [0..1]. | |
| _Atomic_INT32 | nSources |
| Current number of sources (used for MUSIC) | |
| _Atomic_POWERMAP_MODES | pmap_mode |
| see POWERMAP_MODES | |
| _Atomic_CH_ORDER | chOrdering |
| Ambisonic channel order convention (see CH_ORDER) | |
| _Atomic_NORM_TYPES | norm |
| Ambisonic normalisation convention (see NORM_TYPES) | |
Main structure for powermap.
Contains variables for audio buffers, internal variables, flags, user parameters
Definition at line 93 of file powermap_internal.h.
| _Atomic_INT32 powermap_data::analysisOrderPerBand[HYBRID_BANDS] |
SH analysis order per frequency band.
Definition at line 131 of file powermap_internal.h.
| _Atomic_ASPECT_RATIO_OPTIONS powermap_data::aspectRatioOption |
Definition at line 134 of file powermap_internal.h.
| _Atomic_CH_ORDER powermap_data::chOrdering |
Ambisonic channel order convention (see CH_ORDER)
Definition at line 139 of file powermap_internal.h.
| _Atomic_CODEC_STATUS powermap_data::codecStatus |
see CODEC_STATUS
Definition at line 113 of file powermap_internal.h.
| _Atomic_FLOAT32 powermap_data::covAvgCoeff |
Covariance matrix averaging coefficient, [0..1].
Definition at line 135 of file powermap_internal.h.
| float_complex powermap_data::Cx[HYBRID_BANDS][MAX_NUM_SH_SIGNALS *MAX_NUM_SH_SIGNALS] |
covariance matrices per band
Definition at line 108 of file powermap_internal.h.
| _Atomic_INT32 powermap_data::dispSlotIdx |
Current display slot.
Definition at line 123 of file powermap_internal.h.
| _Atomic_INT32 powermap_data::dispWidth |
Number of pixels on the horizontal in the 2D interpolated powermap image.
Definition at line 110 of file powermap_internal.h.
| int powermap_data::FIFO_idx |
FIFO buffer index.
Definition at line 96 of file powermap_internal.h.
| float powermap_data::freqVector[HYBRID_BANDS] |
Frequency vector (filterbank centre frequencies)
Definition at line 103 of file powermap_internal.h.
| float powermap_data::fs |
Host sample rate, in Hz.
Definition at line 104 of file powermap_internal.h.
| _Atomic_HFOV_OPTIONS powermap_data::HFOVoption |
see HFOV_OPTIONS
Definition at line 133 of file powermap_internal.h.
| void* powermap_data::hSTFT |
afSTFT handle
Definition at line 102 of file powermap_internal.h.
| float powermap_data::inFIFO[MAX_NUM_SH_SIGNALS][POWERMAP_FRAME_SIZE] |
Input FIFO buffer.
Definition at line 97 of file powermap_internal.h.
| int powermap_data::isFirstInit |
Flag.
Definition at line 107 of file powermap_internal.h.
| _Atomic_INT32 powermap_data::masterOrder |
Current maximum/master SH analysis order.
Definition at line 130 of file powermap_internal.h.
| _Atomic_INT32 powermap_data::new_masterOrder |
New maximum/master SH analysis order (current value will be replaced by this after next re-init)
Definition at line 109 of file powermap_internal.h.
| _Atomic_NORM_TYPES powermap_data::norm |
Ambisonic normalisation convention (see NORM_TYPES)
Definition at line 140 of file powermap_internal.h.
| _Atomic_INT32 powermap_data::nSources |
Current number of sources (used for MUSIC)
Definition at line 137 of file powermap_internal.h.
| powermap_codecPars* powermap_data::pars |
codec parameters
Definition at line 117 of file powermap_internal.h.
| float* powermap_data::pmap |
grid_nDirs x 1
Definition at line 120 of file powermap_internal.h.
| float* powermap_data::pmap_grid[NUM_DISP_SLOTS] |
powermap interpolated to grid; interp_nDirs x 1
Definition at line 122 of file powermap_internal.h.
| float powermap_data::pmap_grid_maxVal |
Current maximum value in pmap (used to normalise [0..1])
Definition at line 125 of file powermap_internal.h.
| float powermap_data::pmap_grid_minVal |
Current minimum value in pmap (used to normalise [0..1])
Definition at line 124 of file powermap_internal.h.
| _Atomic_POWERMAP_MODES powermap_data::pmap_mode |
see POWERMAP_MODES
Definition at line 138 of file powermap_internal.h.
| _Atomic_FLOAT32 powermap_data::pmapAvgCoeff |
Powermap averaging coefficient, [0..1].
Definition at line 136 of file powermap_internal.h.
| _Atomic_FLOAT32 powermap_data::pmapEQ[HYBRID_BANDS] |
Equalisation/weights per band.
Definition at line 132 of file powermap_internal.h.
| _Atomic_INT32 powermap_data::pmapReady |
0: powermap not started yet, 1: powermap is ready for plotting
Definition at line 127 of file powermap_internal.h.
| float* powermap_data::prev_pmap |
grid_nDirs x 1
Definition at line 121 of file powermap_internal.h.
| _Atomic_PROC_STATUS powermap_data::procStatus |
see PROC_STATUS
Definition at line 114 of file powermap_internal.h.
| _Atomic_FLOAT32 powermap_data::progressBar0_1 |
Current (re)initialisation progress, between [0..1].
Definition at line 115 of file powermap_internal.h.
| char* powermap_data::progressBarText |
Current (re)initialisation step, string.
Definition at line 116 of file powermap_internal.h.
| _Atomic_INT32 powermap_data::recalcPmap |
set this to 1 to generate a new powermap
Definition at line 126 of file powermap_internal.h.
| float** powermap_data::SHframeTD |
time-domain SH input frame; MAX_NUM_SH_SIGNALS x POWERMAP_FRAME_SIZE
Definition at line 100 of file powermap_internal.h.
| float_complex*** powermap_data::SHframeTF |
time-frequency domain SH input frame; HYBRID_BANDS x MAX_NUM_SH_SIGNALS x TIME_SLOTS
Definition at line 101 of file powermap_internal.h.