#include <AmbisonicMicrophone.h>
Inherits CAmbisonicSource.
Inheritance diagram for CAmbisonicMicrophone:


Public Member Functions | |
| CAmbisonicMicrophone (AmbInt nOrder=DEFAULT_ORDER, AmbInt b3D=DEFAULT_HEIGHT, AmbInt nMisc=0) | |
| ~CAmbisonicMicrophone () | |
| void | Refresh () |
| void | Process (CBFormat *pBFSrc, AmbInt nSamples, AmbFloat *pfDst) |
| void | SetDirectivity (AmbFloat fDirectivity) |
| AmbFloat | GetDirectivity () |
Protected Attributes | |
| AmbFloat | m_fDirectivity |
This is a microphone class. It is similar to CAmbisonicSpeaker, with the addition of having directivity control.
| CAmbisonicMicrophone::CAmbisonicMicrophone | ( | 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 argument is not used, it is just there to match with the base class's form.
| CAmbisonicMicrophone::~CAmbisonicMicrophone | ( | ) |
| void CAmbisonicMicrophone::Refresh | ( | ) | [virtual] |
Recalculate coefficients, and apply normalisation factors.
Reimplemented from CAmbisonicSource.
Decode B-Format to speaker feed.
| void CAmbisonicMicrophone::SetDirectivity | ( | AmbFloat | fDirectivity | ) |
Set the microphone's directivity.
| AmbFloat CAmbisonicMicrophone::GetDirectivity | ( | ) |
Get the microphone's directivity.
AmbFloat CAmbisonicMicrophone::m_fDirectivity [protected] |
1.5.1-p1;