#include <Ambisonic.h>
Inheritance diagram for csl::AmbisonicEncoder:

Higher Order Ambisonic class for positioning mono sound sources into an Ambisonic encoded soundfield. The position information is fed to the encoder as two multichannel framestreams (azimuth and elevation). It is possible to specify either one uniform Ambisonic order or to define the horizontal and vertical order separately (hybrid order encoding). If no order(s) is/are specified, first order Ambisonic will be used (B-Format).
Public Member Functions | |
| AmbisonicEncoder () | |
| Default constructor. | |
| AmbisonicEncoder (SpatSource &input, unsigned order=1) | |
| Initialize with uniform Ambisonic order. | |
| AmbisonicEncoder (SpatSource &input, unsigned horder, unsigned vorder) | |
| Initialize with hybrid Ambisonic order. | |
| virtual | ~AmbisonicEncoder () |
| Destructor. | |
| void | setInput (SpatSource &input) |
| Set my input. | |
| SpatSource * | input () |
| virtual void | nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException) |
| Does the DSP processing for the Ambisonic Encoder. | |
Protected Member Functions | |
| void | initialize () |
| Initializing method called by constructors. | |
Protected Attributes | |
| sample * | mWeights |
| Encoding weights for each order (per source). | |
| UGenPort * | mInputPort |
| Holds the input to be encoded. | |
|
|
Default constructor.
|
|
||||||||||||
|
Initialize with uniform Ambisonic order.
|
|
||||||||||||||||
|
Initialize with hybrid Ambisonic order.
|
|
|
Destructor.
|
|
|
Set my input.
|
|
|
|
|
||||||||||||
|
Does the DSP processing for the Ambisonic Encoder.
|
|
|
Initializing method called by constructors.
|
|
|
Encoding weights for each order (per source).
|
|
|
Holds the input to be encoded.
|
1.4.5-20051010