VVSDK
1.0
The VVAmbisonic Library
|
#include <VVAmbisonic.h>
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 () |
Spatial Processing. Performs rotations and mirroring of the soundfield.
VVAmbisonic::VVRotate::VVRotate | ( | long | sampleRate | ) |
Constructor
VVAmbisonic::VVRotate::~VVRotate | ( | ) |
Destructor
|
virtual |
Always true
Implements VVAmbisonic::VVPlugin.
|
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.
|
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