|
SAF
|
Main structure for ambi_enc. More...
#include <ambi_enc_internal.h>
Data Fields | |
| float | inputFrameTD [MAX_NUM_INPUTS][AMBI_ENC_FRAME_SIZE] |
| Input frame of signals. | |
| float | tempFrame_fadeOut [MAX_NUM_SH_SIGNALS][AMBI_ENC_FRAME_SIZE] |
| Temporary frame with linear interpolation (fade-out) applied. | |
| float | tempFrame [MAX_NUM_SH_SIGNALS][AMBI_ENC_FRAME_SIZE] |
| Temporary frame. | |
| float | outputFrameTD_fadeIn [MAX_NUM_SH_SIGNALS][AMBI_ENC_FRAME_SIZE] |
| Output frame of SH signals with linear interpolation (fade-in) applied. | |
| float | outputFrameTD [MAX_NUM_SH_SIGNALS][AMBI_ENC_FRAME_SIZE] |
| Output frame of SH signals. | |
| float | fs |
| Host sampling rate. | |
| _Atomic_INT32 | recalc_SH_FLAG [MAX_NUM_INPUTS] |
| Flags, 1: recalc SH weights, 0: do not. | |
| float | Y [MAX_NUM_SH_SIGNALS][MAX_NUM_INPUTS] |
| SH weights. | |
| float | prev_Y [MAX_NUM_SH_SIGNALS][MAX_NUM_INPUTS] |
| Previous SH weights. | |
| float | interpolator_fadeIn [AMBI_ENC_FRAME_SIZE] |
| Linear Interpolator (fade-in) | |
| float | interpolator_fadeOut [AMBI_ENC_FRAME_SIZE] |
| Linear Interpolator (fade-out) | |
| _Atomic_INT32 | new_nSources |
| New number of input signals (current value will be replaced by this after next re-init) | |
| _Atomic_INT32 | nSources |
| Current number of input signals. | |
| _Atomic_FLOAT32 | src_dirs_deg [MAX_NUM_INPUTS][2] |
| Source directions, in degrees. | |
| _Atomic_CH_ORDER | chOrdering |
| Ambisonic channel order convention (see CH_ORDER) | |
| _Atomic_NORM_TYPES | norm |
| Ambisonic normalisation convention (see NORM_TYPES) | |
| _Atomic_SH_ORDERS | order |
| Current SH encoding order. | |
| _Atomic_INT32 | enablePostScaling |
| Flag 1: output signals scaled by 1/sqrt(nSources), 0: disabled. | |
| _Atomic_FLOAT32 | src_gains [MAX_NUM_INPUTS] |
| Gains applied per source. | |
Main structure for ambi_enc.
Contains variables for audio buffers, internal variables, user parameters
Definition at line 57 of file ambi_enc_internal.h.
| _Atomic_CH_ORDER ambi_enc_data::chOrdering |
Ambisonic channel order convention (see CH_ORDER)
Definition at line 78 of file ambi_enc_internal.h.
| _Atomic_INT32 ambi_enc_data::enablePostScaling |
Flag 1: output signals scaled by 1/sqrt(nSources), 0: disabled.
Definition at line 81 of file ambi_enc_internal.h.
| float ambi_enc_data::fs |
Host sampling rate.
Definition at line 67 of file ambi_enc_internal.h.
| float ambi_enc_data::inputFrameTD[MAX_NUM_INPUTS][AMBI_ENC_FRAME_SIZE] |
Input frame of signals.
Definition at line 60 of file ambi_enc_internal.h.
| float ambi_enc_data::interpolator_fadeIn[AMBI_ENC_FRAME_SIZE] |
Linear Interpolator (fade-in)
Definition at line 71 of file ambi_enc_internal.h.
| float ambi_enc_data::interpolator_fadeOut[AMBI_ENC_FRAME_SIZE] |
Linear Interpolator (fade-out)
Definition at line 72 of file ambi_enc_internal.h.
| _Atomic_INT32 ambi_enc_data::new_nSources |
New number of input signals (current value will be replaced by this after next re-init)
Definition at line 73 of file ambi_enc_internal.h.
| _Atomic_NORM_TYPES ambi_enc_data::norm |
Ambisonic normalisation convention (see NORM_TYPES)
Definition at line 79 of file ambi_enc_internal.h.
| _Atomic_INT32 ambi_enc_data::nSources |
Current number of input signals.
Definition at line 76 of file ambi_enc_internal.h.
| _Atomic_SH_ORDERS ambi_enc_data::order |
Current SH encoding order.
Definition at line 80 of file ambi_enc_internal.h.
| float ambi_enc_data::outputFrameTD[MAX_NUM_SH_SIGNALS][AMBI_ENC_FRAME_SIZE] |
Output frame of SH signals.
Definition at line 64 of file ambi_enc_internal.h.
| float ambi_enc_data::outputFrameTD_fadeIn[MAX_NUM_SH_SIGNALS][AMBI_ENC_FRAME_SIZE] |
Output frame of SH signals with linear interpolation (fade-in) applied.
Definition at line 63 of file ambi_enc_internal.h.
| float ambi_enc_data::prev_Y[MAX_NUM_SH_SIGNALS][MAX_NUM_INPUTS] |
Previous SH weights.
Definition at line 70 of file ambi_enc_internal.h.
| _Atomic_INT32 ambi_enc_data::recalc_SH_FLAG[MAX_NUM_INPUTS] |
Flags, 1: recalc SH weights, 0: do not.
Definition at line 68 of file ambi_enc_internal.h.
| _Atomic_FLOAT32 ambi_enc_data::src_dirs_deg[MAX_NUM_INPUTS][2] |
Source directions, in degrees.
Definition at line 77 of file ambi_enc_internal.h.
| _Atomic_FLOAT32 ambi_enc_data::src_gains[MAX_NUM_INPUTS] |
Gains applied per source.
Definition at line 82 of file ambi_enc_internal.h.
| float ambi_enc_data::tempFrame[MAX_NUM_SH_SIGNALS][AMBI_ENC_FRAME_SIZE] |
Temporary frame.
Definition at line 62 of file ambi_enc_internal.h.
| float ambi_enc_data::tempFrame_fadeOut[MAX_NUM_SH_SIGNALS][AMBI_ENC_FRAME_SIZE] |
Temporary frame with linear interpolation (fade-out) applied.
Definition at line 61 of file ambi_enc_internal.h.
| float ambi_enc_data::Y[MAX_NUM_SH_SIGNALS][MAX_NUM_INPUTS] |
SH weights.
Definition at line 69 of file ambi_enc_internal.h.