SAF
|
Contains variables for sofa file loading, HRTF interpolation, and the loudspeaker decoders. More...
#include <ambi_dec_internal.h>
Data Fields | |
float * | M_dec [NUM_DECODERS][MAX_SH_ORDER] |
ambisonic decoding matrices ([0] for low-freq, [1] for high-freq); FLAT: nLoudspeakers x nSH | |
float_complex * | M_dec_cmplx [NUM_DECODERS][MAX_SH_ORDER] |
complex ambisonic decoding matrices ([0] for low-freq, [1] for high-freq); FLAT: nLoudspeakers x nSH | |
float * | M_dec_maxrE [NUM_DECODERS][MAX_SH_ORDER] |
ambisonic decoding matrices with maxrE weighting ([0] for low-freq, [1] for high-freq); FLAT: nLoudspeakers x nSH | |
float_complex * | M_dec_cmplx_maxrE [NUM_DECODERS][MAX_SH_ORDER] |
complex ambisonic decoding matrices with maxrE weighting ([0] for low-freq, [1] for high-freq); FLAT: nLoudspeakers x nSH | |
float | M_norm [NUM_DECODERS][MAX_SH_ORDER][2] |
norm coefficients to preserve omni energy/amplitude between different orders and decoders | |
char * | sofa_filepath |
absolute/relevative file path for a sofa file | |
float * | hrirs |
time domain HRIRs; N_hrir_dirs x 2 x hrir_len | |
float * | hrir_dirs_deg |
directions of the HRIRs in degrees [azi elev]; N_hrir_dirs x 2 | |
int | N_hrir_dirs |
number of HRIR directions in the current sofa file | |
int | hrir_len |
length of the HRIRs, this can be truncated, see "saf_sofa_reader.h" | |
int | hrir_fs |
sampling rate of the HRIRs, should ideally match the host sampling rate, although not required | |
int | hrtf_vbapTableRes [2] |
[azi elev] step sizes in degrees | |
int | N_hrtf_vbap_gtable |
number of interpolation directions | |
int | hrtf_nTriangles |
number of triangle groups after triangulation | |
int * | hrtf_vbap_gtableIdx |
N_hrtf_vbap_gtable x 3. | |
float * | hrtf_vbap_gtableComp |
N_hrtf_vbap_gtable x 3. | |
float * | itds_s |
interaural-time differences for each HRIR (in seconds); N_hrirs x 1 | |
float_complex * | hrtf_fb |
HRTF filterbank coefficients; nBands x nCH x N_hrirs. | |
float * | hrtf_fb_mag |
magnitudes of the HRTF filterbank coefficients; nBands x nCH x N_hrirs | |
float_complex | hrtf_interp [MAX_NUM_LOUDSPEAKERS][HYBRID_BANDS][NUM_EARS] |
interpolated HRTFs | |
float * | weights |
grid integration weights of hrirs; N_hrirs x 1 | |
Contains variables for sofa file loading, HRTF interpolation, and the loudspeaker decoders.
Definition at line 88 of file ambi_dec_internal.h.
float* ambi_dec_codecPars::hrir_dirs_deg |
directions of the HRIRs in degrees [azi elev]; N_hrir_dirs x 2
Definition at line 100 of file ambi_dec_internal.h.
int ambi_dec_codecPars::hrir_fs |
sampling rate of the HRIRs, should ideally match the host sampling rate, although not required
Definition at line 103 of file ambi_dec_internal.h.
int ambi_dec_codecPars::hrir_len |
length of the HRIRs, this can be truncated, see "saf_sofa_reader.h"
Definition at line 102 of file ambi_dec_internal.h.
float* ambi_dec_codecPars::hrirs |
time domain HRIRs; N_hrir_dirs x 2 x hrir_len
Definition at line 99 of file ambi_dec_internal.h.
float_complex* ambi_dec_codecPars::hrtf_fb |
HRTF filterbank coefficients; nBands x nCH x N_hrirs.
Definition at line 114 of file ambi_dec_internal.h.
float* ambi_dec_codecPars::hrtf_fb_mag |
magnitudes of the HRTF filterbank coefficients; nBands x nCH x N_hrirs
Definition at line 115 of file ambi_dec_internal.h.
float_complex ambi_dec_codecPars::hrtf_interp[MAX_NUM_LOUDSPEAKERS][HYBRID_BANDS][NUM_EARS] |
interpolated HRTFs
Definition at line 116 of file ambi_dec_internal.h.
int ambi_dec_codecPars::hrtf_nTriangles |
number of triangle groups after triangulation
Definition at line 108 of file ambi_dec_internal.h.
float* ambi_dec_codecPars::hrtf_vbap_gtableComp |
N_hrtf_vbap_gtable x 3.
Definition at line 110 of file ambi_dec_internal.h.
int* ambi_dec_codecPars::hrtf_vbap_gtableIdx |
N_hrtf_vbap_gtable x 3.
Definition at line 109 of file ambi_dec_internal.h.
int ambi_dec_codecPars::hrtf_vbapTableRes[2] |
[azi elev] step sizes in degrees
Definition at line 106 of file ambi_dec_internal.h.
float* ambi_dec_codecPars::itds_s |
interaural-time differences for each HRIR (in seconds); N_hrirs x 1
Definition at line 113 of file ambi_dec_internal.h.
float* ambi_dec_codecPars::M_dec[NUM_DECODERS][MAX_SH_ORDER] |
ambisonic decoding matrices ([0] for low-freq, [1] for high-freq); FLAT: nLoudspeakers x nSH
Definition at line 91 of file ambi_dec_internal.h.
float_complex* ambi_dec_codecPars::M_dec_cmplx[NUM_DECODERS][MAX_SH_ORDER] |
complex ambisonic decoding matrices ([0] for low-freq, [1] for high-freq); FLAT: nLoudspeakers x nSH
Definition at line 92 of file ambi_dec_internal.h.
float_complex* ambi_dec_codecPars::M_dec_cmplx_maxrE[NUM_DECODERS][MAX_SH_ORDER] |
complex ambisonic decoding matrices with maxrE weighting ([0] for low-freq, [1] for high-freq); FLAT: nLoudspeakers x nSH
Definition at line 94 of file ambi_dec_internal.h.
float* ambi_dec_codecPars::M_dec_maxrE[NUM_DECODERS][MAX_SH_ORDER] |
ambisonic decoding matrices with maxrE weighting ([0] for low-freq, [1] for high-freq); FLAT: nLoudspeakers x nSH
Definition at line 93 of file ambi_dec_internal.h.
float ambi_dec_codecPars::M_norm[NUM_DECODERS][MAX_SH_ORDER][2] |
norm coefficients to preserve omni energy/amplitude between different orders and decoders
Definition at line 95 of file ambi_dec_internal.h.
int ambi_dec_codecPars::N_hrir_dirs |
number of HRIR directions in the current sofa file
Definition at line 101 of file ambi_dec_internal.h.
int ambi_dec_codecPars::N_hrtf_vbap_gtable |
number of interpolation directions
Definition at line 107 of file ambi_dec_internal.h.
char* ambi_dec_codecPars::sofa_filepath |
absolute/relevative file path for a sofa file
Definition at line 98 of file ambi_dec_internal.h.
float* ambi_dec_codecPars::weights |
grid integration weights of hrirs; N_hrirs x 1
Definition at line 119 of file ambi_dec_internal.h.