JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
VBAPEx.h File Reference
#include "JPLSpatial/Core.h"
#include "JPLSpatial/ErrorReporting.h"
#include "JPLSpatial/ChannelMap.h"
#include "JPLSpatial/Math/MinimalVec2.h"
#include "JPLSpatial/Math/Vec3Traits.h"
#include "JPLSpatial/Math/MinimalMat.h"
#include "JPLSpatial/Memory/Memory.h"
#include "JPLSpatial/Geometry/ConvexHullBuilder.h"
#include "JPLSpatial/Panning/DummySpeakers.h"
#include <vector>
#include <array>
#include <span>
#include <functional>
#include <compare>
#include <algorithm>
#include <memory>

Go to the source code of this file.

Classes

struct  JPL::VBAP::ChannelAngle
 

Namespaces

namespace  JPL
 
namespace  JPL::SpeakerTriangulation
 
namespace  JPL::VBAP
 Forward declaration.
 

Typedefs

using JPL::SpeakerTriangulation::Vec3i = std::array< uint8, 3 >
 

Functions

template<CVec3 Vec3Type>
Vec3Type JPL::ComputeVBAP (const Vec3Type &sourceDirection, const Vec3Type &triPointA, const Vec3Type &triPointB, const Vec3Type &triPointC)
 
Vec2 JPL::ComputeVBAP (const Vec2 &sourceDirection, const Vec2 &speakerADirection, const Vec2 &speakerBDirection)
 
template<auto GetSpeakerVectorFunction, class Vec3ContainerType >
bool JPL::SpeakerTriangulation::GetSpeakerVectors (ChannelMap channelMap, Vec3ContainerType &outVectors)
 
template<auto GetSpeakerVectorFunction, class Vec3ContainerType , class IndexContainerType >
bool JPL::SpeakerTriangulation::GetSpeakerVectors (ChannelMap channelMap, Vec3ContainerType &outVectors, IndexContainerType &outMapIndices)
 
template<CVec3 Vec3Type, class Vec3iContainerType >
bool JPL::SpeakerTriangulation::TriangulateSpeakerLayout (std::span< const Vec3Type > speakerVectors, Vec3iContainerType &outIndices)
 
template<auto GetSpeakerVectorFunction, CVec3 Vec3Type, class Vec3ContainerType , class Vec3iContainerType >
bool JPL::SpeakerTriangulation::TriangulateSpeakerLayout (ChannelMap channelMap, Vec3ContainerType &outVertices, Vec3iContainerType &outIndices)