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

#include <VVAmbisonic.h>

Inheritance diagram for VVAmbisonic::VVRotate:
VVAmbisonic::VVPlugin

Public Member Functions

 VVRotate (long sampleRate)
 
 ~VVRotate ()
 
void setMirrors (bool mX, bool mY, bool mZ)
 
void setAngles (float rotate, float tilt, float tumble)
 
void setAmbiFormat (int fmt)
 
bool canProcess ()
 
void process (float **inBufs, float **outBufs, long numSamples)
 
void processFast (float **inBufs, float **outBufs, long numSamples)
 
- Public Member Functions inherited from VVAmbisonic::VVPlugin
 VVPlugin (long sampleRate)
 
virtual ~VVPlugin ()
 

Detailed Description

Spatial Processing. Performs rotations and mirroring of the soundfield.

Constructor & Destructor Documentation

VVAmbisonic::VVRotate::VVRotate ( long  sampleRate)

Constructor

VVAmbisonic::VVRotate::~VVRotate ( )

Destructor

Member Function Documentation

bool VVAmbisonic::VVRotate::canProcess ( )
virtual

Always true

Implements VVAmbisonic::VVPlugin.

void VVAmbisonic::VVRotate::process ( float **  inBufs,
float **  outBufs,
long  numSamples 
)
virtual

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

Implements VVAmbisonic::VVPlugin.

void VVAmbisonic::VVRotate::processFast ( float **  inBufs,
float **  outBufs,
long  numSamples 
)

Processes blocks of audio. Will always take 7 channels in and 4 channels out. The last three channels are rotate, tile & tumble angles in degrees.

void VVAmbisonic::VVRotate::setAmbiFormat ( int  fmt)
virtual

Sets the ambisonic format to FuMa or ACN/SN3D

Implements VVAmbisonic::VVPlugin.

void VVAmbisonic::VVRotate::setAngles ( float  rotate,
float  tilt,
float  tumble 
)

Rotates the soundfield then given amount. Rotate is positive left. Tilt is positive counterclockwise. Tumble is positive up. All directions refer to movement of the scene relative to the microphone.

void VVAmbisonic::VVRotate::setMirrors ( bool  mX,
bool  mY,
bool  mZ 
)

Mirrors the soundfield along thgiven axis when the flag is true, i.e. if mX is true then flip front to back


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