SAF
|
Main structure for ambi_bin. More...
#include <ambi_bin_internal.h>
Data Fields | |
int | 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 | |
CODEC_STATUS | codecStatus |
see CODEC_STATUS | |
float | progressBar0_1 |
Current (re)initialisation progress, between [0..1]. | |
char * | progressBarText |
Current (re)initialisation step, string. | |
ambi_bin_codecPars * | pars |
Decoding specific data. | |
PROC_STATUS | procStatus |
see PROC_STATUS | |
float_complex | M_rot [MAX_NUM_SH_SIGNALS][MAX_NUM_SH_SIGNALS] |
Current SH rotation matrix. | |
int | new_order |
new decoding order (current value will be replaced by this after next re-init) | |
int | nSH |
number of spherical harmonic signals | |
int | recalc_M_rotFLAG |
0: no init required, 1: init required | |
int | reinit_hrtfsFLAG |
0: no init required, 1: init required | |
int | order |
current decoding order | |
int | enableMaxRE |
0: disabled, 1: enabled | |
int | enableDiffuseMatching |
0: disabled, 1: enabled | |
int | enableTruncationEQ |
0: disabled, 1: enabled | |
AMBI_BIN_DECODING_METHODS | method |
current decoding method (see AMBI_BIN_DECODING_METHODS) | |
float | EQ [HYBRID_BANDS] |
EQ curve. | |
int | useDefaultHRIRsFLAG |
1: use default HRIRs in database, 0: use those from SOFA file | |
AMBI_BIN_PREPROC | preProc |
HRIR pre-processing strategy. | |
CH_ORDER | chOrdering |
Ambisonic channel order convention (see CH_ORDER) | |
NORM_TYPES | norm |
Ambisonic normalisation convention (see NORM_TYPES) | |
int | enableRotation |
Whether rotation should be enabled (1) or disabled (0) | |
float | yaw |
yaw (Euler) rotation angle, in degrees | |
float | roll |
roll (Euler) rotation angle, in degrees | |
float | pitch |
pitch (Euler) rotation angle, in degrees | |
int | bFlipYaw |
flag to flip the sign of the yaw rotation angle | |
int | bFlipPitch |
flag to flip the sign of the pitch rotation angle | |
int | bFlipRoll |
flag to flip the sign of the roll rotation angle | |
int | 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 113 of file ambi_bin_internal.h.
int ambi_bin_data::afSTFTdelay |
for host delay compensation
Definition at line 122 of file ambi_bin_internal.h.
int ambi_bin_data::bFlipPitch |
flag to flip the sign of the pitch rotation angle
Definition at line 157 of file ambi_bin_internal.h.
int ambi_bin_data::bFlipRoll |
flag to flip the sign of the roll rotation angle
Definition at line 158 of file ambi_bin_internal.h.
int ambi_bin_data::bFlipYaw |
flag to flip the sign of the yaw rotation angle
Definition at line 156 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 118 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 120 of file ambi_bin_internal.h.
CH_ORDER ambi_bin_data::chOrdering |
Ambisonic channel order convention (see CH_ORDER)
Definition at line 150 of file ambi_bin_internal.h.
CODEC_STATUS ambi_bin_data::codecStatus |
see CODEC_STATUS
Definition at line 126 of file ambi_bin_internal.h.
int ambi_bin_data::enableDiffuseMatching |
0: disabled, 1: enabled
Definition at line 144 of file ambi_bin_internal.h.
int ambi_bin_data::enableMaxRE |
0: disabled, 1: enabled
Definition at line 143 of file ambi_bin_internal.h.
int ambi_bin_data::enableRotation |
Whether rotation should be enabled (1) or disabled (0)
Definition at line 152 of file ambi_bin_internal.h.
int ambi_bin_data::enableTruncationEQ |
0: disabled, 1: enabled
Definition at line 145 of file ambi_bin_internal.h.
float ambi_bin_data::EQ[HYBRID_BANDS] |
EQ curve.
Definition at line 147 of file ambi_bin_internal.h.
float ambi_bin_data::freqVector[HYBRID_BANDS] |
frequency vector for time-frequency transform, in Hz
Definition at line 123 of file ambi_bin_internal.h.
int ambi_bin_data::fs |
host sampling rate
Definition at line 116 of file ambi_bin_internal.h.
void* ambi_bin_data::hSTFT |
afSTFT handle
Definition at line 121 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 133 of file ambi_bin_internal.h.
AMBI_BIN_DECODING_METHODS ambi_bin_data::method |
current decoding method (see AMBI_BIN_DECODING_METHODS)
Definition at line 146 of file ambi_bin_internal.h.
int ambi_bin_data::new_order |
new decoding order (current value will be replaced by this after next re-init)
Definition at line 134 of file ambi_bin_internal.h.
NORM_TYPES ambi_bin_data::norm |
Ambisonic normalisation convention (see NORM_TYPES)
Definition at line 151 of file ambi_bin_internal.h.
int ambi_bin_data::nSH |
number of spherical harmonic signals
Definition at line 135 of file ambi_bin_internal.h.
int ambi_bin_data::order |
current decoding order
Definition at line 142 of file ambi_bin_internal.h.
ambi_bin_codecPars* ambi_bin_data::pars |
Decoding specific data.
Definition at line 129 of file ambi_bin_internal.h.
float ambi_bin_data::pitch |
pitch (Euler) rotation angle, in degrees
Definition at line 155 of file ambi_bin_internal.h.
AMBI_BIN_PREPROC ambi_bin_data::preProc |
HRIR pre-processing strategy.
Definition at line 149 of file ambi_bin_internal.h.
PROC_STATUS ambi_bin_data::procStatus |
see PROC_STATUS
Definition at line 132 of file ambi_bin_internal.h.
float ambi_bin_data::progressBar0_1 |
Current (re)initialisation progress, between [0..1].
Definition at line 127 of file ambi_bin_internal.h.
char* ambi_bin_data::progressBarText |
Current (re)initialisation step, string.
Definition at line 128 of file ambi_bin_internal.h.
int ambi_bin_data::recalc_M_rotFLAG |
0: no init required, 1: init required
Definition at line 138 of file ambi_bin_internal.h.
int ambi_bin_data::reinit_hrtfsFLAG |
0: no init required, 1: init required
Definition at line 139 of file ambi_bin_internal.h.
float ambi_bin_data::roll |
roll (Euler) rotation angle, in degrees
Definition at line 154 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 117 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 119 of file ambi_bin_internal.h.
int ambi_bin_data::useDefaultHRIRsFLAG |
1: use default HRIRs in database, 0: use those from SOFA file
Definition at line 148 of file ambi_bin_internal.h.
int ambi_bin_data::useRollPitchYawFlag |
rotation order flag, 1: r-p-y, 0: y-p-r
Definition at line 159 of file ambi_bin_internal.h.
float ambi_bin_data::yaw |
yaw (Euler) rotation angle, in degrees
Definition at line 153 of file ambi_bin_internal.h.