#include <AmbisonicEncoder.h>
Inherits CAmbisonicSource.
Inherited by CAmbisonicEncoderDist.
Inheritance diagram for CAmbisonicEncoder:


Public Member Functions | |
| CAmbisonicEncoder (AmbInt nOrder=DEFAULT_ORDER, AmbInt b3D=DEFAULT_HEIGHT, AmbInt nMisc=0) | |
| ~CAmbisonicEncoder () | |
| void | Refresh () |
| void | Process (AmbFloat *pfSrc, AmbInt nSamples, CBFormat *pBFDst) |
This is a basic encoder that only takes the source's azimuth an elevation into account. If distance cues are going to be used, then use CAmbisonicEncoderDist instead.
| CAmbisonicEncoder::CAmbisonicEncoder | ( | AmbInt | nOrder = DEFAULT_ORDER, |
|
| AmbInt | b3D = DEFAULT_HEIGHT, |
|||
| AmbInt | nMisc = 0 | |||
| ) |
Constructor that allows for the format to be specified. If the format arguments are not specified, the values set for DEFAULT_ORDER, and DEFAULT_HEIGHT, will be used instead. The last arguement is not used, it is just there to match with the base class's form.
| CAmbisonicEncoder::~CAmbisonicEncoder | ( | ) |
| void CAmbisonicEncoder::Refresh | ( | ) | [virtual] |
Recalculate coefficients, and apply normalisation factors.
Reimplemented from CAmbisonicSource.
Reimplemented in CAmbisonicEncoderDist.
Encode mono stream to B-Format.
Reimplemented in CAmbisonicEncoderDist.
1.5.1-p1;