References
Class Summary
| Static Public Class Summary | ||
| public |
Binaural panner with multiple sources and a listener. |
|
| public |
Container for HRTF set. |
|
| public |
Camera-like listener. |
|
| public |
SOFA remote data-base. |
|
| public |
Single source. |
|
Function Summary
| Static Public Function Summary | ||
| public |
almostEquals(value: Number, reference: Number, tolerance: Number): Number Test whether a value is around a reference, given a tolerance. |
|
| public |
Test whether a value is around a reference, given a tolerance and a modulo. |
|
| public |
Get the arc-tangent (2 arguments) of 2 angles in degrees. |
|
| public |
conformSofaCoordinateSystem(system: String): String Prefix SOFA coordinate system with |
|
| public |
Get the cosinus of an angle in degrees. |
|
| public |
createDiracBuffer(options: Object): AudioBuffer Create a Dirac buffer, zero-padded. |
|
| public |
createNoiseBuffer(options: Object): AudioBuffer Create a noise buffer. |
|
| public |
Convert a dB value to a linear amplitude, i.e. |
|
| public |
Get the distance between to points. |
|
| public |
distanceSquared(a: Object, b: Object): Number Get the squared distance between to points. |
|
| public |
fromRadian(angle: Number): Number Convert an angle in radians to degrees. |
|
| public |
glToSofaCartesian(out: Coordinates, a: Coordinates): Coordinates Convert openGL coordinates to SOFA cartesian. |
|
| public |
glToSofaSpherical(out: Coordinates, a: Coordinates): Coordinates Convert openGL coordinates to SOFA spherical. |
|
| public |
glToSpat4Cartesian(out: Coordinates, a: Coordinates): Coordinates Convert openGL coordinates to Spat4 cartesian. |
|
| public |
glToSpat4Spherical(out: Coordinates, a: Coordinates): Coordinates Convert openGL coordinates to Spat4 spherical. |
|
| public |
glToSystem(out: Coordinates, a: Coordinates, system: CoordinateSystem): Coordinates Convert openGL coordinates to other system. |
|
| public |
parseDataSet(input: String): Object Parse data set meta data into an object of |
|
| public |
Parses a SOFA JSON string with into an object with |
|
| public |
resampleFloat32Array(options: Object): Promise.<Float32Array | Error> Convert an array, typed or not, to a Float32Array, with possible re-sampling. |
|
| public |
Get the sinus of an angle in degrees. |
|
| public |
sofaCartesianToGl(out: Coordinates, a: Coordinates): Coordinates Convert SOFA cartesian coordinates to openGL. |
|
| public |
Convert SOFA cartesian coordinates to SOFA spherical. |
|
| public |
sofaSphericalToGl(out: Coordinates, a: Coordinates): Coordinates Convert SOFA spherical coordinates to openGL. |
|
| public |
Convert SOFA spherical coordinates to SOFA spherical. |
|
| public |
sofaToSofaCartesian(out: Coordinates, a: Coordinates, system: CoordinateSystem): Coordinates Convert coordinates to SOFA cartesian. |
|
| public |
spat4CartesianToGl(out: Coordinates, a: Coordinates): Coordinates Convert Spat4 cartesian coordinates to openGL. |
|
| public |
Convert Spat4 cartesian coordinates to Spat4 spherical. |
|
| public |
spat4SphericalToGl(out: Coordinates, a: Coordinates): Coordinates Convert Spat4 spherical coordinates to openGL. |
|
| public |
Convert Spat4 spherical coordinates to Spat4 spherical. |
|
| public |
stringifySofa(sofaSet: Object): String Generates a SOFA JSON string from an object. |
|
| public |
systemToGl(out: Coordinates, a: Coordinates, system: CoordinateSystem): Coordinates Convert coordinates to openGL. |
|
| public |
systemType(system: String): String Get the coordinate system general type (cartesian or spherical). |
|
| public |
Convert an angle in degrees to radians. |
|
Variable Summary
| Static Public Variable Summary | ||
| public |
Short description of the library. |
|
| public |
Radian to degree multiplication factor. |
|
| public |
License of the library. |
|
| public |
Name of the library. |
|
| public |
Degree to radian multiplication factor. |
|
| public |
Semantic version of the library. |
|
Typedef Summary
| Static Public Typedef Summary | ||
| public |
Coordinate system: |
|
| public |
Coordinates: vec3 Coordinates as an array of 3 values: [x, y, z] or [azimuth, elevation, distance], depending on system |
|
| public |
|
|
| public |
SOFA cartesian coordinate system: |
|
| public |
SOFA spherical coordinate system: |
|
| public |
Spat4 cartesian coordinate system: |
|
| public |
Spat4 spherical coordinate system: |
|