|
Public Member Functions |
| | AmbisonicUnitGenerator (unsigned order=0) |
| | Initialize with uniform Ambisonic order. Defaults to zeroth order.
|
| | AmbisonicUnitGenerator (unsigned horder, unsigned vorder) |
| | Initialize with hybrid Ambisonic order.
|
| | AmbisonicUnitGenerator (AmbisonicOrder order) |
| virtual | ~AmbisonicUnitGenerator () |
| AmbisonicOrder | order () |
Protected Member Functions |
| void | setOrder (AmbisonicOrder order) |
| | Returns the Ambisonic order.
|
| unsigned | channelsToUniformOrder (const unsigned channels) |
| unsigned | greaterOrder (const AmbisonicOrder order) |
| | Compares the horizontal and vertical Ambisonic order of a hybrid order and returns the largest.
|
| unsigned | orderToChannels (const AmbisonicOrder order) |
| | Returns the number of Ambisonic channels from a hybrid Ambisonic order: N = 2*M_h + 1 + (M_v + 1)^2 - (2*M_v + 1).
|
| unsigned | orderToChannels (unsigned order) |
| | Returns the number of Ambisonic channels corresponding to a uniform Ambisonic order: N = (M+1)^2.
|
| unsigned | orderToHorizontalChannels (const AmbisonicOrder order) |
| | Returns the number of horizontal Ambisonic channels from a hybrid Ambisonic order: N_h = 2*M_h + 1.
|
| unsigned | orderToVerticalChannels (const AmbisonicOrder order) |
| | Returns the number of vertical Ambisonic channels from a hybrid Ambisonic order: N_v = (M_v + 1)^2 - (2*M_v + 1).
|
| void | channelIndexer (unsigned *indexArray) |
| | Calculates a lookup table to map Ambisonic channel index to actually used UnitGenerator channel.
|
| void | invChannelIndexer (unsigned *indexArray) |
| | Calculates a lookup table to map actually used UnitGenerator channel to Ambisonic channel index.
|
Protected Attributes |
| AmbisonicOrder | mOrder |
| | the order of the Unit Generator
|
Private Member Functions |
| void | initOrder () |
Related Functions |
(Note that these are not member functions.)
|
| void | singularValueDecomposition (sample **a, int m, int n, sample *w, sample **v) |
| void | fumaEncodingWeights (sample *weights, const AmbisonicOrder &order, float azimuth, float elevation) |
| void | fumaIndexedEncodingWeights (sample *weights, const AmbisonicOrder &order, sample &azimuth, sample &elevation) |