Mach1 Spatial SDK
Loading...
Searching...
No Matches
M1DecodeCore Class Reference

Public Member Functions

char * getLog ()
 
Mach1Point3D getCurrentAngle ()
 
void setPlatformType (Mach1PlatformType type)
 
Mach1PlatformType getPlatformType ()
 
int getFormatChannelCount ()
 
int getFormatCoeffCount ()
 
void setRotation (Mach1Point3D newRotationFromMinusOnetoOne)
 
void setRotationDegrees (Mach1Point3D newRotationDegrees)
 
void setRotationRadians (Mach1Point3D newRotationRadians)
 
void setRotationQuat (Mach1Point4D newRotationQuat)
 
void setFilterSpeed (float filterSpeed)
 
long getCurrentTime ()
 
long getLastCalculationTime ()
 
void setDecodeMode (Mach1DecodeMode mode)
 
Mach1DecodeMode getDecodeMode ()
 
std::vector< float > decode (float Yaw, float Pitch, float Roll, int bufferSize=0, int sampleIndex=0)
 
std::vector< float > decodeCoeffs (int bufferSize=0, int sampleIndex=0)
 
std::vector< float > decodePannedCoeffs (int bufferSize=0, int sampleIndex=0, bool applyPanLaw=true)
 
void decode (float Yaw, float Pitch, float Roll, float *result, int bufferSize=0, int sampleIndex=0)
 
void decodeCoeffs (float *result, int bufferSize=0, int sampleIndex=0)
 
void decodePannedCoeffs (float *result, int bufferSize=0, int sampleIndex=0, bool applyPanLaw=true)
 
void decodeCoeffsUsingTranscodeMatrix (void *M1obj, float *matrix, int channels, float *result, int bufferSize=0, int sampleIndex=0)
 

Static Public Member Functions

static float mDegToRad (float degrees)
 
static float mmap (float value, float inputMin, float inputMax, float outputMin, float outputMax, bool clamp=false)
 
static float clamp (float a, float min, float max)
 
static void convertAnglesToMach1 (Mach1PlatformType platformType, float *Y, float *P, float *R)
 
static void convertAnglesToPlatform (Mach1PlatformType platformType, float *Y, float *P, float *R)
 

Public Attributes

float filterSpeed
 

The documentation for this class was generated from the following files: