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

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

Detailed Description

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.

Field Documentation

◆ afSTFTdelay

int ambi_bin_data::afSTFTdelay

for host delay compensation

Definition at line 130 of file ambi_bin_internal.h.

◆ bFlipPitch

_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.

◆ bFlipRoll

_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.

◆ bFlipYaw

_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.

◆ binFrameTD

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.

◆ 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 128 of file ambi_bin_internal.h.

◆ chOrdering

_Atomic_CH_ORDER ambi_bin_data::chOrdering

Ambisonic channel order convention (see CH_ORDER)

Definition at line 157 of file ambi_bin_internal.h.

◆ codecStatus

_Atomic_CODEC_STATUS ambi_bin_data::codecStatus

see CODEC_STATUS

Definition at line 134 of file ambi_bin_internal.h.

◆ enableDiffuseMatching

_Atomic_INT32 ambi_bin_data::enableDiffuseMatching

0: disabled, 1: enabled

Definition at line 152 of file ambi_bin_internal.h.

◆ enableMaxRE

_Atomic_INT32 ambi_bin_data::enableMaxRE

0: disabled, 1: enabled

Definition at line 151 of file ambi_bin_internal.h.

◆ enableRotation

_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.

◆ enableTruncationEQ

_Atomic_INT32 ambi_bin_data::enableTruncationEQ

0: disabled, 1: enabled

Definition at line 153 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 131 of file ambi_bin_internal.h.

◆ fs

_Atomic_INT32 ambi_bin_data::fs

host sampling rate

Definition at line 124 of file ambi_bin_internal.h.

◆ hSTFT

void* ambi_bin_data::hSTFT

afSTFT handle

Definition at line 129 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 141 of file ambi_bin_internal.h.

◆ method

_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.

◆ new_order

_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.

◆ norm

_Atomic_NORM_TYPES ambi_bin_data::norm

Ambisonic normalisation convention (see NORM_TYPES)

Definition at line 158 of file ambi_bin_internal.h.

◆ nSH

_Atomic_INT32 ambi_bin_data::nSH

number of spherical harmonic signals

Definition at line 143 of file ambi_bin_internal.h.

◆ order

_Atomic_INT32 ambi_bin_data::order

current decoding order

Definition at line 150 of file ambi_bin_internal.h.

◆ pars

ambi_bin_codecPars* ambi_bin_data::pars

Decoding specific data.

Definition at line 137 of file ambi_bin_internal.h.

◆ pitch

_Atomic_FLOAT32 ambi_bin_data::pitch

pitch (Euler) rotation angle, in degrees

Definition at line 162 of file ambi_bin_internal.h.

◆ preProc

_Atomic_AMBI_BIN_PREPROC ambi_bin_data::preProc

HRIR pre-processing strategy.

Definition at line 156 of file ambi_bin_internal.h.

◆ procStatus

_Atomic_PROC_STATUS ambi_bin_data::procStatus

see PROC_STATUS

Definition at line 140 of file ambi_bin_internal.h.

◆ progressBar0_1

_Atomic_FLOAT32 ambi_bin_data::progressBar0_1

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

Definition at line 135 of file ambi_bin_internal.h.

◆ progressBarText

char* ambi_bin_data::progressBarText

Current (re)initialisation step, string.

Definition at line 136 of file ambi_bin_internal.h.

◆ recalc_M_rotFLAG

_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.

◆ reinit_hrtfsFLAG

_Atomic_INT32 ambi_bin_data::reinit_hrtfsFLAG

0: no init required, 1: init required

Definition at line 147 of file ambi_bin_internal.h.

◆ roll

_Atomic_FLOAT32 ambi_bin_data::roll

roll (Euler) rotation angle, in degrees

Definition at line 161 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 125 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 127 of file ambi_bin_internal.h.

◆ useDefaultHRIRsFLAG

_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.

◆ useRollPitchYawFlag

_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.

◆ yaw

_Atomic_FLOAT32 ambi_bin_data::yaw

yaw (Euler) rotation angle, in degrees

Definition at line 160 of file ambi_bin_internal.h.


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