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

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_codecParspars
 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
 

Detailed Description

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.

Field Documentation

◆ afSTFTdelay

int ambi_bin_data::afSTFTdelay

for host delay compensation

Definition at line 122 of file ambi_bin_internal.h.

◆ bFlipPitch

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.

◆ bFlipRoll

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.

◆ bFlipYaw

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.

◆ binFrameTD

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.

◆ binframeTF

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.

◆ chOrdering

CH_ORDER ambi_bin_data::chOrdering

Ambisonic channel order convention (see CH_ORDER)

Definition at line 150 of file ambi_bin_internal.h.

◆ codecStatus

CODEC_STATUS ambi_bin_data::codecStatus

see CODEC_STATUS

Definition at line 126 of file ambi_bin_internal.h.

◆ enableDiffuseMatching

int ambi_bin_data::enableDiffuseMatching

0: disabled, 1: enabled

Definition at line 144 of file ambi_bin_internal.h.

◆ enableMaxRE

int ambi_bin_data::enableMaxRE

0: disabled, 1: enabled

Definition at line 143 of file ambi_bin_internal.h.

◆ enableRotation

int ambi_bin_data::enableRotation

Whether rotation should be enabled (1) or disabled (0)

Definition at line 152 of file ambi_bin_internal.h.

◆ enableTruncationEQ

int ambi_bin_data::enableTruncationEQ

0: disabled, 1: enabled

Definition at line 145 of file ambi_bin_internal.h.

◆ EQ

float ambi_bin_data::EQ[HYBRID_BANDS]

EQ curve.

Definition at line 147 of file ambi_bin_internal.h.

◆ freqVector

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.

◆ fs

int ambi_bin_data::fs

host sampling rate

Definition at line 116 of file ambi_bin_internal.h.

◆ hSTFT

void* ambi_bin_data::hSTFT

afSTFT handle

Definition at line 121 of file ambi_bin_internal.h.

◆ M_rot

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.

◆ method

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.

◆ new_order

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

NORM_TYPES ambi_bin_data::norm

Ambisonic normalisation convention (see NORM_TYPES)

Definition at line 151 of file ambi_bin_internal.h.

◆ nSH

int ambi_bin_data::nSH

number of spherical harmonic signals

Definition at line 135 of file ambi_bin_internal.h.

◆ order

int ambi_bin_data::order

current decoding order

Definition at line 142 of file ambi_bin_internal.h.

◆ pars

ambi_bin_codecPars* ambi_bin_data::pars

Decoding specific data.

Definition at line 129 of file ambi_bin_internal.h.

◆ pitch

float ambi_bin_data::pitch

pitch (Euler) rotation angle, in degrees

Definition at line 155 of file ambi_bin_internal.h.

◆ preProc

AMBI_BIN_PREPROC ambi_bin_data::preProc

HRIR pre-processing strategy.

Definition at line 149 of file ambi_bin_internal.h.

◆ procStatus

PROC_STATUS ambi_bin_data::procStatus

see PROC_STATUS

Definition at line 132 of file ambi_bin_internal.h.

◆ progressBar0_1

float ambi_bin_data::progressBar0_1

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

Definition at line 127 of file ambi_bin_internal.h.

◆ progressBarText

char* ambi_bin_data::progressBarText

Current (re)initialisation step, string.

Definition at line 128 of file ambi_bin_internal.h.

◆ recalc_M_rotFLAG

int ambi_bin_data::recalc_M_rotFLAG

0: no init required, 1: init required

Definition at line 138 of file ambi_bin_internal.h.

◆ reinit_hrtfsFLAG

int ambi_bin_data::reinit_hrtfsFLAG

0: no init required, 1: init required

Definition at line 139 of file ambi_bin_internal.h.

◆ roll

float ambi_bin_data::roll

roll (Euler) rotation angle, in degrees

Definition at line 154 of file ambi_bin_internal.h.

◆ SHFrameTD

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.

◆ SHframeTF

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.

◆ useDefaultHRIRsFLAG

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.

◆ useRollPitchYawFlag

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.

◆ yaw

float ambi_bin_data::yaw

yaw (Euler) rotation angle, in degrees

Definition at line 153 of file ambi_bin_internal.h.


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