CAmbisonicEncoder Class Reference

Ambisonic encoder. More...

#include <AmbisonicEncoder.h>

Inherits CAmbisonicSource.

Inherited by CAmbisonicEncoderDist.

Inheritance diagram for CAmbisonicEncoder:

Inheritance graph
[legend]
Collaboration diagram for CAmbisonicEncoder:

Collaboration graph
[legend]
List of all members.

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)

Detailed Description

Ambisonic encoder.

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.


Constructor & Destructor Documentation

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


Member Function Documentation

void CAmbisonicEncoder::Refresh (  )  [virtual]

Recalculate coefficients, and apply normalisation factors.

Reimplemented from CAmbisonicSource.

Reimplemented in CAmbisonicEncoderDist.

void CAmbisonicEncoder::Process ( AmbFloat pfSrc,
AmbInt  nSamples,
CBFormat pBFDst 
)

Encode mono stream to B-Format.

Reimplemented in CAmbisonicEncoderDist.


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