VISR  0.12.0
Versatile Interactive Scene Renderer
visr::panning::AllRAD Class Reference

#include <AllRAD.h>

Public Member Functions

 AllRAD (LoudspeakerArray const &regularArray, LoudspeakerArray const &realArray, efl::BasicMatrix< Afloat > const &decodeCoeffs, unsigned int maxHoaOrder)
 
void setListenerPosition (SampleType x, SampleType y, SampleType z)
 
efl::BasicMatrix< Afloat > const & decodingGains () const
 

Constructor & Destructor Documentation

visr::panning::AllRAD::AllRAD ( LoudspeakerArray const &  regularArray,
LoudspeakerArray const &  realArray,
efl::BasicMatrix< Afloat > const &  decodeCoeffs,
unsigned int  maxHoaOrder 
)
explicit

Constructor to initialise an AllRAD object.

Parameters
regularArrayA regular spherical array used for the initial stage of decoding.
realArrayThe real, physical loudspeaker arry used for reproduction.
decodeCoeffsMatrix coefficients for decoding the HOA signals to the regular array. Dimension: (hoaOrder+1)^2 x regularArray.numRegularSpeakers().
maxHoaOrderThe maximum Ambisonics order of the HOA decoder. If the same decoder is used for multiple HOA objects, this must be the maximum order.

Member Function Documentation

efl::BasicMatrix<Afloat> const& visr::panning::AllRAD::decodingGains ( ) const
inline

Return the current matrix of decoding gains. Dimension: numberOfHarmonics x mumberOfRegularLoudspeakers

void visr::panning::AllRAD::setListenerPosition ( SampleType  x,
SampleType  y,
SampleType  z 
)

Adjust the listener position. This triggers a recalculation of the decoding coefficients.


The documentation for this class was generated from the following files: