|
JPL Spatial
Sound spatialization and propagation library
|
Forward declarations. More...
#include <JPLSpatial/Panning/VBAPLUT2D.h>
Public Member Functions | |
| LUTBuilder2D (ChannelMap channelMap, LUTType &LUT) | |
| JPL_INLINE bool | RequiresChannelConversion () const noexcept |
| float | FindShortestAperture () const |
| Find shortest aperture between two speakers of the target map. | |
| bool | ComputeCellFor (const Vec2 &direction, int lutOffset) |
| Comput LUT gains for given direction and LUT offset. | |
| bool | BuildForAllDirections () |
| Build the entire LUT for all directions. | |
Forward declarations.
Helper class to build a LUT for a set of directions and indices.
|
inline |
|
inline |
Build the entire LUT for all directions.
|
inline |
|
inline |
Find shortest aperture between two speakers of the target map.
|
inlinenoexcept |
If target channel map has < 4 speakers, we use intermediary quad map to compute the gains, which are then converte to target map and stored in the LUT