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

Main struct for the rotator. More...

#include <rotator_internal.h>

Data Fields

float inputFrameTD [MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]
 Input frame of signals.
 
float tempFrame [MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]
 Temporary frame.
 
float tempFrame_fadeOut [MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]
 Temporary frame with linear interpolation (fade-out) applied.
 
float outputFrameTD [MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]
 Output frame of SH signals.
 
float outputFrameTD_fadeIn [MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]
 Output frame of SH signals with linear interpolation (fade-in) applied.
 
float interpolator_fadeIn [ROTATOR_FRAME_SIZE]
 Linear Interpolator (fade-in)
 
float interpolator_fadeOut [ROTATOR_FRAME_SIZE]
 Linear Interpolator (fade-out)
 
float M_rot [MAX_NUM_SH_SIGNALS][MAX_NUM_SH_SIGNALS]
 Current SH rotation matrix [1].
 
float prev_M_rot [MAX_NUM_SH_SIGNALS][MAX_NUM_SH_SIGNALS]
 Previous SH rotation matrix [1].
 
_Atomic_M_ROT_STATUS M_rot_status
 see M_ROT_STATUS
 
int fs
 Host sampling rate, in Hz.
 
quaternion_data Q
 Quaternion used for rotation.
 
_Atomic_INT32 bFlipQuaternion
 1: invert quaternion, 0: no inversion
 
_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
 
_Atomic_CH_ORDER chOrdering
 Ambisonic channel order convention (see CH_ORDER)
 
_Atomic_NORM_TYPES norm
 Ambisonic normalisation convention (see NORM_TYPES)
 
_Atomic_SH_ORDERS inputOrder
 current input/output SH order
 

Detailed Description

Main struct for the rotator.

Definition at line 75 of file rotator_internal.h.

Field Documentation

◆ bFlipPitch

_Atomic_INT32 rotator_data::bFlipPitch

flag to flip the sign of the pitch rotation angle

Definition at line 99 of file rotator_internal.h.

◆ bFlipQuaternion

_Atomic_INT32 rotator_data::bFlipQuaternion

1: invert quaternion, 0: no inversion

Definition at line 94 of file rotator_internal.h.

◆ bFlipRoll

_Atomic_INT32 rotator_data::bFlipRoll

flag to flip the sign of the roll rotation angle

Definition at line 100 of file rotator_internal.h.

◆ bFlipYaw

_Atomic_INT32 rotator_data::bFlipYaw

flag to flip the sign of the yaw rotation angle

Definition at line 98 of file rotator_internal.h.

◆ chOrdering

_Atomic_CH_ORDER rotator_data::chOrdering

Ambisonic channel order convention (see CH_ORDER)

Definition at line 102 of file rotator_internal.h.

◆ fs

int rotator_data::fs

Host sampling rate, in Hz.

Definition at line 90 of file rotator_internal.h.

◆ inputFrameTD

float rotator_data::inputFrameTD[MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]

Input frame of signals.

Definition at line 78 of file rotator_internal.h.

◆ inputOrder

_Atomic_SH_ORDERS rotator_data::inputOrder

current input/output SH order

Definition at line 104 of file rotator_internal.h.

◆ interpolator_fadeIn

float rotator_data::interpolator_fadeIn[ROTATOR_FRAME_SIZE]

Linear Interpolator (fade-in)

Definition at line 85 of file rotator_internal.h.

◆ interpolator_fadeOut

float rotator_data::interpolator_fadeOut[ROTATOR_FRAME_SIZE]

Linear Interpolator (fade-out)

Definition at line 86 of file rotator_internal.h.

◆ M_rot

float rotator_data::M_rot[MAX_NUM_SH_SIGNALS][MAX_NUM_SH_SIGNALS]

Current SH rotation matrix [1].

Definition at line 87 of file rotator_internal.h.

◆ M_rot_status

_Atomic_M_ROT_STATUS rotator_data::M_rot_status

see M_ROT_STATUS

Definition at line 89 of file rotator_internal.h.

◆ norm

_Atomic_NORM_TYPES rotator_data::norm

Ambisonic normalisation convention (see NORM_TYPES)

Definition at line 103 of file rotator_internal.h.

◆ outputFrameTD

float rotator_data::outputFrameTD[MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]

Output frame of SH signals.

Definition at line 81 of file rotator_internal.h.

◆ outputFrameTD_fadeIn

float rotator_data::outputFrameTD_fadeIn[MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]

Output frame of SH signals with linear interpolation (fade-in) applied.

Definition at line 82 of file rotator_internal.h.

◆ pitch

_Atomic_FLOAT32 rotator_data::pitch

pitch (Euler) rotation angle, in degrees

Definition at line 97 of file rotator_internal.h.

◆ prev_M_rot

float rotator_data::prev_M_rot[MAX_NUM_SH_SIGNALS][MAX_NUM_SH_SIGNALS]

Previous SH rotation matrix [1].

Definition at line 88 of file rotator_internal.h.

◆ Q

quaternion_data rotator_data::Q

Quaternion used for rotation.

Definition at line 93 of file rotator_internal.h.

◆ roll

_Atomic_FLOAT32 rotator_data::roll

roll (Euler) rotation angle, in degrees

Definition at line 96 of file rotator_internal.h.

◆ tempFrame

float rotator_data::tempFrame[MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]

Temporary frame.

Definition at line 79 of file rotator_internal.h.

◆ tempFrame_fadeOut

float rotator_data::tempFrame_fadeOut[MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]

Temporary frame with linear interpolation (fade-out) applied.

Definition at line 80 of file rotator_internal.h.

◆ useRollPitchYawFlag

_Atomic_INT32 rotator_data::useRollPitchYawFlag

rotation order flag, 1: r-p-y, 0: y-p-r

Definition at line 101 of file rotator_internal.h.

◆ yaw

_Atomic_FLOAT32 rotator_data::yaw

yaw (Euler) rotation angle, in degrees

Definition at line 95 of file rotator_internal.h.


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