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 prev_inputFrameTD [MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]
 Previous 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].
 
M_ROT_STATUS M_rot_status
 see M_ROT_STATUS
 
int fs
 Host sampling rate, in Hz.
 
quaternion_data Q
 Quaternion used for rotation.
 
int bFlipQuaternion
 1: invert quaternion, 0: no inversion
 
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
 
CH_ORDER chOrdering
 Ambisonic channel order convention (see CH_ORDER)
 
NORM_TYPES norm
 Ambisonic normalisation convention (see NORM_TYPES)
 
SH_ORDERS inputOrder
 current input/output SH order
 

Detailed Description

Main struct for the rotator.

Definition at line 69 of file rotator_internal.h.

Field Documentation

◆ bFlipPitch

int rotator_data::bFlipPitch

flag to flip the sign of the pitch rotation angle

Definition at line 94 of file rotator_internal.h.

◆ bFlipQuaternion

int rotator_data::bFlipQuaternion

1: invert quaternion, 0: no inversion

Definition at line 89 of file rotator_internal.h.

◆ bFlipRoll

int rotator_data::bFlipRoll

flag to flip the sign of the roll rotation angle

Definition at line 95 of file rotator_internal.h.

◆ bFlipYaw

int rotator_data::bFlipYaw

flag to flip the sign of the yaw rotation angle

Definition at line 93 of file rotator_internal.h.

◆ chOrdering

CH_ORDER rotator_data::chOrdering

Ambisonic channel order convention (see CH_ORDER)

Definition at line 97 of file rotator_internal.h.

◆ fs

int rotator_data::fs

Host sampling rate, in Hz.

Definition at line 85 of file rotator_internal.h.

◆ inputFrameTD

float rotator_data::inputFrameTD[MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]

Input frame of signals.

Definition at line 72 of file rotator_internal.h.

◆ inputOrder

SH_ORDERS rotator_data::inputOrder

current input/output SH order

Definition at line 99 of file rotator_internal.h.

◆ interpolator_fadeIn

float rotator_data::interpolator_fadeIn[ROTATOR_FRAME_SIZE]

Linear Interpolator (fade-in)

Definition at line 80 of file rotator_internal.h.

◆ interpolator_fadeOut

float rotator_data::interpolator_fadeOut[ROTATOR_FRAME_SIZE]

Linear Interpolator (fade-out)

Definition at line 81 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 82 of file rotator_internal.h.

◆ M_rot_status

M_ROT_STATUS rotator_data::M_rot_status

see M_ROT_STATUS

Definition at line 84 of file rotator_internal.h.

◆ norm

NORM_TYPES rotator_data::norm

Ambisonic normalisation convention (see NORM_TYPES)

Definition at line 98 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 76 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 77 of file rotator_internal.h.

◆ pitch

float rotator_data::pitch

pitch (Euler) rotation angle, in degrees

Definition at line 92 of file rotator_internal.h.

◆ prev_inputFrameTD

float rotator_data::prev_inputFrameTD[MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]

Previous frame of signals.

Definition at line 73 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 83 of file rotator_internal.h.

◆ Q

quaternion_data rotator_data::Q

Quaternion used for rotation.

Definition at line 88 of file rotator_internal.h.

◆ roll

float rotator_data::roll

roll (Euler) rotation angle, in degrees

Definition at line 91 of file rotator_internal.h.

◆ tempFrame

float rotator_data::tempFrame[MAX_NUM_SH_SIGNALS][ROTATOR_FRAME_SIZE]

Temporary frame.

Definition at line 74 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 75 of file rotator_internal.h.

◆ useRollPitchYawFlag

int rotator_data::useRollPitchYawFlag

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

Definition at line 96 of file rotator_internal.h.

◆ yaw

float rotator_data::yaw

yaw (Euler) rotation angle, in degrees

Definition at line 90 of file rotator_internal.h.


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