SAF
|
Main structure for ambi_bin. More...
#include <ambi_bin_internal.h>
Data Fields | |
_Atomic_INT32 | fs |
host sampling rate | |
float ** | SHFrameTD |
Input spherical harmonic (SH) signals in the time-domain; MAX_NUM_SH_SIGNALS x AMBI_BIN_FRAME_SIZE. | |
float ** | binFrameTD |
Output binaural signals in the time-domain; NUM_EARS x AMBI_BIN_FRAME_SIZE. | |
float_complex *** | SHframeTF |
Input spherical harmonic (SH) signals in the time-frequency domain; HYBRID_BANDS x MAX_NUM_SH_SIGNALS x TIME_SLOTS. | |
float_complex *** | binframeTF |
Output binaural signals in the time-frequency domain; HYBRID_BANDS x NUM_EARS x TIME_SLOTS. | |
void * | hSTFT |
afSTFT handle | |
int | afSTFTdelay |
for host delay compensation | |
float | freqVector [HYBRID_BANDS] |
frequency vector for time-frequency transform, in Hz | |
_Atomic_CODEC_STATUS | codecStatus |
see CODEC_STATUS | |
_Atomic_FLOAT32 | progressBar0_1 |
Current (re)initialisation progress, between [0..1]. | |
char * | progressBarText |
Current (re)initialisation step, string. | |
ambi_bin_codecPars * | pars |
Decoding specific data. | |
_Atomic_PROC_STATUS | procStatus |
see PROC_STATUS | |
float_complex | M_rot [MAX_NUM_SH_SIGNALS][MAX_NUM_SH_SIGNALS] |
Current SH rotation matrix. | |
_Atomic_INT32 | new_order |
new decoding order (current value will be replaced by this after next re-init) | |
_Atomic_INT32 | nSH |
number of spherical harmonic signals | |
_Atomic_INT32 | recalc_M_rotFLAG |
0: no init required, 1: init required | |
_Atomic_INT32 | reinit_hrtfsFLAG |
0: no init required, 1: init required | |
_Atomic_INT32 | order |
current decoding order | |
_Atomic_INT32 | enableMaxRE |
0: disabled, 1: enabled | |
_Atomic_INT32 | enableDiffuseMatching |
0: disabled, 1: enabled | |
_Atomic_INT32 | enableTruncationEQ |
0: disabled, 1: enabled | |
_Atomic_AMBI_BIN_DECODING_METHODS | method |
current decoding method (see AMBI_BIN_DECODING_METHODS) | |
_Atomic_INT32 | useDefaultHRIRsFLAG |
1: use default HRIRs in database, 0: use those from SOFA file | |
_Atomic_AMBI_BIN_PREPROC | preProc |
HRIR pre-processing strategy. | |
_Atomic_CH_ORDER | chOrdering |
Ambisonic channel order convention (see CH_ORDER) | |
_Atomic_NORM_TYPES | norm |
Ambisonic normalisation convention (see NORM_TYPES) | |
_Atomic_INT32 | enableRotation |
Whether rotation should be enabled (1) or disabled (0) | |
_Atomic_FLOAT32 | yaw |
yaw (Euler) rotation angle, in degrees | |
_Atomic_FLOAT32 | roll |
roll (Euler) rotation angle, in degrees | |
_Atomic_FLOAT32 | pitch |
pitch (Euler) rotation angle, in degrees | |
_Atomic_INT32 | bFlipYaw |
flag to flip the sign of the yaw rotation angle | |
_Atomic_INT32 | bFlipPitch |
flag to flip the sign of the pitch rotation angle | |
_Atomic_INT32 | bFlipRoll |
flag to flip the sign of the roll rotation angle | |
_Atomic_INT32 | useRollPitchYawFlag |
rotation order flag, 1: r-p-y, 0: y-p-r | |
Main structure for ambi_bin.
Contains variables for audio buffers, afSTFT, rotation matrices, internal variables, flags, user parameters
Definition at line 121 of file ambi_bin_internal.h.
int ambi_bin_data::afSTFTdelay |
for host delay compensation
Definition at line 130 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::bFlipPitch |
flag to flip the sign of the pitch rotation angle
Definition at line 164 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::bFlipRoll |
flag to flip the sign of the roll rotation angle
Definition at line 165 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::bFlipYaw |
flag to flip the sign of the yaw rotation angle
Definition at line 163 of file ambi_bin_internal.h.
float** ambi_bin_data::binFrameTD |
Output binaural signals in the time-domain; NUM_EARS x AMBI_BIN_FRAME_SIZE.
Definition at line 126 of file ambi_bin_internal.h.
float_complex*** ambi_bin_data::binframeTF |
Output binaural signals in the time-frequency domain; HYBRID_BANDS x NUM_EARS x TIME_SLOTS.
Definition at line 128 of file ambi_bin_internal.h.
_Atomic_CH_ORDER ambi_bin_data::chOrdering |
Ambisonic channel order convention (see CH_ORDER)
Definition at line 157 of file ambi_bin_internal.h.
_Atomic_CODEC_STATUS ambi_bin_data::codecStatus |
see CODEC_STATUS
Definition at line 134 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::enableDiffuseMatching |
0: disabled, 1: enabled
Definition at line 152 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::enableMaxRE |
0: disabled, 1: enabled
Definition at line 151 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::enableRotation |
Whether rotation should be enabled (1) or disabled (0)
Definition at line 159 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::enableTruncationEQ |
0: disabled, 1: enabled
Definition at line 153 of file ambi_bin_internal.h.
float ambi_bin_data::freqVector[HYBRID_BANDS] |
frequency vector for time-frequency transform, in Hz
Definition at line 131 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::fs |
host sampling rate
Definition at line 124 of file ambi_bin_internal.h.
void* ambi_bin_data::hSTFT |
afSTFT handle
Definition at line 129 of file ambi_bin_internal.h.
float_complex ambi_bin_data::M_rot[MAX_NUM_SH_SIGNALS][MAX_NUM_SH_SIGNALS] |
Current SH rotation matrix.
Definition at line 141 of file ambi_bin_internal.h.
_Atomic_AMBI_BIN_DECODING_METHODS ambi_bin_data::method |
current decoding method (see AMBI_BIN_DECODING_METHODS)
Definition at line 154 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::new_order |
new decoding order (current value will be replaced by this after next re-init)
Definition at line 142 of file ambi_bin_internal.h.
_Atomic_NORM_TYPES ambi_bin_data::norm |
Ambisonic normalisation convention (see NORM_TYPES)
Definition at line 158 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::nSH |
number of spherical harmonic signals
Definition at line 143 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::order |
current decoding order
Definition at line 150 of file ambi_bin_internal.h.
ambi_bin_codecPars* ambi_bin_data::pars |
Decoding specific data.
Definition at line 137 of file ambi_bin_internal.h.
_Atomic_FLOAT32 ambi_bin_data::pitch |
pitch (Euler) rotation angle, in degrees
Definition at line 162 of file ambi_bin_internal.h.
_Atomic_AMBI_BIN_PREPROC ambi_bin_data::preProc |
HRIR pre-processing strategy.
Definition at line 156 of file ambi_bin_internal.h.
_Atomic_PROC_STATUS ambi_bin_data::procStatus |
see PROC_STATUS
Definition at line 140 of file ambi_bin_internal.h.
_Atomic_FLOAT32 ambi_bin_data::progressBar0_1 |
Current (re)initialisation progress, between [0..1].
Definition at line 135 of file ambi_bin_internal.h.
char* ambi_bin_data::progressBarText |
Current (re)initialisation step, string.
Definition at line 136 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::recalc_M_rotFLAG |
0: no init required, 1: init required
Definition at line 146 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::reinit_hrtfsFLAG |
0: no init required, 1: init required
Definition at line 147 of file ambi_bin_internal.h.
_Atomic_FLOAT32 ambi_bin_data::roll |
roll (Euler) rotation angle, in degrees
Definition at line 161 of file ambi_bin_internal.h.
float** ambi_bin_data::SHFrameTD |
Input spherical harmonic (SH) signals in the time-domain; MAX_NUM_SH_SIGNALS x AMBI_BIN_FRAME_SIZE.
Definition at line 125 of file ambi_bin_internal.h.
float_complex*** ambi_bin_data::SHframeTF |
Input spherical harmonic (SH) signals in the time-frequency domain; HYBRID_BANDS x MAX_NUM_SH_SIGNALS x TIME_SLOTS.
Definition at line 127 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::useDefaultHRIRsFLAG |
1: use default HRIRs in database, 0: use those from SOFA file
Definition at line 155 of file ambi_bin_internal.h.
_Atomic_INT32 ambi_bin_data::useRollPitchYawFlag |
rotation order flag, 1: r-p-y, 0: y-p-r
Definition at line 166 of file ambi_bin_internal.h.
_Atomic_FLOAT32 ambi_bin_data::yaw |
yaw (Euler) rotation angle, in degrees
Definition at line 160 of file ambi_bin_internal.h.