|
| Scope (unsigned int order, unsigned int numberOfPoints) |
| The scope constructor. More...
|
|
| ~Scope () |
| The Scope destructor. More...
|
|
unsigned int | getNumberOfPoints () const |
| Retrieve the number of points. More...
|
|
double | getValue (unsigned int pointIndex) const |
| Retrieve the value of a point of the circular harmonics projection. More...
|
|
double | getRadius (unsigned int pointIndex) const |
| Retrieve the radius of a point of the circular harmonics projection. More...
|
|
double | getAzimuth (unsigned int pointIndex) const |
| Retrieve the azimuth of a point of the circular harmonics projection. More...
|
|
double | getAbscissa (unsigned int pointIndex) const |
| Retrieve the abscissa of a point of the circular harmonics projection. More...
|
|
double | getOrdinate (unsigned int pointIndex) const |
| Retrieve the ordinate of a point of the circular harmonics projection. More...
|
|
void | process (const float *inputs) |
| This method performs the circular harmonics projection with single precision. More...
|
|
void | process (const double *inputs) |
| This method performs the circular harmonics projection with double precision. More...
|
|
| Ambisonic (unsigned int order) |
| The ambisonic constructor. More...
|
|
| ~Ambisonic () |
| The ambisonic destructor. More...
|
|
unsigned int | getOrder () const |
| Retrieve the decomposition order. More...
|
|
unsigned int | getNumberOfHarmonics () const |
| Retrieve the number of harmonics. More...
|
|
long | getHarmonicArgument (unsigned int index) const |
| Retrieve the argument of an harmonic. More...
|
|
long | getHarmonicBand (unsigned int index) const |
| Retrieve the band of an harmonic. More...
|
|
std::string | getHarmonicsName (unsigned int index) const |
| Retrieve a name for an harmonic. More...
|
|
The ambisonic scope.
The scope discretize a circle by a set of point and uses a decoder to project the circular harmonics on it. This class should be used for graphical interfaces outside the digital signal processing if the number of points to discretize the circle is very large. Then you should prefer to record snapshot of the circular harmonics and to call the process method at an interval adapted to a graphical rendering.
Definition at line 18 of file Scope.h.
double Hoa2D::Scope::getValue |
( |
unsigned int |
pointIndex | ) |
const |
|
inline |
Retrieve the value of a point of the circular harmonics projection.
Retrieve the result value of the circular harmonics projection for a given point defined by an index. The absolute of the value can be used as the radius of the point for a 2 dimentionnal representation. For the index, 0 is the 0 azimtuh of the circle. The maximum index must be the number of points - 1.
- Parameters
-
pointIndex | The point index of the point. |
- Returns
- This method returns the value of a point of the ambisonic circle.
- See Also
- getradius
-
getAzimuth
Definition at line 59 of file Scope.h.