CAmbisonicMicrophone Class Reference

Ambisonic microphone. More...

#include <AmbisonicMicrophone.h>

Inherits CAmbisonicSource.

Inheritance diagram for CAmbisonicMicrophone:

Inheritance graph
[legend]
Collaboration diagram for CAmbisonicMicrophone:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Ambisonic microphone.

This is a microphone class. It is similar to CAmbisonicSpeaker, with the addition of having directivity control.


Constructor & Destructor Documentation

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 (  ) 


Member Function Documentation

void CAmbisonicMicrophone::Refresh (  )  [virtual]

Recalculate coefficients, and apply normalisation factors.

Reimplemented from CAmbisonicSource.

void CAmbisonicMicrophone::Process ( CBFormat pBFSrc,
AmbInt  nSamples,
AmbFloat pfDst 
)

Decode B-Format to speaker feed.

void CAmbisonicMicrophone::SetDirectivity ( AmbFloat  fDirectivity  ) 

Set the microphone's directivity.

AmbFloat CAmbisonicMicrophone::GetDirectivity (  ) 

Get the microphone's directivity.


Member Data Documentation

AmbFloat CAmbisonicMicrophone::m_fDirectivity [protected]


The documentation for this class was generated from the following files:
Generated on Sat May 19 02:26:28 2007 for amblib by doxygen1.5.1-p1;  SourceForge.net Logo