VVSDK  1.0
The VVAmbisonic Library
Public Member Functions | List of all members
AVVTetra Class Reference

#include <AVVTetra.h>

Public Member Functions

 AVVTetra (long sampleRate, const char *calibrationFilePath)
 
 ~AVVTetra ()
 
void reloadCalibrations (const char *calibrationPath)
 
void getCalibrationPath (char *calibrationPath)
 
int setProgram (int program)
 
int setProgram (const char *programName)
 
void getCurProgramName (char *programName)
 
int getNumPrograms ()
 
int getCurProgram ()
 
void getProgramName (int program, char *programName)
 
void setAddressMode (short mode)
 
short getAddressMode ()
 
void setOutputFormat (int fmt)
 
int getOutputFormat ()
 
bool canProcess ()
 
void setSampleRate (long sampleRate)
 
void process (float **inBufs, float **outBufs, long numSamples)
 
void generateImpulses (int blockSize, float **output)
 
 AVVTetra (long sampleRate, const char *calibrationFilePath)
 
 ~AVVTetra ()
 
void reloadCalibrations (const char *calibrationPath)
 
void getCalibrationPath (char *calibrationPath)
 
int setProgram (int program)
 
int setProgram (const char *programName)
 
void getCurProgramName (char *programName)
 
int getNumPrograms ()
 
int getCurProgram ()
 
void getProgramName (int program, char *programName)
 
void setAddressMode (short mode)
 
short getAddressMode ()
 
void setOutputFormat (int fmt)
 
int getOutputFormat ()
 
bool canProcess ()
 
void setSampleRate (long sampleRate)
 
void process (float **inBufs, float **outBufs, long numSamples)
 

Constructor & Destructor Documentation

AVVTetra::AVVTetra ( long  sampleRate,
const char *  calibrationFilePath 
)

Calibration path is a directory where calibration files are found. Will use default locations if NULL or empty.

AVVTetra::~AVVTetra ( )

Destructor

AVVTetra::AVVTetra ( long  sampleRate,
const char *  calibrationFilePath 
)

Calibration path is a directory where calibration files are found. Will use default locations if NULL or empty.

AVVTetra::~AVVTetra ( )

Destructor

Member Function Documentation

bool AVVTetra::canProcess ( )

Checks that the selected calibration has filters for the current sampling rate.

bool AVVTetra::canProcess ( )

Checks that the selected calibration has filters for the current sampling rate.

void AVVTetra::generateImpulses ( int  blockSize,
float **  output 
)

generate impulses for a matrix style calibration for the current sampling rate

short AVVTetra::getAddressMode ( )

Returns the currend normal or end-fire mode

short AVVTetra::getAddressMode ( )

Returns the currend normal or end-fire mode

void AVVTetra::getCalibrationPath ( char *  calibrationPath)

Gets the current calibration path

void AVVTetra::getCalibrationPath ( char *  calibrationPath)

Gets the current calibration path

int AVVTetra::getCurProgram ( )

Returns the index of the currently selected program

int AVVTetra::getCurProgram ( )

Returns the index of the currently selected program

void AVVTetra::getCurProgramName ( char *  programName)

Returns the name of the currently selected program.

void AVVTetra::getCurProgramName ( char *  programName)

Returns the name of the currently selected program.

int AVVTetra::getNumPrograms ( )

Returns the number of available programs

int AVVTetra::getNumPrograms ( )

Returns the number of available programs

int AVVTetra::getOutputFormat ( )

Returns the currend ambisonic output format

int AVVTetra::getOutputFormat ( )

Returns the currend ambisonic output format

void AVVTetra::getProgramName ( int  program,
char *  programName 
)

Returns the name of the indicated program or an empty string if invalid

void AVVTetra::getProgramName ( int  program,
char *  programName 
)

Returns the name of the indicated program or an empty string if invalid

void AVVTetra::process ( float **  inBufs,
float **  outBufs,
long  numSamples 
)

Processes blocks of audio. Will always take 4 channels in and 4 channels out.

void AVVTetra::process ( float **  inBufs,
float **  outBufs,
long  numSamples 
)

Processes blocks of audio. Will always take 4 channels in and 4 channels out.

void AVVTetra::reloadCalibrations ( const char *  calibrationPath)

Sets the calibration path then clears and reloads all calibrations

void AVVTetra::reloadCalibrations ( const char *  calibrationPath)

Sets the calibration path then clears and reloads all calibrations

void AVVTetra::setAddressMode ( short  mode)

Sets processing to normal or end-fire modes

void AVVTetra::setAddressMode ( short  mode)

Sets processing to normal or end-fire modes

void AVVTetra::setOutputFormat ( int  fmt)

Sets ambisonic output format, currently FuMa or ACN/SN3D

void AVVTetra::setOutputFormat ( int  fmt)

Sets ambisonic output format, currently FuMa or ACN/SN3D

int AVVTetra::setProgram ( int  program)

Selects one of the available programs by enum.

int AVVTetra::setProgram ( int  program)

Selects one of the available programs by enum.

int AVVTetra::setProgram ( const char *  programName)

Selects one of the available programs by name. Usually a TetraMic serial number like 2003.

int AVVTetra::setProgram ( const char *  programName)

Selects one of the available programs by name. Usually a TetraMic serial number like 2003.

void AVVTetra::setSampleRate ( long  sampleRate)
void AVVTetra::setSampleRate ( long  sampleRate)

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